ChatTTS Conversational Speech

Generate expressive, multispeaker Chinese and English speech for everyday dialogue.

Source repo
2noise/ChatTTS
Stars
★ 40k
Last updated
7mo ago v0.2.5
FARS reviewed
Nov 08, 2026
License
AGPL-3.0
Primary language
Python

At a glance

How it runs
Web appCLILibrary / SDK
Works with
Universal · cross-platform
Cost
Free, no paid service needed
Setup effort
Medium · a few setup steps
You'll need
Python 3.11 for the documented conda environmentPyTorchtorchaudioChatTTS model filesShell / CLINetwork accessLocal filesystem
Typical use
Speech researchers evaluating Chinese and English conversational TTS or investigating autoregressive generation, audio tokenization, and prosody.
Not a fit if
  • Teams needing commercial or closed-source use; the model is research-only
  • Users without a GPU: a 30-second clip needs at least 4 GB of VRAM
  • Production work needing high fidelity or stable output; English is experimental
Website
2noise.com ↗ set on GitHub
Maintenance
No commits for 6+ monthslast commit 2026-04-10latest release v0.2.5 (2026-04-10)+3.1 ★/day over 7 days

What does this agent do, and when should you use it?

ChatTTS is a generative text-to-speech model built for dialogue, including spoken output for LLM assistants, rather than a complete autonomous agent. The repository supplies algorithm infrastructure, pretrained-model access, a Python package, a command-line example, and a local WebUI that turn text into WAV or MP3 audio. It supports Chinese and English, sampled speaker identities, and limited control over conversational features such as laughter, pauses, and oral delivery. The public release is a 40,000-hour pretrained model without SFT, while the main model is described as having been trained on more than 100,000 hours of Chinese and English audio. The code uses AGPLv3+, but the model uses CC BY-NC 4.0 and is restricted to educational and research use, making it unsuitable for direct commercial adoption.

A program creates ChatTTS.Chat(), loads the model with chat.load(compile=False), and passes one or more strings to chat.infer(texts), which returns audio arrays. Those arrays can be written as 24 kHz WAV files with torchaudio.save; the command-line example instead saves results as ./output_audio_n.mp3. chat.sample_random_speaker() produces a speaker embedding, while ChatTTS.Chat.InferCodeParams accepts spk_emb, temperature, top_P, and top_K. ChatTTS.Chat.RefineTextParams applies sentence-level prompts such as [oral_2][laugh_0][break_6]; with text refinement skipped, [laugh], [uv_break], and [lbreak] provide word-level controls. The repository also launches a local interface through python examples/web/webui.py and lists streaming audio generation and zero-shot inference code as completed features.

  1. Speech researchers evaluating Chinese and English conversational TTS or investigating autoregressive generation, audio tokenization, and prosody.
  2. LLM-assistant prototype teams that need to render responses with conversational pauses, laughter, and an oral delivery style.
  3. Interactive-demo developers using sampled speaker embeddings to prototype dialogue involving multiple character voices.
  4. Python developers processing batches of text and saving the returned arrays as 24 kHz WAV files.
  5. Research teams comparing repeated samples through a local WebUI, command line, or Python API to select an acceptable result.

Key setup facts

Pulled from the install and usage notes below. The project README has the current values.

Install / run
  • pip install -r requirements.txt
  • pip install ChatTTS
  • pip install git+https://github.com/2noise/ChatTTS
  • pip install -e
Install notes cover
Linux

How do you install or deploy this agent?

Clone the repository and install its requirements:

git clone https://github.com/2noise/ChatTTS
cd ChatTTS
conda create -n chattts python=3.11
conda activate chattts
pip install -r requirements.txt

Alternatively, install the stable package:

pip install ChatTTS

Install the latest GitHub version with:

pip install git+https://github.com/2noise/ChatTTS

For editable local development:

pip install -e .

The first run must load the model; no API credential is documented. The FAQ states that generating a 30-second clip requires at least 4 GB of GPU memory. Linux users may optionally install safetensors vllm==0.2.7 torchaudio. The documented TransformerEngine integration cannot currently run properly, and FlashAttention-2 is also discouraged because it slows generation.

How do you use this agent?

From the project root, launch the WebUI:

python examples/web/webui.py

Generate MP3 files from the command line:

python examples/cmd/run.py "Your text 1." "Your text 2."

Minimal Python invocation:

import ChatTTS
import torch
import torchaudio
chat = ChatTTS.Chat()
chat.load(compile=False)
wavs = chat.infer(["Hello from ChatTTS.", "你好,这是 ChatTTS。"] )
torchaudio.save("output.wav", torch.from_numpy(wavs[0]).unsqueeze(0), 24000)

Some torchaudio versions require torch.from_numpy(wavs[0]) without adding a dimension. For prosody control, create ChatTTS.Chat.RefineTextParams(prompt='[oral_2][laugh_0][break_6]') and pass it to chat.infer.

Safety boundaries, hardening & integrations

Operational blast radius, source-verified safety controls, and first-run hardening steps before connecting this agent to real workspaces.

Declared capability surface (blast radius)

Local shell command execution

Can run terminal commands; pair with approval gates or container/OS sandboxing.

Local filesystem read/write

Modifies local files; work on a clean Git branch or dedicated worktree.

Outbound network access

Makes outbound requests; verify telemetry settings and model data routing on private repos.

FARS trust-control audit

Not found in source — apply before daily use
  • rollback or recovery path — Back up first, or work on a git branch or snapshot, so its changes can be undone.

What are this agent's strengths and limitations?

Pros
  • It is optimized for dialogue and supports Chinese, English, and multiple speakers instead of targeting only single-voice narration.
  • Sentence- and word-level controls can explicitly introduce laughter, pauses, and oral-style prompting.
  • Python, command-line, and local WebUI interfaces cover programmatic batches, terminal workflows, and interactive experiments.
  • Random speaker embeddings, streaming audio generation, and zero-shot inference code provide useful foundations for research and prototyping.
Limitations
  • The released model is under CC BY-NC 4.0 and explicitly limited to educational and research use, blocking straightforward commercial deployment.
  • Autoregressive generation can produce unintended multiple speakers or poor audio quality; the documented workaround is to sample repeatedly.
  • Current word-level controls are limited to [laugh], [uv_break], and [lbreak]; multi-emotion control remains unfinished.
  • English is described as experimental, and the source provides no production-stability guarantee.
  • A 30-second clip requires at least 4 GB of GPU memory; even the documented RTX 4090 result has an RTF of about 0.3.
  • The 40,000-hour model was trained with some high-frequency noise and its audio quality was deliberately compressed with MP3 to deter misuse, limiting high-fidelity applications.

How does this agent compare with similar options?

The repository cites Bark, XTTSv2, and VALL-E as autoregressive TTS references and notes that systems in this class commonly face hard-to-avoid speaker-mixing and quality instability. Fish Speech is credited as a reference for GVQ audio tokenization in LLM modeling, while ChatTTS uses Vocos as a pretrained vocoder. No consistent named benchmark is provided, so the source does not support a broad claim that ChatTTS is faster, more stable, or higher quality than each of those systems.

Key facts side by side with the most closely related agents.

Agent Source review Form / cost Stars Updated Language Full support on
ChatTTS Conversational Speech This agent 47 · Major gaps Web appFree ★ 40k 7mo ago Python —
AgileRL 62 · Some gaps Library / SDKFreemium ★ 974 2d ago Python —
AutoResearch 48 · Major gaps CLIFree + model costs ★ 101k 8mo ago Python Codex · Claude Code
Deep Researcher Agent 47 · Major gaps Agent plugin / skillFree + model costs ★ 1.1k 6mo ago Python Claude Code · OpenAI API · Claude API

How does FollowAgents rate this agent?

FollowAgents source review · FARS-2.1
Major gaps
47/ 100 5-point scale 2.4 / 5
Trust 10/29
Reliability 6/14
Adaptability 10/18
Convention 10/18
Effectiveness 7/13
Verifiability 4/8
Why each dimension lost points
Trust10 / 29 · 1.7/5

The README states academic and research use, AGPLv3+ for code, CC BY-NC 4.0 for the model, and describes training noise and compression as misuse limits, supporting attribution and some use transparency; source attribution scores 2. Install and usage examples do not explain the full flow or retention of text, audio, or downloaded model data, nor sensitive-data handling. The materials show no per-action confirmation, access controls, or rollback. The dependency list and workflow show external downloads and automated commits without security-validation details, so the other trust criteria score only 0–1.

Reliability6 / 14 · 2.1/5

The README provides installation paths, usage examples, hardware guidance, and candidly notes instability and audio-quality issues; its claims are broadly consistent, so self-consistency scores 2. Most dependencies are not pinned, and the packet shows no cache, mirror, or fallback strategy, giving dependency availability 1. The audio-save example uses a broad bare except and offers little diagnostic or recovery guidance, so failure messages score 1.

Adaptability10 / 18 · 2.8/5

The README positions the product as text-to-speech for dialogue, identifies English and Chinese support, and describes multi-speaker and prosody controls. It also names current control tokens and says emotion control is future work, providing useful boundaries for a score of 2. Trigger conditions and supported input scope are not precise, scoring 1. Linux-specific optional dependencies, conda and direct installation paths, and GPU memory guidance support environment fit at 2.

Convention10 / 18 · 2.8/5

The README is organized into introduction, installation, usage, FAQ, and licensing. Setup steps and examples are fairly concrete, and the FAQ names memory, speed, and quality constraints, but operational troubleshooting remains limited; these criteria score 2. The license file and README clearly distinguish the code and model licenses, scoring 3. The supplied materials show no change history, make no interface-stability commitment, and list contact and community channels without clearly assigning maintenance responsibility or an update path; those criteria score 1 each.

Effectiveness7 / 13 · 2.7/5

The project can produce savable speech and provides CLI, WebUI, and Python examples, making its output usable for its stated purpose, score 2. Dialogue speech with speaker and prosody controls offers clear value, score 2. Cost guidance is limited to a minimum VRAM estimate for a specified clip length and a speed estimate for one GPU, so cost-benefit scores 1.

Verifiability4 / 8 · 2.5/5

README setup commands, API examples, hardware estimates, and limitations are stated concretely and traceably, scoring 2. The code, workflow, and dependency list corroborate only a few operational details; the packet does not independently substantiate model capability or performance claims, so cross-source corroboration scores 1. The README distinguishes supported languages, planned features, research use, and disclaimers, and frames speed as an estimate for a particular device, providing some separation of fact and expectation, score 2.

Risks and how to mitigate them
  • Not found in source: rollback or recovery pathBack up first, or work on a git branch or snapshot, so its changes can be undone.
  • The README limits the model to academic and research use and identifies CC BY-NC 4.0 for model weights; users should check the model and code licenses separately.
  • The README estimates at least 4 GB of GPU memory for a 30-second clip and about 7 semantic tokens per second with an RTX 4090 (RTF around 0.3); the packet does not independently verify these estimates.
  • The materials list dependencies without fixed versions and show a workflow that downloads an external Debian package and can commit changes automatically; validation and rollback measures are not described in the packet.
Evidence confidence: Low Reviewed Nov 08, 2026 Reviewed revision 77b89ee281cd
See the full review method →
Maintain this project? Add the FARS badge to your README

The badge shows the current review score and verdict and links back to this page. It refreshes about once an hour after a re-review.

FARS

[![FARS review](https://followagents.com/badge/chattts.svg)](https://followagents.com/en/agents/chattts)
<a href="https://followagents.com/en/agents/chattts"><img src="https://followagents.com/badge/chattts.svg" alt="FARS review"></a>

Recent releases

Latest entries from the project's GitHub Releases. Notes are quoted from upstream as written, not rewritten or tested by FollowAgents.

  1. v0.2.5
    Release notes excerpt
    Added - Partial dml support (31ed623) by @fumiama Fixed - RuntimeError: narrow(): length must be non-negative (#955) by @fumiama - Add missed dep requests in requirements.txt (cc212db) by @faalkor - Keep tracking with latest transformers (857d3b7) by @fumiama
    View on GitHub ↗
  2. v0.2.4
    Release notes excerpt
    Added - FastAPI-based OpenAI-compatible Text-to-Speech API and Audio Format Conversion Tools to examples/api (d582fd5) by @yueguobin - Numpy 2+ support (1092c1f) by @BBC-Esq Fixed - Module 'torch.serialization' has no attribute 'FILE_LIKE'' (8c0707b) by @aibaoku --- 新增 * 在 examples/api 中添加了基于 FastAPI、兼容 OpenAI 的文本转语音 API 及音频格式转换工具 (d582fd5) by @yueguobin * 支持 Numpy 2+ (1092c1f) by @BBC-Esq 修复 * 'torch.serialization' 模块中无属性 'FILE_LIKE' 的问题 (8c0707b) by @aibaoku
    View on GitHub ↗
  3. v0.2.3
    Release notes excerpt
    Fixed - Drop deprecated transformers API get_max_length() (a500911) by @fumiama --- 修复 - 停止使用废弃的 transformers API get_max_length() (a500911) by @fumiama
    View on GitHub ↗

FAQ

Can I use the released model in a commercial product?
Not under the documented model terms. The code is AGPLv3+, but the model is CC BY-NC 4.0 and is explicitly intended only for education and research.
How much GPU memory does inference require?
The FAQ specifies at least 4 GB for a 30-second clip. On an RTX 4090, it reports roughly seven semantic tokens per second and an RTF of about 0.3.
Does it require ChatGPT or another hosted model API?
No such dependency is documented. The supplied workflows are local Python, CLI, and WebUI paths, with no native ChatGPT, Codex, Claude, OpenAI API, or Claude API integration.
Why can output contain mixed speakers or poor audio?
The repository identifies this as a typical stability problem in autoregressive models that is difficult to avoid. Its suggested mitigation is generating multiple samples and selecting a suitable one.
Which emotions and delivery features can I control today?
The release supports oral-style prompting, laughter, and pauses. Its documented token-level controls are limited to [laugh], [uv_break], and [lbreak]; broader emotion control is still on the roadmap.
Was this page helpful?
View on GitHub ↗ Install ↓

Related concepts