Free TTS Studio — two open models, zero servers, zero cost

booting…
Both engines run entirely inside your browser (WebAssembly / WebGPU). No API key, no backend, no GPU rental — which is what makes this deployable on Hugging Face's free Static Space tier. Text you type never leaves this device.
Apache 2.0 · Kokoro MIT · Piper voices Runs on free HF static tier Works offline after first load WAV download
Pick an engine, press “Prepare engine”, then “Generate speech”.

Why there is no HTTP endpoint here

Hugging Face now requires a PRO subscription for every Space that executes code — Docker Spaces, Gradio Spaces and ZeroGPU all return “PRO required” on a free account (ZeroGPU additionally needs a 30-day-old account or a community grant). Free accounts can only host Static Spaces, which serve files without a server process. So the only way to get free TTS on this account is to move the inference into the visitor's browser — which is exactly what this page does. If you later want a real /v1/audio/speech endpoint, the same two models run as Docker services on Render/Koyeb free tiers (Piper fits 512 MB; Kokoro wants ~2 GB).

Engine comparison

—Kokoro-82MPiper (VITS)
Model size in browser~92 MB (q8) / ~330 MB (fp32)~20 MB (low) – ~63 MB (medium)
Runtimetransformers.js (WebGPU or WASM)onnxruntime-web (WASM)
Voices / languages54 voices · 8 languages100+ voices · 35+ languages
Speed controlYes (0.5×–2×)Not exposed by the browser build
QualityTop-tier for its size (AA Speech Arena ~1,060 Elo)Good, clearly below Kokoro
Best forNarration, agents, anything that must sound goodAncient laptops, phones, 30+ languages
LicenseApache 2.0MIT (voices), engine GPL-3.0