Chatterbox TTS
Use servers/tts/chatterbox/server.py for a fast, multilingual TTS voice cloning endpoint. It defaults to Chatterbox-Turbo, preserving bracket delivery tags and fast inference.
Run these commands from the TomoriBot repo root, the folder where you cloned TomoriBot:
Windows PowerShell
Section titled “Windows PowerShell”python -m venv servers\tts\chatterbox\.venvservers\tts\chatterbox\.venv\Scripts\Activate.ps1python -m pip install --upgrade pippip install numpypip install -r servers\tts\chatterbox\requirements.txtpython servers\tts\chatterbox\server.pyLinux/macOS Bash
Section titled “Linux/macOS Bash”python3 -m venv servers/tts/chatterbox/.venvsource servers/tts/chatterbox/.venv/bin/activatepython -m pip install --upgrade pippython -m pip install numpypython -m pip install -r servers/tts/chatterbox/requirements.txtpython servers/tts/chatterbox/server.pyKeep that terminal open while TomoriBot is using Chatterbox. The default endpoint URL is http://127.0.0.1:8011.
Register in TomoriBot
Section titled “Register in TomoriBot”Run /provider custom-endpoint add:
capability:speechapi_style:tts-cloneendpoint_url:http://127.0.0.1:8011
In the modal:
Voice Source Mode:CloneScript Markup Style:Bracket Tags
Registration makes the endpoint active immediately. Use /model speech later only when switching between speech endpoints.
Set Up a Persona Voice
Section titled “Set Up a Persona Voice”- Prepare a clean 10-20 second voice clip with one speaker and no background music.
- Run
/speech voice-addand upload the clip. - Run
/speech voice-assign, then choose the persona and the voice sample.
Chatterbox can use bracket delivery tags such as [laugh] and [sigh] when Turbo mode is enabled.
Optional Tuning
Section titled “Optional Tuning”Use /speech chatterbox parameters to tune the Chatterbox request payload:
turbodefaults totrue. When enabled, TomoriBot keeps supported Chatterbox-Turbo event tags and strips unsupported bracket descriptors before the wrapper usesChatterboxTurboTTS.model.generate(...).cfg_weightdefaults to0.5. Minimum is0; TomoriBot does not set a hard maximum. It only applies whenturboisfalse; lower values can help slow fast reference voices, while higher values follow the reference more strongly.exaggerationdefaults to0.5. Minimum is0; TomoriBot does not set a hard maximum. It only applies whenturboisfalse; higher values make delivery more expressive or dramatic and may speed speech up.
Supported Turbo event tags are [clear throat], [sigh], [shush], [cough], [groan], [sniff], [gasp], [chuckle], and [laugh]. Unsupported descriptors such as [stammers], [blushes], or [smiles] are stripped instead of being sent to TTS.
When turbo is disabled, TomoriBot strips all bracket descriptors before sending text to TTS, then the wrapper lazily loads the standard ChatterboxTTS model and calls model.generate(..., cfg_weight, exaggeration).