Instructions to use 6l3m/kairos-voice with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Pocket-TTS
How to use 6l3m/kairos-voice with Pocket-TTS:
from pocket_tts import TTSModel import scipy.io.wavfile tts_model = TTSModel.load_model("6l3m/kairos-voice") voice_state = tts_model.get_state_for_audio_prompt( "hf://kyutai/tts-voices/alba-mackenna/casual.wav" ) audio = tts_model.generate_audio(voice_state, "Hello world, this is a test.") # Audio is a 1D torch tensor containing PCM data. scipy.io.wavfile.write("output.wav", tts_model.sample_rate, audio.numpy()) - Notebooks
- Google Colab
- Kaggle
kairos-voice
Kyutai's Pocket TTS for the browser, French and English, mirrored so the kaairos video editor downloads files that cannot change under it. It reads a voiceover's words on the visitor's own machine, on onnxruntime-web 1.30 (WebAssembly, one thread), and nothing is sent anywhere.
Files
Two bundles in the volume-board/pocket-tts-onnx@1 format, one per language: the flow language model's backbone
and flow head and the Mimi decoder (int8), the text embedding table (float16), the tokenizer, one predefined voice
(the flow model's attention cache after hearing the speaker, float16) and a manifest of shapes and generation
settings.
| folder | from | voice |
|---|---|---|
fr/ |
Vincweb/pocket-tts-french-onnx, byte for byte | Estelle |
en/ |
exported from Kyutai's English weights with the same scripts (below) | Alba |
The sha256 of every file is in the kaairos repository, training/voice/export.sha256.
What it is, and the terms
- Pocket TTS โ Kyutai (kyutai-labs/pocket-tts, weights
kyutai/pocket-tts-without-voice-cloning),
CC BY 4.0. French weights at revision
1e08e6a23401048648a9fdcfde2f89348215c2a7, English ata7056f505a4a8ca72d8b5fb1440071d6f1a35739. - Changes made: a format conversion, not a new model โ the PyTorch modules exported to ONNX with their streaming
state as graph inputs and outputs, then dynamic int8 quantisation of the MatMul and Gemm weights
(
onnxruntime.quantization.quantize_dynamic). French converted by Vincweb; English by the kaairos project with Vincweb's scripts, pocket-tts 4.0.1, torch 2.14.1 (CPU). The English export was checked against PyTorch on one flow step (max difference 1.5e-6, end-of-speech logit โ10.7658 both). - Voices: Estelle โ
kyutai/tts-voices,unmute-prod-website/developpeuse-3.wav, CC0. Alba โ Alba Mackenna,kyutai/tts-voices,alba-mackenna/casual.wav, CC BY 4.0. - Kyutai asks, and so does this mirror: no voice impersonation or cloning without explicit and lawful consent, no deceptive use, and no presenting generated speech as a genuine recording of a real person or event.
Model tree for 6l3m/kairos-voice
Base model
kyutai/pocket-tts-without-voice-cloning