tts-web

Converts text to speech in the browser with two lightweight voice models, multilingual Pocket TTS in review.

Browser-native text-to-speech, 100% client-side via Rust/WASM. Two engines: Pocket TTS (autoregressive, Mimi codec decoder, streaming) and KittenTTS (single forward pass, StyleTTS2 distilled, 14M params). Weights on HuggingFace as GGUF/safetensors; 0.23-0.24 RTF native. Multilingual Pocket TTS (French, German, Spanish, Italian and Portuguese, next to English) is in review, and matches the official implementation frame for frame in F32.

Runs
browser, WASM, native
Demo (GitHub Pages)
https://idle-intelligence.github.io/tts-web/web/
Source
idle-intelligence/tts-web
HuggingFace
idle-intelligence/pocket-tts-gguf
Perf
Pocket TTS: 2.28x realtime in WASM/Chrome (TTFB 0.41s), M-series Mac
Status
maintained

Used on: tts, llm + tts, stt + llm + tts

← Home