Model reference · open weights
kani-tts-2-en is an open-weight audio or speech model from nineninesix. AxForge deploys and operates it for you on dedicated EU-owned hardware — with the licence handled where one is required.
Available as managed deployment — configured and operated for you on dedicated EU hardware, quoted per deployment.
What it is
| Released by | nineninesix |
|---|---|
| Type | Audio & music |
| Task | Text→speech |
| Parameters (lead) | 370M |
| Context | 125k tokens |
| Runs with | transformers |
| Based on | nineninesix/kani-tts-2-pt |
| Released | 2026-02-12 |
| Popularity | 670 downloads / month |
| Licence | Commercial licence needed |
About
KaniTTS2 uses a two-stage pipeline combining a LLM with an FSQ audio codec.
Key Specifications:
| Speaker | Audio |
|---|---|
| 🇺🇸 Frank from Boston | |
| 🇺🇸 Jermaine from Oakland | |
| 🏴 Rory from Glasgow | |
| 🏴 Baddy from Liverpool | |
| 🇺🇸 Chelsea from New York | |
| 🇺🇸 Andrew from San Francisco |
pip install kani-tts-2
pip install -U "transformers==4.56.0"
from kani_tts import KaniTTS
# Initialize model
model = KaniTTS('repo/model')
# Generate speech
audio, text = model("Hello, world!")
# Save to file
model.save_audio(audio, "output.wav")
from kani_tts import KaniTTS, SpeakerEmbedder
# Initialize models
model = KaniTTS('repo/model')
embedder = SpeakerEmbedder()
# Extract speaker embedding from reference audio
speaker_embedding = embedder.embed_audio_file("reference_voice.wav")
# Generate speech with cloned voice
audio, text = model(
"This is a cloned voice speaking!",
speaker_emb=speaker_embedding
)
model.save_audio(audio, "cloned_voice.wav")
For more examples including language tags, generation parameters, and the full API reference, see the kani-tts-2 package.
Nvidia RTX 5080 Benchmarks:
Pretraining:
Models: Pretrained Model, English Model
Github: kani-tts-2 package.
Pretraining Framework Train your own TTS model on your language or accent from scratch using this open-source pretraining framework: KaniTTS2-Pretrain.
Example Dataset: https://huggingface.co/datasets/nineninesix/kanitts2-es-nano-codec-speaker-emb-dataset
Openai compatible streaming API example: https://github.com/nineninesix-ai/kani-tts-2-openai-server
Coming soon.
Coming soon.
Built on top of LiquidAI LFM2 350M as the backbone and Nvidia NanoCodec for audio processing.
Training data provided by the LAION team through the Emilia and EmoNet-Voice datasets.
Speaker embeddings extracted using Orange/Speaker-wavLM-tbr.
@article{liquidai2025lfm2,
title={LFM2 Technical Report},
author={Liquid AI},
journal={arXiv preprint arXiv:2511.23404},
year={2025}
}
@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}
}
@inproceedings{gengembre24_interspeech,
title = {Disentangling prosody and timbre embeddings via voice conversion},
author = {Nicolas Gengembre and Olivier {Le Blouch} and Cédric Gendrot},
year = {2024},
booktitle = {Interspeech 2024},
pages = {2765--2769},
doi = {10.21437/Interspeech.2024-207},
issn = {2958-1796},
}
Prohibited activities include:
By using this model, you agree to comply with these restrictions and all applicable laws.
If you use this code in your research, please cite:
@software{kani_tts_2,
author = {Nineninesix},
title = {KaniTTS2: Text-to-Speech Model with Frame-level Position Encoding},
year = {2026},
publisher = {Hugging Face},
howpublished = {\url{https://github.com/nineninesix-ai/kani-tts-2}},
note = {Open-source TTS model}
}
Have a question, feedback, or need support? Please fill out our contact form and we'll get back to you as soon as possible.
From the published model card. Full card on the HuggingFace links in the sidebar.
Using it via the API
Once AxForge deploys kani-tts-2-en for you, it answers on the OpenAI-compatible API — the same base URL and keys as every other model. (kani-tts-2-en below is illustrative; you get the exact model name on deployment.)
$ curl -sS https://api.axforge.ai/v1/audio/transcriptions \ -H "Authorization: Bearer $AXFORGE_API_KEY" \ -F model="kani-tts-2-en" -F file=@audio.mp3
Create an account — your API key is available in the console. 3M free tokens every 30 days with every new account.