LibreAI / Audio / Kokoro-FastAPI
// audio · remsky/Kokoro-FastAPI

Kokoro-FastAPI

Kokoro-FastAPI ist ein Open-Source-Projekt aus der Kategorie Audio von remsky (remsky/Kokoro-FastAPI auf GitHub). Es hat 5.511 Sterne auf GitHub und 908 Forks, wird unter der Lizenz Apache-2.0 veröffentlicht und wurde zuletzt am 1. Oktober 2026 auf GitHub aktualisiert.

Turn the beloved Kokoro voice model into an OpenAI-compatible speech API with one Docker command.

★ 5,5 Tsd. Sterne⑂ 908 ForksApache-2.0aktualisiert Okt 2026
Oberflächen-Screenshot von Kokoro-FastAPI
Bild: Banner from the Kokoro-FastAPI project README (remsky/Kokoro-FastAPI), hotlinked with thanks.
// projektdaten

Projektdaten

GitHub-Sterne
5.511
Forks
908
Lizenz
Apache-2.0
Zuletzt auf GitHub aktualisiert
1. Oktober 2026
Kategorie
Audio
Eintragstyp
Vollständige Installationsanleitung
Offizielle Website
Try the live demo
// so funktioniert es

So funktioniert es

  1. Run one Docker command

    Pull a prebuilt image with the model baked in — CPU, NVIDIA GPU, ARM, and AMD variants exist. The server starts on port 8880.

  2. Point your client at it

    Anything written for OpenAI's /v1/audio/speech endpoint works unchanged — just change the base URL to localhost:8880.

  3. Pick voices and languages

    Choose from built-in voices, blend several into a mix, or generate a custom voicepack with the clone tuner.

  4. Generate with extras

    Request SSML for fine control, or ask for per-word timestamps to build read-along experiences and captions.

// funktionen

Warum es so beliebt ist

OpenAI-compatible API

A drop-in /v1/audio/speech endpoint — swap the URL in existing apps and keep your code.

Eight languages

English (US/GB), Spanish, French, Hindi, Italian, Japanese, Brazilian Portuguese, and Mandarin Chinese.

Voice mixing & cloning

Blend voices with weighted combinations or tune custom voicepacks from samples.

SSML + phonemes

Fine-grained pronunciation control, plus endpoints to generate phonemes from text and back.

Timestamped captions

Per-word or per-chunk captions for read-along UIs, subtitles, and karaoke-style apps.

Runs anywhere

Prebuilt images for CPU, NVIDIA, ARM, and AMD GPUs — plus Apple Silicon support when run directly.

Advertisement
// selbst ausführen

Führe es selbst aus

  1. Step 1 — CPU (laptops, servers)

    Start the CPU image; the model is baked in, so there is nothing else to download.

    docker run -p 8880:8880 ghcr.io/remsky/kokoro-fastapi-cpu:latest
  2. Step 2 — NVIDIA GPU

    Use the GPU image instead for much faster synthesis.

    docker run --gpus all -p 8880:8880 ghcr.io/remsky/kokoro-fastapi-gpu:latest
  3. Step 3 — Speak

    POST to the OpenAI-style endpoint, e.g. http://localhost:8880/v1/audio/speech, with your text and voice choice.

// anwendungsfälle

Was du damit bauen kannst

Readers working through the Audio shelf also stop at TeroSubtitler, Free, cross-platform subtitle editor with AI transcription tools. SayIt opens source voice typing for Windows — a Wispr Flow / Superwhisper alternative. The Audio shelf also holds Parrot — Meeting recorder designed for your Mac with a live AI copilot.

Advertisement
// häufige fragen

Häufige Fragen

Is it free?

Yes — Apache-2.0 licensed and self-hosted. You pay nothing per character, unlike cloud TTS APIs.

How good is the quality?

Kokoro-82M is famous for punching far above its 82-million-parameter weight, with remarkably natural prosody for its size.

Which languages are supported?

Eight: English (US and GB), Spanish, French, Hindi, Italian, Japanese, Brazilian Portuguese, and Mandarin Chinese.

Kokoro-FastAPI or Qwen3-TTS?

Kokoro-FastAPI is lighter, faster, and dead simple via Docker. Qwen3-TTS offers larger, more expressive Alibaba models with streaming — pick by your quality-vs-speed tradeoff.

Can I use it commercially?

Yes — the Apache-2.0 license permits commercial use.

// weiter entdecken

Ähnliche Tools

Audio

Qwen3-TTS

Alibaba's open voice models: expressive, streaming-capable speech with free-form voice design.

★ 13,6 Tsd. SterneApache-2.0
Anleitung ansehen →
Lokale LLMs

Ollama

The simplest way to run open language models on your own machine.

★ 182,1 Tsd. SterneMIT
Anleitung ansehen →
Lokale LLMs

Unsloth

Run and fine-tune LLMs and diffusion models locally — faster training, smaller memory footprint.

★ 77,2 Tsd. SterneApache-2.0
Anleitung ansehen →
Audio

kokoro-tts

Turn books and documents into natural speech with the Kokoro TTS model.

★ 1,9 Tsd. SterneMIT
Anleitung ansehen →
Audio

TTS-WebUI

One Gradio + React WebUI for dozens of TTS, voice-cloning and music models — Bark to Kokoro.

★ 3,3 Tsd. SterneMIT
Anleitung ansehen →
Audio

GPA

GPA — one tiny model that does ASR, TTS and voice conversion (General Purpose Audio).

★ 3,1 Tsd. SterneApache-2.0
Anleitung ansehen →
// alternativen

Alternativen im Bereich Audio

Die anderen Projekte der Kategorie Audio mit den meisten Sternen im LibreAI-Katalog — die realistische Auswahl, falls Kokoro-FastAPI nicht das Richtige ist.

// mehr in audio

Mehr in Audio

Verwandte Projekte der Kategorie Audio im Katalog, die Kokoro-FastAPI bei den Sternen am nächsten stehen — zum Weiterstöbern auf beiden Seiten.

Hol dir Kokoro-FastAPI

Kostenlos und offen — hol dir den Quellcode, gib dem Repository einen Stern und leg los.