text-to-speech · 15M StyleTTS 2 · 8 voices · 24 kHz · WASM · ~27.6 MB
KittenTTS Nano 0.8
KittenTTS Nano 0.8 packs a realistic 15M-parameter StyleTTS 2 voice synthesizer and 8 expressive English speakers into just 27.6 MB total (int8 ONNX + NumPy style bank) — synthesizing natural 24 kHz speech faster than real time on plain CPU WebAssembly with pure-WASM eSpeak-NG IPA phonemization and zero server calls.
At a glance
| Canonical model |
KittenML/kitten-tts-nano-0.8-int8
(commit 84781d7 · StyleTTS 2 ONNX2)
|
|---|---|
| Task | text-to-speech (24 kHz neural speech synthesis) |
| Runtime |
onnxruntime-web@1.21.0 (raw ORT WASM EP) +
phonemizer@1.2.1 (Apache-2.0 pure-WASM eSpeak-NG en-us IPA)
|
| Backend / dtype | WebAssembly (wasm) · int8 ONNX (no WebGPU required) |
| Download |
27.6 MB decimal (kitten_tts_nano_v0_8.onnx 24.37 MB +
voices.npz 3.28 MB + config.json 0.001 MB)
|
| Input tensors |
input_ids (int64 [1, T] wrapped [0, ...ipaIds, 10, 0]),
style (float32 [1, 256] row min(len, 399)),
speed (float32 [1] scaled by per-voice speed_prior)
|
| Output tensors |
waveform (24000 Hz mono float32, trailing 5,000 samples trimmed),
duration
|
| Voices | 8 speakers: Bella, Jasper, Luna, Bruno, Rosie, Hugo (0.9 speed prior), Kiki, Leo |
| License | Apache-2.0 (model weights + phonemizer) |
27.6 MB 8-Voice Speech Studio
Download or initialise KittenTTS Nano 0.8 (~27.6 MB) above to begin.
Run synthesis to inspect live IPA phonemes, token IDs, and style row lookup.
Use-case ladder
Basics · IPA Phoneme & Speed-Prior Inspector
Trace text normalization, eSpeak-NG IPA, StyleTTS 2 token IDs, voices.npz ref_id lookup, and run a 3-point speed sweep (0.75× / 1.00× / 1.25×).
Practical · 8-Voice Scripted Dialogue & Audio Story Studio
Assign any of the 8 voices line-by-line with custom pauses, synthesize sequentially off-thread, inspect the unified timeline, and export one 24 kHz .wav.
Wild · Voice Embedding Morphing & Latent Speaker Blender
Interpolate two or three real 256-dim StyleTTS 2 speaker vectors from voices.npz before ONNX inference, then route the hybrid voice through Web Audio FX.
Multi-model · TTS → ASR Intelligibility & WER Loopback Lab
Chain KittenTTS Nano 0.8 (27.6 MB) into Moonshine Base ASR (68 MB) via 24→16 kHz resampling to measure real Word Error Rate and word-level diff.