Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Client ID for Project Oxford Speech API

I'd like to test Microsoft Project Oxford Speech recognition API, but I don't know where or how to get the client_id.

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." }

I have primary and secondary keys, but I can't find client_id. Can someone help?

like image 697
Tomas Avatar asked Sep 29 '22 01:09

Tomas


1 Answers

See here

// 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");

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

like image 150
speechguy Avatar answered Dec 31 '22 21:12

speechguy