Skip to content

chatterbox-tts-api

Self-hosted, OpenAI-compatible text-to-speech API with voice cloning

Copyleft (OSI) · AGPL-3.0 AI-native

Listed by , founder & editor

30

Health

Dormant

Overview

Stars

701

Last commit

11 months ago

Dec 2025

Repository age

1 year

since May 2025

Latest version

–

Contributors

–

Releases

0

last 12 months

Language

Python

Chatterbox TTS API wraps the Chatterbox text-to-speech model in a FastAPI service. It exposes endpoints that follow the OpenAI text-to-speech API, so tools that already talk to OpenAI, such as Open WebUI or AnythingLLM, can point at your own server instead.

It supports voice cloning from your own samples and a voice library where you upload and name voices. It generates speech in 22 languages, splits long texts automatically, and reports progress and request history. An optional React web interface is included, and interactive API docs are served at /docs and /redoc.

You can run it with uv, pip or Docker Compose, and configure it through environment variables. It is written in Python and licensed under AGPL-3.0. It is an alternative to the OpenAI text-to-speech API. Non-CUDA setups are currently affected by an upstream problem.

Who it's for

Self-hosters running Open WebUI or AnythingLLM

The OpenAI-style endpoints let you swap in local speech without changing the client.

Skip if: You have no GPU or are on a non-CUDA setup, which is currently problematic.

Developers building voice features

You get a REST API with voice cloning and a named voice library.

Skip if: You need an actively maintained project.

Privacy-minded users who avoid cloud speech APIs

Text and voice samples stay on your own machine.

Skip if: You want a hosted service with no setup.

The problem it solves

Cloud text-to-speech APIs send your text and voice samples to a third party and bill by usage. This service gives you an OpenAI-compatible endpoint that runs locally.

Strengths

  • OpenAI-compatible text-to-speech endpoints
  • Voice cloning and a named voice library
  • Speech in 22 languages
  • Docker, uv and pip install options
  • Optional React web interface and built-in API docs

Trade-offs

  • Maintenance is marked dormant, with no recent releases
  • Non-CUDA setups are currently broken upstream
  • AGPL-3.0 requires sharing source if you offer it over a network
  • Depends on the separate chatterbox-tts package

Self-host chatterbox-tts-api

Self-hostable
Yes

Quick start

git clone https://github.com/travisvn/chatterbox-tts-api
cd chatterbox-tts-api
uv sync
uv run main.py

From the project's own install instructions. Check the docs for production settings.

Frequently asked questions

Is it a drop-in replacement for OpenAI TTS?

It offers OpenAI-compatible text-to-speech endpoints, so clients that use that API can usually point to it.

Can I self-host it?

Yes. You can run it with uv, pip or Docker Compose.

How is it licensed?

AGPL-3.0.

Does it support voice cloning?

Yes. You can supply your own voice samples and store them in a voice library.

Similar tools in Text-to-speech and voice AI

OpenReader

Text-to-speech and voice AI

Self-hosted text-to-speech reader for EPUB, PDF, TXT, Markdown and DOCX with read-along

596 82 yesterday Thriving MIT

QuickVoice

Text-to-speech and voice AI

495 545 22 days ago Slowing MIT

Lampline

Text-to-speech and voice AI

457 50 6 days ago Active Apache-2.0

ChineseTtsTflite

Text-to-speech and voice AI

415 55 3 years ago Dormant Apache-2.0

openlive

Text-to-speech and voice AI

416 89 2 days ago Active Apache-2.0

soundbox

Text-to-speech and voice AI

Local desktop app for generating sound effects, music, speech and cloned voices on your

245 24 today Thriving MIT

Replaces Suno