Device Options
Specify the computing device when loading the model:Device Selection Guide
Auto-Device Detection Example
Generation Parameters
All generation parameters are passed to thegenerate() method:
cfg_weight Parameter
Range: 0.0 to 1.0 (typically) Default: 0.5 (standard models), 0.0 (Turbo - ignored) Controls how strongly the model follows the reference voice characteristics. Higher values make the output more similar to the reference audio.When to Adjust cfg_weight
Fast-speaking reference audio
Fast-speaking reference audio
If your reference speaker talks very quickly, lower From README: “If the reference speaker has a fast speaking style, lowering
cfg_weight to improve pacing:cfg_weight to around 0.3 can improve pacing.”Cross-language synthesis
Cross-language synthesis
When using a voice from one language to speak another, set From README: “To mitigate [accent transfer], set
cfg_weight=0 to reduce accent transfer:cfg_weight to 0.”Expressive or dramatic speech
Expressive or dramatic speech
For more expressive output, combine lower From README: “Try lower
cfg_weight with higher exaggeration:cfg_weight values (e.g. ~0.3) and increase exaggeration to around 0.7 or higher.”exaggeration Parameter
Range: 0.0 to 1.0+ Default: 0.5 (standard models), 0.0 (Turbo) Controls the expressiveness and emotional intensity of the generated speech.Effects of Exaggeration
- Lower values (0.0-0.3): More neutral, professional tone
- Medium values (0.4-0.6): Natural conversation, moderate emotion
- Higher values (0.7-1.0): Dramatic, expressive, emotional delivery
Speed Impact: Higher exaggeration tends to speed up speech. Compensate by reducing
cfg_weight for more deliberate pacing.Exaggeration Tips from README
General Use:“The default settings (Expressive Speech:exaggeration=0.5,cfg_weight=0.5) work well for most prompts across all languages.”
“Try lowercfg_weightvalues (e.g.~0.3) and increaseexaggerationto around0.7or higher. Higherexaggerationtends to speed up speech; reducingcfg_weighthelps compensate with slower, more deliberate pacing.”
Example Configurations
Sampling Parameters
These parameters control the randomness and diversity of speech generation.temperature
Range: 0.0 to 2.0+ Default: 0.8 Controls randomness in token selection. Higher values produce more variation.repetition_penalty
Range: 1.0 to 2.5+ Default: 1.2 (Turbo), 2.0 (Multilingual) Penalizes repeated tokens to reduce repetitive speech patterns.top_p (Nucleus Sampling)
Range: 0.0 to 1.0 Default: 0.95 (Turbo), 1.0 (others) Keeps only the most probable tokens whose cumulative probability exceedstop_p.
top_k
Range: 1 to 10000+ Default: 1000 (Turbo only) Keeps only the top K most probable tokens. Only used by Turbo model.min_p
Range: 0.0 to 1.0 Default: 0.0 (Turbo - ignored), 0.05 (others) Sets a minimum probability threshold for token selection.Audio Processing Options
norm_loudness
Type: Boolean Default: True (Turbo only) Normalizes the loudness of the reference audio before processing.Model-Specific Parameter Support
When you pass ignored parameters to a model, you’ll see a warning but generation will continue:
Complete Configuration Examples
Turbo Model - Voice Agent
Standard Model - Professional Narration
Multilingual Model - Dramatic Speech
Default Values Summary
Chatterbox Turbo
Standard Chatterbox
Chatterbox Multilingual
Performance Optimization
For Maximum Speed
- Use CUDA device with NVIDIA GPU
- Use Chatterbox Turbo (350M params vs 500M)
- Keep reference audio at 10 seconds or less
- Reuse conditionals for the same voice
For Best Quality
- Use Standard Chatterbox or Multilingual for more parameters
- Tune cfg_weight and exaggeration for your use case
- Use high-quality reference audio (22050Hz+)
- Adjust temperature for consistency vs. variation