Instructions to use AIArchiveInfo/VoxCPM2 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- VoxCPM
How to use AIArchiveInfo/VoxCPM2 with VoxCPM:
import soundfile as sf from voxcpm import VoxCPM model = VoxCPM.from_pretrained("AIArchiveInfo/VoxCPM2") wav = model.generate( text="VoxCPM is an innovative end-to-end TTS model from ModelBest, designed to generate highly expressive speech.", prompt_wav_path=None, # optional: path to a prompt speech for voice cloning prompt_text=None, # optional: reference text cfg_value=2.0, # LM guidance on LocDiT, higher for better adherence to the prompt, but maybe worse inference_timesteps=10, # LocDiT inference timesteps, higher for better result, lower for fast speed normalize=True, # enable external TN tool denoise=True, # enable external Denoise tool retry_badcase=True, # enable retrying mode for some bad cases (unstoppable) retry_badcase_max_times=3, # maximum retrying times retry_badcase_ratio_threshold=6.0, # maximum length restriction for bad case detection (simple but effective), it could be adjusted for slow pace speech ) sf.write("output.wav", wav, 16000) print("saved: output.wav") - Notebooks
- Google Colab
- Kaggle
provenance: mirror of openbmb/VoxCPM2@32279effe8c19989596f05d353d1447f51d9e915
Browse files
README.md
CHANGED
|
@@ -43,6 +43,9 @@ tags:
|
|
| 43 |
pipeline_tag: text-to-speech
|
| 44 |
---
|
| 45 |
|
|
|
|
|
|
|
|
|
|
| 46 |
# VoxCPM2
|
| 47 |
|
| 48 |
**VoxCPM2** is a tokenizer-free, diffusion autoregressive Text-to-Speech model — **2B parameters**, **30 languages**, **48kHz** audio output, trained on over **2 million hours** of multilingual speech data.
|
|
|
|
| 43 |
pipeline_tag: text-to-speech
|
| 44 |
---
|
| 45 |
|
| 46 |
+
|
| 47 |
+
> **Byte-identical preservation mirror** of [`openbmb/VoxCPM2`](https://huggingface.co/openbmb/VoxCPM2) at revision [`32279effe8c1`](https://huggingface.co/openbmb/VoxCPM2/tree/32279effe8c19989596f05d353d1447f51d9e915), archived 2026-09-25 by AIArchive. All credit belongs to the original authors. No weights were trained, fine-tuned, or altered in any way. The original license (apache-2.0) is included verbatim and continues to govern this copy.
|
| 48 |
+
|
| 49 |
# VoxCPM2
|
| 50 |
|
| 51 |
**VoxCPM2** is a tokenizer-free, diffusion autoregressive Text-to-Speech model — **2B parameters**, **30 languages**, **48kHz** audio output, trained on over **2 million hours** of multilingual speech data.
|