Supercapybara / Railway Templates

Kokoro TTS API

OpenAI-compatible text-to-speech from the Kokoro-82M model — Hobby plan or above (needs 1.5 GB RAM).

Category: AI · One-click template for Railway by SuperSlowSloth

A Dockerized FastAPI wrapper for Kokoro-82M providing OpenAI-compatible speech endpoints: multiple output formats (MP3, WAV, Opus, FLAC, M4A, PCM), streaming, weighted voice combinations, word-level timestamped captions and automatic sentence splitting, in multiple languages including English, Japanese and Chinese, with a built-in web UI and API docs.

Measured ~1.05 GB resident after load; a lighter ONNX sibling (Kokoro TTS Lite) is cross-linked from the listing for Free/Trial plans. $61.76/last 30d, 63 active deploys (2026-09-20 snapshot).

Deploy Kokoro TTS API on Railway

Disclosure: deploy links carry the author's Railway referral code — the author receives a usage kickback when you deploy. The template itself is free to deploy; Railway usage charges apply.

Earnings snapshot 2026-09-20: $61.76 in the last 30 days, 63 active deploys.