如何获取用户名& Watson文本到语音服务的密码? [英] How to get username & password for Watson Text to Speech Service?
问题描述
我想使用文字语音转换服务,并派发了官方样本,网址为-文本到语音演示。
I wanted to play with the text to speech service and forked the Official Sample available at - Text to Speech Demo.
该示例使用用户名和密码,而凭据仅提供API密钥。
The sample uses Username and password while the credentials provide only an API Key.
服务似乎正在转移到使用API密钥(支持用户名和密码,这是合理的)。
The service(s) appear to be moving over to using API keys (in favour of username and password which is reasonable).
提供配置的方法(在创建新凭据页面中),该配置将提供用户名和密码。我找不到要传递的魔术参数。
There must be a way to provide configuration(in the create new credentials page) which would provide the username and password. I can't locate those magic parameters to pass.
任何指针都会受到赞赏。
Any pointers would be appreciated.
推荐答案
使用此处写的 apikey
代替用户名,并在密码中使用服务的api密钥。因此您的凭据应如下所示:
Instead of userName use the word apikey
as written here and in the password the api key of your service. so your credentials should be as follow :
userName: "apikey"
password: your service api key
这篇关于如何获取用户名& Watson文本到语音服务的密码?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!