Whisper-style CLI for Qwen3-TTS text-to-speech
Project description
qwen-tts-cli
Whisper-style CLI for Qwen3-TTS text-to-speech. One command, instant speech.
Install
pip install qwen-tts-cli
Usage
# Just speak
qwen-tts "Hello, world!"
# Choose a speaker and style
qwen-tts "I can't believe it!" --speaker Aiden --instruct "Speak with excitement"
# Save to a specific file
qwen-tts "Good morning." -o greeting.wav
# Use the larger model
qwen-tts "Higher quality voice." --model 1.7B
# Clone a voice from a 3-second sample
qwen-tts "Now I sound like someone else." --clone reference.wav --ref-text "Transcript of the reference audio."
# Design a voice from a description
qwen-tts "Hi there!" --design --instruct "A warm, deep male voice with a calm tone"
# Read from stdin
echo "Pipe text in" | qwen-tts -
# List available speakers
qwen-tts --list-speakers
Options
positional arguments:
text Text to speak. Use "-" to read from stdin.
options:
-o, --output FILE Output audio file (default: output.wav)
-m, --model SIZE Model: 0.6B, 1.7B, or full HF ID (default: 0.6B)
-s, --speaker NAME Speaker voice (default: Ryan)
-l, --language LANG Language (default: Auto)
-i, --instruct TEXT Style/emotion instruction
--device DEVICE Force device: cuda:0, mps, cpu (default: auto)
--play / --no-play Play audio after generation (default: on for macOS)
--list-speakers List available speakers and exit
voice cloning:
--clone AUDIO Reference audio for voice cloning
--ref-text TEXT Transcript of reference audio
voice design:
--design Design a voice using --instruct description
Speakers
| Speaker | Description | Language |
|---|---|---|
| Ryan | Dynamic rhythmic male | English |
| Aiden | Sunny clear male | English |
| Vivian | Bright young female | Chinese |
| Serena | Warm gentle female | Chinese |
| Uncle_Fu | Seasoned mellow male | Chinese |
| Dylan | Clear natural male | Chinese (Beijing) |
| Eric | Lively bright male | Chinese (Sichuan) |
| Ono_Anna | Playful light female | Japanese |
| Sohee | Warm emotional female | Korean |
Supported languages
Chinese, English, Japanese, Korean, German, French, Russian, Portuguese, Spanish, Italian.
Device support
The CLI auto-detects your hardware:
| Platform | Device | Precision |
|---|---|---|
| NVIDIA GPU | cuda | bfloat16 |
| Apple Silicon | mps | float32 |
| CPU | cpu | float32 |
License
Apache-2.0 (same as Qwen3-TTS)
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
qwen_tts_cli-0.1.0.tar.gz
(8.5 kB
view details)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file qwen_tts_cli-0.1.0.tar.gz.
File metadata
- Download URL: qwen_tts_cli-0.1.0.tar.gz
- Upload date:
- Size: 8.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
6d0ab7ce39578a2aec3a6a99acd6da639b1e3cb612a29f3ace100b44e4d872f4
|
|
| MD5 |
e6ba07b6a83e8029caae54a6c4c6658e
|
|
| BLAKE2b-256 |
6e4e4e8d9d9d536aff6d333ae1d77e58fd19ba9350617a02516c509563831cab
|
File details
Details for the file qwen_tts_cli-0.1.0-py3-none-any.whl.
File metadata
- Download URL: qwen_tts_cli-0.1.0-py3-none-any.whl
- Upload date:
- Size: 9.3 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
d4caa60c1c59ed3ba02940ac1d6d5e787f992a8430bf726518e5cac3848f8350
|
|
| MD5 |
c88361cdb4cb74238a71e01f4efb7967
|
|
| BLAKE2b-256 |
90eb3ce717dca203e781ce9083698ba64fcb13ad53e12567d390a9cd08ff4e84
|