Before you start
Resemble AI publishes Chatterbox Nano as its compact English model. The model directory ships a default voice-conditioning file; this workflow uses it and does not imitate a real person.
- What you’ll make
- A short WAV and a separate script you can revise.
- What you’ll need
- A Python version supported by the package, a clean virtual environment, disk space for the public weights, and an audio player.
Step by step
Prepare a clean Python environment
Create a new folder and a virtual environment. Review the upstream Python/PyTorch requirements and install chatterbox-tts inside that environment. If your OS or Python version lacks a compatible build, choose a supported environment rather than forcing dependencies.
Load the CPU model
Use ChatterboxTurboTTS.from_pretrained(device="cpu", nano=True). The first load fetches the publicly listed weights. Keep the default voice and do not supply audio_prompt_path.
Generate an original line
Write a short English product line with clear punctuation. Render one WAV at the model sample rate and keep the line next to it. If delivery sounds rushed, generate again with two shorter sentences.
Review the asset
Listen from start to finish. Verify words, pace, clipping and silence at either end. Keep the generated watermark intact, retain the model name and check applicable rights before commercial reuse.
Commands
python -m venv .venv
# Activate the virtual environment for your OS.
python -m pip install chatterbox-tts
# Save as render.py inside the project, then run python render.py.
from chatterbox.tts_turbo import ChatterboxTurboTTS
import torchaudio
model = ChatterboxTurboTTS.from_pretrained(device="cpu", nano=True)
wav = model.generate("One small edit. One very long afternoon.")
torchaudio.save("narration.wav", wav, model.sr)Sign-in & permissions
Local inference does not need a paid voice account. The initial public download needs internet access and disk space. Do not pass voice recordings or secrets to the model. This recipe uses English; the maintainer publishes a separate multilingual model.
Use the Python package, not a cloud connector. The example combines the maintainer’s Nano constructor with the default voice supported by its source and model files.
Prompt for your agent
Use with: Coding agent with Python and a terminal
Copy the whole prompt into a supported agent. After any manual step, tell the same agent to continue from that step.
Use a clean project folder for this workflow: Render a short English voice-over on CPU. Supported setup: Coding agent with Python and a terminal. Start from the original documentation: https://github.com/resemble-ai/chatterbox#chatterbox-nano.
1. SET UP
Create a virtual environment and install the package there; no plugin is needed. Ask before fetching the public Nano model. Keep shell commands and the render.py snippet separate. Use CPU and the supplied default voice.
Documented commands or code reference (respect the comments and replace placeholders before running individual commands):
python -m venv .venv
# Activate the virtual environment for your OS.
python -m pip install chatterbox-tts
# Save as render.py inside the project, then run python render.py.
from chatterbox.tts_turbo import ChatterboxTurboTTS
import torchaudio
model = ChatterboxTurboTTS.from_pretrained(device="cpu", nano=True)
wav = model.generate("One small edit. One very long afternoon.")
torchaudio.save("narration.wav", wav, model.sr)
2. PAUSE FOR ME IF NEEDED
For a host install, sign-in, permission screen, or model download that needs my consent, stop and tell me the exact app, control and what will be authorized. Do not enter passwords, OTPs or secrets in chat. Resume after I confirm.
3. BUILD THE FIRST RESULT
Use Chatterbox Nano from https://github.com/resemble-ai/chatterbox in a clean Python environment. Ask before downloading the model. Render my short English product line using the default voice and CPU, with no reference audio and no account keys. Save narration.wav, preserve its watermark, and show the exact script and sample rate. Let me hear it before any external use.
4. CHECK THE RESULT
Open the generated WAV, verify sample rate and duration, and let me listen before commercial use. Give me the actual file paths and anything that still needs a manual action. Do not publish or make a purchase.