import requests r = requests.post( "https://api.aimlapi.com/v1/tts", headers={"Authorization": "Bearer " + AIMLAPI_KEY}, json={ "model": "alibaba/qwen3-tts-flash", "text": "Hello from AI/ML API" }, ) print(r.json()["audio"]) # URL to the generated audio
const r = await fetch("https://api.aimlapi.com/v1/tts", { method: "POST", headers: { Authorization: `Bearer ${process.env.AIMLAPI_KEY}`, "Content-Type": "application/json", }, body: JSON.stringify({ "model": "alibaba/qwen3-tts-flash", "text": "Hello from AI/ML API" }), }); const { audio } = await r.json(); console.log(audio); // URL to the generated audio
curl -X POST https://api.aimlapi.com/v1/tts \ -H "Authorization: Bearer $AIMLAPI_KEY" \ -H "Content-Type: application/json" \ -d '{"model":"alibaba/qwen3-tts-flash","text":"Hello from AI/ML API"}' # the JSON response contains "audio" — a URL to the generated speech
OpenAI-compatible — swap the base URL and it works with your existing SDK.
| Type | Price |
|---|---|
| Input | |
| Output | |
| Benchmark | Score | What it measures | Source | Retrieved |
|---|---|---|---|---|
| TTS Arena | 926 (Elo) | Human preference Elo from blind pairwise listening comparisons of speech samples, measured independently by Artificial Analysis | Source | July 16, 2026 |
| Model | Input | Output | Context | Best for |
|---|---|---|---|---|
Qwen3 TTS Flash This page | Speech synthesis |
Qwen3 TTS Flash takes text as input and returns audio.
Qwen3 TTS Flash became available on January 5, 2026.
Qwen3 TTS Flash is priced at $0.013 / 1M tokens.
Qwen3 TTS Flash is billed per generation — a fixed charge per output rather than by prompt length.
Qwen3 TTS Flash was built by Alibaba Cloud.
Send a request to https://api.aimlapi.com/v1/tts with alibaba/qwen3-tts-flash as the model id.
Yes. Qwen3 TTS Flash is served through AI/ML API, so the same key and endpoint format used for other models applies.
It supports multiple languages and dialects, including Chinese.
Qwen3 TTS Flash offers 17 voices.