text-to-speech · 7.2M params · 4 English voices · 24 kHz · CPU WASM int8 · 13.5 MB · Apache-2.0

Kitten TTS 2 Pico: 13.5 MB CPU WASM Speech Synthesis

Kitten TTS 2 Pico (KittenML/kitten-tts-2-pico, 7.2M parameters, Apache-2.0) synthesizes expressive 24 kHz English speech faster than real time on plain CPU WebAssembly — bundling an int8 ONNX acoustic/iSTFTNet graph, four character voice banks, and the Misaki US pronunciation dictionary into just 13.46 MB with zero server calls.

At a glance

Kitten TTS 2 Pico model specifications and browser runtime contract
Canonical model KittenML/kitten-tts-2-pico (commit a5632de · KITTEN2_TINY · 7.2M params · ALBERT text encoder + istftnet_mini_2 vocoder)
Task & license text-to-speech (24 kHz mono neural speech synthesis) · apache-2.0
Backend & dtype CPU WebAssembly (wasm) · int8 symmetric per-channel ONNX via isolated onnxruntime-web@1.21.0 (no WebGPU required; the 4 MB int4 variant is rejected by ORT 1.21.0 due to duplicate node name /GatherSliceToSplitFusion/)
Browser download 13.46 MB decimal (13.5 MB catalogue = 13,463,179 B): kitten_tts_2_pico_en.onnx 7.95 MB + voices_en.npz 2.09 MB + g2p/cmu_misaki_us.json 3.42 MB + vocab.json 1.3 KB
Voices & I/O tensors 4 English speakers (Eleanor, Edith, Otis, Frank) · inputs: input_ids (int64 [1, T]), style (float32 [1, 256]), speed (float32 [1]) · output: waveform (24000 Hz mono float32, 3,600-sample tail trimmed)

1 · Live 13.5 MB 24 kHz Speech Studio

Prompt presets
Select English speaker (voices_en.npz style bank)

Download or initialise Kitten TTS 2 Pico (13.46 MB int8 CPU WASM) above to begin.

Synthesis time–
Audio length–
Real-time factor–
Sample rate24,000 Hz
Spectral centroid–
RMS / Peak · NaN–

2 · See inside: Misaki US G2P IPA & style vector lookup

Each chunk is normalized, converted to Misaki US IPA symbols using the bundled 3.42 MB CMU dictionary (with rule-based OOV fallback), mapped to vocab.json IDs wrapped with pad [0, …, 0], and paired with row min(len, rows-1) from voices_en.npz.

Normalized spoken text

Run synthesis to inspect normalized text and acoustic tokens.

Misaki US IPA phoneme sequence sent to ONNX

Run synthesis to inspect live IPA phonemes, token IDs, and style row index.

Speaker · Style row–
IPA tokens–
Dictionary / OOV–
Runtime · Clipping–

3 · Use-case ladder

4 · Inspect worker, ONNX synthesis & lifecycle code

Show the code · worker.js — ensureLoaded() (epoch-guarded ORT 1.21.0 WASM + Cache Storage)
Show the code · worker.js — synthesize() (Misaki G2P, style lookup & 24 kHz PCM stats)
Show the code · pico.js — KittenPicoEngine (coalesced load, strict FIFO & clean dispose)