Back to models
Qwen3-TTS-12Hz-0.6B-Base
Alibaba Qwen's lightweight 0.6B text-to-speech base model utilizing a 12Hz multi-codebook codec for low-latency 24kHz speech generation, three-second zero-shot voice cloning, and efficient speaker fine-tuning on edge GPUs.
What you can do
- Lightweight 3s voice cloning
- Low-latency streaming TTS
- On-device speaker fine-tuning
Input & output
- Input
- Target synthesis text plus ~3s reference audio clip and transcript
- Output
- 24kHz mono cloned speech waveform
Try a prompt like this
Reference transcript: "Good morning, here is today's briefing." Target text: "Server latency dropped by thirty percent after enabling FlashAttention."
Things to know
Apache-2.0 open weights (~2.5GB VRAM in BF16 with 12Hz codec); subtle prosody richness on complex emotional passages trails the 1.7B-Base model.
All listed models publish open weights for self-hosted deployment; check each repository's license before commercial use.
Call it through the API
The platform exposes an OpenAI-compatible API. Use an official SDK or any HTTP client, then set the gateway URL, API key, and model ID.
- Endpoint
POST/v1/audio/speech- Model repo ID
Qwen/Qwen3-TTS-12Hz-0.6B-Base
import os
from openai import OpenAI
client = OpenAI(
base_url=os.environ["API_BASE_URL"],
api_key=os.environ["API_KEY"],
)
speech = client.audio.speech.create(
model="Qwen/Qwen3-TTS-12Hz-0.6B-Base",
voice="default",
input="Reference transcript: \"Good morning, here is today's briefing.\" Target text: \"Server latency dropped by thirty percent after enabling FlashAttention.\"",
)
speech.write_to_file("speech.mp3")Before running a sample, set the API_BASE_URL (gateway URL) and API_KEY environment variables.
Read the full API guide