ChatTTS
StaleDescription
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
Categories
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)
```