Skip to main content
Chatterbox provides several configuration parameters to customize your speech generation. These settings control expressiveness, voice characteristics, sampling behavior, and performance.

Device Options

Specify the computing device when loading the model:

Device Selection Guide

Auto-detection: The models automatically fall back to CPU if the requested device is unavailable. For Apple Silicon Macs without MPS support, the model will use CPU automatically.

Auto-Device Detection Example

From: example_tts.py (lines 6-14)

Generation Parameters

All generation parameters are passed to the generate() 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

If your reference speaker talks very quickly, lower cfg_weight to improve pacing:
From README: “If the reference speaker has a fast speaking style, lowering cfg_weight to around 0.3 can improve pacing.”
When using a voice from one language to speak another, set cfg_weight=0 to reduce accent transfer:
From README: “To mitigate [accent transfer], set cfg_weight to 0.”
For more expressive output, combine lower cfg_weight with higher exaggeration:
From README: “Try lower cfg_weight values (e.g. ~0.3) and increase exaggeration to around 0.7 or higher.”
Turbo Model: Chatterbox Turbo ignores cfg_weight during generation. The parameter only applies to standard Chatterbox and multilingual models.

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 (exaggeration=0.5, cfg_weight=0.5) work well for most prompts across all languages.”
Expressive Speech:
“Try lower cfg_weight values (e.g. ~0.3) and increase exaggeration to around 0.7 or higher. Higher exaggeration tends to speed up speech; reducing cfg_weight helps compensate with slower, more deliberate pacing.”

Example Configurations

Turbo Model: Chatterbox Turbo ignores exaggeration during generate(). It only uses exaggeration when you explicitly call prepare_conditionals().

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 exceeds top_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.
Turbo Model: Chatterbox Turbo ignores min_p. It only applies to standard and multilingual models.

Audio Processing Options

norm_loudness

Type: Boolean Default: True (Turbo only) Normalizes the loudness of the reference audio before processing.
Loudness normalization uses LUFS (Loudness Units relative to Full Scale) with a target of -27 LUFS, ensuring consistent volume levels across different reference audio files. From tts_turbo.py (lines 204-215)

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

  1. Use CUDA device with NVIDIA GPU
  2. Use Chatterbox Turbo (350M params vs 500M)
  3. Keep reference audio at 10 seconds or less
  4. Reuse conditionals for the same voice

For Best Quality

  1. Use Standard Chatterbox or Multilingual for more parameters
  2. Tune cfg_weight and exaggeration for your use case
  3. Use high-quality reference audio (22050Hz+)
  4. Adjust temperature for consistency vs. variation

Troubleshooting Configuration Issues

Output too fast

Output too monotone

Repetitive speech

Voice doesn’t match reference