Views
No views yet

| 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 |
1pip install kani-tts
2pip install -U "transformers==4.57.1" # for LFM2 !!!1from kani_tts import KaniTTS
2
3model = KaniTTS('nineninesix/kani-tts-400m-en')
4
5# Generate audio from text
6audio, text = model("Hello, world!")
7
8# Save to file (requires soundfile)
9model.save_audio(audio, "output.wav")1from kani_tts import KaniTTS
2
3model = KaniTTS('nineninesix/kani-tts-400m-en')
4
5# Check if model supports multiple speakers
6print(f"Model type: {model.status}") # 'singlspeaker' or 'multispeaker'
7
8# Display available speakers (pretty formatted)
9model.show_speakers()
10
11# Or access the speaker list directly
12print(model.speaker_list) # ['andrew', 'katie']
13
14# Generate audio with a specific speaker
15audio, text = model("Hello, world!", speaker_id="andrew")1from kani_tts import KaniTTS
2
3model = KaniTTS(
4 'your-model-name',
5 temperature=0.7, # Control randomness (default: 1.0)
6 top_p=0.9, # Nucleus sampling (default: 0.95)
7 max_new_tokens=2000, # Max audio length (default: 1200)
8 repetition_penalty=1.2, # Prevent repetition (default: 1.1)
9 suppress_logs=True, # Suppress library logs (default: True)
10 show_info=True, # Show model info on init (default: True)
11)
12
13audio, text = model("Your text here")1from kani_tts import KaniTTS
2from IPython.display import Audio as aplay
3
4model = KaniTTS('your-model-name')
5audio, text = model("Hello, world!")
6
7# Play audio in notebook
8aplay(audio, rate=model.sample_rate)andrewkatie| Text | Audio |
|---|---|
| Holy fu- Oh my God! Don't you understand how dangerous it is? | |
| Colleges of Oxford, Cambridge, Durham and the University of the Highlands and Islands UHI are 'listed bodies', as bodies that appear to the Secretary of State to be constituent colleges, schools, halls or other institutions of a university. | |
| A joyful flock of sparrows chirped merrily in the old oak tree outside my window this morning. | |
| Darlin', I still ain't feelin' so well. I'm goin' to bed. |
@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}
}