Qwen3 TTS Flash API

Qwen3-TTS offers 17 voices and supports multiple languages and dialects including Chinese. The system can adapt its tone and smoothly process complex text.
Output
Released
Jan 5, 2026

How to use Qwen3 TTS Flash API

Install any OpenAI-compatible SDK, point it at api.aimlapi.com/v1, and set the model to alibaba/qwen3-tts-flash.
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.

Qwen3 TTS Flash API Pricing

TypePrice
Input
$13 / 1M tokens
Output
tokens

Start building with Qwen3 TTS Flash

Get API Key
1000+ models, one API.