A high-speed, high-fidelity Text-to-Speech model optimized for real-time conversational AI applications.
KaniTTS uses a two-stage pipeline combining a large language model with an efficient audio codec for exceptional speed and audio quality. The architecture generates compressed token representations through a backbone LLM, then rapidly synthesizes waveforms via neural audio codec, achieving extremely low latency.
Key Specifications:
On NovitaAI RTX 5090 using vLLM:
| GPU Model | VRAM | Cost ($/hr) | RTF |
|---|---|---|---|
| RTX 5090 | 32GB | $0.423 | 0.190 |
| RTX 4080 | 16GB | $0.220 | 0.200 |
| RTX 5060 Ti | 16GB | $0.138 | 0.529 |
| RTX 4060 Ti | 16GB | $0.122 | 0.537 |
| RTX 3060 | 12GB | $0.093 | 0.600 |
Lower RTF is better (< 1.0 means faster than real-time). Benchmarks conducted on Vast AI.
It’s a lightweight so you can install, load a model, and speak in minutes. Designed for quick starts and simple workflows—no heavy setup, just pip install and run. More detailes...
pip install kani-tts
pip install -U "transformers==4.57.1" # for LFM2 !!!
from kani_tts import KaniTTS
model = KaniTTS('nineninesix/kani-tts-400m-ar')
# Generate audio from text
audio, text = model("Your text here")
# Save to file (requires soundfile)
model.save_audio(audio, "output.wav")
from kani_tts import KaniTTS
model = KaniTTS(
'nineninesix/kani-tts-400m-ar',
temperature=0.7, # Control randomness (default: 1.0)
top_p=0.9, # Nucleus sampling (default: 0.95)
max_new_tokens=2000, # Max audio length (default: 1200)
repetition_penalty=1.2, # Prevent repetition (default: 1.1)
suppress_logs=True, # Suppress library logs (default: True)
show_info=True, # Show model info on init (default: True)
)
audio, text = model("Your text here")
You can listen to generated audio directly in Jupyter notebooks or IPython:
from kani_tts import KaniTTS
from IPython.display import Audio as aplay
model = KaniTTS('nineninesix/kani-tts-400m-ar')
audio, text = model("Your text here")
# Play audio in notebook
aplay(audio, rate=model.sample_rate)
For optimal pronunciation quality, we strongly recommend using Arabic text with diacritical marks (تشكيل/tashkeel).
Arabic text without diacritics can lead to ambiguous pronunciations. The model performs significantly better when diacritics are provided, as they explicitly indicate:
Without diacritics (less accurate):
أما أخوه غير الشقيق توماس، فكان يعيش حياةً طيبة في لندن، وكان مستعداً لمساعدته بما يلزم.
❌ May mispronounce words like "مستعداً" as "مستعدة"
With diacritics (much better):
أَمَّا أَخوهُ غَيْرُ الشَّقِيقِ تُوماسُ، فَكانَ يَعيشُ حَياةً طَيِّبَةً في لَنْدَنَ، وَكانَ مُسْتَعِدًّا لِمُساعَدَتِهِ بِما يَلْزَمُ.
✅ Produces accurate, natural pronunciation
You can use AI language models or specialized tools to automatically add diacritics to undiacritized Arabic text:
pyarabic or camel-toolsNote: While the model can handle undiacritized text, pronunciation quality will be noticeably lower, especially for words with multiple possible vowelizations.
| Text | Audio |
|---|---|
| مرحباً، اسمي تارا، وأنا نموذج لتوليد الصوت يمكنه أن يتحدث كالبشر تماماً. | |
| زقزقت عصافيرٌ مرِحة هذا الصباح على شجرة البلوط العتيقة خارج نافذتي. | |
| يا عزيزي، ما زلت لا أشعر بتحسن... سأذهب للنوم. | |
| أما أخوه غير الشقيق توماس، فكان يعيش حياةً طيبة في لندن، وكان مستعداً لمساعدته بما يلزم. |
Models:
Examples:
Links:
Built on top of LiquidAI LFM2 350M as the backbone and Nvidia NanoCodec for audio processing.
Prohibited activities include:
By using this model, you agree to comply with these restrictions and all applicable laws.
Have a question, feedback, or need support? Please fill out our contact form and we'll get back to you as soon as possible.
@inproceedings{emilialarge,
author={He, Haorui and Shang, Zengqiang and Wang, Chaoren and Li, Xuyuan and Gu, Yicheng and Hua, Hua and Liu, Liwei and Yang, Chen and Li, Jiaqi and Shi, Peiyang and Wang, Yuancheng and Chen, Kai and Zhang, Pengyuan and Wu, Zhizheng},
title={Emilia: A Large-Scale, Extensive, Multilingual, and Diverse Dataset for Speech Generation},
booktitle={arXiv:2501.15907},
year={2025}
}
@article{emonet_voice_2025,
author={Schuhmann, Christoph and Kaczmarczyk, Robert and Rabby, Gollam and Friedrich, Felix and Kraus, Maurice and Nadi, Kourosh and Nguyen, Huu and Kersting, Kristian and Auer, Sören},
title={EmoNet-Voice: A Fine-Grained, Expert-Verified Benchmark for Speech Emotion Detection},
journal={arXiv preprint arXiv:2506.09827},
year={2025}
}
@dataset{masrispeech_full,
author = {Yahya Muhammad Alnwsany},
title = {MasriSpeech-Full: Large-Scale Egyptian Arabic Speech Corpus},
year = {2025},
publisher = {Hugging Face},
url = {https://huggingface.co/collections/NightPrince/masrispeech-dataset-68594e59e46fd12c723f1544}
}
@misc{linagora2024Linto-tn,
title = {LinTO Audio and Textual Datasets to Train and Evaluate Automatic Speech Recognition in Tunisian Arabic Dialect},
author = {Hedi Naouara and Jérôme Louradour and Jean-Pierre Lorré},
year = {2025},
month = {March},
eprint={2504.02604},
archivePrefix={arXiv},
primaryClass={cs.CL},
note={Good Data Workshop, AAAI 2025},
url={arxiv.org/abs/2504.02604},
}
@misc{abdallah2023leveraging,
title={Leveraging Data Collection and Unsupervised Learning for Code-switched Tunisian Arabic Automatic Speech Recognition},
author={Ahmed Amine Ben Abdallah and Ata Kabboudi and Amir Kanoun and Salah Zaiem},
year={2023},
eprint={2309.11327},
archivePrefix={arXiv},
primaryClass={eess.AS}
}
@data{e1qb-jv46-21,
doi = {10.21227/e1qb-jv46},
url = {https://dx.doi.org/10.21227/e1qb-jv46},
author = {Al-Fetyani, Mohammad and Al-Barham, Muhammad and Abandah, Gheith and Alsharkawi, Adham and Dawas, Maha},
publisher = {IEEE Dataport},
title = {MASC: Massive Arabic Speech Corpus},
year = {2021}
}
@misc{toyin2025arvoicemultispeakerdatasetarabic,
title={ArVoice: A Multi-Speaker Dataset for Arabic Speech Synthesis},
author={Hawau Olamide Toyin and Rufael Marew and Humaid Alblooshi and Samar M. Magdy and Hanan Aldarmaki},
year={2025},
eprint={2505.20506},
archivePrefix={arXiv},
primaryClass={cs.CL},
url={https://arxiv.org/abs/2505.20506},
}
A high-speed, high-fidelity Text-to-Speech model optimized for real-time conversational AI applications.
KaniTTS uses a two-stage pipeline combining a large language model with an efficient audio codec for exceptional speed and audio quality. The architecture generates compressed token representations through a backbone LLM, then rapidly synthesizes waveforms via neural audio codec, achieving extremely low latency.
Key Specifications:
On NovitaAI RTX 5090 using vLLM:
| GPU Model | VRAM | Cost ($/hr) | RTF |
|---|---|---|---|
| RTX 5090 | 32GB | $0.423 | 0.190 |
| RTX 4080 | 16GB | $0.220 | 0.200 |
| RTX 5060 Ti | 16GB | $0.138 | 0.529 |
| RTX 4060 Ti | 16GB | $0.122 | 0.537 |
| RTX 3060 | 12GB | $0.093 | 0.600 |
Lower RTF is better (< 1.0 means faster than real-time). Benchmarks conducted on Vast AI.
It’s a lightweight so you can install, load a model, and speak in minutes. Designed for quick starts and simple workflows—no heavy setup, just pip install and run. More detailes...
pip install kani-tts
pip install -U "transformers==4.57.1" # for LFM2 !!!
from kani_tts import KaniTTS
model = KaniTTS('nineninesix/kani-tts-400m-ar')
# Generate audio from text
audio, text = model("Your text here")
# Save to file (requires soundfile)
model.save_audio(audio, "output.wav")
from kani_tts import KaniTTS
model = KaniTTS(
'nineninesix/kani-tts-400m-ar',
temperature=0.7, # Control randomness (default: 1.0)
top_p=0.9, # Nucleus sampling (default: 0.95)
max_new_tokens=2000, # Max audio length (default: 1200)
repetition_penalty=1.2, # Prevent repetition (default: 1.1)
suppress_logs=True, # Suppress library logs (default: True)
show_info=True, # Show model info on init (default: True)
)
audio, text = model("Your text here")
You can listen to generated audio directly in Jupyter notebooks or IPython:
from kani_tts import KaniTTS
from IPython.display import Audio as aplay
model = KaniTTS('nineninesix/kani-tts-400m-ar')
audio, text = model("Your text here")
# Play audio in notebook
aplay(audio, rate=model.sample_rate)
For optimal pronunciation quality, we strongly recommend using Arabic text with diacritical marks (تشكيل/tashkeel).
Arabic text without diacritics can lead to ambiguous pronunciations. The model performs significantly better when diacritics are provided, as they explicitly indicate:
Without diacritics (less accurate):
أما أخوه غير الشقيق توماس، فكان يعيش حياةً طيبة في لندن، وكان مستعداً لمساعدته بما يلزم.
❌ May mispronounce words like "مستعداً" as "مستعدة"
With diacritics (much better):
أَمَّا أَخوهُ غَيْرُ الشَّقِيقِ تُوماسُ، فَكانَ يَعيشُ حَياةً طَيِّبَةً في لَنْدَنَ، وَكانَ مُسْتَعِدًّا لِمُساعَدَتِهِ بِما يَلْزَمُ.
✅ Produces accurate, natural pronunciation
You can use AI language models or specialized tools to automatically add diacritics to undiacritized Arabic text:
pyarabic or camel-toolsNote: While the model can handle undiacritized text, pronunciation quality will be noticeably lower, especially for words with multiple possible vowelizations.
| Text | Audio |
|---|---|
| مرحباً، اسمي تارا، وأنا نموذج لتوليد الصوت يمكنه أن يتحدث كالبشر تماماً. | |
| زقزقت عصافيرٌ مرِحة هذا الصباح على شجرة البلوط العتيقة خارج نافذتي. | |
| يا عزيزي، ما زلت لا أشعر بتحسن... سأذهب للنوم. | |
| أما أخوه غير الشقيق توماس، فكان يعيش حياةً طيبة في لندن، وكان مستعداً لمساعدته بما يلزم. |
Models:
Examples:
Links:
Built on top of LiquidAI LFM2 350M as the backbone and Nvidia NanoCodec for audio processing.
Prohibited activities include:
By using this model, you agree to comply with these restrictions and all applicable laws.
Have a question, feedback, or need support? Please fill out our contact form and we'll get back to you as soon as possible.
@inproceedings{emilialarge,
author={He, Haorui and Shang, Zengqiang and Wang, Chaoren and Li, Xuyuan and Gu, Yicheng and Hua, Hua and Liu, Liwei and Yang, Chen and Li, Jiaqi and Shi, Peiyang and Wang, Yuancheng and Chen, Kai and Zhang, Pengyuan and Wu, Zhizheng},
title={Emilia: A Large-Scale, Extensive, Multilingual, and Diverse Dataset for Speech Generation},
booktitle={arXiv:2501.15907},
year={2025}
}
@article{emonet_voice_2025,
author={Schuhmann, Christoph and Kaczmarczyk, Robert and Rabby, Gollam and Friedrich, Felix and Kraus, Maurice and Nadi, Kourosh and Nguyen, Huu and Kersting, Kristian and Auer, Sören},
title={EmoNet-Voice: A Fine-Grained, Expert-Verified Benchmark for Speech Emotion Detection},
journal={arXiv preprint arXiv:2506.09827},
year={2025}
}
@dataset{masrispeech_full,
author = {Yahya Muhammad Alnwsany},
title = {MasriSpeech-Full: Large-Scale Egyptian Arabic Speech Corpus},
year = {2025},
publisher = {Hugging Face},
url = {https://huggingface.co/collections/NightPrince/masrispeech-dataset-68594e59e46fd12c723f1544}
}
@misc{linagora2024Linto-tn,
title = {LinTO Audio and Textual Datasets to Train and Evaluate Automatic Speech Recognition in Tunisian Arabic Dialect},
author = {Hedi Naouara and Jérôme Louradour and Jean-Pierre Lorré},
year = {2025},
month = {March},
eprint={2504.02604},
archivePrefix={arXiv},
primaryClass={cs.CL},
note={Good Data Workshop, AAAI 2025},
url={arxiv.org/abs/2504.02604},
}
@misc{abdallah2023leveraging,
title={Leveraging Data Collection and Unsupervised Learning for Code-switched Tunisian Arabic Automatic Speech Recognition},
author={Ahmed Amine Ben Abdallah and Ata Kabboudi and Amir Kanoun and Salah Zaiem},
year={2023},
eprint={2309.11327},
archivePrefix={arXiv},
primaryClass={eess.AS}
}
@data{e1qb-jv46-21,
doi = {10.21227/e1qb-jv46},
url = {https://dx.doi.org/10.21227/e1qb-jv46},
author = {Al-Fetyani, Mohammad and Al-Barham, Muhammad and Abandah, Gheith and Alsharkawi, Adham and Dawas, Maha},
publisher = {IEEE Dataport},
title = {MASC: Massive Arabic Speech Corpus},
year = {2021}
}
@misc{toyin2025arvoicemultispeakerdatasetarabic,
title={ArVoice: A Multi-Speaker Dataset for Arabic Speech Synthesis},
author={Hawau Olamide Toyin and Rufael Marew and Humaid Alblooshi and Samar M. Magdy and Hanan Aldarmaki},
year={2025},
eprint={2505.20506},
archivePrefix={arXiv},
primaryClass={cs.CL},
url={https://arxiv.org/abs/2505.20506},
}