Higgs Audio 2 AIT-Syn OmniVoice — 72 Fixed Voices
Text-to-speech for Kazakh, Russian and English, with 72 named voices and a 635.6M-parameter serving pipeline. Choose a voice ID and provide text; its prepared voice prompt is included. Output is 24 kHz mono audio. CUDA inference, WAV generation, deterministic number expansion and a persistent HTTP server with phrase streaming are provided.
This release packages the unchanged OmniVoice generator and the original Higgs codec's decoding modules with a curated bank of recorded-speaker prompts. It is a fixed-voice inference release, not a newly trained trilingual checkpoint. No knowledge distillation was performed for this release. The upstream codec has its own pretraining history, including semantic distillation.
| Language | Voice IDs | Count |
|---|---|---|
| Kazakh | kk_01 … kk_16 | 16 |
| Russian | ru_01 … ru_24 | 24 |
| English | en_01 … en_32 | 32 |
Each preset supports its listed language. Select a different preset when changing language. English presets cover 16 male and 16 female recorded speakers; source accent metadata is provided. Voice names remain stable across the config, scripts, API and audio previews.
Listen and choose a voice
Start with these seven recommended Kazakh presets:
| Voice | Pitch group | Preview |
|---|---|---|
kk_01 | Lower | WAV · MP3 |
kk_03 | Lower | WAV · MP3 |
kk_04 | Lower | WAV · MP3 |
kk_07 | Middle | WAV · MP3 |
kk_09 | Middle | WAV · MP3 |
kk_12 | Higher | WAV · MP3 |
kk_14 | Higher | WAV · MP3 |
The other nine Kazakh presets offer conversational timbres. All Russian and English presets are also included. Open samples/index.html after downloading for the complete listening gallery, or visit http://127.0.0.1:8108/listen/index.html while the server runs. The pitch groups describe measured source recordings; they are not pitch controls. Listen before selecting a voice for your application.
Install and download
Use Python 3.12 and a CUDA-capable NVIDIA GPU. The release was verified with PyTorch 2.10.0, Transformers 5.3.0 and an NVIDIA L40. Keep the pinned requirements: older Transformers versions lack the codec implementation used here.
- Request access on this model page and wait for manual approval.
- Log in with a Hugging Face read token belonging to the approved account.
- Download the whole repository and install its inference dependencies.
python3.12 -m venv .venv
source .venv/bin/activate
python -m pip install huggingface_hub==1.7.1
hf auth login
hf download nur-dev/ait-syn-omnivoice-72-voices --local-dir ait-syn
cd ait-syn
python -m pip install -r requirements.txt
The vendored OmniVoice inference source is included. No separate source checkout, reference recording, enrollment step or ASR model is needed. Run the scripts from the downloaded directory. Download size is approximately 2.6 GB; keep the model files, decoder, checker and voices/ directory together.
Generate WAV files
python synthesize.py --voice kk_01 --language kk \
--text 'Сәлеметсіз бе! Бүгін ауа райы жақсы.' --output kk.wav
python synthesize.py --voice ru_01 --language ru \
--text 'Здравствуйте! Сегодня хорошая погода.' --output ru.wav
python synthesize.py --voice en_01 --language en \
--text 'Hello! The weather is lovely today.' --output en.wav
--language is optional: it defaults to the selected voice's language. Use --device cuda:1 to choose a GPU, --speed 0.9 for slower delivery, or --steps 32 for more generation steps. Speed must be between 0.8 and 1.2. --seed defaults to 20261008. The CLI splits longer text into phrases and writes one PCM16 WAV.
For a persistent Python process:
from runtime import PresetTTS
import soundfile as sf
tts = PresetTTS("inference_config.json", device="cuda:0")
tts.warmup()
audio, sr = tts.synthesize(
"Сәлеметсіз бе!", voice="kk_01", language="kk", speed=1.0
)
sf.write("hello.wav", audio, sr, subtype="PCM_16")
# Each yielded array is a complete phrase, ready for playback.
for audio, sr in tts.stream("Hello! How are you today?", voice="en_01"):
pass # Send this phrase to your audio player.
Config and included files
The default serving configuration is inference_config.json. The root config.json belongs to the generator architecture; use inference_config.json to configure these scripts.
| Field | Default / purpose |
|---|---|
model | "."; directory containing generator weights, tokenizer, decoder/ and voice_encoder.pt. |
ordinary_steps | 16; supported values are 16 and 32. |
numeric_steps | 32; used when deterministic number expansion changes the input. |
voices | 72 preset records: voice, language, supported_languages, relative prompt, pitch/source metadata and per-voice ordinary_steps. |
voice_selection.preferred_voices | The seven recommended Kazakh voice IDs used by the listening gallery. |
sample_rate | 24000; describes the fixed output format. |
runtime_parameters | 635558689; informational count of loaded serving parameters. |
delivery | Complete phrase segments; informational. |
Keep the config beside the downloaded model files, or use absolute model and prompt paths in a relocated config. Pass a custom file with --config my_config.json, or PresetTTS("my_config.json"). The --steps CLI option / steps= Python argument overrides ordinary per-voice steps; numeric expansion can still select numeric_steps. en_28 defaults to 32 steps because 16-step output could omit a phrase.
synthesize.py writes WAV files; serve.py runs the API; runtime.py exposes PresetTTS. voices/*.pt contains the prepared audio-token prompts, and matching JSON files contain their checker embeddings and source attribution. decoder/ contains the original decode modules only. voice_encoder.pt is the small speaker consistency checker, not a reference-audio codec encoder. release_manifest.json records file SHA-256 digests and upstream revisions.
HTTP API and streaming
Keep one worker loaded and warmed for low latency:
python serve.py --config inference_config.json --device cuda:0 \
--host 127.0.0.1 --port 8108
GET /health reports readiness; GET /voices lists all voices and their languages. The service becomes ready after model loading and warmup.
curl -f http://127.0.0.1:8108/voices
curl -f http://127.0.0.1:8108/synthesize \
-H 'Content-Type: application/json' \
-d '{"voice":"kk_01","text":"Сәлеметсіз бе!","language":"kk","speed":1.0}' \
--output hello.wav
curl -f -N http://127.0.0.1:8108/stream \
-H 'Content-Type: application/json' \
-d '{"voice":"en_01","text":"Hello! How are you today?","speed":1.0}' \
--output speech.pcm
ffplay -f s16le -ar 24000 -ac 1 speech.pcm
Both POST endpoints accept voice, text, optional language, speed, and seed. /synthesize accepts up to 300 characters and returns WAV. /stream accepts up to 8,000 characters, divides text into phrases of at most 160 characters, and returns raw signed 16-bit little-endian mono PCM at 24 kHz, without a WAV header. HTTP chunks are transport chunks, not phrase boundaries.
The first PCM bytes arrive after the first phrase has been generated. Playback can overlap generation of later phrases. This is phrase streaming; the model does not generate causal audio frames. A worker serializes generation requests, so queueing adds latency. Number, date and time expansion is deterministic for kk, ru and en. The speaker checker can trigger up to two retries at 32 steps; very short audio skips the similarity check.
Measured performance and limits
Warm, sequential localhost requests on one NVIDIA L40, across all 72 voices:
| Measurement | Median | 95th percentile |
|---|---|---|
| Complete preview WAV response | 256 ms | 302 ms |
| First streaming PCM bytes | 226 ms | 393 ms |
| Generation / audio duration | 0.045 | 0.055 |
A ratio below 1 means generation is faster than playback. These measurements exclude startup, queueing and network transport, and use short preview texts. They do not establish concurrent-user capacity or latency on other hardware. CPU real-time performance is not validated; the provided preset runtime requires CUDA.
All 72 native-language voices passed three development text probes, and all WAV/PCM API checks produced audible finite audio. This is development validation, not a held-out naturalness score or a production guarantee. Pronunciation, completeness, speaker similarity and timbre can vary on new text. Use native-language presets: cross-language use of an individual voice is not supported by this release.
Provenance and licenses
Generator: k2-fsa/OmniVoice, revision c5fdb5ccb189668d56333f77ba2629f4cd7535f4. Vendored inference source: k2-fsa/OmniVoice, commit 08be0b4ccbac3e13e374e86fbfead4b4cac343e2. The serving total includes the generator, original codec decoder and 1.42M-parameter Resemblyzer checker. The reference-audio codec encoder is not included in this fixed-preset release.
Preset sources are KazakhTTS2, neutral KazEmoTTS, the corrected Kazakh Speech Dataset, Russian LibriSpeech, Common Voice 17 Russian and VCTK 0.92. See SOURCES.md for publisher links, counts, attribution and corpus terms. Corpus speaker labels describe recorded sources, not a guarantee that every synthesized voice sounds like a professional actor.
Components have different licenses: OmniVoice and the runtime use Apache 2.0; the Higgs codec uses the Boson Higgs Audio 2 Community License incorporating Meta Llama 3 terms; prepared references retain applicable corpus terms. See LICENSES.md, licenses/ and NOTICE. The Boson license contains an additional license requirement above its stated annual-active-user threshold.
Built with Higgs Materials licensed from Boson AI USA, Inc., Copyright Boson AI USA, Inc., All Rights Reserved and Meta Llama 3 licensed under the Meta Llama 3 Community License, Copyright Meta Platforms, Inc., All Right Reserved. Built with Meta Llama 3.