
Tiered speech synthesis with over 1,000 voices, 16 languages, 20 Chinese dialects, natural-language delivery direction, and inline emotion tags.
Tiered speech synthesis with over 1,000 voices, 16 languages, 20 Chinese dialects, natural-language delivery direction, and inline emotion tags.
Voice selection is tier aware: base voice ids work on both tiers and are automatically matched to the selected model_tier, while the six system voices are locked to one tier. Pitch also shifts the pace of the rendered audio, so pair it with speed when you want to preserve the original duration.
También conocido como Qwen Audio TTS, Alibaba Cloud Qwen Audio 3.0 TTS, Qwen-Audio-3.0-TTS, qwen-audio-3-0-tts
qwen-audio-3-0-tts/v1/audio/speechPOST/v1/audio/speech:streamGET/v1/voicesqwen-audio-3.0-ttsalibaba/qwen-audio-3-0-ttsqwen-audio-3.0-tts-plusqwen-audio-3.0-tts-flashTarifas de pago por uso en vivo del catálogo de EmpirioLabs. Solo pagas por lo que usas, sin mínimo mensual.
Qwen Audio 3.0 TTS genera voz a través de POST /v1/audio/speech y devuelve audio reproducible. Envía el texto a pronunciar como input con el id de modelo qwen-audio-3-0-tts. Consigue una clave de API en el panel de EmpirioLabs.
curl https://api.empiriolabs.ai/v1/audio/speech \
-H "Authorization: Bearer $EMPIRIOLABS_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"model": "qwen-audio-3-0-tts",
"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-0-tts", "input": "Welcome to EmpirioLabs."},
)
with open("speech.mp3", "wb") as f:
f.write(response.content)Parámetros de solicitud compatibles con la API de Qwen Audio 3.0 TTS en EmpirioLabs. Los valores por defecto se aplican cuando se omite un campo.
| Parámetro | Tipo | Predeterminado | Rango / valores | Descripción |
|---|---|---|---|---|
| input | string | - | máx. 20000 | Text to synthesize. Up to 20,000 characters per request. Supports inline expression tags placed directly in the text, for example [excited], [laughing], [whispers],... |
| model_tier | enum | plus | plus, flash | plus: highest audio quality and expressiveness, best for content creation, audiobooks, dubbing, and brand voice work. flash: tuned for real-time interaction with... |
| voice | enum | loongjameszhao | loongjameszhao, loongolivialin, loonglunawang, loongnorahu, l... | Voice preset. The base voices work on BOTH tiers, so changing model_tier keeps your selection. Six flagship voices are tier locked: longanlingxin and longanlufeng on... |
| voice_id | string | - | - | Free-form voice id, which overrides voice when set. Accepts any base voice from GET /v1/voices, either as the bare id (recommended, works on both tiers) or fully... |
| response_format | enum | mp3 | mp3, wav, pcm, opus | Audio container. mp3 and opus are compressed, wav is uncompressed PCM in a RIFF header, and pcm is headerless raw samples for chunked playback. |
| sample_rate | enum | 24000 | 8000, 16000, 22050, 24000, 44100, 48000 | Output sample rate in Hz. 24000 suits speech playback, and 48000 gives broadcast-quality output at a larger file size. |
| speed | number | 1 | 0.5 a 2 | Speaking rate multiplier. 0.5 is half speed and 2.0 is double speed. |
| pitch | number | 1 | 0.5 a 2 | Pitch multiplier. Values below 1.0 lower the voice and values above raise it. Pitch also shifts the pace of the rendered audio, so pair it with speed when you want... |
| volume | integer | 50 | 0 a 100 | Output loudness, where 50 is the reference level. |
| instruction | string | - | máx. 128 | Natural-language direction for delivery, up to 128 characters. Controls emotion, tone, character, pace, and speaking style, for example 'Speak quickly in an excited,... |
| language_hints | array | - | zh, en | Language codes that bias pronunciation for mixed-language text, for example ["zh", "en"]. Leave unset to let the model detect the language. |
| seed | integer | 0 | 0 a 65535 | Sampling seed. Reuse a seed with identical input and settings for a repeatable render. |
| bit_rate | integer | 32000 | 16000 a 64000 | Encoder bitrate in bps. Applies to the opus format only, and is ignored for mp3, wav, and pcm. |
| pronunciation | object | - | - | Pronunciation overrides keyed by the written form, for example {"重要": "zhong4 yao4"}. Use it to fix names, acronyms, and homographs. |
En EmpirioLabs, Qwen Audio 3.0 TTS se factura por uso: Plus synthesis $0.20 per 10,000 characters; Flash synthesis $0.15 per 10,000 characters. La tabla de tarifas en vivo de esta página siempre coincide con lo que cobra la API.
Qwen Audio 3.0 TTS se sirve a través de POST /v1/audio/speech en api.empiriolabs.ai con autenticación estándar de token Bearer.
Sí. El playground de EmpirioLabs ejecuta Qwen Audio 3.0 TTS en el navegador con los mismos parámetros que expone la API, para que pruebes prompts antes de escribir código.
Crea una cuenta de EmpirioLabs y genera una clave en API Keys en el panel. La facturación es con créditos de pago por uso, así que solo pagas por las solicitudes que haces.
Consulta nuestros precios o contacta con nosotros si quieres que tu propio modelo se implemente en nuestra pila.