Baike.dev
All toolsOnline toolsAI codingTrendingOpen sourceNewsSubmit
Log in
< Back to tools
C

Chatterbox-TTS-Server

> 后端框架
Open source

Self-host the powerful Chatterbox TTS model. This server offers a user-friendly Web UI, flexible API endpoints (incl. OpenAI compatible), predefined voices, voi

1.4K stars0 likes0 views
WebsiteGitHub

About

Self-host the powerful Chatterbox TTS model. This server offers a user-friendly Web UI, flexible API endpoints (incl. OpenAI compatible), predefined voices, voi

Chatterbox TTS Server: OpenAI-Compatible API with Web UI, Large Text Handling & Built-in Voices

Self-host Resemble AI's Chatterbox open-source TTS family (Original + Multilingual + Turbo) behind an OpenAI‑compatible API and a modern Web UI. The complete lineup includes the original high-quality model, multilingual support for 23 languages, and Chatterbox‑Turbo—a streamlined 350M-parameter model with dramatically improved throughput and native paralinguistic tags like [laugh], [cough], and [chuckle] for more expressive voice agents and narration. Features voice cloning, large text processing via intelligent chunking, audiobook generation, and consistent, reproducible voices using built-in ready-to-use voices and a generation seed feature.

Try it now! Test the full TTS server with voice cloning and audiobook generation in Google Colab - no installation required! To use it, please run cells 1 through 4 one at a time. After running cell 4, click on the "https://localhost:8004" link that appears in the output, and your web browser will open the UI from the .colab.dev domain. Read the instructions here.

This server is based on the architecture and UI of our Dia-TTS-Server project but uses the distinct chatterbox-tts engine. Runs accelerated on NVIDIA (CUDA), AMD (ROCm), and Apple Silicon (MPS) GPUs, with a fallback to CPU. Make sure you also check our Kitten-TTS-Server project. -blue.svg?style=for-the-badge)

Portable Mode (Windows): This application supports a fully portable installation — the entire folder, including Python and all dependencies, is self-contained. Copy it to a USB drive, share it as a zip, or move it anywhere. Just double-click start.bat — no Python installation needed on the target machine. Learn more →


What's New

v2.0.0 highlights (new)

v2.0 ships the complete Chatterbox family on every major GPU stack behind one OpenAI-compatible API and Web UI. The headline themes:

  • DGX Spark / sm_121 support via the new docker-compose-cu130.yml (CUDA 13.0, PyTorch 2.10). RTX 30/40/50 keep using cu121 / cu128.
  • AMD Strix Halo support via docker-compose-strixhalo.yml (ROCm 7.2, HSA_OVERRIDE_GFX_VERSION=11.0.0).
  • Streaming /tts endpoint — opt-in stream: true parameter returns a StreamingResponse that flushes WAV bytes per chunk with 20 ms crossfades. Default behavior unchanged.
  • Voice conditioning cache — repeated requests against the same reference voice skip re-encoding. Real latency win for batch / OpenAI-endpoint workflows.
  • Opt-in BF16 inference — TTS_BF16=on (or =auto) converts T3 to bfloat16 and runs under autocast for ~40% throughput on bf16-capable GPUs. Default off to preserve existing behavior on upgrade.
  • HTTPS / SSL — optional ssl_certfile and ssl_keyfile in config.yaml for direct HTTPS without a reverse proxy.
  • Security: CWE-22 path traversal fixed on /tts and /v1/audio/speech voice file parameters. Traversal attempts return HTTP 400.
  • New endpoints — /api/unload (release GPU memory without restart) and /v1/audio/voices (OpenAI-compatible voice listing).
  • Dynamic language selector — the UI populates the language dropdown from SUPPORTED_LANGUAGES exposed by the multilingual engine.
  • Chunker fix — stray dashes in narrative text no longer get treated as bullet items that swallow the rest of the paragraph (#144).

See the v2.0.0 release notes for the full list with contributor credits.

Portable Mode for Windows (new)

  • The launcher now offers Portable Mode for all Windows users during first-time setup — selected by default.
  • Creates a fully self-contained installation: the entire project folder can be copied to a USB drive, zipped and shared, or moved anywhere on the filesystem.
  • The recipient just double-clicks start.bat — no Python installation required on the target machine.
  • Works with any system Python 3.10+, but the embedded runtime always uses Python 3.10 — the only fully supported version. If your system Python is 3.11+, Portable Mode is the easiest way to avoid dependency issues on Windows.
  • Use --portable to skip the prompt and install in portable mode directly, or --no-portable for a standard virtual environment.
  • Linux and macOS use standard virtual environments with Python 3.10. Portable Mode is not available on these platforms, so Python 3.10 must be installed on the system.

Chatterbox Multilingual support (new)

  • Added full support for Chatterbox Multilingual, completing support for all three models in Resemble AI's Chatterbox family.
  • Multilingual brings 23-language support including Arabic, Chinese, Danish, Dutch, English, Finnish, French, German, Greek, Hebrew, Hindi, Italian, Japanese, Korean, Malay, Norwegian, Polish, Portuguese, Russian, Spanish, Swedish, Swahili, and Turkish.
  • Built on the same 0.5B-parameter architecture as the original Chatterbox with emotion exaggeration control and zero-shot voice cloning.
  • Perfect for international projects, multilingual audiobooks, and voice agents serving global audiences.

⚡ Chatterbox‑Turbo support (new)

  • Added full support for Chatterbox‑Turbo, Resemble AI's latest efficiency-focused Chatterbox model.
  • Turbo is built on a streamlined 350M‑parameter architecture, designed to use less compute/VRAM while keeping high-fidelity output.
  • Turbo distills the speech-token-to-mel "audio diffusion decoder" from 10 steps → 1 step, removing a major inference bottleneck.
  • Resemble positions Turbo for real-time/agent workflows and highlights significantly faster-than-real-time performance on GPU (performance varies by hardware/settings).

Hot‑swappable TTS engines (UI)

  • Added a new engine selector dropdown at the top of the Web UI.
  • Instantly hot-swap between Original Chatterbox, Chatterbox Multilingual, and Chatterbox‑Turbo; the backend auto-loads the selected engine.
  • All three models are hot-swappable—simply select from the dropdown and the backend automatically loads your choice without requiring restarts or configuration changes.
  • All UI + API requests route through the active engine so you can A/B test quality, language support, and latency without changing client code.

Paralinguistic tags (Turbo)

  • Turbo adds native paralinguistic tags you can write directly into your text, e.g. …calling you back [chuckle]….
  • Supported tags include [laugh], [cough], and [chuckle], plus text-based prompting for reactions like sigh, gasp, and cough.
  • Added new presets in ui/presets.yaml demonstrating paralinguistic prompting for agent-style scripts and expressive reads.

✅ Original Chatterbox remains first‑class

  • The original Chatterbox model remains available, with support for high quality English language output, a 0.5B LLaMA backbone, emotion exaggeration control, and training on 0.5M hours of cleaned data.

Complete Chatterbox family support

You now have access to the entire Chatterbox lineup:

  • Original Chatterbox — High-quality English output with emotion control (0.5B parameters, 0.5M hours training data)
  • Chatterbox Multilingual — 23-language support with voice cloning and emotion control (0.5B parameters)
  • Chatterbox Turbo — Fastest inference with paralinguistic tags like [laugh] and [cough] (350M parameters, 1-step diffusion)

Switching models is effortless: Simply select your preferred model from the engine selector dropdown at the top of the Web UI. No restarts, no configuration changes required—just instant hot-swapping to test quality, speed, and language support across the complete Chatterbox family.

️ Installation fixes across all platforms

  • All platforms: Chatterbox is now installed with --no-deps across all installation paths (CPU, NVIDIA, cu128, ROCm). This eliminates ONNX source build failures, torch version conflicts, and CMake errors that affected many users. Chatterbox's dependencies (conformer, diffusers, transformers, s3tokenizer, etc.) are now listed explicitly in each requirements file with onnx==1.16.0 pinned to guarantee pre-built wheels.
  • Apple Silicon / MPS: Fixed Turbo model crash ("Cannot convert a MPS Tensor to float64 dtype") by forcing float32 in s3tokenizer and voice_encoder. Fix applied in the chatterbox-v2 fork and also as an automatic post-install patch in start.py for users of other chatterbox versions. Thanks to @jonas3245 (#93).
  • Docker CPU: New lightweight Dockerfile.cpu based on python:3.10-slim instead of the 4GB+ NVIDIA CUDA base image. docker-compose-cpu.yml now uses this smaller image. Removed deprecated version tags from all docker-compose files.
  • config.yaml: Default device changed from cuda to auto for correct auto-detection on all hardware (CUDA, MPS, CPU).
  • Python version: Python 3.10 is required — it is the only version with pre-built wheels for all dependencies (torch, torchvision, ONNX). Python 3.11+ may fail due to missing wheels. The Windows launcher's Portable Mode handles this automatically by using an embedded Python 3.10 runtime.
  • Blackwell (CUDA 12.8): Fixed requirements-nvidia-cu128.txt to properly install PyTorch 2.9.0 with CUDA 12.8 (sm_120 support) for RTX 5060 Ti, 5070, 5070 Ti, 5080, and 5090 GPUs. The Dockerfile.cu128 now correctly installs chatterbox with --no-deps to prevent PyTorch downgrade.
  • AMD ROCm: Fixed ROCm installation by switching to PyTorch's official ROCm 6.1 wheel index (torch==2.5.1+rocm6.1), which resolves the previous torch==2.6.0 / torchaudio==2.5.1 version conflict. A new requirements-rocm-init.txt installs the ROCm PyTorch stack before other dependencies. Both Dockerfile.rocm and start.py now use a two-step install to prevent pip from replacing ROCm torch wheels with CPU-only versions.
  • Thanks to community contributors in issues #20, #23, #44, #58, #64, #79, #89, #92, #93, #98, #105, #107, #109, #113, #114, #121, and #122 for testing and reporting solutions.

Automated launcher + easy updates

  • New Automated Launcher (Windows + Linux) that creates/activates a venv, installs the right dependencies, downloads model files, starts the server, and opens the Web UI.
  • Easy maintenance commands:
    • --upgrade to update code + dependencies.
    • --reinstall for a clean reinstall when environments get messy.

️ Overview: Enhanced Chatterbox TTS Generation

The Chatterbox TTS model by Resemble AI provides capabilities for generating high-quality speech. This project builds upon that foundation by providing a robust FastAPI server that makes Chatterbox significantly easier to use and integrate.

** Want to try it instantly?** Launch the live demo in Google Colab - no installation needed!

The server expects plain text input for synthesis and we solve the complexity of setting up and running the model by offering:

  • A modern Web UI for easy experimentation, preset loading, reference audio management, and generation parameter tuning.
  • Multi-engine support (Original + Turbo): Choose the TTS engine directly in the Web UI, then generate via the same UI/API surface.
  • Paralinguistic prompting (Turbo): Native tags lik

Issues· 0 open

View all issuesOpen on GitHub

No open issues yet, or sync has not completed.

> Tags

Pythonaiapi-serveraudio-generationchatterbox

No comments yet. Be the first to share.

> Details

PublishedAug 1, 2026
UpdatedSep 17, 2026
Category后端框架
PricingOpen source

> Related tools

N
Node.js
基于 V8 的 JavaScript 运行时
D
Django
Python 高级 Web 框架
S
Spring Boot
Java 生态主流微服务框架