【问题标题】:How can I obtain tokens for IBM Watson's Text-to-Speech service?如何获取 IBM Watson 的 Text-to-Speech 服务的令牌?
【发布时间】:2019-05-11 22:42:19
【问题描述】:

我们正在使用 OpenWhisk 创建一个利用 Watson Assistant 和 Discovery 的医疗聊天机器人。我们现在希望能够使用语音到文本和文本到语音,但是在获取 synthesize() 函数的标记时遇到了麻烦。现在,我们正在使用命令

curl -u "apikey:apikey" --output token "https://stream.watsonplatform.net/authorization/api/v1/token?url=https://stream.watsonplatform.net/text-to-speech/api"

但我们得到了

{"code":401,"error":"Unauthorized","description":"ERCD250-LDAP-DN-AUTHERR"} 

作为输出。有人能帮我们指出正确的方向吗?

【问题讨论】:

标签: token ibm-watson watson-conversation watson-discovery watson-text-to-speech


【解决方案1】:

提示:在此处查看您创建的所有应用。 https://console.bluemix.net/dashboard/apps

你输入了api键吗? curl -u "apikey:apikey" --output token "https://stream.watsonplatform.net/authorization/api/v1/token?url=https://stream.watsonplatform.net/text-to-speech/api"

【讨论】:

    猜你喜欢
    • 1970-01-01
    • 2017-07-28
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 2018-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    相关资源
    最近更新 更多