LibreAI / Áudio / Kokoro-FastAPI
// audio · remsky/Kokoro-FastAPI

Kokoro-FastAPI

Kokoro-FastAPI é um projeto de áudio de código aberto de remsky (remsky/Kokoro-FastAPI no GitHub). Tem 5.511 estrelas no GitHub e 908 forks, é publicado sob a licença Apache-2.0 e foi atualizado pela última vez no GitHub em 1 de outubro de 2026.

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

★ 5,5 mil estrelas⑂ 908 forksApache-2.0atualizado out 2026
Captura da interface de Kokoro-FastAPI
Imagem: Banner from the Kokoro-FastAPI project README (remsky/Kokoro-FastAPI), hotlinked with thanks.
// dados do projeto

Dados do projeto

Estrelas no GitHub
5.511
Forks
908
Licença
Apache-2.0
Última atualização no GitHub
1 de outubro de 2026
Categoria
Áudio
Tipo de ficha
Guia de instalação completo
Site oficial
Try the live demo
// como funciona

Como funciona

  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.

// recursos

Por que as pessoas gostam tanto

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
// execute você mesmo

Execute você mesmo

  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.

// casos de uso

O que você pode criar

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
// perguntas frequentes

Perguntas frequentes

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.

// continue explorando

Ferramentas semelhantes

Áudio

Qwen3-TTS

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

★ 13,6 mil estrelasApache-2.0
Ver o guia →
LLM local

Ollama

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

★ 182,1 mil estrelasMIT
Ver o guia →
LLM local

Unsloth

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

★ 77,2 mil estrelasApache-2.0
Ver o guia →
Áudio

kokoro-tts

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

★ 1,9 mil estrelasMIT
Ver o guia →
Áudio

TTS-WebUI

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

★ 3,3 mil estrelasMIT
Ver o guia →
Áudio

GPA

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

★ 3,1 mil estrelasApache-2.0
Ver o guia →
// alternativas

Alternativas em Áudio

Os outros projetos de Áudio com mais estrelas no catálogo do LibreAI — a lista realista de alternativas se Kokoro-FastAPI não for o ideal para você.

// mais em audio

Mais em Áudio

Projetos de Áudio próximos no catálogo, os mais próximos em estrelas de Kokoro-FastAPI: continue explorando dos dois lados dele.

Baixe o Kokoro-FastAPI

Grátis e aberto: pegue o código-fonte, dê uma estrela no repositório e comece a criar.