K
remsky/Kokoro-FastAPI★ 5,756 · Python
Self-hosted Kokoro-82M speech inference over OpenAI-compatible HTTP and voice WebSockets
Apache-2.0 · Commercial Friendlyv0.10.0
Side-by-side 2026 comparison in Voice, Vision & Video: jamiepine/voicebox leads both total GitHub adoption (★ 61.8k) and recent 7-day momentum. Licensing: Apache-2.0 · Commercial Friendly vs MIT · Commercial Friendly.
Self-hosted Kokoro-82M speech inference over OpenAI-compatible HTTP and voice WebSockets
Local-first voice studio with multi-engine speech synthesis, dictation and MCP.
Backed by independent 6-hour D1 snapshots. Embed in GitHub READMEs or technical blogs.
| Dimension | remsky/Kokoro-FastAPI | jamiepine/voicebox |
|---|---|---|
| Total GitHub Stars | ★ 5,756 | ★ 61,773 |
| 24h / 7d Velocity | +2 / +14 | +40 / +437 |
| 7-Day Trend Curve | ||
| Engineering Health | A+ · 97/100 | A+ · 98/100 |
| Deployment Signals | Self-Hosted · Docker · GPU · API | Docker · Self-Hosted · MCP · Local AI · GPU · API |
| Primary Language | Python | Python |
| Commercial License | Apache-2.0 · Commercial Friendly | MIT · Commercial Friendly |
| Activity | Updated 3d ago | Updated today |
| Latest Release | v0.10.0 | v0.7.1 |
| Best For | Teams adding local streaming TTS to voice agents, smart-home assistants, readers, or audiobook pipelines that can use Kokoro voices and have time to test target hardware | Creators working with authorized voices, teams that want recordings processed locally, and developers adding speech and transcription to MCP agents or OpenAI-compatible audio clients |
/v1/audio/speech supports OpenAI SDK streaming with MP3, WAV, Opus, FLAC, AAC, and PCM output./v1/realtime and ElevenLabs- and Cartesia-compatible WebSockets for voice agents.af_bella(2)+af_heart(1), shorten names with request-scoped aliases, or export a mix as a .pt file.docker run -p 8880:8880 ghcr.io/remsky/kokoro-fastapi-cpu:latest
# Generate speech curl -X POST http://127.0.0.1:17493/generate \ -H "Content-Type: application/json" \ -d '{"text": "Hello world", "profile_id": "abc123", "language": "en"}' # Agent voice output — any app or script can speak in a cloned voice curl -X POST http://127.0.0.1:17493/speak \ -H "Content-Type: application/json" \ -H "X-Voicebox-Client-Id: my-script" \ -d '{"text": "Deploy complete.", "profile": "Morgan"}' # Transcribe an audio file curl -X POST http://127.0.0.1:17493/transcribe \ -F "file=@recording.wav" \ -F "model=turbo" # List voice profiles curl http://127.0.0.1:17493/profiles # OpenAI-compatible text-to-speech (any OpenAI TTS client works with base URL http://127.0.0.1:17493/v1) curl -X POST http://127.0.0.1:17493/v1/audio/speech \ -H "Content-Type: application/json" \ -d '{"model": "tts-1", "voice": "Morgan", "input": "Hello world"}' \ --output hel
Signal-only digest of fast-growing AI repos, SPDX license alerts, and architecture picks. Zero spam.
Zero spam · 1-click unsubscribe · Privacy Policy