Skip to main content

Overview

The SUPPORTED_LANGUAGES dictionary contains all language codes supported by the ChatterboxMultilingualTTS model. Use these language codes with the language_id parameter when generating speech.

Language Codes

ChatterboxMultilingualTTS supports 23 languages:

Usage

Import and use the SUPPORTED_LANGUAGES dictionary in your code:

Using Language Codes

Pass the language code to the language_id parameter when generating speech:

Cross-Lingual Voice Cloning

You can clone a voice from one language and use it to synthesize speech in any other supported language:

Validation

The model automatically validates language codes. If you provide an invalid language code, it will raise a ValueError:

Notes

  • Language codes are case-insensitive (“EN” and “en” both work)
  • The model performs automatic text normalization for each language, including language-specific punctuation
  • Cross-lingual voice cloning works best when the reference audio is clear and at least 5-10 seconds long
  • Some languages may require specific fonts or Unicode support for proper text display