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.
Use region identifiers
When configuring Azure Speech in your application:
- Provide the region identifier (such as
chinanorth2) when you create aSpeechConfiginstance with the Speech SDK. Make sure the region matches your Azure Speech resource. - Use the region as part of the endpoint URI when making requests to the Speech REST APIs.
- Keys are region-scoped — using a key with a different region returns 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 |