k5 Kazakh OmniVoice (non-commercial)
A Kazakh-focused fine-tune of OmniVoice, the k2-fsa omnilingual zero-shot TTS model (a diffusion language model on a Qwen3-0.6B backbone). It speaks Kazakh natively and also reads Russian and mixed Kazakh–Russian text. It clones a voice from a short reference clip.
Licence: CC BY-NC 4.0, non-commercial only. The base OmniVoice weights are CC BY-NC because of their training data (Emilia), so this derivative is non-commercial too. See Licence and attribution.
Samples
All samples were generated by this model at 32 decoding steps, without post-editing.
| Case | Voice | Text | Audio |
|---|---|---|---|
| Call-centre greeting | Madina (KazakhTTS2 F2) | Сәлеметсіз бе! Байланыс орталығына хабарласқаныңызға рақмет. Сізге қалай көмектесе аламын? | |
| Call-centre greeting | Erlan (KazakhTTS2 M1) | same | |
| Call-centre greeting | Aigul (KazEmoTTS female) | same | |
| Call-centre greeting | Dauren (KazEmoTTS male 1) | same | |
| Call-centre greeting | Askar (KazEmoTTS male 2) | same | |
| Weather forecast | Madina | Ауа райы болжамы бойынша, ертең Алматы облысында күн жылы болып, кешке қарай жаңбыр жауады. | |
| Fairy tale | Askar | Ертеде бір қарт пен кемпір өмір сүріпті. Олардың жалғыз ұлы болыпты, аты – Ер Төстік. Ол батыр да, ақылды да екен. | |
| Emotion: happy | Aigul (happy reference) | Шынымен бе? Бұл керемет жаңалық! Құттықтаймын! | |
| Emotion: surprise | Aigul (surprised reference) | Не дейсің? Ол шынымен келді ме? | |
| Emotion: sad | Dauren (sad reference) | Өкінішке қарай, бүгінгі рейс тоқтатылды. Кешірім сұраймыз. | |
| Emotion: angry | Askar (angry reference) | Мен сізге үш рет айттым! Құжаттарды уақытында тапсыру керек еді! | |
| Russian | Madina | Здравствуйте! Вы позвонили в службу поддержки. Чем я могу вам помочь? | |
| Russian, numbers | Erlan | Ваш заказ на сумму двенадцать тысяч пятьсот тенге будет доставлен завтра до восемнадцати часов. | |
| Kazakh–Russian code-switching | Erlan | Мен бүгін кеңседе едім, бірақ встречу перенесли на завтра, сондықтан қазір үйдемін. | |
| Literary text with pauses (Abai, First Word) | Alibi (the author's own voice, used with consent) | Бұл жасқа келгенше жақсы өткіздік пе? Жаман өткіздік пе? … |
Madina, Erlan, Aigul, Dauren and Askar are nicknames for speakers of the public ISSAI corpora (KazakhTTS2 and KazEmoTTS), both CC BY 4.0. Emotion comes from the reference clip: the same speaker's happy, sad, angry or surprised recording.
Voice cloning: original → copy
The model copies a voice from one short reference recording and its transcript. It needs no training for the new voice.
The author's own voice
A 10-second casual Russian recording of the author, Alibi Serikbay, used with his consent. The model never heard any of the generated sentences in this voice.
| Text | Audio | |
|---|---|---|
| Original recording (reference, 10 s, Russian) | casual speech | |
| Copy: Kazakh | Сәлеметсіз бе! Бүгін сіздерге жаңа жобамыз туралы айтып бергім келеді. Бұл қазақ тілінде сөйлейтін дауыс моделі. | |
| Copy: Russian | Привет! Это мой голос, но эту фразу я никогда не произносил. Её полностью сгенерировала модель. | |
| Copy: Kazakh–Russian mix | Мен бүгін офисте боламын, бірақ встреча в три часа, сондықтан кешірек хабарласыңыз. | |
| Copy: literary text (Abai) | Бұл жасқа келгенше жақсы өткіздік пе? … |
The reference is Russian, yet the copy speaks Kazakh in the same voice, so the voice transfers across languages.
Public-corpus voices: reference → result, including emotion
References are recordings from the open ISSAI corpora (CC BY 4.0). Emotion is not a separate setting: it transfers from the reference clip. Give a happy, sad or angry recording of the voice, and the new sentence comes out happy, sad or angry.
| Voice | Reference (original recording) | Result | Text of the result |
|---|---|---|---|
| Madina (KazakhTTS2 F2), neutral | Ауа райы болжамы бойынша, ертең Алматы облысында күн жылы болып, кешке қарай жаңбыр жауады. | ||
| Madina → Russian | same | Здравствуйте! Вы позвонили в службу поддержки. Чем я могу вам помочь? | |
| Erlan (KazakhTTS2 M1), neutral | Ваш заказ на сумму двенадцать тысяч пятьсот тенге будет доставлен завтра до восемнадцати часов. | ||
| Erlan → kk–ru mix | same | Мен бүгін кеңседе едім, бірақ встречу перенесли на завтра, сондықтан қазір үйдемін. | |
| Aigul (KazEmoTTS), happy | Шынымен бе? Бұл керемет жаңалық! Құттықтаймын! | ||
| Aigul, surprised | Не дейсің? Ол шынымен келді ме? | ||
| Dauren (KazEmoTTS), sad | Өкінішке қарай, бүгінгі рейс тоқтатылды. Кешірім сұраймыз. | ||
| Askar (KazEmoTTS), angry | Мен сізге үш рет айттым! Құжаттарды уақытында тапсыру керек еді! | ||
| Askar, neutral | Ертеде бір қарт пен кемпір өмір сүріпті. Олардың жалғыз ұлы болыпты, аты – Ер Төстік. Ол батыр да, ақылды да екен. |
What was fine-tuned
- Base:
k2-fsa/OmniVoice. - Data:
- KazakhTTS2 studio speakers (5 speakers, ~248 h after quality gating, including long-form);
- KazEmoTTS (3 speakers, 6 emotions), kept only above a background-noise gate of DNSMOS BAK ≥ 3.5.
- Recipe: upstream OmniVoice fine-tuning with gender and emotion instruct tags, which also enables voice design. The checkpoint was selected on a held-out set.
Results
On a held-out set of 100 Kazakh sentences (dev100), at 32 steps:
| Metric | Value |
|---|---|
| Character error rate (GigaAM ASR) | 0.20 % |
| Speaker similarity to the reference (speaker-verification cosine) | 0.976 |
Real-time numbers are in Hardware, real-time and streaming.
Usage
Install the omnivoice package from the official k2-fsa OmniVoice release, then:
import torch, soundfile as sf
from omnivoice.models.omnivoice import OmniVoice
model = OmniVoice.from_pretrained("alibiserikbay/k5-kazakh-omnivoice", device_map="cuda", dtype=torch.float16)
audio = model.generate(
text="Сәлеметсіз бе! Сізге қалай көмектесе аламын?",
ref_audio="reference.wav", # 3–15 s of clean speech of the target voice
ref_text="exact transcript of reference.wav",
num_step=32, # 16 = faster, slightly lower quality
)
sf.write("out.wav", audio[0], 24000) # one 24 kHz numpy array per input text
- Audio tokenizer: the repository contains only the language-model weights. On first load OmniVoice downloads the Higgs Audio v2 tokenizer (
eustlb/higgs-audio-v2-tokenizer), which has its own licence, the Boson Higgs Audio 2 Community License. - Tips:
- Use a clean 3–15 s reference with its exact transcript.
- Write numbers as words; the base model's normaliser is not Kazakh-aware.
- Punctuation drives pauses.
- Non-verbal tags:
[laughter],[surprise-oh]and[question-ah]appear to still work after fine-tuning (experimental, checked automatically, not by listeners).[sigh]degraded.
Hardware, real-time and streaming
VRAM (measured, fp16)
| Setup | GPU memory |
|---|---|
One request at a time (generate(), weights + audio tokenizer + CUDA context) | ~6–7 GB (measured on our demo service process) |
| Real-time streaming engine with CUDA graphs, serving 32 concurrent calls | ~19–20 GB peak (measured) |
An 8 GB GPU is enough to try the model. For a multi-call real-time server, plan on 24 GB or more.
Real-time performance (one H100 NVL, one call)
- First audio:
- ~0.5 s at full quality (32 steps);
- 0.42 s with our CUDA-graph engine;
- ~0.3 s with «fast start» (first chunk at 16 steps).
- Whole sentence: synthesised in ~0.36–0.54 s, i.e. 10–25× faster than real time.
- Stability: no stalls once playback starts.
Streaming support we added
OmniVoice is non-autoregressive: it refines a whole chunk over N steps, so upstream only returns audio for a complete text. Our engine, in the companion GitHub repository k5-kazakh-russian-tts, adds:
- Chunked streaming:
- a short first chunk, for a fast first audio;
- later sentences merged into ~7 s chunks that are generated while the earlier audio plays;
- every chunk has a deadline.
- Two-lane scheduler:
- first chunks of new calls run on an urgent lane, with CUDA graphs on a high-priority CUDA stream;
- later chunks are batched on a bulk lane, packed into one sequence with FlexAttention, so there is no padding.
- CUDA graphs: a step takes 11 ms instead of 25–28 ms for one call, with bit-identical output.
- Fast start (optional): the first chunk at 16 steps. About 3× more concurrent calls; the first words are slightly less clean.
- Short reference prompts for real time (3–5 s, cut at a word boundary): less compute per call with no loss in speaker similarity.
- Prosody tags in the demo studio:
<pause 1.2>,[пауза 1.2],<break time="800ms"/>,<slower>…</slower>,<louder>…</louder>.
Concurrent calls per GPU
"Calls" means typical phone-dialogue traffic:
- each reply is 1–2 sentences;
- there is a 2–6 s pause while the caller speaks;
- the target is first audio within 0.8 s for 95 % of replies, with no audible stalls.
| GPU | VRAM | Full quality (32 steps) | Fast start (16-step first chunk) | Source |
|---|---|---|---|---|
| H100 NVL | 94 GB | 8 (long studio references) – 12 (3–5 s references) | 24 – 32 | measured |
| L40 | 48 GB | ~3 – 5 | ~8 – 12 | estimate |
| RTX 5090 | 32 GB | ~3 – 5 | ~8 – 12 | estimate |
- How the estimates were made: the L40 and RTX 5090 figures are not measured. They scale the H100 results by tensor throughput and memory bandwidth.
- Why one call stays fast: with a single call the engine is limited by kernel launches (CPU), not by the GPU. So the first audio for one call should stay near 0.5 s on these cards too.
- Measure your own card: run
omni_rt_bench.py callsfrom the GitHub repository on your hardware. - Worst case: if all calls start in the same second, capacity is much lower: 1–8 calls on an H100.
For comparison, our VoxCPM2-based Kazakh model serves about 32 calls per H100 at full quality, because it is autoregressive and streams natively.
Limitations
- Russian is read with a light Kazakh accent: the fine-tune data is Kazakh-only.
- Speaker similarity is best for clean studio-like references. Noisy or reverberant references reduce quality.
- Not suitable for commercial use (licence).
Responsible use
Clone only voices you have the right to use. Do not use this model for impersonation, fraud or deception. This follows the base model's disclaimer.
Licence and attribution
- Model weights: CC BY-NC 4.0, inherited from the base OmniVoice weights, which are non-commercial because of their training data (Emilia).
- Base model: OmniVoice by k2-fsa (Zhu et al., 2026). Code Apache-2.0, weights CC BY-NC.
- Fine-tuning data:
- KazakhTTS2: ISSAI, Nazarbayev University, CC BY 4.0. Mussakhojayeva et al., KazakhTTS2: Extending the Open-Source Kazakh TTS Corpus With More Data, Speakers, and Topics, LREC 2022.
- KazEmoTTS: ISSAI, Nazarbayev University, CC BY 4.0. Abilbekov et al., KazEmoTTS: A Dataset for Kazakh Emotional Text-to-Speech Synthesis, LREC-COLING 2024.
- Audio tokenizer (downloaded separately): Higgs Audio v2 tokenizer by Boson AI, Boson Higgs Audio 2 Community License.
@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}
}
Кратко по-русски
- Казахская версия OmniVoice. Говорит по-казахски, читает по-русски и смешанный текст, клонирует голос по короткому образцу.
- Только для некоммерческого использования (CC BY-NC 4.0).
- Обучена на открытых корпусах ISSAI KazakhTTS2 и KazEmoTTS (CC BY 4.0).
- Примеры выше озвучены голосами дикторов этих корпусов и голосом автора, с его согласия.