Client ID for Project Oxford Speech API

I would like to check out the Microsoft Project Oxford Speech Speech Recognition API, but I don’t know where and how to get client_id.

I am trying to check the search API. Firstly, I am trying to get a token for using 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." } 

I have primary and secondary keys, but I can not find client_id. Can anyone help?

+5
source share
3 answers

Look here

//Note. Subscribe to http://www.projectoxford.ai to receive your subscription key. Search for speech APIs from the Azure Marketplace.
// Use the subscription key as a client secret below. Authentication auth = new authentication ("Come up with a short ClientId", "Client Secret");

Additional instructions here http://www.projectoxford.ai/doc/general/subscription-key-mgmt

+5
source
  • go to the following link Subscribe to speech management and subscribe to speech recognition control ...
  • register a new application using the link, and here you can specify the client ID of your choice, which will be used later in the application.
  • Finally, go to the following link: [www.microsoft.com/cognitive-services/en-us/subscriptions] log in to your Microsoft account and find the subscription key for any API that you want to use, and use this key as CLIENT SECRET
  • Hope this helps as I checked this and it works great for me ...
  • The third link is in parentheses, since I was not allowed more than two links ...
0
source

After you have registered for the Speech API, you can view your subscription keys using this link: https://www.microsoft.com/cognitive-services/en-us/subscriptions .

 Authentication auth = new Authentication("Come up with a short ClientId", "Client Secret"); 

In your code, DO NOT come up with a short ClientId. Just replace “Come up with a short ClientId” with the first key that you will find on the subscription page, and replace “Client Secret” with the second key that you will find on the subscription page.

-1
source

All Articles