Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Azure Speech allows your application to convert audio to text, perform speech translation, and convert text to speech. Azure Speech is available in multiple regions with unique endpoints for the Speech SDK and REST APIs.
Keep in mind the following points:
- If your application uses the Speech SDK, you provide the region identifier (such as
chinaeast2) when you create aSpeechConfiginstance. Make sure that the region matches the region of your Azure Speech resource. - If your application uses one of the Azure Speech REST APIs, the region is part of the endpoint URI that you use when making requests.
- Keys created for a region are valid only in that region. If you try to use them with other regions, you get authentication errors.
Note
Azure Speech doesn't store or process your data outside the region of your Azure Speech resource. The data is stored or processed only in the region where the resource is created. For example, if you create an AI Services resource for speech in the chinanorth region, the data is only in the chinanorth region.
Regions
The following regions are supported for Speech service features such as speech to text, text to speech, pronunciation assessment, and translation.
| Geography | Region | Region identifier |
|---|---|---|
| China | China East 2 | chinaeast2 |
| China | China North 2 | chinanorth2 |
| China | China North 3 | chinanorth3 |
If you plan to train a custom model with audio data, you must use one of the regions with dedicated hardware. Then you can copy the trained model to another region.
REST APIs
The Speech service also exposes REST endpoints for speech-to-text, and text-to-speech requests.
Speech-to-text
The endpoint for the REST API has this format:
https://<REGION_IDENTIFIER>.stt.speech.azure.cn/speech/recognition/conversation/cognitiveservices/v1
Replace <REGION_IDENTIFIER> with the identifier matching the region of your subscription from this table:
| Geography | Region | Region identifier |
|---|---|---|
| China | China East 2 | chinaeast2 |
| China | China North 2 | chinanorth2 |
| China | China North 3 | chinanorth3 |
Note
The language parameter must be appended to the URL to avoid receiving an HTTP error. For example, the language set to US English by using the China East 2 endpoint is: https://chinaeast2.stt.speech.azure.cn/speech/recognition/conversation/cognitiveservices/v1?language=en-US.
For more information, see the speech-to-text REST API.
Text-to-speech
For more information, see the text-to-speech REST API.
Standard voices
Use this table to determine availability of neural voices by region or endpoint:
| Region | Endpoint |
|---|---|
| China East 2 | https://chinaeast2.tts.speech.azure.cn/cognitiveservices/v1 |
| China North 2 | https://chinanorth2.tts.speech.azure.cn/cognitiveservices/v1 |
| China North 3 | https://chinanorth3.tts.speech.azure.cn/cognitiveservices/v1 |