OpenBMB/VoxCPM
VoxCPM2: Tokenizer-Free TTS for Multilingual Speech Generation, Creative Voice Design, and True-to-Life Cloning
VoxCPM — A Text-to-Speech System That Skips the Middleman
What it does
VoxCPM turns written text into spoken audio. Most TTS systems first convert speech into a compressed "token" code (like a shorthand), then expand that code back into sound. VoxCPM skips that step entirely — it generates the audio waveform directly using a diffusion autoregressive architecture. The result is speech that sounds more natural and expressive because no information is lost in the tokenization step.
The latest version: VoxCPM2
VoxCPM2 is the current major release. It's a 2-billion-parameter model trained on over 2 million hours of multilingual speech. It supports 30 languages and outputs 48kHz studio-quality audio (CD quality is 44.1kHz, so this is slightly better). It's built on the MiniCPM-4 language model backbone.
Key capabilities
1. Multilingual synthesis (30 languages)
You can type text in any of 30 supported languages (Arabic, Chinese, English, French, German, Japanese, Korean, Spanish, etc.) and get speech directly — no need to specify which language you're using. It also supports 9 Chinese dialects (Sichuan, Cantonese, Wu, etc.).
2. Voice Design
Describe a voice in plain language — e.g., "a young woman, gentle and sweet voice" — and the model creates that voice from scratch. No reference audio needed. You just put the description in parentheses at the start of your text.
3. Controllable Voice Cloning
Give it a short audio clip of a real voice, and it clones that voice's timbre (the unique quality that makes a voice recognizable). You can also add style instructions like "slightly faster, cheerful tone" to adjust emotion, pace, or expression while keeping the original voice identity.
4. Ultimate Cloning
For maximum fidelity, provide both a reference audio clip and its exact transcript (the text of what's spoken in that clip). The model then continues seamlessly from that reference, reproducing every vocal nuance — timbre, rhythm, emotion, and style.
5. Context-aware synthesis
The model automatically adjusts prosody (the rhythm, stress, and intonation of speech) and expressiveness based on the content of the text itself.
6. Real-time streaming
It can generate audio in chunks as it goes, with a real-time factor (RTF) of ~0.3 on an NVIDIA RTX 4090 GPU — meaning it produces 1 second of audio in about 0.3 seconds. With specialized serving engines (Nano-vLLM or vLLM-Omni), that drops to ~0.13.
How to use it
Installation
pip install voxcpm
Requires Python ≥ 3.10, PyTorch ≥ 2.5.0, and CUDA ≥ 12.0 (for GPU acceleration).
Python API (basic TTS)
from voxcpm import VoxCPM
import soundfile as sf
model = VoxCPM.from_pretrained("openbmb/VoxCPM2", load_denoiser=False)
wav = model.generate(text="Hello, welcome to VoxCPM2!", cfg_value=2.0, inference_timesteps=10, seed=42)
sf.write("demo.wav", wav, model.tts_model.sample_rate)
Command-line interface
# Voice design (no reference audio)
voxcpm design --text "VoxCPM2 brings studio-quality multilingual speech synthesis." --output out.wav
# Voice cloning (with reference audio)
voxcpm clone --text "This is a voice cloning demo." --reference-audio path/to/voice.wav --output out.wav
# Batch processing
voxcpm batch --input examples/input.txt --output-dir outs
Web demo
python app.py --port 8808 # opens a browser interface at http://localhost:8808
Deployment options
- Nano-vLLM — a dedicated inference engine for high-throughput serving with concurrent request support and an async API.
- vLLM-Omni — the official vLLM project's omni-modal extension with native VoxCPM2 support. It provides an OpenAI-compatible API endpoint (
/v1/audio/speech), PagedAttention KV cache, and continuous batching for production multi-tenant use. - llama.cpp-omni — a C++ engine for on-device/edge deployment (CPU, Metal, CUDA, Vulkan) without Python. Runs on Apple Silicon Macs at RTF ~1.76 (Q8_0 quantization).
Model versions
| Feature | VoxCPM2 | VoxCPM1.5 | VoxCPM-0.5B |
|---|---|---|---|
| Status | Latest | Stable | Legacy |
| Parameters | 2B | 0.6B | 0.5B |
| Audio sample rate | 48kHz | 44.1kHz | 16kHz |
| Languages | 30 | 2 (Chinese, English) | 2 (Chinese, English) |
| Voice Design | ✅ | — | — |
| Controllable Cloning | ✅ | — | — |
| Fine-tuning (SFT/LoRA) | ✅ | ✅ | ✅ |
| RTF on RTX 4090 | ~0.30 | ~0.15 | ~0.17 |
Licensing and availability
- License: Apache-2.0 — free for commercial use.
- Weights: Available on Hugging Face and ModelScope.
- Docs: ReadTheDocs (voxcpm.readthedocs.io).
- Community: Feishu and Discord channels.
Known limitations
The README doesn't detail specific limitations, but it does note that character-level timestamps (for word/char alignment) are "best-effort" and derived from word alignment, implying some accuracy trade-offs there.
Release history
- 2026.04 — VoxCPM2 released (2B, 30 languages, Voice Design, 48kHz)
- 2025.12 — VoxCPM1.5 released with SFT & LoRA fine-tuning (#1 GitHub Trending)
- 2025.09 — VoxCPM-0.5B released (#1 HuggingFace Trending)
All facts above are taken directly from the project README.
Related
- Project
- Project
- Project
- Project
- Project