azure - 牛津语音项目 API 的客户端 ID

标签 azure curl speech-recognition azure-cognitive-services

我想测试 Microsoft Project Oxford 语音识别 API,但我不知道在哪里或如何获取 client_id。

我正在尝试测试搜索 API。首先,我尝试获取 token 来使用该服务:

curl -d -i "https://oxford-speech.cloudapp.net/token/issueToken?grant_type=client_credentials&client_id=123&client_secret=456scope=https%3A%2F%2Fspeech.platform.bing.com"
{ "statusCode": 401, "message": "Access denied due to invalid subscription key. Make sure you are subscribed to an API you are trying to call and provide the right key." }

我有主键和辅助键,但找不到 client_id。有人可以帮忙吗?

最佳答案

看这里

//注意:注册http://www.projectoxford.ai获取订阅 key 。从 Azure 市场搜索语音 API。
//使用订阅 key 作为下面的客户端 key 。 Authentication auth = new Authentication("想出一个简短的 ClientId", "客户端 key ");

更多说明请点击 http://www.projectoxford.ai/doc/general/subscription-key-mgmt

关于azure - 牛津语音项目 API 的客户端 ID,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/30085058/

相关文章:

php - curl 返回错误 111 套接字

php - 如何使用 curl 解码 "Content-Encoding: gzip, gzip"?

speech-recognition - MS SpeechRecognitionEngine 记录底层音频

Azure Cloud shell 需要存储帐户

windows - Windows 应用程序(与通过 USB 连接的硬件交互)可以托管在 Windows Azure 中

c# - 如何设置 Azure Function 的输入以获取 Azure Store 中的表行?

excel - Azure 数据工厂在提取时是否更新 Excel 文件中的函数和公式?

PHP - 通过我自己的服务器,使用 HTTPS、cookie 和代理登录到远程服务器,并下载 html

algorithm - 为什么语音识别困难?

java - 如何使用sphinx字典作为语法文件