title: Chatterbox-Multilingual-TTS emoji: 🌎 colorFrom: indigo colorTo: blue sdk: gradio sdk_version: 5.29.0 app_file: app.py pinned: false short_description: Chatterbox TTS supporting 23 languages
Chatterbox TTS
A high-quality Multilingual Text-to-Speech (TTS) library with voice cloning capabilities, supporting 23 languages.
Features
- 🗣️ Support for 23 languages
- 🎙️ Voice cloning from reference audio
- 🚀 Fast inference with PyTorch
- 🎯 High-quality, natural-sounding speech
- 🔌 Simple Python API
Installation
pip install chatterbox-tts
Note: This package requires PyTorch. For optimal performance, install the appropriate version for your system from PyTorch's official website.
Quick Start
from chatterbox import ChatterboxMultilingualTTS, SUPPORTED_LANGUAGES
import torch
# Check available languages
print("Supported languages:", list(SUPPORTED_LANGUAGES.keys()))
# Initialize the TTS model
device = "cuda" if torch.cuda.is_available() else "cpu"
tts = ChatterboxMultilingualTTS.from_local(device=device)
# Generate speech from text
text = "Hello, this is a test of the Chatterbox TTS system."
language = "en" # English
# Generate audio
sample_rate, audio = tts.synthesize(
text=text,
language=language,
temperature=0.8,
cfg_scale=0.5,
exaggeration=0.5
)
# Save to file
import soundfile as sf
sf.write("output.wav", audio, sample_rate)
Advanced Usage
Voice Cloning
# Generate speech in the style of a reference audio
reference_audio = "path/to/reference_audio.wav"
sample_rate, audio = tts.synthesize(
text="This will sound like the reference speaker.",
language="en",
reference_audio=reference_audio,
temperature=0.7,
cfg_scale=0.7
)
Available Languages
Chatterbox TTS supports the following languages:
- English (en)
- Spanish (es)
- French (fr)
- German (de)
- Italian (it)
- Portuguese (pt)
- Polish (pl)
- Russian (ru)
- Japanese (ja)
- Korean (ko)
- Chinese (zh)
- And more... (23 languages total)
License
MIT
Metadata
Release files for tts-chatterbox 0.1.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| tts_chatterbox-0.1.0.tar.gz | 73.5 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| tts_chatterbox-0.1.0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 171.3 kB
Release files / tts_chatterbox-0.1.0.tar.gz
| Download URL | tts_chatterbox-0.1.0.tar.gz |
|---|---|
| Size | 73.5 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
4f9cb697a587856c2c7e98fd04728b34549841e72b118fb15b79624227a8a7f3
|
|
BLAKE2b-256 checksum How to use checksums |
d97e587e4d5a47b1a2013e023a12bae3f757839afb4706114785c56d6f14fbcf
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
uv/0.8.23
|
Release files / tts_chatterbox-0.1.0-py3-none-any.whl
| Download URL | tts_chatterbox-0.1.0-py3-none-any.whl |
|---|---|
| Size | 97.8 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
47b0aa09dd8e17ed8567fc5349f7d46926c19ac3b47f6284bfaca274640356c7
|
|
BLAKE2b-256 checksum How to use checksums |
cef745edd66ee7bfd4c5f71289773007dc6477d82109e6bec8b19872954947e8
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
uv/0.8.23
|