Skip to main content
Choose a checkpoint by how you specify the speaker. qwen3_tts and qwen3_tts_1p7b use built-in voices. qwen3_tts_voicedesign requires a description of a voice. qwen3_tts_base clones a speaker from a recording.

Install and start

Install qwen-tts with --no-deps to keep the serving environment’s Transformers version.

qwen3_tts

Text → audio. The default qwen3tts.yaml uses 1 GPU. The weights use Apache-2.0.
Send the request.

qwen3_tts_1p7b

Text → audio. The default qwen3tts_1p7b.yaml uses 1 GPU. The weights use Apache-2.0.
Send the request.

qwen3_tts_voicedesign

Text → audio. The default qwen3tts_voicedesign.yaml uses 1 GPU. The weights use Apache-2.0.
Send the request.

qwen3_tts_base

Text, audio → audio. The default qwen3tts_base.yaml uses 1 GPU. The weights use Apache-2.0.
Send the request.

Send a request

Run either client example in a second terminal after /health returns 200.

Use a built-in speaker

Save the synthesized speech as reply.wav. Python SDK
curl

Describe a voice

Save the synthesized speech as reply.wav. Python SDK
curl

Clone a reference voice

Supply a clean reference in speaker.wav. The SDK writes a WAV file. The native HTTP example saves signed 16-bit PCM. Python SDK
curl

Deployment configs

Every shipped config pins resources.talker_attn.flashinfer_backend: fa2. mps: true is NVIDIA only and needs nvidia-cuda-mps-control on PATH. To use an alternative, pass --config configs/<file> after the launcher name. From a wheel installation, copy the shipped YAML and pass its local path.

Settings and defaults

Request fields (on /v1/audio/speech, all but voice, instructions, temperature, top_p and seed go in extra_body): Deployment settings: Benchmark the OpenAI route with the shared streaming client, from the root of a checkout with the eval extra:

Limits

  • instructions on the 0.6B CustomVoice are refused, since it was not trained with them. VoiceDesign without instructions is a 400.
  • Base needs exactly one reference clip and ref_text, unless x_vector_only_mode is set.
  • A live /generate/ws opening is a 400 in non_streaming_mode and for an in-context clone; send those one-shot.
  • Every request reserves its prompt plus its length cap at admission. A request for the checkpoint’s 8192 frames takes about 66 pages, so qwen3tts_base.yaml admits 34 of those at once; the rest wait.
  • A clone without max_output_tokens stops within a budget set by its text length, so a runaway clone does not decode to the 8192-frame cap. Live text has no budget.
  • speed is not a Qwen3-TTS control and is logged as ignored.
  • The codec does not run on a side stream (side_stream); no Qwen3-TTS config sets it.