What is Google Speech To Text Rest APi Address?

微笑、不失礼 提交于 2019-12-11 07:23:59

问题


I have got the speech API key as below image depicted but i am unable to find where to request? where is URL given?

  1. "http://www.google.com/speech-api/v2/recognize?output=json&lang=en-us&key="+ apiKey;
  2. "https://speech.googleapis.com/v1/speech:recognize?key=" + apiKey;
  3. "https://speech.googleapis.com/v1beta1/speech:syncrecognize?key=${" + apiKey + "}";

All are i guess wrong as i am getting DNS name resolution error. what is the correct URL (remember i didn't purchase the service yet), where i can find it.


回答1:


From the documentation you can see you can query https://speech.googleapis.com/$discovery/rest?version=v1 and it will return a result with a json document with all of the API endpoints.



来源:https://stackoverflow.com/questions/46211187/what-is-google-speech-to-text-rest-api-address

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!