Qwen Audio 3.1 TTS

Alibaba Cloud · Audio Generation
POST /v1/audio/speechReal-time speech synthesis with 19 voices, natural-language delivery direction, inline emotion and sound tags, and streaming audio output.
At a glance
Pricing
Example request
Parameters
Notes
Voices
- 19 voices: 15 English voices and 4 multilingual voices. Emily, Luna, Eric, and Luca have British accents. Abby, Annie, Ava, Beth, Betty, Cally, Cindy, Donna, Andy, Brian, and David have American accents. The multilingual voices
longanhuan_v3.1,longanlingxin_v3.1,longanfengyue_v3.1, andxunanchuan_v3.1read Chinese, English, and other languages. - Every voice id ends in
_v3.1, for exampleEmily_v3.1.
Delivery direction
instructionsets emotion, tone, character, pace, and speaking style in natural language, up to 1,000 characters.- Inline tags inside the text change the delivery from that point, for example
[excited]or[whispers], or add a one-time sound such as[laughing]or[sighing]. The full list of tags is on theinputparameter. - SSML input is not supported.
Input limits
- Up to 10,000 characters per request.
language_hintsbiases pronunciation for mixed-language text.
Output
- MP3, WAV, PCM, or Opus at 8,000 to 48,000 Hz.
POST /v1/audio/speech:streamsends audio chunks while the speech is generated.
Billing
- Input tokens are the text, and output tokens are the generated audio at 12.5 tokens per second.
- Speed and pitch change the length of the rendered audio but not the billed tokens. An instruction that slows the delivery adds output tokens.
Machine-readable schema: GET https://api.empiriolabs.ai/v1/models/qwen-audio-3-1-tts.
