ChatTTS

Stale
GitHub Python AGPL-3.0

Description

A generative speech model for daily dialogue, providing AI agents with natural and fluent voice synthesis with fine-grained prosody control.

Key Features

  • Conversational TTS — Optimized for dialogue scenarios like LLM assistants with natural expressive synthesis
  • Fine-grained prosody control — Predict and control laughter, pauses, interjections and subtle prosodic features
  • Multi-speaker support — Sample random speaker timbre, supports multi-character dialogue scenarios
  • Streaming audio generation — Real-time streaming voice output support
  • Chinese and English support — Trained on 100K+ hours of Chinese and English audio data
  • WebUI and CLI — Both web interface and command line usage modes available

Use Cases

💡 Add natural voice replies to AI conversation assistants
💡 Generate multi-character voice content for podcasts or audiobooks
💡 Integrate TTS into voice messaging applications
💡 Provide text-to-speech support for accessibility applications
💡 Build interactive voice IVR systems

Strengths & Limitations

Strengths

  • High community interest (39.8k stars)
  • Established track record (2 years in production)
  • Responsive to issues, low backlog

⚠️ Limitations

  • Restrictive license (AGPL-3.0)

Quick Start

```bash
pip install ChatTTS
```
```python
import ChatTTS
import torch
import torchaudio

chat = ChatTTS.Chat()
chat.load(compile=False)

texts = ["Hello, I am ChatTTS.", "The weather is nice today."]
wavs = chat.infer(texts)

for i, wav in enumerate(wavs):
    torchaudio.save(f"output{i}.wav", torch.from_numpy(wav), 24000)
```

Related Projects

Nocturne Memory

1.3k · Python
Active A

A lightweight, rollbackable, and visual long-term memory server for MCP agents, replacing traditional vector RAG with reliable context retention.

pythonmcpmemory +2
  • · MCP-based long-term memory server enabling AI to remember identity and history across sessions and models
  • · One soul, any engine — memory stored in independent MCP Server, not bound to any LLM, AI retains full memory when switching models
  • · Namespace isolation support — multiple AI personalities can have completely independent memory spaces without interference

Graphify

114.0k · Python
Active A+

AI coding assistant skill that turns any folder of code, docs, papers, images, or videos into a queryable knowledge graph. Works with Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot CLI, and more.

memorypythonagent +2
  • · Knowledge graph generation — automatically converts code, docs, PDFs, images, and videos into queryable knowledge graphs
  • · Multi-platform AI assistant integration — supports Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot and 20+ platforms
  • · Interactive visualization — generates browsable graph.html with node clicking, filtering, and search

MineContext

5.5k · Python
Stale B

A proactive context-aware AI partner from ByteDance Volcengine that uses context engineering to provide AI agents with precise project understanding and code context management.

agentcodingmemory +2
  • · Proactive context engineering delivering daily/weekly summaries, tips, and todos to your homepage
  • · Screenshot-based digital world comprehension via visual language models
  • · Intelligent resurfacing of relevant context during creation without information overload