AI Tools Voice TTS STT - spinningideas/resources GitHub Wiki

Local TTS & STT Models

Below are the models that can run all inference in-browser via ONNX/onnxruntime-web - WebGPU preferred, WASM fallback. No server-side or desktop-runtime voice components. Models are free (open weights) and downloaded from Hugging Face (or equivalent) on user opt-in.


Speech-to-Text (STT / ASR)

Selected: Moonshine

Model Moonshine - onnx-community/moonshine-tiny-ONNX (27M params, ~50MB) / moonshine-base-ONNX (61M, ~120MB)
Lab / provider Useful Sensors - Pete Warden's on-device AI company (ex-Google TensorFlow Lite Micro lead). ONNX exports published under Hugging Face's onnx-community org.
License MIT
Runtime path transformers.js (native support since PR #1099), WebGPU + WASM. Official moonshine-web demo in transformers.js-examples.
Why selected Purpose-built for real-time on-device ASR - faster and more accurate than Whisper on short utterances, which is exactly the voice-command profile ("show military flights", "zoom to"). Tiny download, clean license, mature tooling.
Companion onnx-community/silero-vad (~2MB, Silero Team, MIT) - end-of-speech/turn detection in the same Web Worker; the moonshine-web demo already combines the two.
Caveats English-strong; not streaming-native (segment-based); may mishear domain vocabulary (callsigns, layer names) - fallbacks below.

Strong alternatives (all free, in-browser ONNX verified)

Model Lab / provider Size License Notes
Phonon-2.5 Fermion Research (low-bit ASR lab; engine also powers their Detta dictation app) ~156MB download / ~380MB ONNX Apache-2.0 Parakeet-TDT-derived, 25 languages. Earlier Phonon-1-Micro beat Moonshine-base on all 8 benchmarks. enriqueag/phonon-2.5-onnx verified on onnxruntime-web WebGPU in-browser (2-bit MatMulNBits encoder + int8 decoder). Documented STT upgrade path if Moonshine accuracy disappoints (~3× Moonshine's size).
Parakeet-TDT-0.6B v3 NVIDIA (NeMo team) ~400MB int4 / 1.2GB fp16 CC-BY-4.0 Best available accuracy in this class (~1.7% WER test-clean, 25 langs). Runs via parakeet.js (MIT lib) on onnxruntime-web WebGPU+WASM; timestamps/confidence/streaming helpers. Quality-optimized alternative.
Whisper family OpenAI - ONNX exports via onnx-community/whisper-tiny.en (+base/small) ~40–150MB MIT Universal fallback; best long-form/multilingual accuracy but higher latency and not tuned for short commands. Fallback if Moonshine misses domain vocabulary.
sherpa-onnx streaming ASR k2-fsa (Next-gen Kaldi open-source community, Xiaomi-affiliated) ~12MB runtime + models Apache-2.0 stack Most mature true-streaming pipeline (real partials, built-in endpointing; zipformer transducers). WASM only - no WebGPU, so it fails half the constraint; plan-B if Moonshine's segment-based loop hurts conversational feel.

Recent releases surveyed - ruled out or watch-list

Model Lab / provider License Verdict
Rumble-2-Flash (0.5B, Nov 2026) Reson8 Apache-2.0 Excellent accuracy (6.6% WER EN avg, 40+ langs, beats Whisper large-v3) but transformers-native only - no browser ONNX export yet. Watch-list.
Fluid Speech Pro (0.6B, Nov 2026) FluidVoice Labs CC-BY-4.0 #1 open model <1B on Open ASR Leaderboard (6.06% avg WER). No browser export found. Watch-list.
TranscribePsy-250M (Oct 2026) Tether AI Research (QVAC) - Best-in-class ~250M edge ASR (8.02% WER leaderboard), but GGUF/CoreML only - no ONNX web path. Ruled out.
Phonon-1 / Phonon-1-Micro / Phonon-1-Big Fermion Research Apache-2.0 Superseded by Phonon-2.5 line; English-only.
Vaani-1 Lite Sorika Labs - whisper-small fine-tune for Indian-accented English; niche, not needed.

LiteRT.js STT options (alternative runtime - rejected)

Model Provider Size Notes
litert-community/whisper-tiny .tflite Google AI Edge (litert-community org on HF) ~42MB int8 Verified in-browser via @litertjs/core Web Worker (WebGPU→WASM). Use plain .tflite - .litertlm bundles target LiteRT-LM Omni, not LiteRT.js.
whisper-base, whisper-large-v3, whisper-large-v3-turbo Same 0.7–1.6GB Base usable; large variants too heavy for browser.

No .tflite exports of Moonshine, Phonon, or Parakeet exist.

Supporting component: VAD

  • silero-vad - Silero Team, MIT, ~2MB ONNX via onnx-community. Detects end-of-speech for turn-taking; runs in the same Web Worker as the ASR. Required to map onto GEV's src/voice/* turn/input-policy semantics.

Text-to-Speech (TTS)

Selected: Pocket TTS (English)

Model Pocket TTS - 100M params official; community exports include tiny English variants (18.2M / 6.9M / 1.9M params)
Lab / provider Kyutai - French open-science AI lab (backed by iliad; makers of Moshi/PersonaPlex). Official release Jan 13 2026; official checkpoint is PyTorch (kyutai/pocket-tts, gated).
License MIT code + CC-BY-4.0 weights. Voice collections vary - pick CC0/CC-BY voices only (some collections are non-commercial).
Runtime path Community ONNX exports on HF: vlapky/pocket-tts-onnx (~177MB int8, used by pocket-tts-js npm port), ken107/pocket-tts-onnx (tiny EN variants for onnxruntime-web), justdataplz/pocket-tts-web, jean-is/pocket-tts-q8-ONNX. Runs well on plain WASM/CPU - pin revision SHAs (community conversions, third-party artifacts).
Size ~50–230MB depending on variant; ~120–230MB for full-quality EN
Why selected ~200ms first-chunk streaming, ~6× realtime on CPU, voice selection (bundled voices + cloning support) satisfying the voice-picker requirement.
Caveats Community-converted weights (verify provenance); HF download gated; tiny variants trade quality for size; English-focused.

Strong alternatives (all free, in-browser ONNX verified)

Model Lab / provider Size License Notes
Soprano-1.1-80M (Jan 2026) ekwek (independent developer) ~80M params Apache-2.0 Fastest TTS surveyed - 20× realtime on CPU, <250ms CPU first-chunk, lossless streaming, 32kHz. Browser ONNX exports exist: KevinAHM/soprano-1.1-onnx (WASM) and danyalmalik/Soprano-1.1-80M-ONNX-WebGPU (int4 WebGPU via onnxruntime-web). English-only, single voice, no cloning - fails the voice-picker requirement; strongest candidate if voice-picking is descoped.
Kokoro-82M v1.0 hexgrad (community release; ONNX exports via onnx-community) q8=88MB / fp32=310MB; voices 510KB each (~50 available) Apache-2.0 Most natural quality per MB; kokoro-js (on transformers.js), streaming via TextSplitterStream, near-realtime WebGPU. Caveat: ORT WebGPU ConvTranspose bug corrupts vocoder on some GPUs - patched export DevAmarnadhCG/Kokoro-82M-v1.0-ONNX-webgpu; fp16/q4f16 NaN on WebGPU → fp32 WebGPU / q8 WASM. Cleanest-licensing fallback pair with Moonshine.
Supertonic 3 Supertone (Korean TTS company) ~400MB MIT code + OpenRAIL-M weights 31 languages, 263 voice styles, official onnxruntime-web browser SDK, voice cloning via style JSON. Repo archived - weights downloadable but maintenance unclear.
Piper / VITS (via sherpa-onnx) Michael Hansen / rhasspy → Open Home Foundation (OHF Voice) ~60–100MB MIT Tiny, fast, streaming; robotic-ish vs newer models. WASM-only - plan-B.
SpeechT5 Microsoft ~230MB MIT transformers.js demo model; poor quality vs modern options - excluded.

Recent releases surveyed - ruled out

Model Lab / provider License Verdict
Qwen3-TTS (0.6B/1.7B, Jan 2026) Alibaba (Qwen team) Apache-2.0 SOTA multilingual + voice design/cloning, but 2.5–4.5GB - too heavy for browser.
Kani-TTS-2 (400M, Feb 2026) nineninesix.ai Apache-2.0 Built on LiquidAI LFM2 backbone + NVIDIA NanoCodec; zero-shot cloning; GPU-focused (3GB VRAM), no browser ONNX path.

LiteRT.js TTS options (alternative runtime)

See https://developers.google.com/edge/litert/web and https://github.com/google-ai-edge/LiteRT/tree/main

Model Provider Status
litert-community/Matcha-TTS Google AI Edge conversion of Matcha-TTS (academic CFM model, Shivam Mehta et al.) + HiFi-GAN vocoder Only browser-verified LiteRT TTS - published Chromium WebGPU benchmarks (vocoder ~104ms p50) + live demo on google-ai-edge.github.io. 22kHz, single LJSpeech voice - fails voice-picker; quality below modern options.
litert-community/sopro-v2-turbo Conversion of Samuel Vitorino's Sopro v2 (independent), Apache-2.0 Streaming vocoder, voice cloning, EN/PT/FR/DE - CompiledModel API; browser run unverified (would need own validation).
litert-community/Qwen3-TTS-0.6B Google AI Edge ~1.4GB int4; desktop-Python reference only.
litert-community/Ming-3.0-tts-0.5B Ant Group / inclusionAI (Ming line), LiteRT conversion Mobile/NPU-targeted (Galaxy S26 GPU+NPU measurements).

Unified models (one model, both directions)

Model Lab / provider Size License Verdict
LFM2.5-Audio-1.5B Liquid AI ~1.5GB Q4 LFM Open License v1.0 (Apache-based; free <$10M/yr revenue) Only real in-browser unified model (ASR+TTS+interleaved voice chat; LiquidAI/LFM2.5-Audio-1.5B-transformers-js demo). Rejected: WebGPU-only (no WASM fallback at 1.5GB), English-only, raw onnxruntime-web (no transformers.js pipeline API), deprecated checkpoint - revisit when LFM3-Audio-2B ships a browser export.
GPA v1.5 (0.6B) AutoArk - - Claims ONNX + browser UI; unverified quality/community. Watch-list.
Moshi / PersonaPlex WebGPU Kyutai 7B→3.5GB GGUF CC-BY Experimental Q4_K WebGPU demo exists; too heavy, research-grade.
Qwen3-Omni, MiniCPM-o Alibaba / OpenBMB (Tsinghua-affiliated) 2–8B Apache-2.0 PyTorch/GGUF only - no browser ONNX path.
UniVoice, StreamSpeech Academic projects - - No browser path.

Runtimes & tooling providers

Runtime / lib Provider Role in plan
onnxruntime-web Microsoft (ONNX Runtime) Selected runtime - WASM + WebGPU EPs; MatMulNBits contrib op covers low-bit exports (Phonon).
transformers.js (@huggingface/transformers) Hugging Face (Xenova et al.) Pipeline API for Moonshine + silero-vad; built-in Cache API for the R4 opt-in download gate.
pocket-tts-js Community npm port Streams vlapky/pocket-tts-onnx in a Web Worker.
kokoro-js hexgrad/community (on transformers.js) Fallback TTS path.
parakeet.js Community (MIT) Parakeet STT alternative path.
LiteRT.js (@litertjs/core) Google AI Edge Rejected for audio (thin catalog); watch-list for WebNN NPU acceleration or a Soprano-class .tflite export.
sherpa-onnx k2-fsa (Next-gen Kaldi) WASM plan-B streaming suite (ASR + Piper TTS).
audio.cpp HamSanders (Soundbox/Mirli) Native GGML-style runtime - out of scope for browser; Soundbox mined for API shape (/v1/audio/speech, /v1/audio/transcriptions), MCP docs, and license-badge UX pattern.

Reference implementations inspected

  • webml-community/moonshine-web - VAD + STT browser demo (transformers.js-examples)
  • hexgrad/kokoro - kokoro.js library + streaming docs
  • KevinAHM/soprano-web-onnx + danyalmalik/Soprano-1.1-80M-ONNX-WebGPU - browser Soprano exports
  • enriqueag/phonon-2.5-onnx - browser-verified Phonon export w/ conversion scripts
  • nickolasbossinas/s2s - full-duplex sherpa-onnx loop
  • nghimestudio/nghitts - Piper + ASR browser app
  • google-ai-edge.github.io/litert-samples - LiteRT.js web demos (Matcha-TTS live)

License quick reference

Tier Models
Permissive, no strings Moonshine (MIT), Whisper (MIT), Kokoro (Apache-2.0), Soprano (Apache-2.0), Phonon (Apache-2.0), Qwen3-TTS (Apache-2.0), Kani-TTS-2 (Apache-2.0), Rumble-2-Flash (Apache-2.0), Piper (MIT), silero-vad (MIT), sherpa-onnx (Apache-2.0)
Attribution Parakeet (CC-BY-4.0), Pocket TTS weights (CC-BY-4.0), Fluid Speech Pro (CC-BY-4.0)
Attribution + usage restrictions Supertonic 3 (OpenRAIL-M)
Revenue threshold LFM2.5/LFM3-Audio (LFM Open License - free <$10M/yr)
Per-voice checks needed Pocket TTS voice collections (some CC-BY-NC - ship CC0/CC-BY only)

Apps (end-user TTS & STT applications)

Voice studios (all-in-one: TTS + STT + cloning)

  • debpalash/VoiceStudio (~117k★, AGPL-3.0; Electron + Docker) — open-source, fully-local ElevenLabs alternative: voice cloning, voice design, video dubbing, dictation, transcription & audiobook creation in 646 languages. Default OmniVoice engine (k2-fsa) + model manager for dozens of other engines; local API, MCP, watch folders. Caveat: default OmniVoice weights are CC-BY-NC — check per-model licenses in the Model Manager.
  • jamiepine/voicebox (~61k★, MIT; Tauri) — local-first voice studio, an ElevenLabs + WisprFlow alternative in one app: clone voices from a few seconds of audio, 8 TTS engines (Qwen3-TTS, Chatterbox, Kokoro, LuxTTS...), 23 languages, expressive tags ([laugh], [sigh]), stories/podcast timeline editor, global dictation hotkey, bundled local LLM for text refinement, and an MCP server so agents can speak.
  • HamSanders/soundbox — free, open-source, local alternative to ElevenLabs and Suno: AI sound effects, music with lyrics, text-to-speech and voice cloning on your own GPU (Stable Audio, ACE-Step and more). No account, no credits, offline. Windows/macOS app, HTTP API and a 24-tool MCP server for Claude Code and Cursor.

Dictation & transcription (STT)

  • cjpais/Handy (~40k★, MIT; Tauri) — the leading offline push-to-talk dictation app: hold a hotkey, speak, text lands in any field. Silero VAD + Whisper or Parakeet V3, GPU-accelerated, Windows/macOS/Linux.
  • chidiwilliams/buzz (~23k★, MIT) — offline file/mic transcription & translation desktop app: speaker identification, live-caption presentation window, watch folders, CLI and plugin system. Backends: Whisper, whisper.cpp (Vulkan), faster-whisper, HF models, Parakeet, Qwen3-ASR, VibeVoice-ASR, FunASR.
  • OpenWhispr/openwhispr (MIT) — privacy-first dictation + meeting notes: local Whisper/Parakeet/Cohere or cloud BYOK, speaker diarization and semantic search, GPU acceleration on Metal/CUDA/Vulkan. macOS/Windows/Linux.
  • homelab-00/TranscriptionSuite (~800★, GPL-3.0) — local long-form transcription with diarization and calendar mode; Electron dashboard + Python server backend (Whisper, NVIDIA NeMo, SenseVoice, VibeVoice-ASR, whisper.cpp, MLX) on CUDA/Metal/Vulkan or CPU, Dockerized setup.

Voice cloning & conversion

  • RVC-Boss/GPT-SoVITS (~65k★, MIT) — few-shot voice cloning + TTS WebUI: 5s zero-shot or ~1 min fine-tune, EN/JA/KO/zh/yue, integrated dataset-prep tools (vocal separation, ASR, auto-slicing).
  • RVC-Project/Retrieval-based-Voice-Conversion-WebUI (~39k★, MIT) — real-time voice changer: ~90–170ms end-to-end latency, trains VC models from ≤10 min of speech, RMVPE pitch extraction, vocal/accompaniment separation, model fusion.

Audiobook production

  • DrewThomasson/ebook2audiobook (~20k★, Apache-2.0) — ebook → chaptered audiobook with metadata, 50+ TTS engines with voice cloning, 1696 languages, runs on 2GB RAM / 1GB VRAM; Gradio web UI, CLI and Docker. (Non-DRM ebooks only.)

Self-hosted voice API servers

  • speaches-ai/speaches (~3.8k★, MIT) — OpenAI-compatible local STT/TTS server ("Ollama for speech"): faster-whisper STT + Piper/Kokoro TTS, SSE streaming, Realtime API, dynamic model load/offload, Docker. Drop-in backend for any OpenAI-audio client.
  • remsky/Kokoro-FastAPI — Dockerized OpenAI-compatible wrapper for Kokoro-82M TTS: multi-speaker inline generation and voice mixing, SSML, per-word caption timestamps, ElevenLabs/Cartesia-compatible websockets for voice agents (LiveKit, Pipecat); CPU/CUDA/ROCm images.

Last updated: post-Jan/Feb-2026 survey. Model landscape moves fast - re-run this survey as needed.