牛津语音API的客户端ID [英] Client ID for Project Oxford Speech API
问题描述
我想测试Microsoft Project Oxford语音识别API,但我不知道在哪里或如何获取client_id。
I'd like to test Microsoft Project Oxford Speech recognition API, but I don't know where or how to get the client_id.
我试图测试Search API。首先,我想尝试获取一个令牌来使用该服务:
I'm trying to test Search API. First, I'm trying to get a token to use the service:
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。有人可以帮忙吗?
I have primary and secondary keys, but I can't find client_id. Can someone help?
推荐答案
请参阅此处
请在 http://www.projectoxford.ai 注册以获得订阅密钥。从Azure Marketplace搜索Speech API。
//在下面使用订阅密钥作为客户端密钥。
身份验证auth = new身份验证(创建一个简短的ClientId,客户端密钥);
// Note: Sign up at http://www.projectoxford.ai to get a subscription key. Search for Speech APIs from Azure Marketplace.
// Use the subscription key as Client secret below.
Authentication auth = new Authentication("Come up with a short ClientId", "Client Secret");
更多说明 http://www.projectoxford.ai/doc/general/subscription-key-mgmt
这篇关于牛津语音API的客户端ID的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!