
Audio generation from a written description, with narration, dialogue in up to three cloned voices, sound effects, ambience, and music in one file.
Audio generation from a written description, with narration, dialogue in up to three cloned voices, sound effects, ambience, and music in one file.
Describe the voices, delivery, and sounds in input. Add up to three reference clips and name them @voice1 to @voice3 to clone their voices.
Also known as Qwen Audio TTS Next, Alibaba Cloud Qwen Audio 3.1 TTS Next
qwen-audio-3-1-tts-next/v1/audio/speechqwen-audio-3.1-tts-nextalibaba/qwen-audio-3-1-tts-nextLive pay-as-you-go rates from the EmpirioLabs catalog. You are billed only for what you use, with no monthly minimum.
Qwen Audio 3.1 TTS Next serves speech through POST /v1/audio/speech and returns playable audio. Send the text to speak as input with the model id qwen-audio-3-1-tts-next. Get an API key from the EmpirioLabs dashboard.
curl https://api.empiriolabs.ai/v1/audio/speech \
-H "Authorization: Bearer $EMPIRIOLABS_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"model": "qwen-audio-3-1-tts-next",
"input": "Welcome to EmpirioLabs. Your build just finished."
}' \
--output speech.mp3import requests
response = requests.post(
"https://api.empiriolabs.ai/v1/audio/speech",
headers={"Authorization": "Bearer YOUR_EMPIRIOLABS_API_KEY"},
json={"model": "qwen-audio-3-1-tts-next", "input": "Welcome to EmpirioLabs."},
)
with open("speech.mp3", "wb") as f:
f.write(response.content)Request parameters supported by the Qwen Audio 3.1 TTS Next API on EmpirioLabs. Defaults apply when a field is omitted.
| Parameter | Type | Default | Range / values | Description |
|---|---|---|---|---|
| input | string | - | max 3000 | A description of the audio to generate, up to 3,000 characters: the voices, what they say, the delivery, and any sound effects, ambience, or music. Name reference... |
| references | array | - | - | Up to 3 voice reference clips as URLs or base64 audio data URIs, each up to 30 seconds and 10 MB, in WAV, MP3, or OGG Opus. Name them @voice1 to @voice3 in input, in... |
| response_format | enum | mp3 | mp3, wav, pcm | Audio container. mp3 is compressed, wav is uncompressed PCM in a RIFF header, and pcm is headerless raw samples. |
| sample_rate | enum | 48000 | 8000, 16000, 24000, 44100, 48000 | Output sample rate in Hz. 48000 suits music and ambience; 24000 is enough for speech alone. |
| channels | enum | 2 | 1, 2 | 1 for mono, 2 for stereo. |
| speed | number | 1 | 0.5 to 2 | Speaking rate multiplier. 0.5 is half speed and 2.0 is double speed. |
| volume | integer | 50 | 0 to 100 | Output loudness, where 50 is the reference level. |
| seed | integer | - | 0 to 2147483647 | Generation seed. Reuse a seed with the same input and settings for a repeatable result. |
| bit_rate | integer | - | 32000 to 320000 | Constant MP3 bitrate in bps. Applies to the mp3 format only; without it, MP3 uses a variable bitrate. |
| watermark | boolean | false | - | Add an AI-generated content watermark to the audio. |
On EmpirioLabs, Qwen Audio 3.1 TTS Next is billed pay as you go: Input $1.65 per 1M prompt tokens; Output $3.301 per 1M generated tokens. The live rate card on this page always matches what the API charges.
Qwen Audio 3.1 TTS Next is served through POST /v1/audio/speech on api.empiriolabs.ai with standard bearer-token authentication.
Yes. The EmpirioLabs playground runs Qwen Audio 3.1 TTS Next in the browser with the same parameters the API exposes, so you can test prompts before writing code.
Create an EmpirioLabs account, then generate a key under API Keys in the dashboard. Billing is pay-as-you-go credits, so you only pay for the requests you make.
Check out our pricing or reach out if you want your own model deployed on our stack.