Skip to content
  1. Home
  2. AI tools
  3. Kokoro-FastAPI

Kokoro-FastAPI

Dockerized OpenAI-compatible text-to-speech server for Kokoro-82M

What it is

A Docker-packaged FastAPI server around the Kokoro-82M text-to-speech model. It exposes OpenAI-compatible speech endpoints plus websocket interfaces for voice-agent frameworks, with voice mixing, timestamped captions and an optional web UI. Prebuilt images cover CPU, NVIDIA and AMD setups; for self-hosters who need local speech synthesis.

Good for

  • Self-host a drop-in OpenAI TTS endpoint
  • Generate narration with word timestamps
  • Give a local voice agent a TTS backend

Install or run

docker run -p 8880:8880 ghcr.io/remsky/kokoro-fastapi-cpu:latest

Command as given in the project README. Read the repository before you run anything on your machine.

What you need

Docker; an NVIDIA or AMD GPU is optional

Worth knowingText-to-speech only, and limited to the languages and voices the Kokoro model supports.

Sources

The summary is ours, written from the README. Spotted an error? See how we work.

More for design & media

See the topic →
  • ComfyUI

    Comfy-Org/ComfyUI

    Node-graph interface for image, video, audio and 3D generation

    ToolGitHub stars: 147k
  • OpenDesign

    nexu-io/open-design

    Local-first design workspace that coding agents drive via skills and MCP

    ToolGitHub stars: 107k
  • HyperFrames

    heygen-com/hyperframes

    Framework that renders HTML, CSS and animations to MP4 video

    ToolGitHub stars: 84k
  • OpenMontage

    OpenMontageInc/OpenMontage

    Agent-run video production pipelines from research to final render

    ToolGitHub stars: 80k