omnivoice
OmniVoice: Towards Omnilingual Zero-Shot Text-to-Speech with Diffusion Language Models
What it is and what it does
OmniVoice is a multilingual text-to-speech model built on a diffusion language model architecture that converts text to speech across over 600 languages. It operates in three modes: zero-shot voice cloning (copying a speaker's voice from a short reference clip), voice design (synthesizing speech with specified speaker attributes like gender, age, and accent), and standard TTS. The model runs on PyTorch and depends on transformers, librosa, torchaudio, and several audio utilities to handle speech generation, audio I/O, and model inference.
The package is designed for developers and researchers who need multilingual speech synthesis with fine-grained control. It supports non-verbal symbols (e.g., [laughter]), pronunciation correction via pinyin or phonemes, and claims inference speeds as low as 0.025 RTF (40x faster than real-time). Voice clones can be saved and reused across sessions. The model automatically falls back to standard attention on unsupported hardware (e.g., XPU without flash_attn) and integrates with Whisper ASR for automatic transcription of reference audio when manual transcription is not provided.
Use it for:
- Clone a speaker's voice from a 3–10 second reference clip and generate speech in any of 600+ languages.
- Synthesize speech with specific speaker characteristics (gender, age, pitch, accent) without reference audio.
- Build multilingual voice applications with fine-grained control over pronunciation and non-verbal cues.
- Integrate zero-shot TTS into production systems where low inference latency is required.
- Create cross-lingual voice clones where reference and target languages differ, accepting the accent carryover.
Worth the install?
AI-flagged interpretation of the facts on this page — verify before relying
OmniVoice generates speech from text in over 600 languages using a diffusion-based model, with support for voice cloning from reference audio and voice design via speaker attributes.
Yes, if you need multilingual TTS with voice cloning or design. The broad language coverage (600+), active maintenance, permissive license, and low install friction make it a strong choice. Requires upfront PyTorch setup and GPU memory; voice design mode is less stable outside Chinese and English. No known vulnerabilities.
Install
omnivoice on PyPI
pip
pip install omnivoiceuv
uv add omnivoicepoetry
poetry add omnivoiceInstalling omnivoice
Before you install
Low install friction; pure Python wheel. Requires PyTorch and torchaudio as prerequisites (with GPU-specific variants for NVIDIA, Apple Silicon, or Intel Arc), plus 11 runtime dependencies including transformers, librosa, and torch. Active maintenance with recent releases.
License in practice
Apache-2.0 permissive license allows commercial and private use with minimal restrictions, making it suitable for production deployments.
Quickstart
pip install omnivoice
from omnivoice import OmniVoice
import soundfile as sf
import torch
model = OmniVoice.from_pretrained(
"k2-fsa/OmniVoice",
device_map="cuda:0",
dtype=torch.float16
)
audio = model.generate(
text="Hello, this is a test.",
ref_audio="ref.wav",
ref_text="Transcription of reference."
)
sf.write("out.wav", audio[0], 24000)
Requires PyTorch and torchaudio pre-installed with appropriate GPU support (CUDA, Apple Silicon, or Intel Arc); Python >= 3.10 required.
Verify before relying
- Whether voice design mode is stable for languages beyond Chinese and English.
- Actual inference speed (RTF 0.025 claim) on typical hardware configurations.
- Quality of voice cloning with reference audio shorter or longer than the recommended 3–10 seconds.
Package facts
| License | Apache-2.0 (permissive) |
| Python support | supports the current Python release (>=3.10) |
| Install friction | low — pure-Python wheel |
| Runtime dependencies | 11 — accelerate, gradio, librosa, numpy, pydub, soundfile, tensorboardx, torch, torchaudio, transformers, webdataset |
| Maintenance | actively maintained — 29 days since the last release |
| Last repo commit | |
| First released | |
| Downloads | 206,446/month — #9,573 on PyPI (30-day window, as of 2026-08-14) |
| Known vulnerabilities | none known (OSV.dev, checked 2026-08-14) |
Evidence: omnivoice-0.2.1-py3-none-any.whl
Keywords: diffusion, multilingual, speech-synthesis, text-to-speech, tts, voice-cloning, zero-shot
Tags
More Artificial Intelligence packages
LiteLLM provides a unified Python interface to…
permissive · top 100 on PyPI
huggingface-hubClient library and CLI tool for downloading,…
permissive · top 100 on PyPI
langchainLangChain provides a framework for building…
permissive · top 1,000 on PyPI
hf-xethf-xet provides chunk-based deduplication and…
permissive · top 1,000 on PyPI
tokenizersTokenizers converts raw text into token…
permissive · top 1,000 on PyPI
transformersTransformers provides a unified framework for…
permissive · top 1,000 on PyPI
f5-ttsF5-TTS generates natural-sounding speech from…
permissive · top 15,000 on PyPI
voxcpmVoxCPM2 is a tokenizer-free text-to-speech…
permissive · top 15,000 on PyPI
chatterbox-ttsChatterbox TTS converts text to speech using…
permissive · top 15,000 on PyPI
ResemblyzerResemblyzer generates a 256-value embedding…
permissive · top 15,000 on PyPI
qwen-ttsQwen-TTS generates speech from text using…
permissive · top 15,000 on PyPI
openai-whisperWhisper performs multilingual speech…
permissive · top 5,000 on PyPI
pocket-ttsPocket TTS generates speech from text on CPU…
unclear · top 15,000 on PyPI
coqui-ttsCoqui TTS synthesizes speech from text using…
copyleft · top 15,000 on PyPI
edge-ttsConverts text to speech using Microsoft Edge's…
copyleft · top 5,000 on PyPI
mlx-audioMLX-Audio provides text-to-speech,…
permissive · top 15,000 on PyPI