This JSON example shows partial results to illustrate the structure of a response: [ The WordsPerMinute property for each voice can be used to estimate the length of the output speech. You should receive a response with a JSON body that includes all supported locales, voices, gender, styles, and other details. header 'Ocp-Apim-Subscription-Key: YOUR_RESOURCE_KEY' Here's an example curl command: curl -location -request GET '' \ Ocp-Apim-Subscription-Key: YOUR_RESOURCE_KEY This request requires only an authorization header: GET /cognitiveservices/voices/list HTTP/1.1 For more information, see Authentication.Įither this header or Ocp-Apim-Subscription-Key is required.Ī body isn't required for GET requests to this endpoint. This table lists required and optional headers for text-to-speech requests: HeaderĮither this header or Authorization is required.Īn authorization token preceded by the word Bearer. Voices and styles in preview are only available in three service regions: East US, West Europe, and Southeast Asia.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |