Discover and explore top open-source AI tools and projects—updated daily.
OpenAI-compatible TTS API with voice cloning
Top 91.1% on SourcePulse
This project provides a local, OpenAI-compatible Text-to-Speech (TTS) API powered by FastAPI and Chatterbox TTS. It enables voice cloning and offers features like a React frontend, extensive configuration, and real-time status monitoring. The primary benefit is providing a self-hosted, high-quality TTS solution that seamlessly integrates with existing OpenAI API-compatible applications, offering greater control and privacy.
How It Works
The API leverages the Chatterbox TTS model to generate speech from text. It exposes endpoints that mimic the OpenAI TTS API, allowing for drop-in replacement. Key features include voice cloning through user-provided audio samples, a voice library for managing custom voices, and smart text processing for handling long inputs. The use of FastAPI ensures high performance and provides automatic API documentation.
Quick Start & Requirements
uv sync
(recommended) or pip install -r requirements.txt
, and start the API with uv run main.py
or uvicorn app.main:app --host 0.0.0.0 --port 4123
. Docker is also recommended for deployment.Highlighted Details
Maintenance & Community
Licensing & Compatibility
Limitations & Caveats
2 days ago
Inactive