API reference
The speech synthesis service converts input text to binary audio data over a WebSocket connection.
Billing and concurrency limits
Speech synthesis supports trial and commercial billing modes. For more information, see Free trial and Commercial Edition. To upgrade from the trial to the commercial version, see Billing.
For billing methods, see Billing.
For concurrency limits, see Concurrency and QPS.
Features
Supports PCM, WAV, and MP3 output formats.
Supports configuring the speaking rate, pitch, and volume.
Supports voices for different scenarios and styles. See Voices.
Supports synthesizing up to 300 characters per request. A Chinese character, English letter, punctuation mark, or interword space counts as one character. Content beyond 300 characters is truncated.
Input text must be UTF-8 encoded.
Supports multi-emotion voices. For usage information, see Introduction to SSML for the
<emotion>tag. Tags are not counted as characters.
Timestamp support: The service can return the position of each Chinese character or English word in the audio. You can use the timestamps for digital-human lip synchronization and video subtitles. For more information, see Introduction to the speech synthesis timestamp feature.
For voices intended for literature scenarios, see Long-text speech synthesis API reference.
To use the Android or iOS SDK, see Mobile SDK API reference.
Intelligent access to the nearest region
Speech synthesis supports intelligent access to the nearest region through the domain name nls-gateway.aliyuncs.com.
For end users, use intelligent access to the nearest region. The domain name resolves to the nearest regional server based on the client's location. For example, a request from Beijing resolves to the same server as the endpoint nls-gateway-cn-beijing.aliyuncs.com.
Endpoint
Access type | Description | URL |
Internet access (China (Shanghai) by default) | All servers can access the service over the Internet. The SDK uses the Internet endpoint by default. |
|
ECS internal-network access | ECS instances in the China (Shanghai), China (Beijing), and China (Shenzhen) regions can use the internal endpoints. ECS instances in the classic network cannot access AnyTunnel. To access AnyTunnel over an internal network, use a virtual private cloud (VPC). Note
|
|
Interaction flow

The preceding figure shows the WebSocket interaction flow. For the RESTful API interaction flow, see RESTful API.
In addition to the audio stream, each server response contains the task_id parameter in the header. The parameter uniquely identifies the request.
To play the audio stream in real time, use a player that supports streaming playback, such as ffmpeg, pyaudio for Python, AudioFormat for Java, or MediaSource for JavaScript.
Authenticate
The client uses a token for authentication when it establishes a WebSocket connection to the server. For information about how to obtain a token, see Obtain a token.
Start synthesis
The client sends a speech synthesis request and configures the request parameters. The following table describes the parameters.
Parameter
Type
Required
Description
appkey
String
Yes
consoleThe appkey of the project created in the console.
text
String
Yes
The text to synthesize. The text must be UTF-8 encoded and cannot exceed 300 characters. Separate English words with spaces.
NoteTo synthesize speech with an emotion-supported voice, add the SSML emotion tag to the text parameter. For more information, see Introduction to SSML.
Only voices that support multiple emotions can use the <emotion> tag. Otherwise, the request returns the error Illegal ssml text.
voice
String
No
The voice. Default:
xiaoyun.format
String
No
The audio format. Valid values: .pcm, .wav, and .mp3. Default:
pcm.sample_rate
Integer
No
The audio sample rate. Default: 16000 Hz.
volume
Integer
No
The volume. Valid values: 0 to 100. Default: 50.
speech_rate
Integer
No
The speaking rate. Valid values: -500 to 500. Default: 0.
The values [-500, 0, 500] correspond to the speed multipliers [0.5, 1.0, 2.0].
-500 specifies 0.5 times the default speaking rate.
0 specifies the default speaking rate. The default rate varies by voice and is approximately four Chinese characters per second.
500 specifies twice the default speaking rate.
Use the following formulas:
0.8× speed: (1-1/0.8)/0.002 = -125
1.2× speed: (1-1/1.2)/0.001 = 166
NoteFor a speed multiplier below 1, use the coefficient 0.002.
For a speed multiplier above 1, use the coefficient 0.001.
The algorithm rounds the result to an approximate value.
pitch_rate
Integer
No
The pitch. Valid values: -500 to 500. Default: 0.
enable_subtitle
Boolean
No
Specifies whether to enable character-level timestamps. For more information, see Introduction to the speech synthesis timestamp feature.
Receive synthesized audio
The server returns synthesized audio as a binary stream. Use the SDK to receive and process it.
Complete synthesis
After synthesis is complete, the server sends a SynthesisCompleted event, as shown in the following example.
{ "header": { "message_id": "05450bf69c53413f8d88aed1ee60****", "task_id": "640bc797bb684bd6960185651307****", "namespace": "SpeechSynthesizer", "name": "SynthesisCompleted", "status": 20000000, "status_message": "GATEWAY|SUCCESS|Success." } }NoteThe sample saves the synthesized audio to a file. For lower playback latency, use streaming playback to play the audio as it arrives.
Handle synthesis failures
If synthesis fails because of invalid parameters or another error, the client receives a TaskFailed event, as shown in the following example. The underlying connection is closed after the event is received.
{ "header":{ "namespace":"Default", "name":"TaskFailed", "status":41020001, "message_id":"62c126f7d9b340deb82b5b7eaca0****", "task_id":"4552df26d1f547aab9a2c4a94678****", "status_text":"TTS:TtsClientError:[tts]Engine return error code: 418" } }
Voices
Name | Voice parameter | Type | Scenario | Supported language | Sample rate (Hz) | Timestamp support | Erhua support | Voice quality |
Abin | abin | Guangdong-accented Mandarin | Conversational digital human | Chinese or bilingual Chinese and English | 8K/16K/24K/48K | No | No | Standard |
Zhixiaobai | zhixiaobai | Mandarin female | Conversational digital human | Chinese or bilingual Chinese and English | 8K/16K/24K/48K | No | Yes | Standard |
Zhixiaoxia | zhixiaoxia | Mandarin female | Conversational digital human | Chinese or bilingual Chinese and English | 8K/16K/24K/48K | No | Yes | Standard |
Zhixiaomei | zhixiaomei | Mandarin female | Live-streaming digital human | Chinese or bilingual Chinese and English | 8K/16K/24K | Yes | Yes | Standard |
Zhigui | zhigui | Mandarin female | Live-streaming digital human | Chinese or bilingual Chinese and English | 8K/16K | Yes | Yes | Standard |
Zhishuo | zhishuo | Mandarin male | Customer-service digital human | Chinese or bilingual Chinese and English | 8K/16K | Yes | Yes | Standard |
Aixia | aixia | Amiable female | Customer service | Chinese or bilingual (Chinese and English) | 8K/16K | Yes | Yes | Standard |
Cally | cally | American English female | English conversational digital human | English only | 8K/16K | Yes | Yes | Standard |
Zhifeng Emo | zhifeng_emo | Multi-emotion male | General | Chinese or bilingual Chinese and English | 8K/16K/24K | Yes | Yes | Standard |
Zhibing Emo | zhibing_emo | Multi-emotion male | General General scenarios | Chinese only Chinese-only scenarios | 8K/16K/24K | Yes Yes | Yes | Standard |
Zhimiao Emo | zhimiao_emo | Multi-emotion female | Chinese and English | Chinese and English | 8K/16K | Yes | Yes | Standard |
Zhimi Emo | zhimi_emo | Multi-emotion female | General | Chinese or bilingual Chinese and English | 8K/16K | Yes | No | Standard |
Zhiyan Emo | zhiyan_emo | Multi-emotion female | General | Chinese or bilingual Chinese and English | 8K/16K | Yes | No | Standard |
Zhibei Emo | zhibei_emo | Multi-emotion child | General | Chinese or bilingual Chinese and English | 8K/16K | Yes | No | Standard |
Zhitian Emo | zhitian_emo | Multi-emotion female | General | Chinese or bilingual Chinese and English | 8K/16K | Yes | No | Standard |
Xiaoyun | xiaoyun | Standard female | All scenarios | Chinese or bilingual (Chinese and English) | 8K/16K | No | No | Lite |
Xiaogang | xiaogang | Standard male | All scenarios | Chinese or bilingual (Chinese and English) | 8K/16K | No | No | Lite |
Ruoxi | ruoxi | Gentle female | All scenarios | Chinese or bilingual (Chinese and English) | 8K/16K/24K | No | No | Standard |
Siqi | siqi | Gentle female | All scenarios | Chinese or bilingual (Chinese and English) | 8K/16K/24K | Yes | No | Standard |
Sijia | sijia | Standard female | All scenarios | Chinese or bilingual (Chinese and English) | 8K/16K/24K | No | No | Standard |
Sicheng | sicheng | Standard male | All scenarios | Chinese or bilingual (Chinese and English) | 8K/16K/24K | Yes | No | Standard |
Aiqi | aiqi | Gentle female | All scenarios | Chinese or bilingual (Chinese and English) | 8K/16K | Yes | No | Standard |
Aijia | aijia | Standard female | All scenarios | Chinese or bilingual (Chinese and English) | 8K/16K | Yes | No | Standard |
Aicheng | aicheng | Standard male | All scenarios | Chinese or bilingual (Chinese and English) | 8K/16K | Yes | No | Standard |
Aida | aida | Standard male | All scenarios | Chinese or bilingual (Chinese and English) | 8K/16K | Yes | No | Standard |
Ning'er | ninger | Standard female | All scenarios | Chinese only | 8K/16K/24K | No | No | Standard |
Ruilin | ruilin | Standard female | All scenarios | Chinese only | 8K/16K/24K | No | No | Standard |
Siyue | siyue | Gentle female | Customer service | Chinese or bilingual (Chinese and English) | 8K/16K/24K | Yes | No | Standard |
Aiya | aiya | Harsh female | Customer service | Chinese or bilingual (Chinese and English) | 8K/16K | Yes | No | Standard |
Aimei | aimei | Sweet female | Customer service | Chinese or bilingual (Chinese and English) | 8K/16K | Yes | No | Standard |
Aiyu | aiyu | Natural female | Customer service | Chinese or bilingual (Chinese and English) | 8K/16K | Yes | No | Standard |
Aiyue | aiyue | Gentle female | Customer service | Chinese or bilingual (Chinese and English) | 8K/16K | Yes | No | Standard |
Aijing | aijing | Harsh female | Customer service | Chinese or bilingual (Chinese and English) | 8K/16K | Yes | No | Standard |
Xiaomei | xiaomei | Sweet female | Customer service | Chinese or bilingual (Chinese and English) | 8K/16K/24K | No | No | Standard |
Aina | aina | Female, Zhejiang accent | Customer service | Chinese only | 8K/16K | Yes | No | Standard |
Yina | yina | Female, Zhejiang accent | Customer service | Chinese only | 8K/16K/24K | No | No | Standard |
Sijing | sijing | Harsh female | Customer service | Chinese only | 8K/16K/24K | Yes | No | Standard |
Sitong | sitong | Child voice | Child voice scenarios | Chinese only | 8K/16K/24K | No | No | Standard |
Xiaobei | xiaobei | Little girl voice | Child voice scenarios | Chinese only | 8K/16K/24K | Yes | No | Standard |
Aitong | aitong | Child voice | Child voice scenarios | Chinese only | 8K/16K | Yes | No | Standard |
Aiwei | aiwei | Little girl voice | Child voice scenarios | Chinese only | 8K/16K | Yes | No | Standard |
Aibao | aibao | Little girl voice | Child voice scenarios | Chinese only | 8K/16K | Yes | No | Standard |
Harry | harry | Male, British accent | English only | English only | 8K/16K | No | No | Standard |
Abby | abby | Female, American accent | English only | English only | 8K/16K | Yes | No | Standard |
Andy | andy | Male, American accent | English only | English only | 8K/16K | Yes | No | Standard |
Eric | eric | Male, British accent | English only | English only | 8K/16K | Yes | No | Standard |
Emily | emily | Female, British accent | English only | English only | 8K/16K | Yes | No | Standard |
Luna | luna | Female, British accent | English only | English only | 8K/16K | Yes | No | Standard |
Luca | luca | Male, British accent | English only | English only | 8K/16K | Yes | No | Standard |
Wendy | wendy | Female, British accent | English only | English only | 8K/16K/24K | No | No | Standard |
William | william | Male, British accent | English only | English only | 8K/16K/24K | No | No | Standard |
Olivia | olivia | Female, British accent | English only | English only | 8K/16K/24K | No | No | Standard |
Shanshan | shanshan | Female, Cantonese | Dialect scenarios | Cantonese (simplified) and bilingual (Cantonese and English) | 8K/16K/24K | No | No | Standard |
Aiyuan | aiyuan | Caring female | Literature | Chinese or bilingual Chinese and English | 8K/16K | Yes | Yes | Premium |
Aiying | aiying | Cute child | Literature | Chinese or bilingual Chinese and English | 8K/16K | Yes | Yes | Premium |
Aixiang | aixiang | Resonant male | Literature | Chinese or bilingual Chinese and English | 8K/16K | Yes | Yes | Premium |
Aimo | aimo | Emotional male | Literature | Chinese or bilingual Chinese and English | 8K/16K | Yes | Yes | Premium |
Aiye | aiye | Young male | Literature | Chinese or bilingual Chinese and English | 8K/16K | Yes | Yes | Premium |
Aiting | aiting | Radio female | Literature | Chinese or bilingual Chinese and English | 8K/16K | Yes | Yes | Premium |
Aifan | aifan | Emotional female | Literature | Chinese or bilingual Chinese and English | 8K/16K | Yes | Yes | Premium |
Lydia | lydia | Female, bilingual (Chinese and English) | English only | English only | 8K/16K | Yes | No | Standard |
Chuangirl | chuangirl | Sichuan-accented female | Dialect | Chinese or bilingual Chinese and English | 8K/16K | No | No | Standard |
Aishuo | aishuo | Natural male | Customer service | Chinese or bilingual (Chinese and English) | 8K/16K | Yes | No | Standard |
Qingqing | qingqing | Female, Taiwanese | Dialect scenarios | Chinese only | 8K/16K | No | No | Standard |
Cuijie | cuijie | Female, Northeastern Mandarin | Dialect scenarios | Chinese only | 8K/16K | Yes | Yes | Standard |
Xiaoze | xiaoze | Male, Hunan accent | Dialect scenarios | Chinese only | 8K/16K | No | No | Standard |
Ainan | ainan | Advertising male | Literature | Chinese or bilingual Chinese and English | 8K/16K | Yes | Yes | Premium |
Aihao | aihao | Information male | Literature | Chinese or bilingual Chinese and English | 8K/16K | Yes | Yes | Premium |
Aiming | aiming | Humorous male | Literature | Chinese or bilingual Chinese and English | 8K/16K | Yes | Yes | Premium |
Aixiao | aixiao | Information female | Literature | Chinese or bilingual Chinese and English | 8K/16K | Yes | Yes | Premium |
Aichu | aichu | Food-documentary male | Literature | Chinese or bilingual Chinese and English | 8K/16K | Yes | Yes | Premium |
Aiqian | aiqian | Information female | Literature | Chinese or bilingual Chinese and English | 8K/16K | Yes | Yes | Premium |
Tomoka | tomoka | Japanese female | Multilingual | Japanese only | 8K/16K | Yes | No | Standard |
Tomoya | tomoya | Japanese male | Multilingual | Japanese only | 8K/16K | Yes | No | Standard |
Annie | annie | American English female | English | English only | 8K/16K | Yes | No | Standard |
Aishu | aishu | Information male | Literature | Chinese or bilingual Chinese and English | 8K/16K | Yes | Yes | Premium |
Airu | airu | News female | Literature | Chinese or bilingual Chinese and English | 8K/16K | Yes | Yes | Premium |
Jiajia | jiajia | Cantonese female | Dialect | Simplified Cantonese or bilingual Cantonese and English | 8K/16K | Yes | No | Standard |
Indah | indah | Indonesian female | Multilingual | Indonesian only | 8K/16K | No | No | Standard |
Taozi | taozi | Cantonese female | Dialect | Simplified Cantonese or bilingual Cantonese and English | 8K/16K | Yes | No | Standard |
Guijie | guijie | Friendly female | General | Chinese or bilingual Chinese and English | 8K/16K | Yes | Yes | Standard |
Stella | stella | Intellectual female | General | Chinese or bilingual Chinese and English | 8K/16K | Yes | Yes | Standard |
Stanley | stanley | Calm male | General | Chinese or bilingual Chinese and English | 8K/16K | Yes | Yes | Standard |
Kenny | kenny | Calm male | General | Chinese or bilingual Chinese and English | 8K/16K | Yes | Yes | Standard |
Rosa | rosa | Natural female | General | Chinese or bilingual Chinese and English | 8K/16K | Yes | Yes | Standard |
Farah | farah | Malay female | Multilingual | Malay only | 8K/16K | No | No | Standard |
Mashu | mashu | Children's drama male | General | General | 8K/16K | Yes | No | Standard |
Zhiqi | zhiqi | Gentle female | Ultra-HD | Chinese or bilingual Chinese and English | 8K/16K/24K/48K | Yes | No | Premium |
Zhichu | zhichu | Food-documentary male | Ultra-HD | Chinese or bilingual Chinese and English | 8K/16K/24K/48K | Yes | Yes | Premium |
Xiaoxian | xiaoxian | Friendly female | Live streaming | Chinese or bilingual Chinese and English | 8K/16K | Yes | Yes | Standard |
Yuer | yuer | Children's drama female | General | Chinese only | 8K/16K | Yes | No | Standard |
Maoxiaomei | maoxiaomei | Energetic female | Live streaming | Chinese or bilingual Chinese and English | 8K/16K | Yes | Yes | Standard |
Zhixiang | zhixiang | Resonant male | Ultra-HD | Chinese or bilingual Chinese and English | 8K/16K/24K/48K | Yes | No | Premium |
Zhijia | zhijia | Standard female | Ultra-HD | Chinese or bilingual Chinese and English | 8K/16K/24K/48K | Yes | No | Premium |
Zhinan | zhinan | Advertising male | Ultra-HD | Chinese or bilingual Chinese and English | 8K/16K/24K/48K | Yes | No | Premium |
Zhiqian | zhiqian | Information female | Ultra-HD | Chinese or bilingual Chinese and English | 8K/16K/24K/48K | Yes | No | Premium |
Zhiru | zhiru | News female | Ultra-HD | Chinese or bilingual Chinese and English | 8K/16K/24K/48K | Yes | No | Premium |
Zhide | zhide | News male | Ultra-HD | Chinese or bilingual Chinese and English | 8K/16K/24K/48K | Yes | No | Premium |
Zhifei | zhifei | Passionate narration | Ultra-HD | Chinese or bilingual Chinese and English | 8K/16K | Yes | No | Premium |
Aifei | aifei | Passionate narration | Live streaming | Chinese or bilingual Chinese and English | 8K/16K | Yes | Yes | Standard |
Yaqun | yaqun | Retail announcement | Live streaming | Chinese or bilingual Chinese and English | 8K/16K | Yes | Yes | Standard |
Qiaowei | qiaowei | Retail announcement | Live streaming | Chinese or bilingual Chinese and English | 8K/16K | Yes | Yes | Standard |
Dahu | dahu | Northeastern Mandarin male | Dialect | Chinese or bilingual Chinese and English | 8K/16K | Yes | Yes | Standard |
ava | ava | American English female | English | English only | 8K/16K | Yes | No | Standard |
Zhilun | zhilun | Suspense narration | Ultra-HD | Chinese or bilingual Chinese and English | 8K/16K | Yes | No | Premium |
Ailun | ailun | Suspense narration | Live streaming | Chinese or bilingual Chinese and English | 8K/16K | Yes | Yes | Standard |
Jielidou | jielidou | Soothing child | Child voice | Chinese only | 8K/16K | Yes | Yes | Standard |
Zhiwei | zhiwei | Young girl | Ultra-HD | Chinese only | 8K/16K/24K/48K | Yes | No | Premium |
Laotie | laotie | Northeastern Mandarin male | Live streaming | Chinese only | 8K/16K | Yes | Yes | Standard |
Laomei | laomei | Vendor-call female | Live streaming | Chinese only | 8K/16K | Yes | Yes | Standard |
Aikan | aikan | Tianjin-accented male | Dialect | Chinese only | 8K/16K | Yes | Yes | Standard |
Tala | tala | Filipino female | Multilingual | Filipino only | 8K/16K | No | No | Standard |
Zhitian | zhitian | Sweet female | General | Chinese or bilingual Chinese and English | 8K/16K | Yes | No | Premium |
Zhiqing | zhiqing | Taiwan-accented female | Dialect | Chinese only | 8K/16K | Yes | No | Premium |
Tien | tien | Vietnamese female | Multilingual | Vietnamese only | 8K/16K | No | No | Standard |
Becca | becca | American English customer-service female | American English | English only | 8K/16K | No | No | Standard |
Kyong | Kyong | Korean female | Korean | Korean | 8K/16K | No | No | Standard |
masha | masha | Russian female | Russian | Russian | 8K/16K | No | No | Standard |
camila | camila | Spanish female | Spanish | Spanish | 8K/16K | No | No | Standard |
perla | perla | Italian female | Italian | Italian | 8K/16K | No | No | Standard |
Zhimao | zhimao | Mandarin female | Live streaming | Chinese | 8K/16K | Yes | No | Standard |
Zhiyuan | zhiyuan | Mandarin female | General | Chinese | 8K/16K | Yes | No | Standard |
Zhiya | zhiya | Mandarin female | Customer service | Chinese | 8K/16K | Yes | No | Standard |
Zhiyue | zhiyue | Mandarin female | General | Chinese | 8K/16K | Yes | No | Standard |
Zhida | zhida | Mandarin male | General | Chinese or bilingual Chinese and English | 8K/16K | Yes | No | Standard |
Zhistella | zhistella | Mandarin female | General | Chinese | 8K/16K | Yes | No | Standard |
Kelly | kelly | Hong Kong Cantonese female | Dialect | Hong Kong Cantonese | 8K/16K | Yes | No | Standard |
clara | clara | French female | General | French | 8K/16K | No | No | Standard |
hanna | hanna | German female | General | German | 8K/16K | No | No | Standard |
waan | waan | Thai female | General | Thai | 8K/16K | No | No | Standard |
betty | betty | American English female | General | American English | 8K/16K | Yes | No | Standard |
beth | beth | American English female | General | American English | 8K/16K | Yes | No | Standard |
cindy | cindy | American English female | General | American English | 8K/16K | Yes | No | Standard |
donna | donna | American English female | General | American English | 8K/16K | Yes | No | Standard |
eva | eva | American English female | General | American English | 8K/16K | Yes | No | Standard |
brian | brian | American English male | General | American English | 8K/16K | Yes | No | Standard |
david | david | American English male | General | American English | 8K/16K/24K | Yes | No | Standard |
abby_ecmix | abby_ecmix | American English female | General | English or bilingual English and Chinese | 8K/16K/24K | Yes | No | Standard |
annie_ecmix | annie_ecmix | American English female | General | English or bilingual English and Chinese | 8K/16K/24K | Yes | No | Standard |
andy_ecmix | andy_ecmix | American English male | General | English or bilingual English and Chinese | 8K/16K/24K | Yes | No | Standard |
ava_ecmix | ava_ecmix | American English female | General | English or bilingual English and Chinese | 8K/16K/24K | Yes | No | Standard |
betty_ecmix | betty_ecmix | American English female | General | English or bilingual English and Chinese | 8K/16K/24K | Yes | No | Standard |
beth_ecmix | beth_ecmix | American English female | General | English or bilingual English and Chinese | 8K/16K/24K | Yes | No | Standard |
brian_ecmix | brian_ecmix | American English male | General | English or bilingual English and Chinese | 8K/16K/24K | Yes | No | Standard |
cindy_ecmix | cindy_ecmix | American English female | General | English or bilingual English and Chinese | 8K/16K/24K | Yes | No | Standard |
cally_ecmix | cally_ecmix | American English female | General | English or bilingual English and Chinese | 8K/16K/24K | Yes | No | Standard |
donna_ecmix | donna_ecmix | American English female | General | English or bilingual English and Chinese | 8K/16K/24K | Yes | No | Standard |
david_ecmix | david_ecmix | American English male | General | English or bilingual English and Chinese | 8K/16K/24K | Yes | No | Standard |
eva_ecmix | eva_ecmix | American English female | General | English or bilingual English and Chinese | 8K/16K/24K | Yes | No | Standard |
Multi-emotion voice support
Only multi-emotion voice models support emotion selection. Supported emotions vary by voice and can include neutral, happy, angry, sad, fear, hate, surprise, arousal, serious, disgust, jealousy, embarrassed, frustrated, affectionate, gentle, newscast, customer-service, story, and living.
Voice name | Voice parameter | Emotion category |
Zhifeng (multi-emotion) | zhifeng_emo | angry, fear, happy, neutral, sad, surprise |
Zhibing (multi-emotion) | zhibing_emo | angry, fear, happy, neutral, sad, surprise |
Zhimiao (multi-emotion) | zhimiao_emo | serious, sad, disgust, jealousy, embarrassed, happy, fear, surprise, neutral, frustrated, affectionate, gentle, angry, newscast, customer-service, story, living |
Zhimi (multi-emotion) | zhimi_emo | angry, fear, happy, hate, neutral, sad, surprise |
Zhiyan (multi-emotion) | zhiyan_emo | neutral, happy, angry, sad, fear, hate, surprise, arousal |
Zhibei (multi-emotion) | zhibei_emo | neutral, happy, angry, sad, fear, hate, surprise |
Zhitian (multi-emotion) | zhitian_emo | neutral, happy, angry, sad, fear, hate, surprise |
Status codes
Each response contains a status field that indicates the service status code. The following tables describe the status codes.
General-purpose error codes
For error codes and solutions, see General-purpose error codes.
Speech synthesis/Long-text speech synthesis error codes
For error codes and solutions, see Speech synthesis/Long-text speech synthesis error codes.