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

Kokoro-FastAPI

Kokoro-FastAPI est un projet de audio open source, créé par remsky (remsky/Kokoro-FastAPI sur GitHub). Il compte 5 511 étoiles sur GitHub et 908 forks, il est publié sous la licence Apache-2.0 et a été mis à jour pour la dernière fois sur GitHub le 1er octobre 2026.

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

★ 5,5 k étoiles⑂ 908 forksApache-2.0mis à jour oct. 2026
Capture d'écran de l'interface de Kokoro-FastAPI
Image: Banner from the Kokoro-FastAPI project README (remsky/Kokoro-FastAPI), hotlinked with thanks.
// détails du projet

Détails du projet

Étoiles GitHub
5 511
Forks
908
Licence
Apache-2.0
Dernière mise à jour sur GitHub
1er octobre 2026
Catégorie
Audio
Type de fiche
Guide d'installation complet
Site officiel
Try the live demo
// fonctionnement

Comment ça marche

  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.

// fonctionnalités

Pourquoi on l'adore

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
// lancez-le

Lancez-le vous-même

  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.

// cas d'usage

Ce que vous pouvez créer

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
// faq

Questions fréquentes

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.

// continuez l'exploration

Outils similaires

Audio

Qwen3-TTS

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

★ 13,6 k étoilesApache-2.0
Voir le guide →
LLM locaux

Ollama

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

★ 182,1 k étoilesMIT
Voir le guide →
LLM locaux

Unsloth

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

★ 77,2 k étoilesApache-2.0
Voir le guide →
Audio

kokoro-tts

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

★ 1,9 k étoilesMIT
Voir le guide →
Audio

TTS-WebUI

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

★ 3,3 k étoilesMIT
Voir le guide →
Audio

GPA

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

★ 3,1 k étoilesApache-2.0
Voir le guide →
// alternatives

Alternatives en Audio

Les autres projets de la catégorie Audio avec le plus d'étoiles du catalogue LibreAI — la sélection réaliste d'alternatives si Kokoro-FastAPI ne vous convient pas.

// plus en audio

Plus en Audio

Projets de la catégorie Audio proches dans le catalogue, les plus proches en étoiles de Kokoro-FastAPI — continuez à explorer de part et d'autre.

Obtenir Kokoro-FastAPI

Gratuit et ouvert : récupérez le code source, mettez une étoile au dépôt et commencez à créer.