Ir para o conteúdo
ModelListadosExterno
Browse files

Qwen3 TTS 12Hz 1.7B Base

Qwen3-TTS covers 10 major languages (Chinese, English, Japanese, Korean, German, French, Russian, Portuguese, Spanish, and Italian) as well as multiple dialectal voice profiles to meet global application needs. In...

TipoOtherModelo baseQwen/Qwen3-TTS-12Hz-1.7B-BaseVersãoRevision 16ec6f3Cnota

Fonte do modelo

Tipo
Other
Tamanho do arquivo
3,76 MB–1,19 GB
Modelo base
Qwen/Qwen3-TTS-12Hz-1.7B-Base
Versão
vRevision 16ec6f3
Atualizado
20 de out. de 2026
Downloads
0
Fonte
Hugging Face

Descrição da fonte

Qwen3-TTS

Overview

Introduction

Qwen3-TTS introduction

Qwen3-TTS covers 10 major languages (Chinese, English, Japanese, Korean, German, French, Russian, Portuguese, Spanish, and Italian) as well as multiple dialectal voice profiles to meet global application needs. In addition, the models feature strong contextual understanding, enabling adaptive control of tone, speaking rate, and emotional expression based on instructions and text semantics, and they show markedly improved robustness to noisy input text. Key features:

  • Powerful Speech Representation: Powered by the self-developed Qwen3-TTS-Tokenizer-12Hz, it achieves efficient acoustic compression and high-dimensional semantic modeling of speech signals. It fully preserves paralinguistic information and acoustic environmental features, enabling high-speed, high-fidelity speech reconstruction through a lightweight non-DiT architecture.
  • Universal End-to-End Architecture: Utilizing a discrete multi-codebook LM architecture, it realizes full-information end-to-end speech modeling. This completely bypasses the information bottlenecks and cascading errors inherent in traditional LM+DiT schemes, significantly enhancing the model’s versatility, generation efficiency, and performance ceiling.
  • Extreme Low-Latency Streaming Generation: Based on the innovative Dual-Track hybrid streaming generation architecture, a single model supports both streaming and non-streaming generation. It can output the first audio packet immediately after a single character is input, with end-to-end synthesis latency as low as 97ms, meeting the rigorous demands of real-time interactive scenarios.
  • Intelligent Text Understanding and Voice Control: Supports speech generation driven by natural language instructions, allowing for flexible control over multi-dimensional acoustic attributes such as timbre, emotion, and prosody. By deeply integrating text semantic understanding, the model adaptively adjusts tone, rhythm, and emotional expression, achieving lifelike “what you imagine is what you hear” output.

Model Architecture

Qwen3-TTS architecture overview

Released Models Description and Download

Below is an introduction and download information for the Qwen3-TTS models that have already been released. Other models mentioned in the technical report will be released in the near future. Please select and download the model that fits your needs.

Tokenizer NameDescription
Qwen3-TTS-Tokenizer-12HzThe Qwen3-TTS-Tokenizer-12Hz model which can encode the input speech into codes and decode them back into speech.
ModelFeaturesLanguage SupportStreamingInstruction Control
Qwen3-TTS-12Hz-1.7B-VoiceDesignPerforms voice design based on user-provided descriptions.Chinese, English, Japanese, Korean, German, French, Russian, Portuguese, Spanish, Italian✅✅
Qwen3-TTS-12Hz-1.7B-CustomVoiceProvides style control over target timbres via user instructions; supports 9 premium timbres covering various combinations of gender, age, language, and dialect.Chinese, English, Japanese, Korean, German, French, Russian, Portuguese, Spanish, Italian✅✅
Qwen3-TTS-12Hz-1.7B-BaseBase model capable of 3-second rapid voice clone from user audio input; can be used for fine-tuning (FT) other models.Chinese, English, Japanese, Korean, German, French, Russian, Portuguese, Spanish, Italian✅
Qwen3-TTS-12Hz-0.6B-CustomVoiceSupports 9 premium timbres covering various combinations of gender, age, language, and dialect.Chinese, English, Japanese, Korean, German, French, Russian, Portuguese, Spanish, Italian✅
Qwen3-TTS-12Hz-0.6B-BaseBase model capable of 3-second rapid voice clone from user audio input; can be used for fine-tuning (FT) other models.Chinese, English, Japanese, Korean, German, French, Russian, Portuguese, Spanish, Italian✅

During model loading in the qwen-tts package or vLLM, model weights will be automatically downloaded based on the model name. However, if your runtime environment is not conducive to downloading weights during execution, you can refer to the following commands to manually download the model weights to a local directory:

# Download through ModelScope (recommended for users in Mainland China)
pip install -U modelscope
modelscope download --model Qwen/Qwen3-TTS-Tokenizer-12Hz  --local_dir ./Qwen3-TTS-Tokenizer-12Hz 
modelscope download --model Qwen/Qwen3-TTS-12Hz-1.7B-CustomVoice --local_dir ./Qwen3-TTS-12Hz-1.7B-CustomVoice
modelscope download --model Qwen/Qwen3-TTS-12Hz-1.7B-VoiceDesign --local_dir ./Qwen3-TTS-12Hz-1.7B-VoiceDesign
modelscope download --model Qwen/Qwen3-TTS-12Hz-1.7B-Base --local_dir ./Qwen3-TTS-12Hz-1.7B-Base
modelscope download --model Qwen/Qwen3-TTS-12Hz-0.6B-CustomVoice --local_dir ./Qwen3-TTS-12Hz-0.6B-CustomVoice
modelscope download --model Qwen/Qwen3-TTS-12Hz-0.6B-Base --local_dir ./Qwen3-TTS-12Hz-0.6B-Base

# Download through Hugging Face
pip install -U "huggingface_hub[cli]"
huggingface-cli download Qwen/Qwen3-TTS-Tokenizer-12Hz --local-dir ./Qwen3-TTS-Tokenizer-12Hz
huggingface-cli download Qwen/Qwen3-TTS-12Hz-1.7B-CustomVoice --local-dir ./Qwen3-TTS-12Hz-1.7B-CustomVoice
huggingface-cli download Qwen/Qwen3-TTS-12Hz-1.7B-VoiceDesign --local-dir ./Qwen3-TTS-12Hz-1.7B-VoiceDesign
huggingface-cli download Qwen/Qwen3-TTS-12Hz-1.7B-Base --local-dir ./Qwen3-TTS-12Hz-1.7B-Base
huggingface-cli download Qwen/Qwen3-TTS-12Hz-0.6B-CustomVoice --local-dir ./Qwen3-TTS-12Hz-0.6B-CustomVoice
huggingface-cli download Qwen/Qwen3-TTS-12Hz-0.6B-Base --local-dir ./Qwen3-TTS-12Hz-0.6B-Base

Quickstart

Environment Setup

The easiest way to quickly use Qwen3-TTS is to install the qwen-tts Python package from PyPI. This will pull in the required runtime dependencies and allow you to load any released Qwen3-TTS model. We recommend using a fresh, isolated environment to avoid dependency conflicts with existing packages. You can create a clean Python 3.12 environment like this:

conda create -n qwen3-tts python=3.12 -y
conda activate qwen3-tts

then run:

pip install -U qwen-tts

If you want to develop or modify the code locally, install from source in editable mode.

git clone https://github.com/QwenLM/Qwen3-TTS.git
cd Qwen3-TTS
pip install -e .

Additionally, we recommend using FlashAttention 2 to reduce GPU memory usage.

pip install -U flash-attn --no-build-isolation

If your machine has less than 96GB of RAM and lots of CPU cores, run:

MAX_JOBS=4 pip install -U flash-attn --no-build-isolation

Also, you should have hardware that is compatible with FlashAttention 2. Read more about it in the official documentation of the FlashAttention repository. FlashAttention 2 can only be used when a model is loaded in torch.float16 or torch.bfloat16.

Python Package Usage

After installation, you can import Qwen3TTSModel to run custom voice TTS, voice design, and voice clone. The model weights can be specified either as a Hugging Face model id (recommended) or as a local directory path you downloaded. For all the generate_* functions below, besides the parameters shown and explicitly documented, you can also pass generation kwargs supported by Hugging Face Transformers model.generate, e.g., max_new_tokens, top_p, etc.

Custom Voice Generate

For custom voice models (Qwen3-TTS-12Hz-1.7B/0.6B-CustomVoice), you just need to call generate_custom_voice, passing a single string or a batch list, along with language, speaker, and optional instruct. You can also call model.get_supported_speakers() and model.get_supported_languages() to see which speakers and languages the current model supports.

import torch
import soundfile as sf
from qwen_tts import Qwen3TTSModel

model = Qwen3TTSModel.from_pretrained(
    "Qwen/Qwen3-TTS-12Hz-1.7B-CustomVoice",
    device_map="cuda:0",
    dtype=torch.bfloat16,
    attn_implementation="flash_attention_2",
)

# single inference
wavs, sr = model.generate_custom_voice(
    text="其实我真的有发现,我是一个特别善于观察别人情绪的人。",
    language="Chinese", # Pass `Auto` (or omit) for auto language adaptive; if the target language is known, set it explicitly.
    speaker="Vivian",
    instruct="用特别愤怒的语气说", # Omit if not needed.
)
sf.write("output_custom_voice.wav", wavs[0], sr)

# batch inference
wavs, sr = model.generate_custom_voice(
    text=[
        "其实我真的有发现,我是一个特别善于观察别人情绪的人。", 
        "She said she would be here by noon."
    ],
    language=["Chinese", "English"],
    speaker=["Vivian", "Ryan"],
    instruct=["", "Very happy."]
)
sf.write("output_custom_voice_1.wav", wavs[0], sr)
sf.write("output_custom_voice_2.wav", wavs[1], sr)

For Qwen3-TTS-12Hz-1.7B/0.6B-CustomVoice models, the supported speaker list and speaker descriptions are provided below. We recommend using each speaker’s native language for the best quality. Of course, each speaker can speak any language supported by the model.

SpeakerVoice DescriptionNative language
VivianBright, slightly edgy young female voice.Chinese
SerenaWarm, gentle young female voice.Chinese
Uncle_FuSeasoned male voice with a low, mellow timbre.Chinese
DylanYouthful Beijing male voice with a clear, natural timbre.Chinese (Beijing Dialect)
EricLively Chengdu male voice with a slightly husky brightness.Chinese (Sichuan Dialect)
RyanDynamic male voice with strong rhythmic drive.English
AidenSunny American male voice with a clear midrange.English
Ono_AnnaPlayful Japanese female voice with a light, nimble timbre.Japanese
SoheeWarm Korean female voice with rich emotion.Korean

Voice Design

For the voice design model (Qwen3-TTS-12Hz-1.7B-VoiceDesign), you can use generate_voice_design to provide the target text and a natural-language instruct description.

import torch
import soundfile as sf
from qwen_tts import Qwen3TTSModel

model = Qwen3TTSModel.from_pretrained(
    "Qwen/Qwen3-TTS-12Hz-1.7B-VoiceDesign",
    device_map="cuda:0",
    dtype=torch.bfloat16,
    attn_implementation="flash_attention_2",
)

# single inference
wavs, sr = model.generate_voice_design(
    text="哥哥,你回来啦,人家等了你好久好久了,要抱抱!",
    language="Chinese",
    instruct="体现撒娇稚嫩的萝莉女声,音调偏高且起伏明显,营造出黏人、做作又刻意卖萌的听觉效果。",
)
sf.write("output_voice_design.wav", wavs[0], sr)

# batch inference
wavs, sr = model.generate_voice_design(
    text=[
      "哥哥,你回来啦,人家等了你好久好久了,要抱抱!",
      "It's in the top drawer... wait, it's empty? No way, that's impossible! I'm sure I put it there!"
    ],
    language=["Chinese", "English"],
    instruct=[
      "体现撒娇稚嫩的萝莉女声,音调偏高且起伏明显,营造出黏人、做作又刻意卖萌的听觉效果。",
      "Speak in an incredulous tone, but with a hint of panic beginning to creep into your voice."
    ]
)
sf.write("output_voice_design_1.wav", wavs[0], sr)
sf.write("output_voice_design_2.wav", wavs[1], sr)

Voice Clone

For the voice clone model (Qwen3-TTS-12Hz-1.7B/0.6B-Base), to clone a voice and synthesize new content, you just need to provide a reference audio clip (ref_audio) along with its transcript (ref_text). ref_audio can be a local file path, a URL, a base64 string, or a (numpy_array, sample_rate) tuple. If you set x_vector_only_mode=True, only the speaker embedding is used so...

Fontes

1 fonte
Hugging FacePrimárioVersão 16ec6f3335d919e0e007d825a6f47fdd2cd77594
huggingface.co/onnx-community/Qwen3-TTS-12Hz-1.7B-Base/tree/16ec6f3335d919e0e007d825a6f47fdd2cd77594

Verificado 30 de ago.

Download files

Artefatos de modelo

54 artefatos

cpu_fp16/code_predictor.onnx

onnx · 338 MB · SHA-256 54a23c660167…5929 · Hugging Face

Download file

cpu_fp16/codec_embed.onnx

onnx · 12,0 MB · SHA-256 67f3490aec8a…02a1 · Hugging Face

Download file

cpu_fp16/residual_embed.onnx

onnx · 132 MB · SHA-256 a758ee9e374f…ac51 · Hugging Face

Download file

cpu_fp16/speaker_encoder.onnx

onnx · 46,4 MB · SHA-256 9339938f6f1b…938a · Hugging Face

Download file

cpu_fp16/talker_cache.onnx

onnx · 4,35 MB · SHA-256 e5a2f42e7b58…0141 · Hugging Face

Download file

cpu_fp16/talker.onnx

onnx · 3,77 MB · SHA-256 bebc69272f9e…d7e7 · Hugging Face

Download file

cpu_fp16/text_embed.onnx

onnx · 610 MB · SHA-256 a84c03e54769…aba8 · Hugging Face

Download file

cpu_fp16/tok_decoder.onnx

onnx · 437 MB · SHA-256 8ec100517350…129f · Hugging Face

Download file

cpu_fp16/tok_encoder.onnx

onnx · 215 MB · SHA-256 4a335eaf525c…a400 · Hugging Face

Download file

cpu_fp32/code_predictor.onnx

onnx · 676 MB · SHA-256 c1f6e0e22c0c…fb75 · Hugging Face

Download file

cpu_fp32/codec_embed.onnx

onnx · 24,0 MB · SHA-256 eb62cca194db…5006 · Hugging Face

Download file

cpu_fp32/residual_embed.onnx

onnx · 264 MB · SHA-256 4027f634bd5a…47b7 · Hugging Face

Download file

cpu_fp32/speaker_encoder.onnx

onnx · 46,4 MB · SHA-256 9339938f6f1b…938a · Hugging Face

Download file

cpu_fp32/talker_cache.onnx

onnx · 4,34 MB · SHA-256 afad6ff804da…ad6d · Hugging Face

Download file

cpu_fp32/talker.onnx

onnx · 3,76 MB · SHA-256 6fef39ffa1a2…5a5b · Hugging Face

Download file

cpu_fp32/text_embed.onnx

onnx · 1,19 GB · SHA-256 6247bbcaf539…c1e7 · Hugging Face

Download file

cpu_fp32/tok_decoder.onnx

onnx · 437 MB · SHA-256 8ec100517350…129f · Hugging Face

Download file

cpu_fp32/tok_encoder.onnx

onnx · 215 MB · SHA-256 4a335eaf525c…a400 · Hugging Face

Download file

cpu_int4/code_predictor.onnx

onnx · 109 MB · SHA-256 e496278c6e8a…143f · Hugging Face

Download file

cpu_int4/codec_embed.onnx

onnx · 3,84 MB · SHA-256 25b29578550d…47d9 · Hugging Face

Download file

cpu_int4/residual_embed.onnx

onnx · 42,3 MB · SHA-256 21825e1be3c4…9301 · Hugging Face

Download file

cpu_int4/speaker_encoder.onnx

onnx · 46,4 MB · SHA-256 9339938f6f1b…938a · Hugging Face

Download file

cpu_int4/talker_cache.onnx

onnx · 869 MB · SHA-256 2eb11eaf0fd8…d555 · Hugging Face

Download file

cpu_int4/talker.onnx

onnx · 869 MB · SHA-256 ba9c9c2d95ec…2bac · Hugging Face

Download file

cpu_int4/text_embed.onnx

onnx · 195 MB · SHA-256 9ac763d32c37…bd16 · Hugging Face

Download file

cpu_int4/tok_decoder.onnx

onnx · 437 MB · SHA-256 8ec100517350…129f · Hugging Face

Download file

cpu_int4/tok_encoder.onnx

onnx · 215 MB · SHA-256 4a335eaf525c…a400 · Hugging Face

Download file

cuda_fp16/code_predictor.onnx

onnx · 338 MB · SHA-256 54a23c660167…5929 · Hugging Face

Download file

cuda_fp16/codec_embed.onnx

onnx · 12,0 MB · SHA-256 67f3490aec8a…02a1 · Hugging Face

Download file

cuda_fp16/residual_embed.onnx

onnx · 132 MB · SHA-256 a758ee9e374f…ac51 · Hugging Face

Download file

cuda_fp16/speaker_encoder.onnx

onnx · 46,4 MB · SHA-256 9339938f6f1b…938a · Hugging Face

Download file

cuda_fp16/talker_cache.onnx

onnx · 4,35 MB · SHA-256 e5a2f42e7b58…0141 · Hugging Face

Download file

cuda_fp16/talker.onnx

onnx · 3,77 MB · SHA-256 bebc69272f9e…d7e7 · Hugging Face

Download file

cuda_fp16/text_embed.onnx

onnx · 610 MB · SHA-256 a84c03e54769…aba8 · Hugging Face

Download file

cuda_fp16/tok_decoder.onnx

onnx · 437 MB · SHA-256 8ec100517350…129f · Hugging Face

Download file

cuda_fp16/tok_encoder.onnx

onnx · 215 MB · SHA-256 4a335eaf525c…a400 · Hugging Face

Download file

cuda_fp32/code_predictor.onnx

onnx · 676 MB · SHA-256 c1f6e0e22c0c…fb75 · Hugging Face

Download file

cuda_fp32/codec_embed.onnx

onnx · 24,0 MB · SHA-256 eb62cca194db…5006 · Hugging Face

Download file

cuda_fp32/residual_embed.onnx

onnx · 264 MB · SHA-256 4027f634bd5a…47b7 · Hugging Face

Download file

cuda_fp32/speaker_encoder.onnx

onnx · 46,4 MB · SHA-256 9339938f6f1b…938a · Hugging Face

Download file

cuda_fp32/talker_cache.onnx

onnx · 4,34 MB · SHA-256 afad6ff804da…ad6d · Hugging Face

Download file

cuda_fp32/talker.onnx

onnx · 3,76 MB · SHA-256 6fef39ffa1a2…5a5b · Hugging Face

Download file

cuda_fp32/text_embed.onnx

onnx · 1,19 GB · SHA-256 6247bbcaf539…c1e7 · Hugging Face

Download file

cuda_fp32/tok_decoder.onnx

onnx · 437 MB · SHA-256 8ec100517350…129f · Hugging Face

Download file

cuda_fp32/tok_encoder.onnx

onnx · 215 MB · SHA-256 4a335eaf525c…a400 · Hugging Face

Download file

cuda_int4/code_predictor.onnx

onnx · 109 MB · SHA-256 e496278c6e8a…143f · Hugging Face

Download file

cuda_int4/codec_embed.onnx

onnx · 3,84 MB · SHA-256 25b29578550d…47d9 · Hugging Face

Download file

cuda_int4/residual_embed.onnx

onnx · 42,3 MB · SHA-256 21825e1be3c4…9301 · Hugging Face

Download file

cuda_int4/speaker_encoder.onnx

onnx · 46,4 MB · SHA-256 9339938f6f1b…938a · Hugging Face

Download file

cuda_int4/talker_cache.onnx

onnx · 869 MB · SHA-256 2eb11eaf0fd8…d555 · Hugging Face

Download file

cuda_int4/talker.onnx

onnx · 869 MB · SHA-256 ba9c9c2d95ec…2bac · Hugging Face

Download file

cuda_int4/text_embed.onnx

onnx · 195 MB · SHA-256 9ac763d32c37…bd16 · Hugging Face

Download file

cuda_int4/tok_decoder.onnx

onnx · 437 MB · SHA-256 8ec100517350…129f · Hugging Face

Download file

cuda_int4/tok_encoder.onnx

onnx · 215 MB · SHA-256 4a335eaf525c…a400 · Hugging Face

Download file

Trechos de fonte

2 trechos

--- license: apache-2.0 pipeline_tag: text-to-speech library: onnxruntime language: - zh - en - ja - ko - de - fr - ru - pt - es - it base_model: - Qwen/Qwen3-TTS-12Hz-1.7B-Base tags: - audio - tts - onnx - onnxruntime - voice-clone --- # Qwen3-TTS ## Overview ### Introduction ![Qwen3-TTS introduction](https://qianwen-res.oss-cn-beijing.aliyuncs.com/Qwen3-TTS-Repo/qwen3_tts_introduction.png) Qwen3-TTS covers 10 major languages (Chinese, English, Japanese, Korean, German, French, Russian, Portuguese, Spanish, and Italian) as well as multiple dialectal voice profiles to meet global application needs. In addition, the models feature strong contextual understanding, enabling adaptive control of tone, speaking rate, and emotional expression based on instructions and text semantics, and they show markedly improved robustness to noisy input text. Key features: * **Powerful Speech Representation**: Powered by the self-developed Qwen3-TTS-Tokenizer-12Hz, it achieves efficient acoustic compression and high-dimensional semantic modeling of speech signals. It fully preserves paralinguistic information and acoustic environmental features, enabling high-speed, high-fidelity speech reconstruction through a lightweight non-DiT architecture. * **Universal End-to-End Architecture**: Utilizing a discrete multi-codebook LM architecture, it realizes full-information end-to-end speech modeling. This completely bypasses the information bottlenecks and cascading errors inherent in traditional LM+DiT schemes, significantly enhancing the model’s versatility, generation efficiency, and performance ceiling. * **Extreme Low-Latency Streaming Generation**: Based on the innovative Dual-Track hybrid streaming generation architecture, a single model supports both streaming and non-streaming generation. It can output the first audio packet immediately after a single character is input, with end-to-end synthesis latency as low as 97ms, meeting the rigorous demands of real-time interactive scenarios. * **Intelligent Text Understanding and Voice Control**: Supports speech generation driven by natural language instructions, allowing for flexible control over multi-dimensional acoustic attributes such as timbre, emotion, and prosody. By deeply integrating text semantic understanding, the model adaptively adjusts tone, rhythm, and emotional expression, achieving lifelike “what you imagine...

Source context: 0 downloads · 1 likes · Pipeline text-to-speech · Repo onnx-community/Qwen3-TTS-12Hz-1.7B-Base