text-to-speechomnivoice

k2-fsa/OmniVoice

huggingface.co/k2-fsa/OmniVoice

1,377Likes
1,222,986Downloads
2026-07-03Updated
omnivoicesafetensorszero-shotmultilingualvoice-cloningvoice-designtext-to-speechaaeaalaaoababbabnabrabsabvacmacwacxadfadxadyaebaec

Model card

OmniVoice 🌍

OmniVoice is a massively multilingual zero-shot text-to-speech (TTS) model supporting over 600 languages. Built on a novel diffusion language model-style architecture, it delivers high-quality speech with superior inference speed, supporting voice cloning and voice design.

Key Features

Usage

To get started, install the omnivoice library:

Step 1: Install PyTorch

NVIDIA GPU

``bash # Install pytorch with your CUDA version, e.g. pip install torch==2.8.0+cu128 torchaudio==2.8.0+cu128 --extra-index-url https://download.pytorch.org/whl/cu128 `` > See PyTorch official site for other versions installation.

Apple Silicon

``bash pip install torch==2.8.0 torchaudio==2.8.0 ``

Step 2: Install OmniVoice

``bash pip install omnivoice ``

Python API

You can use OmniVoice for zero-shot voice cloning as follows:

```python from omnivoice import OmniVoice import soundfile as sf import torch

Load the model

model = OmniVoice.from_pretrained( "k2-fsa/OmniVoice", device_map="cuda:0", dtype=torch.float16 )

Generate audio

audio = model.generate( text="Hello, this is a test of zero-shot voice cloning.", ref_audio="ref.wav", ref_text="Transcription of the reference audio.", ) # audio is a list of np.ndarray with shape (T,) at 24 kHz.

sf.write("out.wav", audio[0], 24000) ```

For more generation modes (e.g., voice design), functions (e.g., non-verbal symbols, pronunciation correction) and comprehensive usage instructions, see our GitHub Repository.

Discussion & Communication

You can directly discuss on GitHub Issues.

You can also scan the QR code to join our wechat group or follow our wechat official account.

| Wechat Group | Wechat Official Account | | ------------ | ----------------------- | |!wechat |!wechat |

Citation

``bibtex @article{zhu2026omnivoice, title={OmniVoice: Towards Omnilingual Zero-Shot Text-to-Speech with Diffusion Language Models}, author={Zhu, Han and Ye, Lingxuan and Kang, Wei and Yao, Zengwei and Guo, Liyong and Kuang, Fangjun and Han, Zhifeng and Zhuang, Weiji and Lin, Long and Povey, Daniel}, journal={arXiv preprint arXiv:2604.00688}, year={2026} } ``

License

Our code is released under the Apache 2.0 License. The pre-trained model is licensed under the CC-BY-NC due to constraints from its training data (e.g., Emilia).

Disclaimer

Users are strictly prohibited from using this model for unauthorized voice cloning, voice impersonation, fraud, scams, or any other illegal or unethical activities. All users shall ensure full compliance with applicable local laws, regulations, and ethical standards. The developers assume no liability for any misuse of this model and advocate for responsible AI development and use, encouraging the community to uphold safety and ethical principles in AI research and applications.

Mirrored from the Hugging Face Hub and served from the Conceptio Open Knowledge Archive. Read the original card at https://huggingface.co/k2-fsa/OmniVoice.