Skip to content

rip-super/tts-service

Folders and files

NameName
Last commit message
Last commit date

Latest commit

fa9f911 · · Jan 21, 2026

History

14 Commits
Jan 21, 2026
Jan 21, 2026
Jan 20, 2026
Jan 20, 2026
Jan 20, 2026
Jan 21, 2026
Jan 20, 2026
Jan 20, 2026

Repository files navigation

TTS API

Try it live!


Quickstart

Send a basic TTS request with just text:

curl -X POST "https://tts.sahildash.dev/api" -H "Content-Type: application/json" -d "{\"text\": \"Hello world\"}"

The response will be JSON containing a downloadUrl. Wait until the job is finished, then download the audio:

curl "https://tts.sahildash.dev/download/Id>" --output output.mp3
" --output output.mp3output.mp3" tabindex="0" role="button">

Installation

  1. Install NodeJS and Python 3.12+
  2. Clone the repository
git clone https://github.com/rip-super/tts-service.git

cd tts-service
  1. Install dependencies:
npm install
pip install -r requirements.txtt
  1. Install voices:
cd worker
python download_voices.pyy

Note: If you have a HuggingFace account, obtain an access token and enter it into the download_voices.py script for faster download speeds.

  1. Start the servers:
# In one terminal
node server.js



# In another terminal
uvicorn worker:app --host 0.0.0.0 --port 50011

API Documentation

  • API Docs are available here!

Like this project? Feel free to give it a star! Thanks!

About

A simple, easy to use, and fast TTS API

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published