remsky/Kokoro-FastAPI

Dockerized OpenAI-compatible wrapper for Kokoro-82M text-to-speech w/multiplatform CPU, AMD, NVIDIA GPU PyTorch; multi-speaker, clone-tuning, caption...

View on GitHub ↗Jump to charts ↓Open shareable report

Summary Information

Updated 15 minutes ago
Added to GitGenius on September 12th, 2026
Created on December 30th, 2024
Open Issues & Pull Requests: 12 (+0)
GitHub issues: Enabled
Number of forks: 897
Total Stargazers: 5,434 (+0)
Total Subscribers: 36 (+0)

Repository Insights (GitGenius)

Median issue/PR response: 8.8 hours
Mean response time: 36.0 days
90th percentile: 103.4 days
Tracked items: 277

How this project is maintained

Around half of the issues opened in the past year never receive a reply. Only 7% of issues opened in the past year have been closed. Three people close 84% of everything that gets resolved.

Charts & Analytics

Fetching additional details & charts...

Issue Activity (beta)

Open issues: 9
New in 7 days: 3
Closed in 7 days: 12
Avg open age: 417 days
Stale 30+ days: 5
Stale 90+ days: 5

Recent activity

Opened in 7 days: 3
Closed in 7 days: 11
Comments in 7 days: 0
Events in 7 days: 0

Top labels

  • enhancement (18)
  • bug (11)
  • in-progress (10)
  • good first issue (7)
  • need-info (7)
  • system-compatibility (6)
  • automation (4)
  • merge-failed (4)

Detailed Description

Kokoro-FastAPI is a text-to-speech API server that wraps the Kokoro-82M model in a Dockerized FastAPI application.

The tool solves the problem of generating high-quality speech from text by providing an OpenAI-compatible API endpoint around Kokoro-82M, a lightweight text-to-speech model. It supports multiple languages including English, Spanish, French, Hindi, Italian, Japanese, Brazilian Portuguese, and Mandarin Chinese. The approach works by containerizing the model with prebuilt Docker images optimized for different hardware platforms, allowing users to deploy it locally without managing dependencies manually. Beyond basic speech generation, the tool offers custom voice creation through clone-tuning, per-word or per-chunk timestamped captions, inline multi-speaker generation with voice mixing, SSML support, and phoneme-level control.

Adoption suits developers building voice features into applications who want a self-hosted alternative to cloud APIs. The project is particularly valuable for those integrating with Home Assistant, building audiobook or ebook readers, creating AI assistants, or developing browser extensions. The prebuilt multiplatform images support CPU inference on both x86_64 and ARM64 architectures, NVIDIA GPUs across multiple CUDA versions including recent Blackwell hardware, experimental AMD ROCm support, and Apple Silicon via native MPS. An optional integrated web UI with read-along functionality is included for long-form generation tasks.

Development shows consistent maintenance with regular updates to support new hardware generations and integration patterns. The project maintains comprehensive Docker image variants across multiple platforms and GPU architectures, indicating active attention to deployment scenarios. Community adoption is evidenced by integration into established platforms like Home Assistant, Umbrel, Unraid, and various specialized applications for reading, audiobooks, and AI assistants. The README documents multiple integration paths and community projects, suggesting the maintainer actively tracks and supports ecosystem growth.