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
Installqwen-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.
qwen3_tts_1p7b
Text → audio. The default qwen3tts_1p7b.yaml uses 1 GPU. The weights use Apache-2.0.
qwen3_tts_voicedesign
Text → audio. The default qwen3tts_voicedesign.yaml uses 1 GPU. The weights use Apache-2.0.
qwen3_tts_base
Text, audio → audio. The default qwen3tts_base.yaml uses 1 GPU. The weights use Apache-2.0.
Send a request
Run either client example in a second terminal after/health returns 200.
Use a built-in speaker
Save the synthesized speech asreply.wav.
Python SDK
Describe a voice
Save the synthesized speech asreply.wav.
Python SDK
Clone a reference voice
Supply a clean reference inspeaker.wav. The SDK writes a WAV file. The native HTTP example saves signed 16-bit PCM.
Python SDK
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
instructionson the 0.6B CustomVoice are refused, since it was not trained with them. VoiceDesign withoutinstructionsis a 400.- Base needs exactly one reference clip and
ref_text, unlessx_vector_only_modeis set. - A live
/generate/wsopening is a 400 innon_streaming_modeand 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.yamladmits 34 of those at once; the rest wait. - A clone without
max_output_tokensstops 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. speedis 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.