Qwen-Audio-3.0-TTS-Flash API

Qwen Audio 3.0 TTS Flash is faster and less expensive than Plus. Billing is by character.

POST /v1/audio/speech

qwen-audio-3.0-tts-flash: Speech synthesis, required fields, nested response schema and a fictional example.

Basic request

Required parameters: model, input

Available parameters: model, input, voice, response_format, instructions, speed

Request parameters

ParameterTypeRequiredDescription
modelstringYesExact model identifier shown on this page. Options: qwen-audio-3.0-tts-flash
inputstringYesText to synthesize.
voicestringNoVoice identifier supported by this model.
response_formatstringNoOutput audio format. Options: mp3 / wav
instructionsstringNoOptional speaking-style instructions supported by this model.
speednumberNoOptional speed multiplier, default 1; model limits apply.
## Usage and response conventions - Follow required fields and the nested schema. Optional settings without a documented numeric default use the current model default. - Context, output budgets and media constraints differ by model. Unverified limits are not universal guarantees. - An absent value differs from a reported zero. Read status, content and usage as actually returned. - Replace example.invalid addresses with readable media you are authorized to use. - Save generated files promptly; result links need not remain available indefinitely. ## Reference Terminology: [Qwen Speech](https://www.alibabacloud.com/help/en/model-studio/non-realtime-tts-user-guide). Use this page's platform base URL and exact model identifier for requests. Reviewed: 2026-11-07. ## Complete nested field reference Array elements use []. Required flags apply only when the enclosing object or content-block variant is used. Response fields can be absent or null as described; false does not imply a fabricated zero. ### Request headers | Field path | Type | Required in its object | Meaning | |---|---|---|---| | `Content-Type` | string | Yes | JSON request-body content type. | ### Request body | Field path | Type | Required in its object | Meaning | |---|---|---|---| | `model` | string | Yes | Exact model identifier shown on this page. Values: qwen-audio-3.0-tts-flash | | `input` | string | Yes | Text to synthesize. | | `voice` | string | No | Voice identifier supported by this model. | | `response_format` | string | No | Output audio format. Values: mp3, wav; Default: "mp3" | | `instructions` | string | No | Optional speaking-style instructions supported by this model. | | `speed` | number | No | Optional speed multiplier, default 1; model limits apply. Default: 1 | ### Response 200 | Field path | Type | Required in its object | Meaning | |---|---|---|---| | `audio` | file | No | Successful responses contain binary audio, not JSON. Save according to Content-Type. | ### Error response structure | Field path | Type | Required in its object | Meaning | |---|---|---|---| | `error` | object | No | Error details for this request. | | `error.message` | string | No | Message content or a readable error explanation, according to its enclosing object. | | `error.type` | string | No | Type discriminator; use the values documented for the enclosing object. | | `error.code` | string | No | Error code; it may be empty. |

Request example

curl --request POST https://api.router.ai/v1/audio/speech \
  --header "Authorization: Bearer $API_KEY" \
  --header "Content-Type: application/json" \
  --data-raw '{
  "model": "qwen-audio-3.0-tts-flash",
  "input": "Hello. This is a fictional speech example.",
  "voice": "longanfengyue",
  "response_format": "mp3"
}' \
  --output speech.mp3

Endpoint reference: Text to speech (Qwen TTS)