Project Oxford Speech API的客户端ID

Tom*_*mas 5 curl speech-recognition azure microsoft-cognitive

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

我正在尝试测试Search API.首先,我正在尝试获取令牌以使用该服务:

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." }
Run Code Online (Sandbox Code Playgroud)

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

小智 5

看这里

//注意:在http://www.projectoxford.ai注册以获取订阅密钥.从Azure Marketplace搜索语音API.
//使用订阅密钥作为下面的客户端密钥.身份验证auth =新身份验证("想出一个简短的ClientId","客户端密钥");

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