qwen-tts 0.0.2__py3-none-any.whl → 0.0.4__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- qwen_tts/core/models/modeling_qwen3_tts.py +63 -17
- qwen_tts-0.0.4.dist-info/METADATA +1384 -0
- {qwen_tts-0.0.2.dist-info → qwen_tts-0.0.4.dist-info}/RECORD +7 -7
- qwen_tts-0.0.2.dist-info/METADATA +0 -28
- {qwen_tts-0.0.2.dist-info → qwen_tts-0.0.4.dist-info}/WHEEL +0 -0
- {qwen_tts-0.0.2.dist-info → qwen_tts-0.0.4.dist-info}/entry_points.txt +0 -0
- {qwen_tts-0.0.2.dist-info → qwen_tts-0.0.4.dist-info}/licenses/LICENSE +0 -0
- {qwen_tts-0.0.2.dist-info → qwen_tts-0.0.4.dist-info}/top_level.txt +0 -0
|
@@ -0,0 +1,1384 @@
|
|
|
1
|
+
Metadata-Version: 2.4
|
|
2
|
+
Name: qwen-tts
|
|
3
|
+
Version: 0.0.4
|
|
4
|
+
Summary: Qwen-TTS python package
|
|
5
|
+
Author: Alibaba Qwen Team
|
|
6
|
+
License: Apache-2.0
|
|
7
|
+
Project-URL: Homepage, https://github.com/Qwen/Qwen3-TTS
|
|
8
|
+
Project-URL: Repository, https://github.com/Qwen/Qwen3-TTS
|
|
9
|
+
Classifier: Programming Language :: Python :: 3
|
|
10
|
+
Classifier: Programming Language :: Python :: 3.9
|
|
11
|
+
Classifier: Programming Language :: Python :: 3.10
|
|
12
|
+
Classifier: Programming Language :: Python :: 3.11
|
|
13
|
+
Classifier: Programming Language :: Python :: 3.12
|
|
14
|
+
Classifier: Programming Language :: Python :: 3.13
|
|
15
|
+
Requires-Python: >=3.9
|
|
16
|
+
Description-Content-Type: text/markdown
|
|
17
|
+
License-File: LICENSE
|
|
18
|
+
Requires-Dist: transformers==4.57.3
|
|
19
|
+
Requires-Dist: accelerate==1.12.0
|
|
20
|
+
Requires-Dist: gradio
|
|
21
|
+
Requires-Dist: librosa
|
|
22
|
+
Requires-Dist: torchaudio
|
|
23
|
+
Requires-Dist: soundfile
|
|
24
|
+
Requires-Dist: sox
|
|
25
|
+
Requires-Dist: onnxruntime
|
|
26
|
+
Requires-Dist: einops
|
|
27
|
+
Dynamic: license-file
|
|
28
|
+
|
|
29
|
+
# Qwen3-TTS
|
|
30
|
+
|
|
31
|
+
<br>
|
|
32
|
+
|
|
33
|
+
<p align="center">
|
|
34
|
+
<img src="https://qianwen-res.oss-cn-beijing.aliyuncs.com/Qwen3-TTS-Repo/qwen3_tts_logo.png" width="400"/>
|
|
35
|
+
<p>
|
|
36
|
+
|
|
37
|
+
<p align="center">
|
|
38
|
+
  🤗 <a href="https://huggingface.co/collections/Qwen/qwen3-tts">Hugging Face</a>   |   🤖 <a href="https://modelscope.cn/collections/Qwen/Qwen3-TTS">ModelScope</a>   |   📑 <a href="https://qwen.ai/blog?id=qwen3tts-0115">Blog</a>   |   📑 <a href="https://github.com/QwenLM/Qwen3-TTS/blob/main/assets/Qwen3_TTS.pdf">Paper</a>  
|
|
39
|
+
<br>
|
|
40
|
+
🖥️ <a href="https://huggingface.co/spaces/Qwen/Qwen3-TTS">Hugging Face Demo</a>   |    🖥️ <a href="https://modelscope.cn/studios/Qwen/Qwen3-TTS">ModelScope Demo</a>   |   💬 <a href="https://github.com/QwenLM/Qwen/blob/main/assets/wechat.png">WeChat (微信)</a>   |   🫨 <a href="https://discord.gg/CV4E9rpNSD">Discord</a>   |   📑 <a href="https://help.aliyun.com/zh/model-studio/qwen-tts-realtime">API</a>
|
|
41
|
+
|
|
42
|
+
</p>
|
|
43
|
+
|
|
44
|
+
We release **Qwen3-TTS**, a series of powerful speech generation capabilities developed by Qwen, offering comprehensive support for voice clone, voice design, ultra-high-quality human-like speech generation, and natural language-based voice control. It provides developers and users with the most extensive set of speech generation features available.
|
|
45
|
+
|
|
46
|
+
|
|
47
|
+
## News
|
|
48
|
+
* 2026.1.22: 🎉🎉🎉 We have released [Qwen3-TTS](https://huggingface.co/collections/Qwen/qwen3-tts) series (0.6B/1.7B) based on Qwen3-TTS-Tokenizer-12Hz. Please check our [blog](https://qwen.ai/blog?id=qwen3tts-0115)!
|
|
49
|
+
|
|
50
|
+
## Contents <!-- omit in toc -->
|
|
51
|
+
|
|
52
|
+
- [Overview](#overview)
|
|
53
|
+
- [Introduction](#introduction)
|
|
54
|
+
- [Model Architecture](#model-architecture)
|
|
55
|
+
- [Released Models Description and Download](#released-models-description-and-download)
|
|
56
|
+
- [Quickstart](#quickstart)
|
|
57
|
+
- [Environment Setup](#environment-setup)
|
|
58
|
+
- [Python Package Usage](#python-package-usage)
|
|
59
|
+
- [Custom Voice Generation](#custom-voice-generate)
|
|
60
|
+
- [Voice Design](#voice-design)
|
|
61
|
+
- [Voice Clone](#voice-clone)
|
|
62
|
+
- [Voice Design then Clone](#voice-design-then-clone)
|
|
63
|
+
- [Tokenizer Encode and Decode](#tokenizer-encode-and-decode)
|
|
64
|
+
- [Launch Local Web UI Demo](#launch-local-web-ui-demo)
|
|
65
|
+
- [DashScope API Usage](#dashscope-api-usage)
|
|
66
|
+
- [vLLM Usage](#vllm-usage)
|
|
67
|
+
- [Fine Tuning](#fine-tuning)
|
|
68
|
+
- [Evaluation](#evaluation)
|
|
69
|
+
<!-- - [Citation](#citation) -->
|
|
70
|
+
|
|
71
|
+
## Overview
|
|
72
|
+
### Introduction
|
|
73
|
+
|
|
74
|
+
<p align="center">
|
|
75
|
+
<img src="https://qianwen-res.oss-cn-beijing.aliyuncs.com/Qwen3-TTS-Repo/qwen3_tts_introduction.png" width="90%"/>
|
|
76
|
+
<p>
|
|
77
|
+
|
|
78
|
+
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:
|
|
79
|
+
|
|
80
|
+
* **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.
|
|
81
|
+
* **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.
|
|
82
|
+
* **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.
|
|
83
|
+
* **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.
|
|
84
|
+
|
|
85
|
+
|
|
86
|
+
### Model Architecture
|
|
87
|
+
|
|
88
|
+
<p align="center">
|
|
89
|
+
<img src="https://qianwen-res.oss-cn-beijing.aliyuncs.com/Qwen3-TTS-Repo/overview.png" width="80%"/>
|
|
90
|
+
<p>
|
|
91
|
+
|
|
92
|
+
### Released Models Description and Download
|
|
93
|
+
|
|
94
|
+
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.
|
|
95
|
+
|
|
96
|
+
| Tokenizer Name | Description |
|
|
97
|
+
|---------------------------------|-------------|
|
|
98
|
+
| Qwen3-TTS-Tokenizer-12Hz | The Qwen3-TTS-Tokenizer-12Hz model which can encode the input speech into codes and decode them back into speech. |
|
|
99
|
+
|
|
100
|
+
|
|
101
|
+
| Model | Features | Language Support | Streaming | Instruction Control |
|
|
102
|
+
|---|---|---|---|---|
|
|
103
|
+
| Qwen3-TTS-12Hz-1.7B-VoiceDesign | Performs voice design based on user-provided descriptions. | Chinese, English, Japanese, Korean, German, French, Russian, Portuguese, Spanish, Italian | ✅ | ✅ |
|
|
104
|
+
| Qwen3-TTS-12Hz-1.7B-CustomVoice | Provides 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 | ✅ | ✅ |
|
|
105
|
+
| Qwen3-TTS-12Hz-1.7B-Base | Base 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 | ✅ | |
|
|
106
|
+
| Qwen3-TTS-12Hz-0.6B-CustomVoice | Supports 9 premium timbres covering various combinations of gender, age, language, and dialect. | Chinese, English, Japanese, Korean, German, French, Russian, Portuguese, Spanish, Italian | ✅ | |
|
|
107
|
+
| Qwen3-TTS-12Hz-0.6B-Base | Base 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 | ✅ | |
|
|
108
|
+
|
|
109
|
+
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:
|
|
110
|
+
|
|
111
|
+
```bash
|
|
112
|
+
# Download through ModelScope (recommended for users in Mainland China)
|
|
113
|
+
pip install -U modelscope
|
|
114
|
+
modelscope download --model Qwen/Qwen3-TTS-Tokenizer-12Hz --local_dir ./Qwen3-TTS-Tokenizer-12Hz
|
|
115
|
+
modelscope download --model Qwen/Qwen3-TTS-12Hz-1.7B-CustomVoice --local_dir ./Qwen3-TTS-12Hz-1.7B-CustomVoice
|
|
116
|
+
modelscope download --model Qwen/Qwen3-TTS-12Hz-1.7B-VoiceDesign --local_dir ./Qwen3-TTS-12Hz-1.7B-VoiceDesign
|
|
117
|
+
modelscope download --model Qwen/Qwen3-TTS-12Hz-1.7B-Base --local_dir ./Qwen3-TTS-12Hz-1.7B-Base
|
|
118
|
+
modelscope download --model Qwen/Qwen3-TTS-12Hz-0.6B-CustomVoice --local_dir ./Qwen3-TTS-12Hz-0.6B-CustomVoice
|
|
119
|
+
modelscope download --model Qwen/Qwen3-TTS-12Hz-0.6B-Base --local_dir ./Qwen3-TTS-12Hz-0.6B-Base
|
|
120
|
+
|
|
121
|
+
# Download through Hugging Face
|
|
122
|
+
pip install -U "huggingface_hub[cli]"
|
|
123
|
+
huggingface-cli download Qwen/Qwen3-TTS-Tokenizer-12Hz --local-dir ./Qwen3-TTS-Tokenizer-12Hz
|
|
124
|
+
huggingface-cli download Qwen/Qwen3-TTS-12Hz-1.7B-CustomVoice --local-dir ./Qwen3-TTS-12Hz-1.7B-CustomVoice
|
|
125
|
+
huggingface-cli download Qwen/Qwen3-TTS-12Hz-1.7B-VoiceDesign --local-dir ./Qwen3-TTS-12Hz-1.7B-VoiceDesign
|
|
126
|
+
huggingface-cli download Qwen/Qwen3-TTS-12Hz-1.7B-Base --local-dir ./Qwen3-TTS-12Hz-1.7B-Base
|
|
127
|
+
huggingface-cli download Qwen/Qwen3-TTS-12Hz-0.6B-CustomVoice --local-dir ./Qwen3-TTS-12Hz-0.6B-CustomVoice
|
|
128
|
+
huggingface-cli download Qwen/Qwen3-TTS-12Hz-0.6B-Base --local-dir ./Qwen3-TTS-12Hz-0.6B-Base
|
|
129
|
+
```
|
|
130
|
+
|
|
131
|
+
|
|
132
|
+
## Quickstart
|
|
133
|
+
|
|
134
|
+
### Environment Setup
|
|
135
|
+
|
|
136
|
+
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:
|
|
137
|
+
|
|
138
|
+
```bash
|
|
139
|
+
conda create -n qwen3-tts python=3.12 -y
|
|
140
|
+
conda activate qwen3-tts
|
|
141
|
+
```
|
|
142
|
+
|
|
143
|
+
then run:
|
|
144
|
+
|
|
145
|
+
```bash
|
|
146
|
+
pip install -U qwen-tts
|
|
147
|
+
```
|
|
148
|
+
|
|
149
|
+
If you want to develop or modify the code locally, install from source in editable mode.
|
|
150
|
+
|
|
151
|
+
```bash
|
|
152
|
+
git clone https://github.com/QwenLM/Qwen3-TTS.git
|
|
153
|
+
cd Qwen3-TTS
|
|
154
|
+
pip install -e .
|
|
155
|
+
```
|
|
156
|
+
|
|
157
|
+
Additionally, we recommend using FlashAttention 2 to reduce GPU memory usage.
|
|
158
|
+
|
|
159
|
+
```bash
|
|
160
|
+
pip install -U flash-attn --no-build-isolation
|
|
161
|
+
```
|
|
162
|
+
|
|
163
|
+
If your machine has less than 96GB of RAM and lots of CPU cores, run:
|
|
164
|
+
|
|
165
|
+
```bash
|
|
166
|
+
MAX_JOBS=4 pip install -U flash-attn --no-build-isolation
|
|
167
|
+
```
|
|
168
|
+
|
|
169
|
+
Also, you should have hardware that is compatible with FlashAttention 2. Read more about it in the official documentation of the [FlashAttention repository](https://github.com/Dao-AILab/flash-attention). FlashAttention 2 can only be used when a model is loaded in `torch.float16` or `torch.bfloat16`.
|
|
170
|
+
|
|
171
|
+
|
|
172
|
+
### Python Package Usage
|
|
173
|
+
|
|
174
|
+
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.
|
|
175
|
+
|
|
176
|
+
#### Custom Voice Generate
|
|
177
|
+
|
|
178
|
+
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.
|
|
179
|
+
|
|
180
|
+
```python
|
|
181
|
+
import torch
|
|
182
|
+
import soundfile as sf
|
|
183
|
+
from qwen_tts import Qwen3TTSModel
|
|
184
|
+
|
|
185
|
+
model = Qwen3TTSModel.from_pretrained(
|
|
186
|
+
"Qwen/Qwen3-TTS-12Hz-1.7B-CustomVoice",
|
|
187
|
+
device_map="cuda:0",
|
|
188
|
+
dtype=torch.bfloat16,
|
|
189
|
+
attn_implementation="flash_attention_2",
|
|
190
|
+
)
|
|
191
|
+
|
|
192
|
+
# single inference
|
|
193
|
+
wavs, sr = model.generate_custom_voice(
|
|
194
|
+
text="其实我真的有发现,我是一个特别善于观察别人情绪的人。",
|
|
195
|
+
language="Chinese", # Pass `Auto` (or omit) for auto language adaptive; if the target language is known, set it explicitly.
|
|
196
|
+
speaker="Vivian",
|
|
197
|
+
instruct="用特别愤怒的语气说", # Omit if not needed.
|
|
198
|
+
)
|
|
199
|
+
sf.write("output_custom_voice.wav", wavs[0], sr)
|
|
200
|
+
|
|
201
|
+
# batch inference
|
|
202
|
+
wavs, sr = model.generate_custom_voice(
|
|
203
|
+
text=[
|
|
204
|
+
"其实我真的有发现,我是一个特别善于观察别人情绪的人。",
|
|
205
|
+
"She said she would be here by noon."
|
|
206
|
+
],
|
|
207
|
+
language=["Chinese", "English"],
|
|
208
|
+
speaker=["Vivian", "Ryan"],
|
|
209
|
+
instruct=["", "Very happy."]
|
|
210
|
+
)
|
|
211
|
+
sf.write("output_custom_voice_1.wav", wavs[0], sr)
|
|
212
|
+
sf.write("output_custom_voice_2.wav", wavs[1], sr)
|
|
213
|
+
```
|
|
214
|
+
|
|
215
|
+
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.
|
|
216
|
+
|
|
217
|
+
| Speaker | Voice Description | Native language |
|
|
218
|
+
| --- | --- | --- |
|
|
219
|
+
| Vivian | Bright, slightly edgy young female voice. | Chinese |
|
|
220
|
+
| Serena | Warm, gentle young female voice. | Chinese |
|
|
221
|
+
| Uncle_Fu | Seasoned male voice with a low, mellow timbre. | Chinese |
|
|
222
|
+
| Dylan | Youthful Beijing male voice with a clear, natural timbre. | Chinese (Beijing Dialect) |
|
|
223
|
+
| Eric | Lively Chengdu male voice with a slightly husky brightness. | Chinese (Sichuan Dialect) |
|
|
224
|
+
| Ryan | Dynamic male voice with strong rhythmic drive. | English |
|
|
225
|
+
| Aiden | Sunny American male voice with a clear midrange. | English |
|
|
226
|
+
| Ono_Anna | Playful Japanese female voice with a light, nimble timbre. | Japanese |
|
|
227
|
+
| Sohee | Warm Korean female voice with rich emotion. | Korean |
|
|
228
|
+
|
|
229
|
+
#### Voice Design
|
|
230
|
+
|
|
231
|
+
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.
|
|
232
|
+
|
|
233
|
+
```python
|
|
234
|
+
import torch
|
|
235
|
+
import soundfile as sf
|
|
236
|
+
from qwen_tts import Qwen3TTSModel
|
|
237
|
+
|
|
238
|
+
model = Qwen3TTSModel.from_pretrained(
|
|
239
|
+
"Qwen/Qwen3-TTS-12Hz-1.7B-VoiceDesign",
|
|
240
|
+
device_map="cuda:0",
|
|
241
|
+
dtype=torch.bfloat16,
|
|
242
|
+
attn_implementation="flash_attention_2",
|
|
243
|
+
)
|
|
244
|
+
|
|
245
|
+
# single inference
|
|
246
|
+
wavs, sr = model.generate_voice_design(
|
|
247
|
+
text="哥哥,你回来啦,人家等了你好久好久了,要抱抱!",
|
|
248
|
+
language="Chinese",
|
|
249
|
+
instruct="体现撒娇稚嫩的萝莉女声,音调偏高且起伏明显,营造出黏人、做作又刻意卖萌的听觉效果。",
|
|
250
|
+
)
|
|
251
|
+
sf.write("output_voice_design.wav", wavs[0], sr)
|
|
252
|
+
|
|
253
|
+
# batch inference
|
|
254
|
+
wavs, sr = model.generate_voice_design(
|
|
255
|
+
text=[
|
|
256
|
+
"哥哥,你回来啦,人家等了你好久好久了,要抱抱!",
|
|
257
|
+
"It's in the top drawer... wait, it's empty? No way, that's impossible! I'm sure I put it there!"
|
|
258
|
+
],
|
|
259
|
+
language=["Chinese", "English"],
|
|
260
|
+
instruct=[
|
|
261
|
+
"体现撒娇稚嫩的萝莉女声,音调偏高且起伏明显,营造出黏人、做作又刻意卖萌的听觉效果。",
|
|
262
|
+
"Speak in an incredulous tone, but with a hint of panic beginning to creep into your voice."
|
|
263
|
+
]
|
|
264
|
+
)
|
|
265
|
+
sf.write("output_voice_design_1.wav", wavs[0], sr)
|
|
266
|
+
sf.write("output_voice_design_2.wav", wavs[1], sr)
|
|
267
|
+
```
|
|
268
|
+
|
|
269
|
+
#### Voice Clone
|
|
270
|
+
|
|
271
|
+
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 `ref_text` is not required, but cloning quality may be reduced.
|
|
272
|
+
|
|
273
|
+
```python
|
|
274
|
+
import torch
|
|
275
|
+
import soundfile as sf
|
|
276
|
+
from qwen_tts import Qwen3TTSModel
|
|
277
|
+
|
|
278
|
+
model = Qwen3TTSModel.from_pretrained(
|
|
279
|
+
"Qwen/Qwen3-TTS-12Hz-1.7B-Base",
|
|
280
|
+
device_map="cuda:0",
|
|
281
|
+
dtype=torch.bfloat16,
|
|
282
|
+
attn_implementation="flash_attention_2",
|
|
283
|
+
)
|
|
284
|
+
|
|
285
|
+
ref_audio = "https://qianwen-res.oss-cn-beijing.aliyuncs.com/Qwen3-TTS-Repo/clone.wav"
|
|
286
|
+
ref_text = "Okay. Yeah. I resent you. I love you. I respect you. But you know what? You blew it! And thanks to you."
|
|
287
|
+
|
|
288
|
+
wavs, sr = model.generate_voice_clone(
|
|
289
|
+
text="I am solving the equation: x = [-b ± √(b²-4ac)] / 2a? Nobody can — it's a disaster (◍•͈⌔•͈◍), very sad!",
|
|
290
|
+
language="English",
|
|
291
|
+
ref_audio=ref_audio,
|
|
292
|
+
ref_text=ref_text,
|
|
293
|
+
)
|
|
294
|
+
sf.write("output_voice_clone.wav", wavs[0], sr)
|
|
295
|
+
```
|
|
296
|
+
|
|
297
|
+
If you need to reuse the same reference prompt across multiple generations (to avoid recomputing prompt features), build it once with `create_voice_clone_prompt` and pass it via `voice_clone_prompt`.
|
|
298
|
+
|
|
299
|
+
```python
|
|
300
|
+
prompt_items = model.create_voice_clone_prompt(
|
|
301
|
+
ref_audio=ref_audio,
|
|
302
|
+
ref_text=ref_text,
|
|
303
|
+
x_vector_only_mode=False,
|
|
304
|
+
)
|
|
305
|
+
wavs, sr = model.generate_voice_clone(
|
|
306
|
+
text=["Sentence A.", "Sentence B."],
|
|
307
|
+
language=["English", "English"],
|
|
308
|
+
voice_clone_prompt=prompt_items,
|
|
309
|
+
)
|
|
310
|
+
sf.write("output_voice_clone_1.wav", wavs[0], sr)
|
|
311
|
+
sf.write("output_voice_clone_2.wav", wavs[1], sr)
|
|
312
|
+
```
|
|
313
|
+
|
|
314
|
+
For more examples of reusable voice clone prompts, batch cloning, and batch inference, please refer to the [example codes](https://github.com/QwenLM/Qwen3-TTS/blob/main/examples/test_model_12hz_base.py). With those examples and the `generate_voice_clone` function description, you can explore more advanced usage patterns.
|
|
315
|
+
|
|
316
|
+
#### Voice Design then Clone
|
|
317
|
+
|
|
318
|
+
If you want a designed voice that you can reuse like a cloned speaker, a practical workflow is: (1) use the **VoiceDesign** model to synthesize a short reference clip that matches your target persona, (2) feed that clip into `create_voice_clone_prompt` to build a reusable prompt, and then (3) call `generate_voice_clone` with `voice_clone_prompt` to generate new content without re-extracting features every time. This is especially useful when you want a consistent character voice across many lines.
|
|
319
|
+
|
|
320
|
+
```python
|
|
321
|
+
import torch
|
|
322
|
+
import soundfile as sf
|
|
323
|
+
from qwen_tts import Qwen3TTSModel
|
|
324
|
+
|
|
325
|
+
# create a reference audio in the target style using the VoiceDesign model
|
|
326
|
+
design_model = Qwen3TTSModel.from_pretrained(
|
|
327
|
+
"Qwen/Qwen3-TTS-12Hz-1.7B-VoiceDesign",
|
|
328
|
+
device_map="cuda:0",
|
|
329
|
+
dtype=torch.bfloat16,
|
|
330
|
+
attn_implementation="flash_attention_2",
|
|
331
|
+
)
|
|
332
|
+
|
|
333
|
+
ref_text = "H-hey! You dropped your... uh... calculus notebook? I mean, I think it's yours? Maybe?"
|
|
334
|
+
ref_instruct = "Male, 17 years old, tenor range, gaining confidence - deeper breath support now, though vowels still tighten when nervous"
|
|
335
|
+
ref_wavs, sr = design_model.generate_voice_design(
|
|
336
|
+
text=ref_text,
|
|
337
|
+
language="English",
|
|
338
|
+
instruct=ref_instruct
|
|
339
|
+
)
|
|
340
|
+
sf.write("voice_design_reference.wav", ref_wavs[0], sr)
|
|
341
|
+
|
|
342
|
+
# build a reusable clone prompt from the voice design reference
|
|
343
|
+
clone_model = Qwen3TTSModel.from_pretrained(
|
|
344
|
+
"Qwen/Qwen3-TTS-12Hz-1.7B-Base",
|
|
345
|
+
device_map="cuda:0",
|
|
346
|
+
dtype=torch.bfloat16,
|
|
347
|
+
attn_implementation="flash_attention_2",
|
|
348
|
+
)
|
|
349
|
+
|
|
350
|
+
voice_clone_prompt = clone_model.create_voice_clone_prompt(
|
|
351
|
+
ref_audio=(ref_wavs[0], sr), # or "voice_design_reference.wav"
|
|
352
|
+
ref_text=ref_text,
|
|
353
|
+
)
|
|
354
|
+
|
|
355
|
+
sentences = [
|
|
356
|
+
"No problem! I actually... kinda finished those already? If you want to compare answers or something...",
|
|
357
|
+
"What? No! I mean yes but not like... I just think you're... your titration technique is really precise!",
|
|
358
|
+
]
|
|
359
|
+
|
|
360
|
+
# reuse it for multiple single calls
|
|
361
|
+
wavs, sr = clone_model.generate_voice_clone(
|
|
362
|
+
text=sentences[0],
|
|
363
|
+
language="English",
|
|
364
|
+
voice_clone_prompt=voice_clone_prompt,
|
|
365
|
+
)
|
|
366
|
+
sf.write("clone_single_1.wav", wavs[0], sr)
|
|
367
|
+
|
|
368
|
+
wavs, sr = clone_model.generate_voice_clone(
|
|
369
|
+
text=sentences[1],
|
|
370
|
+
language="English",
|
|
371
|
+
voice_clone_prompt=voice_clone_prompt,
|
|
372
|
+
)
|
|
373
|
+
sf.write("clone_single_2.wav", wavs[0], sr)
|
|
374
|
+
|
|
375
|
+
# or batch generate in one call
|
|
376
|
+
wavs, sr = clone_model.generate_voice_clone(
|
|
377
|
+
text=sentences,
|
|
378
|
+
language=["English", "English"],
|
|
379
|
+
voice_clone_prompt=voice_clone_prompt,
|
|
380
|
+
)
|
|
381
|
+
for i, w in enumerate(wavs):
|
|
382
|
+
sf.write(f"clone_batch_{i}.wav", w, sr)
|
|
383
|
+
```
|
|
384
|
+
|
|
385
|
+
#### Tokenizer Encode and Decode
|
|
386
|
+
|
|
387
|
+
If you only want to encode and decode audio for transport or training and so on, `Qwen3TTSTokenizer` supports encode/decode with paths, URLs, numpy waveforms, and dict/list payloads, for example:
|
|
388
|
+
|
|
389
|
+
```python
|
|
390
|
+
import soundfile as sf
|
|
391
|
+
from qwen_tts import Qwen3TTSTokenizer
|
|
392
|
+
|
|
393
|
+
tokenizer = Qwen3TTSTokenizer.from_pretrained(
|
|
394
|
+
"Qwen/Qwen3-TTS-Tokenizer-12Hz",
|
|
395
|
+
device_map="cuda:0",
|
|
396
|
+
)
|
|
397
|
+
|
|
398
|
+
enc = tokenizer.encode("https://qianwen-res.oss-cn-beijing.aliyuncs.com/Qwen3-TTS-Repo/tokenizer_demo_1.wav")
|
|
399
|
+
wavs, sr = tokenizer.decode(enc)
|
|
400
|
+
sf.write("decode_output.wav", wavs[0], sr)
|
|
401
|
+
```
|
|
402
|
+
|
|
403
|
+
For more tokenizer examples (including different input formats and batch usage), please refer to the [example codes](https://github.com/QwenLM/Qwen3-TTS/blob/main/examples/test_tokenizer_12hz.py). With those examples and the description for `Qwen3TTSTokenizer`, you can explore more advanced usage patterns.
|
|
404
|
+
|
|
405
|
+
### Launch Local Web UI Demo
|
|
406
|
+
|
|
407
|
+
To launch the Qwen3-TTS web ui demo, simply install the `qwen-tts` package and run `qwen-tts-demo`. Use the command below for help:
|
|
408
|
+
|
|
409
|
+
```bash
|
|
410
|
+
qwen-tts-demo --help
|
|
411
|
+
```
|
|
412
|
+
|
|
413
|
+
To launch the demo, you can use the following commands:
|
|
414
|
+
|
|
415
|
+
```bash
|
|
416
|
+
# CustomVoice model
|
|
417
|
+
qwen-tts-demo Qwen/Qwen3-TTS-12Hz-1.7B-CustomVoice --ip 0.0.0.0 --port 8000
|
|
418
|
+
# VoiceDesign model
|
|
419
|
+
qwen-tts-demo Qwen/Qwen3-TTS-12Hz-1.7B-VoiceDesign --ip 0.0.0.0 --port 8000
|
|
420
|
+
# Base model
|
|
421
|
+
qwen-tts-demo Qwen/Qwen3-TTS-12Hz-1.7B-Base --ip 0.0.0.0 --port 8000
|
|
422
|
+
```
|
|
423
|
+
|
|
424
|
+
And then open `http://<your-ip>:8000`, or access it via port forwarding in tools like VS Code.
|
|
425
|
+
|
|
426
|
+
#### Base Model HTTPS Notes
|
|
427
|
+
|
|
428
|
+
To avoid browser microphone permission issues after deploying the server, for Base model deployments, it is recommended/required to run the gradio service over **HTTPS** (especially when accessed remotely or behind modern browsers/gateways). Use `--ssl-certfile` and `--ssl-keyfile` to enable HTTPS. First we need to generate a private key and a self-signed cert (valid for 365 days):
|
|
429
|
+
|
|
430
|
+
```bash
|
|
431
|
+
openssl req -x509 -newkey rsa:2048 \
|
|
432
|
+
-keyout key.pem -out cert.pem \
|
|
433
|
+
-days 365 -nodes \
|
|
434
|
+
-subj "/CN=localhost"
|
|
435
|
+
```
|
|
436
|
+
|
|
437
|
+
Then run the demo with HTTPS:
|
|
438
|
+
|
|
439
|
+
```bash
|
|
440
|
+
qwen-tts-demo Qwen/Qwen3-TTS-12Hz-1.7B-Base \
|
|
441
|
+
--ip 0.0.0.0 --port 8000 \
|
|
442
|
+
--ssl-certfile cert.pem \
|
|
443
|
+
--ssl-keyfile key.pem \
|
|
444
|
+
--no-ssl-verify
|
|
445
|
+
```
|
|
446
|
+
|
|
447
|
+
And open `https://<your-ip>:8000` to experience it. If your browser shows a warning, it’s expected for self-signed certificates. For production, use a real certificate.
|
|
448
|
+
|
|
449
|
+
### DashScope API Usage
|
|
450
|
+
|
|
451
|
+
To further explore Qwen3-TTS, we encourage you to try our DashScope API for a faster and more efficient experience. For detailed API information and documentation, please refer to the following:
|
|
452
|
+
|
|
453
|
+
| API Description | API Documentation (Mainland China) | API Documentation (International) |
|
|
454
|
+
|------------------|-----------------------------------|------------------------------------|
|
|
455
|
+
| Real-time API for Qwen3-TTS of custom voice model. | [https://help.aliyun.com/zh/model-studio/qwen-tts-realtime](https://help.aliyun.com/zh/model-studio/qwen-tts-realtime) | [https://www.alibabacloud.com/help/en/model-studio/qwen-tts-realtime](https://www.alibabacloud.com/help/en/model-studio/qwen-tts-realtime) |
|
|
456
|
+
| Real-time API for Qwen3-TTS of voice clone model. | [https://help.aliyun.com/zh/model-studio/qwen-tts-voice-cloning](https://help.aliyun.com/zh/model-studio/qwen-tts-voice-cloning) | [https://www.alibabacloud.com/help/en/model-studio/qwen-tts-voice-cloning](https://www.alibabacloud.com/help/en/model-studio/qwen-tts-voice-cloning) |
|
|
457
|
+
| Real-time API for Qwen3-TTS of voice design model. | [https://help.aliyun.com/zh/model-studio/qwen-tts-voice-design](https://help.aliyun.com/zh/model-studio/qwen-tts-voice-design) | [https://www.alibabacloud.com/help/en/model-studio/qwen-tts-voice-design](https://www.alibabacloud.com/help/en/model-studio/qwen-tts-voice-design) |
|
|
458
|
+
|
|
459
|
+
|
|
460
|
+
## vLLM Usage
|
|
461
|
+
|
|
462
|
+
vLLM officially provides day-0 support for Qwen3-TTS! Welcome to use vLLM-Omni for Qwen3-TTS deployment and inference. For installation and more details, please check [vLLM-Omni official documentation](https://docs.vllm.ai/projects/vllm-omni/en/latest/getting_started/quickstart/#installation). Now only offline inference is supported. Online serving will be supported later, and vLLM-Omni will continue to offer support and optimization for Qwen3-TTS in areas such as inference speed and streaming capabilities.
|
|
463
|
+
|
|
464
|
+
### Offline Inference
|
|
465
|
+
You can use vLLM-Omni to inference Qwen3-TTS locally, we provide examples in [vLLM-Omni repo](https://github.com/vllm-project/vllm-omni/tree/main/examples/offline_inference/qwen3_tts) which can generate audio output:
|
|
466
|
+
```bash
|
|
467
|
+
# git clone https://github.com/vllm-project/vllm-omni.git
|
|
468
|
+
|
|
469
|
+
# cd vllm-omni/examples/offline_inference/qwen3_tts
|
|
470
|
+
|
|
471
|
+
# Run a single sample with CustomVoice task
|
|
472
|
+
python end2end.py --query-type CustomVoice
|
|
473
|
+
|
|
474
|
+
# Batch sample (multiple prompts in one run) with CustomVoice task:
|
|
475
|
+
python end2end.py --query-type CustomVoice --use-batch-sample
|
|
476
|
+
|
|
477
|
+
# Run a single sample with VoiceDesign task
|
|
478
|
+
python end2end.py --query-type VoiceDesign
|
|
479
|
+
|
|
480
|
+
# Batch sample (multiple prompts in one run) with VoiceDesign task:
|
|
481
|
+
python end2end.py --query-type VoiceDesign --use-batch-sample
|
|
482
|
+
|
|
483
|
+
# Run a single sample with Base task in icl mode-tag
|
|
484
|
+
python end2end.py --query-type Base --mode-tag icl
|
|
485
|
+
```
|
|
486
|
+
|
|
487
|
+
## Fine Tuning
|
|
488
|
+
|
|
489
|
+
Please refer to [Qwen3-TTS-Finetuning](finetuning/) for detailed instructions on fine-tuning Qwen3-TTS.
|
|
490
|
+
|
|
491
|
+
## Evaluation
|
|
492
|
+
|
|
493
|
+
During evaluation, we ran inference for all models with `dtype=torch.bfloat16` and set `max_new_tokens=2048`. All other sampling parameters used the defaults from the checkpoint’s `generate_config.json`. For the Seed-Test and InstructTTS-Eval test sets, we set `language="auto"`, while for all other test sets we explicitly passed the corresponding `language`. The detailed results are shown below.
|
|
494
|
+
|
|
495
|
+
|
|
496
|
+
<details>
|
|
497
|
+
<summary>Speech Generation Benchmarks</summary>
|
|
498
|
+
|
|
499
|
+
*Zero-shot speech generation on the Seed-TTS test set. Performance is measured by Word Error Rate (WER, ↓), where lower is better.*
|
|
500
|
+
|
|
501
|
+
<table>
|
|
502
|
+
<thead>
|
|
503
|
+
<tr>
|
|
504
|
+
<th style="text-align: center;">Datasets</th>
|
|
505
|
+
<th style="text-align: left;">Model</th>
|
|
506
|
+
<th colspan="2" style="text-align: center;">Performance</th>
|
|
507
|
+
</tr>
|
|
508
|
+
<tr style="border-bottom: 1px solid #ddd; border-top: 1px solid #ddd;">
|
|
509
|
+
<td colspan="4" style="text-align: center;"><em>Content Consistency</em></td>
|
|
510
|
+
</tr>
|
|
511
|
+
</thead>
|
|
512
|
+
<tbody>
|
|
513
|
+
<tr>
|
|
514
|
+
<td rowspan="14" style="text-align: center; vertical-align: middle;">SEED<br><em>test-zh</em> | <em>test-en</em></td>
|
|
515
|
+
<td style="text-align: left;">Seed-TTS (Anastassiou et al., 2024)</td>
|
|
516
|
+
<td style="text-align: center;">1.12</td>
|
|
517
|
+
<td style="text-align: center;">2.25</td>
|
|
518
|
+
</tr>
|
|
519
|
+
<tr>
|
|
520
|
+
<td style="text-align: left;">MaskGCT (Wang et al., 2024)</td>
|
|
521
|
+
<td style="text-align: center;">2.27</td>
|
|
522
|
+
<td style="text-align: center;">2.62</td>
|
|
523
|
+
</tr>
|
|
524
|
+
<tr>
|
|
525
|
+
<td style="text-align: left;">E2 TTS (Eskimez et al., 2024)</td>
|
|
526
|
+
<td style="text-align: center;">1.97</td>
|
|
527
|
+
<td style="text-align: center;">2.19</td>
|
|
528
|
+
</tr>
|
|
529
|
+
<tr>
|
|
530
|
+
<td style="text-align: left;">F5-TTS (Chen et al., 2024)</td>
|
|
531
|
+
<td style="text-align: center;">1.56</td>
|
|
532
|
+
<td style="text-align: center;">1.83</td>
|
|
533
|
+
</tr>
|
|
534
|
+
<tr>
|
|
535
|
+
<td style="text-align: left;">Spark TTS (Wang et al., 2025)</td>
|
|
536
|
+
<td style="text-align: center;">1.20</td>
|
|
537
|
+
<td style="text-align: center;">1.98</td>
|
|
538
|
+
</tr>
|
|
539
|
+
<tr>
|
|
540
|
+
<td style="text-align: left;">Llasa-8B (Ye et al., 2025b)</td>
|
|
541
|
+
<td style="text-align: center;">1.59</td>
|
|
542
|
+
<td style="text-align: center;">2.97</td>
|
|
543
|
+
</tr>
|
|
544
|
+
<tr>
|
|
545
|
+
<td style="text-align: left;">KALL-E (Xia et al., 2024)</td>
|
|
546
|
+
<td style="text-align: center;">0.96</td>
|
|
547
|
+
<td style="text-align: center;">1.94</td>
|
|
548
|
+
</tr>
|
|
549
|
+
<tr>
|
|
550
|
+
<td style="text-align: left;">FireRedTTS 2 (Xie et al., 2025)</td>
|
|
551
|
+
<td style="text-align: center;">1.14</td>
|
|
552
|
+
<td style="text-align: center;">1.95</td>
|
|
553
|
+
</tr>
|
|
554
|
+
<tr>
|
|
555
|
+
<td style="text-align: left;">CosyVoice 3 (Du et al., 2025)</td>
|
|
556
|
+
<td style="text-align: center;"><strong>0.71</strong></td>
|
|
557
|
+
<td style="text-align: center;">1.45</td>
|
|
558
|
+
</tr>
|
|
559
|
+
<tr>
|
|
560
|
+
<td style="text-align: left;">MiniMax-Speech (Zhang et al., 2025a)</td>
|
|
561
|
+
<td style="text-align: center;">0.83</td>
|
|
562
|
+
<td style="text-align: center;">1.65</td>
|
|
563
|
+
</tr>
|
|
564
|
+
<tr>
|
|
565
|
+
<td style="text-align: left;">Qwen3-TTS-25Hz-0.6B-Base</td>
|
|
566
|
+
<td style="text-align: center;">1.18</td>
|
|
567
|
+
<td style="text-align: center;">1.64</td>
|
|
568
|
+
</tr>
|
|
569
|
+
<tr>
|
|
570
|
+
<td style="text-align: left;">Qwen3-TTS-25Hz-1.7B-Base</td>
|
|
571
|
+
<td style="text-align: center;">1.10</td>
|
|
572
|
+
<td style="text-align: center;">1.49</td>
|
|
573
|
+
</tr>
|
|
574
|
+
<tr>
|
|
575
|
+
<td style="text-align: left;">Qwen3-TTS-12Hz-0.6B-Base</td>
|
|
576
|
+
<td style="text-align: center;">0.92</td>
|
|
577
|
+
<td style="text-align: center;">1.32</td>
|
|
578
|
+
</tr>
|
|
579
|
+
<tr>
|
|
580
|
+
<td style="text-align: left;">Qwen3-TTS-12Hz-1.7B-Base</td>
|
|
581
|
+
<td style="text-align: center;">0.77</td>
|
|
582
|
+
<td style="text-align: center;"><strong>1.24</strong></td>
|
|
583
|
+
</tr>
|
|
584
|
+
</tbody>
|
|
585
|
+
</table>
|
|
586
|
+
|
|
587
|
+
<br>
|
|
588
|
+
|
|
589
|
+
*Multilingual speech generation on the TTS multilingual test set. Performance is measured by Word Error Rate (WER, ↓) for content consistency and Cosine Similarity (SIM, ↑) for speaker similarity.*
|
|
590
|
+
|
|
591
|
+
<table>
|
|
592
|
+
<thead>
|
|
593
|
+
<tr>
|
|
594
|
+
<th rowspan="2" style="text-align: left; vertical-align: bottom;">Language</th>
|
|
595
|
+
<th colspan="2" style="text-align: center;">Qwen3-TTS-25Hz</th>
|
|
596
|
+
<th colspan="2" style="text-align: center;">Qwen3-TTS-12Hz</th>
|
|
597
|
+
<th rowspan="2" style="text-align: center; vertical-align: bottom;">MiniMax</th>
|
|
598
|
+
<th rowspan="2" style="text-align: center; vertical-align: bottom;">ElevenLabs</th>
|
|
599
|
+
</tr>
|
|
600
|
+
<tr>
|
|
601
|
+
<th style="text-align: center;">0.6B-Base</th>
|
|
602
|
+
<th style="text-align: center;">1.7B-Base</th>
|
|
603
|
+
<th style="text-align: center;">0.6B-Base</th>
|
|
604
|
+
<th style="text-align: center;">1.7B-Base</th>
|
|
605
|
+
</tr>
|
|
606
|
+
</thead>
|
|
607
|
+
<tbody>
|
|
608
|
+
<tr>
|
|
609
|
+
<td colspan="7" style="text-align: center; border-top: 1px solid #ddd; border-bottom: 1px solid #ddd;"><em>Content Consistency</em></td>
|
|
610
|
+
</tr>
|
|
611
|
+
<tr>
|
|
612
|
+
<td style="text-align: left;">Chinese</td>
|
|
613
|
+
<td style="text-align: center;">1.108</td>
|
|
614
|
+
<td style="text-align: center;"><strong>0.777</strong></td>
|
|
615
|
+
<td style="text-align: center;">1.145</td>
|
|
616
|
+
<td style="text-align: center;">0.928</td>
|
|
617
|
+
<td style="text-align: center;">2.252</td>
|
|
618
|
+
<td style="text-align: center;">16.026</td>
|
|
619
|
+
</tr>
|
|
620
|
+
<tr>
|
|
621
|
+
<td style="text-align: left;">English</td>
|
|
622
|
+
<td style="text-align: center;">1.048</td>
|
|
623
|
+
<td style="text-align: center;">1.014</td>
|
|
624
|
+
<td style="text-align: center;"><strong>0.836</strong></td>
|
|
625
|
+
<td style="text-align: center;">0.934</td>
|
|
626
|
+
<td style="text-align: center;">2.164</td>
|
|
627
|
+
<td style="text-align: center;">2.339</td>
|
|
628
|
+
</tr>
|
|
629
|
+
<tr>
|
|
630
|
+
<td style="text-align: left;">German</td>
|
|
631
|
+
<td style="text-align: center;">1.501</td>
|
|
632
|
+
<td style="text-align: center;">0.960</td>
|
|
633
|
+
<td style="text-align: center;">1.089</td>
|
|
634
|
+
<td style="text-align: center;">1.235</td>
|
|
635
|
+
<td style="text-align: center;">1.906</td>
|
|
636
|
+
<td style="text-align: center;"><strong>0.572</strong></td>
|
|
637
|
+
</tr>
|
|
638
|
+
<tr>
|
|
639
|
+
<td style="text-align: left;">Italian</td>
|
|
640
|
+
<td style="text-align: center;">1.169</td>
|
|
641
|
+
<td style="text-align: center;">1.105</td>
|
|
642
|
+
<td style="text-align: center;">1.534</td>
|
|
643
|
+
<td style="text-align: center;"><strong>0.948</strong></td>
|
|
644
|
+
<td style="text-align: center;">1.543</td>
|
|
645
|
+
<td style="text-align: center;">1.743</td>
|
|
646
|
+
</tr>
|
|
647
|
+
<tr>
|
|
648
|
+
<td style="text-align: left;">Portuguese</td>
|
|
649
|
+
<td style="text-align: center;">2.046</td>
|
|
650
|
+
<td style="text-align: center;">1.778</td>
|
|
651
|
+
<td style="text-align: center;">2.254</td>
|
|
652
|
+
<td style="text-align: center;">1.526</td>
|
|
653
|
+
<td style="text-align: center;">1.877</td>
|
|
654
|
+
<td style="text-align: center;"><strong>1.331</strong></td>
|
|
655
|
+
</tr>
|
|
656
|
+
<tr>
|
|
657
|
+
<td style="text-align: left;">Spanish</td>
|
|
658
|
+
<td style="text-align: center;">2.031</td>
|
|
659
|
+
<td style="text-align: center;">1.491</td>
|
|
660
|
+
<td style="text-align: center;">1.491</td>
|
|
661
|
+
<td style="text-align: center;">1.126</td>
|
|
662
|
+
<td style="text-align: center;"><strong>1.029</strong></td>
|
|
663
|
+
<td style="text-align: center;">1.084</td>
|
|
664
|
+
</tr>
|
|
665
|
+
<tr>
|
|
666
|
+
<td style="text-align: left;">Japanese</td>
|
|
667
|
+
<td style="text-align: center;">4.189</td>
|
|
668
|
+
<td style="text-align: center;">5.121</td>
|
|
669
|
+
<td style="text-align: center;">6.404</td>
|
|
670
|
+
<td style="text-align: center;">3.823</td>
|
|
671
|
+
<td style="text-align: center;"><strong>3.519</strong></td>
|
|
672
|
+
<td style="text-align: center;">10.646</td>
|
|
673
|
+
</tr>
|
|
674
|
+
<tr>
|
|
675
|
+
<td style="text-align: left;">Korean</td>
|
|
676
|
+
<td style="text-align: center;">2.852</td>
|
|
677
|
+
<td style="text-align: center;">2.631</td>
|
|
678
|
+
<td style="text-align: center;"><strong>1.741</strong></td>
|
|
679
|
+
<td style="text-align: center;">1.755</td>
|
|
680
|
+
<td style="text-align: center;">1.747</td>
|
|
681
|
+
<td style="text-align: center;">1.865</td>
|
|
682
|
+
</tr>
|
|
683
|
+
<tr>
|
|
684
|
+
<td style="text-align: left;">French</td>
|
|
685
|
+
<td style="text-align: center;">2.852</td>
|
|
686
|
+
<td style="text-align: center;"><strong>2.631</strong></td>
|
|
687
|
+
<td style="text-align: center;">2.931</td>
|
|
688
|
+
<td style="text-align: center;">2.858</td>
|
|
689
|
+
<td style="text-align: center;">4.099</td>
|
|
690
|
+
<td style="text-align: center;">5.216</td>
|
|
691
|
+
</tr>
|
|
692
|
+
<tr>
|
|
693
|
+
<td style="text-align: left;">Russian</td>
|
|
694
|
+
<td style="text-align: center;">5.957</td>
|
|
695
|
+
<td style="text-align: center;">4.535</td>
|
|
696
|
+
<td style="text-align: center;">4.458</td>
|
|
697
|
+
<td style="text-align: center;"><strong>3.212</strong></td>
|
|
698
|
+
<td style="text-align: center;">4.281</td>
|
|
699
|
+
<td style="text-align: center;">3.878</td>
|
|
700
|
+
</tr>
|
|
701
|
+
<tr style="border-top: 1px solid #ddd;">
|
|
702
|
+
<td colspan="7" style="text-align: center; border-bottom: 1px solid #ddd;"><em>Speaker Similarity</em></td>
|
|
703
|
+
</tr>
|
|
704
|
+
<tr>
|
|
705
|
+
<td style="text-align: left;">Chinese</td>
|
|
706
|
+
<td style="text-align: center;">0.797</td>
|
|
707
|
+
<td style="text-align: center;">0.796</td>
|
|
708
|
+
<td style="text-align: center;"><strong>0.811</strong></td>
|
|
709
|
+
<td style="text-align: center;">0.799</td>
|
|
710
|
+
<td style="text-align: center;">0.780</td>
|
|
711
|
+
<td style="text-align: center;">0.677</td>
|
|
712
|
+
</tr>
|
|
713
|
+
<tr>
|
|
714
|
+
<td style="text-align: left;">English</td>
|
|
715
|
+
<td style="text-align: center;">0.811</td>
|
|
716
|
+
<td style="text-align: center;">0.815</td>
|
|
717
|
+
<td style="text-align: center;"><strong>0.829</strong></td>
|
|
718
|
+
<td style="text-align: center;">0.775</td>
|
|
719
|
+
<td style="text-align: center;">0.756</td>
|
|
720
|
+
<td style="text-align: center;">0.613</td>
|
|
721
|
+
</tr>
|
|
722
|
+
<tr>
|
|
723
|
+
<td style="text-align: left;">German</td>
|
|
724
|
+
<td style="text-align: center;">0.749</td>
|
|
725
|
+
<td style="text-align: center;">0.737</td>
|
|
726
|
+
<td style="text-align: center;">0.769</td>
|
|
727
|
+
<td style="text-align: center;"><strong>0.775</strong></td>
|
|
728
|
+
<td style="text-align: center;">0.733</td>
|
|
729
|
+
<td style="text-align: center;">0.614</td>
|
|
730
|
+
</tr>
|
|
731
|
+
<tr>
|
|
732
|
+
<td style="text-align: left;">Italian</td>
|
|
733
|
+
<td style="text-align: center;">0.722</td>
|
|
734
|
+
<td style="text-align: center;">0.718</td>
|
|
735
|
+
<td style="text-align: center;">0.792</td>
|
|
736
|
+
<td style="text-align: center;"><strong>0.817</strong></td>
|
|
737
|
+
<td style="text-align: center;">0.699</td>
|
|
738
|
+
<td style="text-align: center;">0.579</td>
|
|
739
|
+
</tr>
|
|
740
|
+
<tr>
|
|
741
|
+
<td style="text-align: left;">Portuguese</td>
|
|
742
|
+
<td style="text-align: center;">0.790</td>
|
|
743
|
+
<td style="text-align: center;">0.783</td>
|
|
744
|
+
<td style="text-align: center;">0.794</td>
|
|
745
|
+
<td style="text-align: center;"><strong>0.817</strong></td>
|
|
746
|
+
<td style="text-align: center;">0.805</td>
|
|
747
|
+
<td style="text-align: center;">0.711</td>
|
|
748
|
+
</tr>
|
|
749
|
+
<tr>
|
|
750
|
+
<td style="text-align: left;">Spanish</td>
|
|
751
|
+
<td style="text-align: center;">0.732</td>
|
|
752
|
+
<td style="text-align: center;">0.731</td>
|
|
753
|
+
<td style="text-align: center;">0.812</td>
|
|
754
|
+
<td style="text-align: center;"><strong>0.814</strong></td>
|
|
755
|
+
<td style="text-align: center;">0.762</td>
|
|
756
|
+
<td style="text-align: center;">0.615</td>
|
|
757
|
+
</tr>
|
|
758
|
+
<tr>
|
|
759
|
+
<td style="text-align: left;">Japanese</td>
|
|
760
|
+
<td style="text-align: center;"><strong>0.810</strong></td>
|
|
761
|
+
<td style="text-align: center;">0.807</td>
|
|
762
|
+
<td style="text-align: center;">0.798</td>
|
|
763
|
+
<td style="text-align: center;">0.788</td>
|
|
764
|
+
<td style="text-align: center;">0.776</td>
|
|
765
|
+
<td style="text-align: center;">0.738</td>
|
|
766
|
+
</tr>
|
|
767
|
+
<tr>
|
|
768
|
+
<td style="text-align: left;">Korean</td>
|
|
769
|
+
<td style="text-align: center;"><strong>0.824</strong></td>
|
|
770
|
+
<td style="text-align: center;">0.814</td>
|
|
771
|
+
<td style="text-align: center;">0.812</td>
|
|
772
|
+
<td style="text-align: center;">0.799</td>
|
|
773
|
+
<td style="text-align: center;">0.779</td>
|
|
774
|
+
<td style="text-align: center;">0.700</td>
|
|
775
|
+
</tr>
|
|
776
|
+
<tr>
|
|
777
|
+
<td style="text-align: left;">French</td>
|
|
778
|
+
<td style="text-align: center;">0.698</td>
|
|
779
|
+
<td style="text-align: center;">0.703</td>
|
|
780
|
+
<td style="text-align: center;">0.700</td>
|
|
781
|
+
<td style="text-align: center;"><strong>0.714</strong></td>
|
|
782
|
+
<td style="text-align: center;">0.628</td>
|
|
783
|
+
<td style="text-align: center;">0.535</td>
|
|
784
|
+
</tr>
|
|
785
|
+
<tr>
|
|
786
|
+
<td style="text-align: left;">Russian</td>
|
|
787
|
+
<td style="text-align: center;">0.734</td>
|
|
788
|
+
<td style="text-align: center;">0.744</td>
|
|
789
|
+
<td style="text-align: center;">0.781</td>
|
|
790
|
+
<td style="text-align: center;"><strong>0.792</strong></td>
|
|
791
|
+
<td style="text-align: center;">0.761</td>
|
|
792
|
+
<td style="text-align: center;">0.676</td>
|
|
793
|
+
</tr>
|
|
794
|
+
</tbody>
|
|
795
|
+
</table>
|
|
796
|
+
|
|
797
|
+
<br>
|
|
798
|
+
|
|
799
|
+
*Cross-lingual speech generation on the Cross-Lingual benchmark. Performance is measured by Mixed Error Rate (WER for English, CER for others, ↓).*
|
|
800
|
+
|
|
801
|
+
<table>
|
|
802
|
+
<thead>
|
|
803
|
+
<tr>
|
|
804
|
+
<th style="text-align: left;">Task</th>
|
|
805
|
+
<th style="text-align: center;">Qwen3-TTS-25Hz-1.7B-Base</th>
|
|
806
|
+
<th style="text-align: center;">Qwen3-TTS-12Hz-1.7B-Base</th>
|
|
807
|
+
<th style="text-align: center;">CosyVoice3</th>
|
|
808
|
+
<th style="text-align: center;">CosyVoice2</th>
|
|
809
|
+
</tr>
|
|
810
|
+
</thead>
|
|
811
|
+
<tbody>
|
|
812
|
+
<tr>
|
|
813
|
+
<td style="text-align: left;">en-to-zh</td>
|
|
814
|
+
<td style="text-align: center;">5.66</td>
|
|
815
|
+
<td style="text-align: center;"><strong>4.77</strong></td>
|
|
816
|
+
<td style="text-align: center;">5.09</td>
|
|
817
|
+
<td style="text-align: center;">13.5</td>
|
|
818
|
+
</tr>
|
|
819
|
+
<tr>
|
|
820
|
+
<td style="text-align: left;">ja-to-zh</td>
|
|
821
|
+
<td style="text-align: center;">3.92</td>
|
|
822
|
+
<td style="text-align: center;">3.43</td>
|
|
823
|
+
<td style="text-align: center;"><strong>3.05</strong></td>
|
|
824
|
+
<td style="text-align: center;">48.1</td>
|
|
825
|
+
</tr>
|
|
826
|
+
<tr>
|
|
827
|
+
<td style="text-align: left;">ko-to-zh</td>
|
|
828
|
+
<td style="text-align: center;">1.14</td>
|
|
829
|
+
<td style="text-align: center;">1.08</td>
|
|
830
|
+
<td style="text-align: center;"><strong>1.06</strong></td>
|
|
831
|
+
<td style="text-align: center;">7.70</td>
|
|
832
|
+
</tr>
|
|
833
|
+
<tr style="border-top: 1px solid #ddd;">
|
|
834
|
+
<td style="text-align: left;">zh-to-en</td>
|
|
835
|
+
<td style="text-align: center;">2.91</td>
|
|
836
|
+
<td style="text-align: center;"><strong>2.77</strong></td>
|
|
837
|
+
<td style="text-align: center;">2.98</td>
|
|
838
|
+
<td style="text-align: center;">6.47</td>
|
|
839
|
+
</tr>
|
|
840
|
+
<tr>
|
|
841
|
+
<td style="text-align: left;">ja-to-en</td>
|
|
842
|
+
<td style="text-align: center;">3.95</td>
|
|
843
|
+
<td style="text-align: center;"><strong>3.04</strong></td>
|
|
844
|
+
<td style="text-align: center;">4.20</td>
|
|
845
|
+
<td style="text-align: center;">17.1</td>
|
|
846
|
+
</tr>
|
|
847
|
+
<tr>
|
|
848
|
+
<td style="text-align: left;">ko-to-en</td>
|
|
849
|
+
<td style="text-align: center;">3.48</td>
|
|
850
|
+
<td style="text-align: center;"><strong>3.09</strong></td>
|
|
851
|
+
<td style="text-align: center;">4.19</td>
|
|
852
|
+
<td style="text-align: center;">11.2</td>
|
|
853
|
+
</tr>
|
|
854
|
+
<tr style="border-top: 1px solid #ddd;">
|
|
855
|
+
<td style="text-align: left;">zh-to-ja</td>
|
|
856
|
+
<td style="text-align: center;">9.29</td>
|
|
857
|
+
<td style="text-align: center;">8.40</td>
|
|
858
|
+
<td style="text-align: center;"><strong>7.08</strong></td>
|
|
859
|
+
<td style="text-align: center;">13.1</td>
|
|
860
|
+
</tr>
|
|
861
|
+
<tr>
|
|
862
|
+
<td style="text-align: left;">en-to-ja</td>
|
|
863
|
+
<td style="text-align: center;">7.74</td>
|
|
864
|
+
<td style="text-align: center;">7.21</td>
|
|
865
|
+
<td style="text-align: center;"><strong>6.80</strong></td>
|
|
866
|
+
<td style="text-align: center;">14.9</td>
|
|
867
|
+
</tr>
|
|
868
|
+
<tr>
|
|
869
|
+
<td style="text-align: left;">ko-to-ja</td>
|
|
870
|
+
<td style="text-align: center;">4.17</td>
|
|
871
|
+
<td style="text-align: center;"><strong>3.67</strong></td>
|
|
872
|
+
<td style="text-align: center;">3.93</td>
|
|
873
|
+
<td style="text-align: center;">5.86</td>
|
|
874
|
+
</tr>
|
|
875
|
+
<tr style="border-top: 1px solid #ddd;">
|
|
876
|
+
<td style="text-align: left;">zh-to-ko</td>
|
|
877
|
+
<td style="text-align: center;">8.12</td>
|
|
878
|
+
<td style="text-align: center;"><strong>4.82</strong></td>
|
|
879
|
+
<td style="text-align: center;">14.4</td>
|
|
880
|
+
<td style="text-align: center;">24.8</td>
|
|
881
|
+
</tr>
|
|
882
|
+
<tr>
|
|
883
|
+
<td style="text-align: left;">en-to-ko</td>
|
|
884
|
+
<td style="text-align: center;">6.83</td>
|
|
885
|
+
<td style="text-align: center;"><strong>5.14</strong></td>
|
|
886
|
+
<td style="text-align: center;">5.87</td>
|
|
887
|
+
<td style="text-align: center;">21.9</td>
|
|
888
|
+
</tr>
|
|
889
|
+
<tr>
|
|
890
|
+
<td style="text-align: left;">ja-to-ko</td>
|
|
891
|
+
<td style="text-align: center;">6.86</td>
|
|
892
|
+
<td style="text-align: center;"><strong>5.59</strong></td>
|
|
893
|
+
<td style="text-align: center;">7.92</td>
|
|
894
|
+
<td style="text-align: center;">21.5</td>
|
|
895
|
+
</tr>
|
|
896
|
+
</tbody>
|
|
897
|
+
</table>
|
|
898
|
+
|
|
899
|
+
<br>
|
|
900
|
+
|
|
901
|
+
*Controllable speech generation on InstructTTSEval. Performance is measured by Attribute Perception and Synthesis accuracy (APS), Description-Speech Consistency (DSD), and Response Precision (RP).*
|
|
902
|
+
|
|
903
|
+
<table>
|
|
904
|
+
<thead>
|
|
905
|
+
<tr>
|
|
906
|
+
<th rowspan="2" style="text-align: left; vertical-align: bottom;">Type</th>
|
|
907
|
+
<th rowspan="2" style="text-align: left; vertical-align: bottom;">Model</th>
|
|
908
|
+
<th colspan="3" style="text-align: center;">InstructTTSEval-ZH</th>
|
|
909
|
+
<th colspan="3" style="text-align: center;">InstructTTSEval-EN</th>
|
|
910
|
+
</tr>
|
|
911
|
+
<tr>
|
|
912
|
+
<th style="text-align: center;">APS (↑)</th>
|
|
913
|
+
<th style="text-align: center;">DSD (↑)</th>
|
|
914
|
+
<th style="text-align: center;">RP (↑)</th>
|
|
915
|
+
<th style="text-align: center;">APS (↑)</th>
|
|
916
|
+
<th style="text-align: center;">DSD (↑)</th>
|
|
917
|
+
<th style="text-align: center;">RP (↑)</th>
|
|
918
|
+
</tr>
|
|
919
|
+
</thead>
|
|
920
|
+
<tbody>
|
|
921
|
+
<tr>
|
|
922
|
+
<td rowspan="5" style="text-align: left; vertical-align: middle;"><em>Target<br>Speaker</em></td>
|
|
923
|
+
<td style="text-align: left;">Gemini-flash</td>
|
|
924
|
+
<td style="text-align: center;">88.2</td>
|
|
925
|
+
<td style="text-align: center;"><strong>90.9</strong></td>
|
|
926
|
+
<td style="text-align: center;"><strong>77.3</strong></td>
|
|
927
|
+
<td style="text-align: center;"><strong>92.3</strong></td>
|
|
928
|
+
<td style="text-align: center;"><strong>93.8</strong></td>
|
|
929
|
+
<td style="text-align: center;"><strong>80.1</strong></td>
|
|
930
|
+
</tr>
|
|
931
|
+
<tr>
|
|
932
|
+
<td style="text-align: left;">Gemini-pro</td>
|
|
933
|
+
<td style="text-align: center;"><strong>89.0</strong></td>
|
|
934
|
+
<td style="text-align: center;">90.1</td>
|
|
935
|
+
<td style="text-align: center;">75.5</td>
|
|
936
|
+
<td style="text-align: center;">87.6</td>
|
|
937
|
+
<td style="text-align: center;">86.0</td>
|
|
938
|
+
<td style="text-align: center;">67.2</td>
|
|
939
|
+
</tr>
|
|
940
|
+
<tr>
|
|
941
|
+
<td style="text-align: left;">Qwen3TTS-25Hz-1.7B-CustomVoice</td>
|
|
942
|
+
<td style="text-align: center;">83.1</td>
|
|
943
|
+
<td style="text-align: center;">75.0</td>
|
|
944
|
+
<td style="text-align: center;">63.0</td>
|
|
945
|
+
<td style="text-align: center;">79.0</td>
|
|
946
|
+
<td style="text-align: center;">82.8</td>
|
|
947
|
+
<td style="text-align: center;">69.3</td>
|
|
948
|
+
</tr>
|
|
949
|
+
<tr>
|
|
950
|
+
<td style="text-align: left;">Qwen3TTS-12Hz-1.7B-CustomVoice</td>
|
|
951
|
+
<td style="text-align: center;">83.0</td>
|
|
952
|
+
<td style="text-align: center;">77.8</td>
|
|
953
|
+
<td style="text-align: center;">61.2</td>
|
|
954
|
+
<td style="text-align: center;">77.3</td>
|
|
955
|
+
<td style="text-align: center;">77.1</td>
|
|
956
|
+
<td style="text-align: center;">63.7</td>
|
|
957
|
+
</tr>
|
|
958
|
+
<tr>
|
|
959
|
+
<td style="text-align: left;">GPT-4o-mini-tts</td>
|
|
960
|
+
<td style="text-align: center;">54.9</td>
|
|
961
|
+
<td style="text-align: center;">52.3</td>
|
|
962
|
+
<td style="text-align: center;">46.0</td>
|
|
963
|
+
<td style="text-align: center;">76.4</td>
|
|
964
|
+
<td style="text-align: center;">74.3</td>
|
|
965
|
+
<td style="text-align: center;">54.8</td>
|
|
966
|
+
</tr>
|
|
967
|
+
<tr style="border-top: 1px solid #ddd;">
|
|
968
|
+
<td rowspan="9" style="text-align: left; vertical-align: middle;"><em>Voice<br>Design</em></td>
|
|
969
|
+
<td style="text-align: left;">Qwen3TTS-12Hz-1.7B-VD</td>
|
|
970
|
+
<td style="text-align: center;"><strong>85.2</strong></td>
|
|
971
|
+
<td style="text-align: center;"><strong>81.1</strong></td>
|
|
972
|
+
<td style="text-align: center;"><strong>65.1</strong></td>
|
|
973
|
+
<td style="text-align: center;">82.9</td>
|
|
974
|
+
<td style="text-align: center;"><strong>82.4</strong></td>
|
|
975
|
+
<td style="text-align: center;"><strong>68.4</strong></td>
|
|
976
|
+
</tr>
|
|
977
|
+
<tr>
|
|
978
|
+
<td style="text-align: left;">Mimo-Audio-7B-Instruct (Zhang et al., 2025b)</td>
|
|
979
|
+
<td style="text-align: center;">75.7</td>
|
|
980
|
+
<td style="text-align: center;">74.3</td>
|
|
981
|
+
<td style="text-align: center;">61.5</td>
|
|
982
|
+
<td style="text-align: center;">80.6</td>
|
|
983
|
+
<td style="text-align: center;">77.6</td>
|
|
984
|
+
<td style="text-align: center;">59.5</td>
|
|
985
|
+
</tr>
|
|
986
|
+
<tr>
|
|
987
|
+
<td style="text-align: left;">VoiceSculptor (Hu et al., 2026)</td>
|
|
988
|
+
<td style="text-align: center;">75.7</td>
|
|
989
|
+
<td style="text-align: center;">64.7</td>
|
|
990
|
+
<td style="text-align: center;">61.5</td>
|
|
991
|
+
<td style="text-align: center;">-</td>
|
|
992
|
+
<td style="text-align: center;">-</td>
|
|
993
|
+
<td style="text-align: center;">-</td>
|
|
994
|
+
</tr>
|
|
995
|
+
<tr>
|
|
996
|
+
<td style="text-align: left;">Hume</td>
|
|
997
|
+
<td style="text-align: center;">-</td>
|
|
998
|
+
<td style="text-align: center;">-</td>
|
|
999
|
+
<td style="text-align: center;">-</td>
|
|
1000
|
+
<td style="text-align: center;"><strong>83.0</strong></td>
|
|
1001
|
+
<td style="text-align: center;">75.3</td>
|
|
1002
|
+
<td style="text-align: center;">54.3</td>
|
|
1003
|
+
</tr>
|
|
1004
|
+
<tr>
|
|
1005
|
+
<td style="text-align: left;">VoxInstruct (Zhou et al., 2024)</td>
|
|
1006
|
+
<td style="text-align: center;">47.5</td>
|
|
1007
|
+
<td style="text-align: center;">52.3</td>
|
|
1008
|
+
<td style="text-align: center;">42.6</td>
|
|
1009
|
+
<td style="text-align: center;">54.9</td>
|
|
1010
|
+
<td style="text-align: center;">57.0</td>
|
|
1011
|
+
<td style="text-align: center;">39.3</td>
|
|
1012
|
+
</tr>
|
|
1013
|
+
<tr>
|
|
1014
|
+
<td style="text-align: left;">Parler-tts-mini (Lyth & King, 2024)</td>
|
|
1015
|
+
<td style="text-align: center;">-</td>
|
|
1016
|
+
<td style="text-align: center;">-</td>
|
|
1017
|
+
<td style="text-align: center;">-</td>
|
|
1018
|
+
<td style="text-align: center;">63.4</td>
|
|
1019
|
+
<td style="text-align: center;">48.7</td>
|
|
1020
|
+
<td style="text-align: center;">28.6</td>
|
|
1021
|
+
</tr>
|
|
1022
|
+
<tr>
|
|
1023
|
+
<td style="text-align: left;">Parler-tts-large (Lyth & King, 2024)</td>
|
|
1024
|
+
<td style="text-align: center;">-</td>
|
|
1025
|
+
<td style="text-align: center;">-</td>
|
|
1026
|
+
<td style="text-align: center;">-</td>
|
|
1027
|
+
<td style="text-align: center;">60.0</td>
|
|
1028
|
+
<td style="text-align: center;">45.9</td>
|
|
1029
|
+
<td style="text-align: center;">31.2</td>
|
|
1030
|
+
</tr>
|
|
1031
|
+
<tr>
|
|
1032
|
+
<td style="text-align: left;">PromptTTS (Guo et al., 2023)</td>
|
|
1033
|
+
<td style="text-align: center;">-</td>
|
|
1034
|
+
<td style="text-align: center;">-</td>
|
|
1035
|
+
<td style="text-align: center;">-</td>
|
|
1036
|
+
<td style="text-align: center;">64.3</td>
|
|
1037
|
+
<td style="text-align: center;">47.2</td>
|
|
1038
|
+
<td style="text-align: center;">31.4</td>
|
|
1039
|
+
</tr>
|
|
1040
|
+
<tr>
|
|
1041
|
+
<td style="text-align: left;">PromptStyle (Liu et al., 2023)</td>
|
|
1042
|
+
<td style="text-align: center;">-</td>
|
|
1043
|
+
<td style="text-align: center;">-</td>
|
|
1044
|
+
<td style="text-align: center;">-</td>
|
|
1045
|
+
<td style="text-align: center;">57.4</td>
|
|
1046
|
+
<td style="text-align: center;">46.4</td>
|
|
1047
|
+
<td style="text-align: center;">30.9</td>
|
|
1048
|
+
</tr>
|
|
1049
|
+
</tbody>
|
|
1050
|
+
</table>
|
|
1051
|
+
|
|
1052
|
+
<br>
|
|
1053
|
+
|
|
1054
|
+
*Target-Speaker Multilingual Speech Generation on the TTS multilingual test set. Performance is measured by Word Error Rate (WER, ↓).*
|
|
1055
|
+
|
|
1056
|
+
<table>
|
|
1057
|
+
<thead>
|
|
1058
|
+
<tr>
|
|
1059
|
+
<th rowspan="2" style="text-align: left; vertical-align: bottom;">Language</th>
|
|
1060
|
+
<th colspan="2" style="text-align: center;">Qwen3-TTS-25Hz</th>
|
|
1061
|
+
<th colspan="2" style="text-align: center;">Qwen3-TTS-12Hz</th>
|
|
1062
|
+
<th rowspan="2" style="text-align: center; vertical-align: bottom;">GPT-4o-Audio<br>Preview</th>
|
|
1063
|
+
</tr>
|
|
1064
|
+
<tr>
|
|
1065
|
+
<th style="text-align: center;">0.6B-CustomVoice</th>
|
|
1066
|
+
<th style="text-align: center;">1.7B-CustomVoice</th>
|
|
1067
|
+
<th style="text-align: center;">0.6B-CustomVoice</th>
|
|
1068
|
+
<th style="text-align: center;">1.7B-CustomVoice</th>
|
|
1069
|
+
</tr>
|
|
1070
|
+
</thead>
|
|
1071
|
+
<tbody>
|
|
1072
|
+
<tr>
|
|
1073
|
+
<td style="text-align: left;">Chinese</td>
|
|
1074
|
+
<td style="text-align: center;">0.874</td>
|
|
1075
|
+
<td style="text-align: center;"><strong>0.708</strong></td>
|
|
1076
|
+
<td style="text-align: center;">0.944</td>
|
|
1077
|
+
<td style="text-align: center;">0.903</td>
|
|
1078
|
+
<td style="text-align: center;">3.519</td>
|
|
1079
|
+
</tr>
|
|
1080
|
+
<tr>
|
|
1081
|
+
<td style="text-align: left;">English</td>
|
|
1082
|
+
<td style="text-align: center;">1.332</td>
|
|
1083
|
+
<td style="text-align: center;">0.936</td>
|
|
1084
|
+
<td style="text-align: center;">1.188</td>
|
|
1085
|
+
<td style="text-align: center;"><strong>0.899</strong></td>
|
|
1086
|
+
<td style="text-align: center;">2.197</td>
|
|
1087
|
+
</tr>
|
|
1088
|
+
<tr>
|
|
1089
|
+
<td style="text-align: left;">German</td>
|
|
1090
|
+
<td style="text-align: center;">0.990</td>
|
|
1091
|
+
<td style="text-align: center;"><strong>0.634</strong></td>
|
|
1092
|
+
<td style="text-align: center;">2.722</td>
|
|
1093
|
+
<td style="text-align: center;">1.057</td>
|
|
1094
|
+
<td style="text-align: center;">1.161</td>
|
|
1095
|
+
</tr>
|
|
1096
|
+
<tr>
|
|
1097
|
+
<td style="text-align: left;">Italian</td>
|
|
1098
|
+
<td style="text-align: center;">1.861</td>
|
|
1099
|
+
<td style="text-align: center;">1.271</td>
|
|
1100
|
+
<td style="text-align: center;">2.545</td>
|
|
1101
|
+
<td style="text-align: center;">1.362</td>
|
|
1102
|
+
<td style="text-align: center;"><strong>1.194</strong></td>
|
|
1103
|
+
</tr>
|
|
1104
|
+
<tr>
|
|
1105
|
+
<td style="text-align: left;">Portuguese</td>
|
|
1106
|
+
<td style="text-align: center;">1.728</td>
|
|
1107
|
+
<td style="text-align: center;">1.854</td>
|
|
1108
|
+
<td style="text-align: center;">3.219</td>
|
|
1109
|
+
<td style="text-align: center;">2.681</td>
|
|
1110
|
+
<td style="text-align: center;"><strong>1.504</strong></td>
|
|
1111
|
+
</tr>
|
|
1112
|
+
<tr>
|
|
1113
|
+
<td style="text-align: left;">Spanish</td>
|
|
1114
|
+
<td style="text-align: center;">1.309</td>
|
|
1115
|
+
<td style="text-align: center;">1.284</td>
|
|
1116
|
+
<td style="text-align: center;"><strong>1.154</strong></td>
|
|
1117
|
+
<td style="text-align: center;">1.330</td>
|
|
1118
|
+
<td style="text-align: center;">4.000</td>
|
|
1119
|
+
</tr>
|
|
1120
|
+
<tr>
|
|
1121
|
+
<td style="text-align: left;">Japanese</td>
|
|
1122
|
+
<td style="text-align: center;"><strong>3.875</strong></td>
|
|
1123
|
+
<td style="text-align: center;">4.518</td>
|
|
1124
|
+
<td style="text-align: center;">6.877</td>
|
|
1125
|
+
<td style="text-align: center;">4.924</td>
|
|
1126
|
+
<td style="text-align: center;">5.001</td>
|
|
1127
|
+
</tr>
|
|
1128
|
+
<tr>
|
|
1129
|
+
<td style="text-align: left;">Korean</td>
|
|
1130
|
+
<td style="text-align: center;">2.202</td>
|
|
1131
|
+
<td style="text-align: center;">2.274</td>
|
|
1132
|
+
<td style="text-align: center;">3.053</td>
|
|
1133
|
+
<td style="text-align: center;"><strong>1.741</strong></td>
|
|
1134
|
+
<td style="text-align: center;">2.763</td>
|
|
1135
|
+
</tr>
|
|
1136
|
+
<tr>
|
|
1137
|
+
<td style="text-align: left;">French</td>
|
|
1138
|
+
<td style="text-align: center;">3.865</td>
|
|
1139
|
+
<td style="text-align: center;"><strong>3.080</strong></td>
|
|
1140
|
+
<td style="text-align: center;">3.841</td>
|
|
1141
|
+
<td style="text-align: center;">3.781</td>
|
|
1142
|
+
<td style="text-align: center;">3.605</td>
|
|
1143
|
+
</tr>
|
|
1144
|
+
<tr>
|
|
1145
|
+
<td style="text-align: left;">Russian</td>
|
|
1146
|
+
<td style="text-align: center;">6.529</td>
|
|
1147
|
+
<td style="text-align: center;"><strong>4.444</strong></td>
|
|
1148
|
+
<td style="text-align: center;">5.809</td>
|
|
1149
|
+
<td style="text-align: center;">4.734</td>
|
|
1150
|
+
<td style="text-align: center;">5.250</td>
|
|
1151
|
+
</tr>
|
|
1152
|
+
</tbody>
|
|
1153
|
+
</table>
|
|
1154
|
+
|
|
1155
|
+
<br>
|
|
1156
|
+
|
|
1157
|
+
*Long speech generation results. Performance is measured by Word Error Rate (WER, ↓).*
|
|
1158
|
+
|
|
1159
|
+
<table>
|
|
1160
|
+
<thead>
|
|
1161
|
+
<tr>
|
|
1162
|
+
<th style="text-align: center;">Datasets</th>
|
|
1163
|
+
<th style="text-align: left;">Model</th>
|
|
1164
|
+
<th colspan="2" style="text-align: center;">Performance</th>
|
|
1165
|
+
</tr>
|
|
1166
|
+
<tr style="border-bottom: 1px solid #ddd; border-top: 1px solid #ddd;">
|
|
1167
|
+
<td colspan="4" style="text-align: center;"><em>Content Consistency</em></td>
|
|
1168
|
+
</tr>
|
|
1169
|
+
</thead>
|
|
1170
|
+
<tbody>
|
|
1171
|
+
<tr>
|
|
1172
|
+
<td rowspan="5" style="text-align: center; vertical-align: middle;"><em>long-zh</em> | <em>long-en</em></td>
|
|
1173
|
+
<td style="text-align: left;">Higgs-Audio-v2 (chunk) (Boson AI, 2025)</td>
|
|
1174
|
+
<td style="text-align: center;">5.505</td>
|
|
1175
|
+
<td style="text-align: center;">6.917</td>
|
|
1176
|
+
</tr>
|
|
1177
|
+
<tr>
|
|
1178
|
+
<td style="text-align: left;">VibeVoice (Peng et al., 2025)</td>
|
|
1179
|
+
<td style="text-align: center;">22.619</td>
|
|
1180
|
+
<td style="text-align: center;">1.780</td>
|
|
1181
|
+
</tr>
|
|
1182
|
+
<tr>
|
|
1183
|
+
<td style="text-align: left;">VoxCPM (Zhou et al., 2025)</td>
|
|
1184
|
+
<td style="text-align: center;">4.835</td>
|
|
1185
|
+
<td style="text-align: center;">7.474</td>
|
|
1186
|
+
</tr>
|
|
1187
|
+
<tr>
|
|
1188
|
+
<td style="text-align: left;">Qwen3-TTS-25Hz-1.7B-CustomVoice</td>
|
|
1189
|
+
<td style="text-align: center;"><strong>1.517</strong></td>
|
|
1190
|
+
<td style="text-align: center;"><strong>1.225</strong></td>
|
|
1191
|
+
</tr>
|
|
1192
|
+
<tr>
|
|
1193
|
+
<td style="text-align: left;">Qwen3-TTS-12Hz-1.7B-CustomVoice</td>
|
|
1194
|
+
<td style="text-align: center;">2.356</td>
|
|
1195
|
+
<td style="text-align: center;">2.812</td>
|
|
1196
|
+
</tr>
|
|
1197
|
+
</tbody>
|
|
1198
|
+
</table>
|
|
1199
|
+
</details>
|
|
1200
|
+
|
|
1201
|
+
|
|
1202
|
+
<details>
|
|
1203
|
+
<summary>Speech Tokenizer Benchmarks</summary>
|
|
1204
|
+
|
|
1205
|
+
*Comparison between different supervised semantic speech tokenizers on ASR Task.*
|
|
1206
|
+
|
|
1207
|
+
<table>
|
|
1208
|
+
<thead>
|
|
1209
|
+
<tr>
|
|
1210
|
+
<th style="text-align: left;">Model</th>
|
|
1211
|
+
<th style="text-align: center;">Codebook Size</th>
|
|
1212
|
+
<th style="text-align: center;">FPS</th>
|
|
1213
|
+
<th style="text-align: center;">C.V. EN</th>
|
|
1214
|
+
<th style="text-align: center;">C.V. CN</th>
|
|
1215
|
+
<th style="text-align: center;">Fluers EN</th>
|
|
1216
|
+
<th style="text-align: center;">Fluers CN</th>
|
|
1217
|
+
</tr>
|
|
1218
|
+
</thead>
|
|
1219
|
+
<tbody>
|
|
1220
|
+
<tr>
|
|
1221
|
+
<td style="text-align: left;">S3 Tokenizer(VQ) (Du et al., 2024a)</td>
|
|
1222
|
+
<td style="text-align: center;">4096</td>
|
|
1223
|
+
<td style="text-align: center;">50</td>
|
|
1224
|
+
<td style="text-align: center;">12.06</td>
|
|
1225
|
+
<td style="text-align: center;">15.38</td>
|
|
1226
|
+
<td style="text-align: center;">-</td>
|
|
1227
|
+
<td style="text-align: center;">-</td>
|
|
1228
|
+
</tr>
|
|
1229
|
+
<tr>
|
|
1230
|
+
<td style="text-align: left;">S3 Tokenizer(VQ) (Du et al., 2024a)</td>
|
|
1231
|
+
<td style="text-align: center;">4096</td>
|
|
1232
|
+
<td style="text-align: center;">25</td>
|
|
1233
|
+
<td style="text-align: center;">11.56</td>
|
|
1234
|
+
<td style="text-align: center;">18.26</td>
|
|
1235
|
+
<td style="text-align: center;">7.65</td>
|
|
1236
|
+
<td style="text-align: center;">5.03</td>
|
|
1237
|
+
</tr>
|
|
1238
|
+
<tr>
|
|
1239
|
+
<td style="text-align: left;">S3 Tokenizer(FSQ) (Du et al., 2024a)</td>
|
|
1240
|
+
<td style="text-align: center;">6561</td>
|
|
1241
|
+
<td style="text-align: center;">25</td>
|
|
1242
|
+
<td style="text-align: center;">10.67</td>
|
|
1243
|
+
<td style="text-align: center;"><strong>7.29</strong></td>
|
|
1244
|
+
<td style="text-align: center;">6.58</td>
|
|
1245
|
+
<td style="text-align: center;">4.43</td>
|
|
1246
|
+
</tr>
|
|
1247
|
+
<tr>
|
|
1248
|
+
<td style="text-align: left;">Qwen-TTS-Tokenizer-25Hz (Stage 1)</td>
|
|
1249
|
+
<td style="text-align: center;">32768</td>
|
|
1250
|
+
<td style="text-align: center;">25</td>
|
|
1251
|
+
<td style="text-align: center;"><strong>7.51</strong></td>
|
|
1252
|
+
<td style="text-align: center;">10.73</td>
|
|
1253
|
+
<td style="text-align: center;"><strong>3.07</strong></td>
|
|
1254
|
+
<td style="text-align: center;"><strong>4.23</strong></td>
|
|
1255
|
+
</tr>
|
|
1256
|
+
<tr>
|
|
1257
|
+
<td style="text-align: left;">Qwen-TTS-Tokenizer-25Hz (Stage 2)</td>
|
|
1258
|
+
<td style="text-align: center;">32768</td>
|
|
1259
|
+
<td style="text-align: center;">25</td>
|
|
1260
|
+
<td style="text-align: center;">10.40</td>
|
|
1261
|
+
<td style="text-align: center;">14.99</td>
|
|
1262
|
+
<td style="text-align: center;">4.14</td>
|
|
1263
|
+
<td style="text-align: center;">4.67</td>
|
|
1264
|
+
</tr>
|
|
1265
|
+
</tbody>
|
|
1266
|
+
</table>
|
|
1267
|
+
|
|
1268
|
+
<br>
|
|
1269
|
+
|
|
1270
|
+
*Comparison between different semantic-related speech tokenizers.*
|
|
1271
|
+
|
|
1272
|
+
<table>
|
|
1273
|
+
<thead>
|
|
1274
|
+
<tr>
|
|
1275
|
+
<th style="text-align: left;">Model</th>
|
|
1276
|
+
<th style="text-align: center;">NQ</th>
|
|
1277
|
+
<th style="text-align: center;">Codebook Size</th>
|
|
1278
|
+
<th style="text-align: center;">FPS</th>
|
|
1279
|
+
<th style="text-align: center;">PESQ_WB</th>
|
|
1280
|
+
<th style="text-align: center;">PESQ_NB</th>
|
|
1281
|
+
<th style="text-align: center;">STOI</th>
|
|
1282
|
+
<th style="text-align: center;">UTMOS</th>
|
|
1283
|
+
<th style="text-align: center;">SIM</th>
|
|
1284
|
+
</tr>
|
|
1285
|
+
</thead>
|
|
1286
|
+
<tbody>
|
|
1287
|
+
<tr>
|
|
1288
|
+
<td style="text-align: left;">SpeechTokenizer (Zhang et al., 2023a)</td>
|
|
1289
|
+
<td style="text-align: center;">8</td>
|
|
1290
|
+
<td style="text-align: center;">1024</td>
|
|
1291
|
+
<td style="text-align: center;">50</td>
|
|
1292
|
+
<td style="text-align: center;">2.60</td>
|
|
1293
|
+
<td style="text-align: center;">3.05</td>
|
|
1294
|
+
<td style="text-align: center;">0.92</td>
|
|
1295
|
+
<td style="text-align: center;">3.90</td>
|
|
1296
|
+
<td style="text-align: center;">0.85</td>
|
|
1297
|
+
</tr>
|
|
1298
|
+
<tr>
|
|
1299
|
+
<td style="text-align: left;">X-codec (Ye et al., 2025a)</td>
|
|
1300
|
+
<td style="text-align: center;">2</td>
|
|
1301
|
+
<td style="text-align: center;">1024</td>
|
|
1302
|
+
<td style="text-align: center;">50</td>
|
|
1303
|
+
<td style="text-align: center;">2.68</td>
|
|
1304
|
+
<td style="text-align: center;">3.27</td>
|
|
1305
|
+
<td style="text-align: center;">0.86</td>
|
|
1306
|
+
<td style="text-align: center;">4.11</td>
|
|
1307
|
+
<td style="text-align: center;">0.84</td>
|
|
1308
|
+
</tr>
|
|
1309
|
+
<tr>
|
|
1310
|
+
<td style="text-align: left;">X-codec 2 (Ye et al., 2025b)</td>
|
|
1311
|
+
<td style="text-align: center;">1</td>
|
|
1312
|
+
<td style="text-align: center;">65536</td>
|
|
1313
|
+
<td style="text-align: center;">50</td>
|
|
1314
|
+
<td style="text-align: center;">2.43</td>
|
|
1315
|
+
<td style="text-align: center;">3.04</td>
|
|
1316
|
+
<td style="text-align: center;">0.92</td>
|
|
1317
|
+
<td style="text-align: center;">4.13</td>
|
|
1318
|
+
<td style="text-align: center;">0.82</td>
|
|
1319
|
+
</tr>
|
|
1320
|
+
<tr>
|
|
1321
|
+
<td style="text-align: left;">XY-Tokenizer (Gong et al., 2025)</td>
|
|
1322
|
+
<td style="text-align: center;">8</td>
|
|
1323
|
+
<td style="text-align: center;">1024</td>
|
|
1324
|
+
<td style="text-align: center;">12.5</td>
|
|
1325
|
+
<td style="text-align: center;">2.41</td>
|
|
1326
|
+
<td style="text-align: center;">3.00</td>
|
|
1327
|
+
<td style="text-align: center;">0.91</td>
|
|
1328
|
+
<td style="text-align: center;">3.98</td>
|
|
1329
|
+
<td style="text-align: center;">0.83</td>
|
|
1330
|
+
</tr>
|
|
1331
|
+
<tr>
|
|
1332
|
+
<td style="text-align: left;">Mimi (Défossez et al., 2024)</td>
|
|
1333
|
+
<td style="text-align: center;">16</td>
|
|
1334
|
+
<td style="text-align: center;">2048</td>
|
|
1335
|
+
<td style="text-align: center;">12.5</td>
|
|
1336
|
+
<td style="text-align: center;">2.88</td>
|
|
1337
|
+
<td style="text-align: center;">3.42</td>
|
|
1338
|
+
<td style="text-align: center;">0.94</td>
|
|
1339
|
+
<td style="text-align: center;">3.87</td>
|
|
1340
|
+
<td style="text-align: center;">0.87</td>
|
|
1341
|
+
</tr>
|
|
1342
|
+
<tr>
|
|
1343
|
+
<td style="text-align: left;">FireredTTS 2 Tokenizer (Xie et al., 2025)</td>
|
|
1344
|
+
<td style="text-align: center;">16</td>
|
|
1345
|
+
<td style="text-align: center;">2048</td>
|
|
1346
|
+
<td style="text-align: center;">12.5</td>
|
|
1347
|
+
<td style="text-align: center;">2.73</td>
|
|
1348
|
+
<td style="text-align: center;">3.28</td>
|
|
1349
|
+
<td style="text-align: center;">0.94</td>
|
|
1350
|
+
<td style="text-align: center;">3.88</td>
|
|
1351
|
+
<td style="text-align: center;">0.87</td>
|
|
1352
|
+
</tr>
|
|
1353
|
+
<tr>
|
|
1354
|
+
<td style="text-align: left;">Qwen-TTS-Tokenizer-12Hz</td>
|
|
1355
|
+
<td style="text-align: center;">16</td>
|
|
1356
|
+
<td style="text-align: center;">2048</td>
|
|
1357
|
+
<td style="text-align: center;">12.5</td>
|
|
1358
|
+
<td style="text-align: center;"><strong>3.21</strong></td>
|
|
1359
|
+
<td style="text-align: center;"><strong>3.68</strong></td>
|
|
1360
|
+
<td style="text-align: center;"><strong>0.96</strong></td>
|
|
1361
|
+
<td style="text-align: center;"><strong>4.16</strong></td>
|
|
1362
|
+
<td style="text-align: center;"><strong>0.95</strong></td>
|
|
1363
|
+
</tr>
|
|
1364
|
+
</tbody>
|
|
1365
|
+
</table>
|
|
1366
|
+
|
|
1367
|
+
</details>
|
|
1368
|
+
|
|
1369
|
+
|
|
1370
|
+
<!-- ## Citation
|
|
1371
|
+
|
|
1372
|
+
If you find our paper and code useful in your research, please consider giving a star :star: and citation :pencil: :)
|
|
1373
|
+
|
|
1374
|
+
|
|
1375
|
+
```BibTeX
|
|
1376
|
+
@article{Qwen3-TTS,
|
|
1377
|
+
title={Qwen3-TTS Technical Report},
|
|
1378
|
+
author={},
|
|
1379
|
+
journal={arXiv preprint arXiv:},
|
|
1380
|
+
year={2026}
|
|
1381
|
+
}
|
|
1382
|
+
``` -->
|
|
1383
|
+
|
|
1384
|
+
<br>
|