Implements Kokoro TTS FastAPI template for #353. Provides Dockerized FastAPI wrapper for Kokoro-82M text-to-speech model with OpenAI-compatible endpoints.
Features
Multi-language TTS (English, Japanese, Chinese)
OpenAI-compatible API (/v1/audio/speech)
CPU & GPU support (separate compose files)
Streaming audio with word-level timestamps
Web interface and interactive docs
Files Added
blueprints/kokoro-tts/docker-compose.yml - CPU version
blueprints/kokoro-tts/docker-compose-gpu.yml - GPU version
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
📋 Pull Request Information
Original PR: https://github.com/Dokploy/templates/pull/403
Author: @Harikrishnan1367709
Created: 9/29/2025
Status: 🔄 Open
Base:
main← Head:Kokoro-TTS-#353📝 Commits (3)
b050301feat: Add Kokoro TTS FastAPI template (#353) - Add CPU-optimized docker-compose.yml with source build - Add GPU-optimized docker-compose-gpu.yml for NVIDIA support - Add comprehensive template.toml with OpenAI-compatible API docs - Add kokoro-tts.svg logo and meta.json entry - Support streaming audio, timestamps, and multi-language TTS - Resolves #353bf1bc3cupdated the meta.json for the build errors737592aremoved the docker-compose-gpu.yml file📊 Changes
4 files changed (+127 additions, -0 deletions)
View changed files
➕
blueprints/kokoro-tts/docker-compose.yml(+24 -0)➕
blueprints/kokoro-tts/kokoro-tts.svg(+12 -0)➕
blueprints/kokoro-tts/template.toml(+72 -0)📝
meta.json(+19 -0)📄 Description
Description
Implements Kokoro TTS FastAPI template for #353. Provides Dockerized FastAPI wrapper for Kokoro-82M text-to-speech model with OpenAI-compatible endpoints.
Features
/v1/audio/speech)Files Added
blueprints/kokoro-tts/docker-compose.yml- CPU versionblueprints/kokoro-tts/docker-compose-gpu.yml- GPU versionblueprints/kokoro-tts/template.toml- Dokploy configblueprints/kokoro-tts/kokoro-tts.svg- Logometa.jsonwith template entryAPI Endpoints
POST /v1/audio/speech- OpenAI-compatible speech generationPOST /dev/captioned_speech- Speech with timestampsPOST /dev/phonemize- Text to phonemesGET /docs- Interactive API docsGET /web- Web interfaceCloses #353
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.