π One-click voice cloning and text-to-speech in Google Colab with Chatterbox TTS
Transform any text into natural-sounding speech, clone voices from audio samples, and create professional voiceovers - all running free in Google Colab!
- Click the "Open in Colab" button above
- Run all cell in the notebook
- Upload your voice sample (optional)
- Enter your text and generate speech!
- π― Zero Setup: Run immediately in Google Colab
- π£οΈ Voice Cloning: Clone any voice from a short audio sample
- ποΈ Advanced Controls: Fine-tune voice characteristics
- πΎ Google Drive Integration: Automatic saving to your drive
- π§ Robust Error Handling: Graceful fallbacks and clear error messages
Hereβs a quick demo so you can seeβand hearβhow Chatterbox-TTS-Colab performs.
βThis is a test of the Chatterbox TTS system. I hope this works properly now with the improved error handling and correct repository. The model should now load from ResembleAI/chatterbox instead of the old fluffyox repository.β
cloned_voice.mov
generated_voice.mov
| Parameter | Range | Description | Recommended Use |
|---|---|---|---|
exaggeration |
0.0-1.0 | Controls emotional intensity and expressiveness | 0.5 for natural speech, 0.7+ for dramatic |
cfg |
0.0-1.0 | Classifier-free guidance for speech pacing | 0.5 for normal, 0.3 for slower pacing |
temperature |
0.1-2.0 | Controls randomness in generation | 0.7 for balanced, 1.0+ for more variation |
top_p |
0.1-1.0 | Nucleus sampling parameter | 0.9 for most cases |
# High quality (slower generation)
wav = model.generate(
text,
audio_prompt_path=AUDIO_PROMPT_PATH,
exaggeration=0.5,
cfg=0.5,
temperature=0.7,
top_p=0.9,
steps=30
)
# Fast generation (lower quality)
wav = model.generate(
text,
audio_prompt_path=AUDIO_PROMPT_PATH,
steps=15 # Fewer steps = faster generation
)For more detailed documentation, see our USAGE.md
Please see our Contributing Guide for details.
- Resemble AI for creating the incredible Chatterbox TTS model
- Google Colab for providing free GPU access
- Hugging Face for model hosting and distribution
- PyTorch and Torchaudio for the underlying framework
- The Open Source Community for continuous support and contributions
- Original Chatterbox TTS: resemble-ai/chatterbox
- Resemble AI Team for open-sourcing this state-of-the-art model
- Contributors who help maintain and improve this Colab implementation
- π§ Email: [email protected]
- π Issues: Repo Issues
- π Security: Repo Security
- β Pull Request: Repo Pull Request
- π Docs: Repo Documentation