Instructions to use Izahat2/chatterbox-nano-AZ-v2 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Chatterbox
How to use Izahat2/chatterbox-nano-AZ-v2 with Chatterbox:
# pip install chatterbox-tts import torchaudio as ta from chatterbox.tts import ChatterboxTTS model = ChatterboxTTS.from_pretrained(device="cuda") text = "Ezreal and Jinx teamed up with Ahri, Yasuo, and Teemo to take down the enemy's Nexus in an epic late-game pentakill." wav = model.generate(text) ta.save("test-1.wav", wav, model.sr) # If you want to synthesize with a different voice, specify the audio prompt AUDIO_PROMPT_PATH="YOUR_FILE.wav" wav = model.generate(text, audio_prompt_path=AUDIO_PROMPT_PATH) ta.save("test-2.wav", wav, model.sr) - Notebooks
- Google Colab
- Kaggle
Chatterbox Nano AZ V2
Chatterbox Nano AZ V2 is an Azerbaijani and English speech synthesis model with voice cloning and support for the inherited Chatterbox Nano paralinguistic tags. It continues training from Chatterbox Nano AZ, which is based on ResembleAI/chatterbox-nano.
The LoRA adapter has been merged into the exported model. The repository includes the expanded tokenizer vocabulary used during fine-tuning.
✨ What's new in V2
Two languages, more expressive speech.
🌍 Generate speech in Azerbaijani and English.
🎭 V2 was further trained to make emotional expressions and vocal effects more consistent than in the previous version.
Results can vary by language, voice and tag.
Emotions and vocal effects
Place the tag in the input text where you want the effect:
| Type | Tags |
|---|---|
| Emotion and delivery | [angry], [fear], [surprised], [whispering], [advertisement], [dramatic], [narration], [crying], [happy], [sarcastic] |
| Vocal effects | [clear throat], [sigh], [shush], [cough], [groan], [sniff], [gasp], [chuckle], [laugh] |
Salam! [chuckle] Bu gün sizin üçün gözəl xəbərim var.
The tags are inherited from Nano. The model may not produce every requested effect consistently, especially in Azerbaijani.
Audio examples
The two examples marked “training sample” were generated during training before the final export. The other examples were generated with the final V2 export.
Cough — Azerbaijani
Text: [cough] Bağışlayın, bir az su içim.
Clear throat — Azerbaijani
Text: [clear throat] Bağışlayın, söhbətə başlaya bilərik.
Chuckle — Azerbaijani
Text: [chuckle] Sən yenə də açarlarını evdə unutdun, elə deyilmi?
Cough — English (training sample)
Text: [cough] Excuse me, let me drink some water before I continue.
Angry — Azerbaijani
Text: [angry] Mənə niyə həqiqəti demədin?
Cough — Azerbaijani (training sample)
Text: [cough] Bağışlayın, bir az su içim, sonra davam edərəm.
Groan — Azerbaijani
Text: [groan] Bu gün çox yorulmuşam.
Shush — Azerbaijani
Text: [shush] Sakit ol, körpə yatır.
Sigh — Azerbaijani
Text: [sigh] Uzun bir gündən sonra nəhayət evə çatdım.
Azerbaijani voice cloning example
Listen to the reference recording and the new Azerbaijani sentence generated in its voice.
Reference recording text: “yalnız hissləri ilə nəyin bahasına olursa olsun uşaqların ağlamasına mani olmaq istəyən zəif ana hissləri ilə hərəkət etmişdi.”
Text passed to the model: “Salam! Bu gün sizinlə gözəl bir hekayə paylaşmaq istəyirəm.”
This is one listening example; voice similarity and pronunciation can vary.
Usage
Install the Chatterbox inference library and Hugging Face Hub:
python -m pip install "chatterbox-tts @ git+https://github.com/resemble-ai/chatterbox.git@5de7a54aa4e5e2baadb0182dde554908b48b85c2" huggingface_hub
The examples download the V2 weights and their loader. The included reference recording is used for voice cloning; replace its path with your own reference WAV if you prefer. If the model is private, run hf auth login first.
CPU
import importlib.util
from pathlib import Path
import torch
import torchaudio
from huggingface_hub import snapshot_download
model_dir = Path(snapshot_download(repo_id="Izahat2/chatterbox-nano-AZ-v2"))
spec = importlib.util.spec_from_file_location("nano_az_loader", model_dir / "nano_az_loader.py")
loader = importlib.util.module_from_spec(spec)
spec.loader.exec_module(loader)
model = loader.load_nano_model(model_dir, device="cpu")
with torch.inference_mode():
audio = model.generate(
"Salam! Bu gün hava çox gözəldir.",
audio_prompt_path=str(model_dir / "samples" / "voice_reference.wav"),
)
torchaudio.save("azerbaijani_cpu.wav", audio.cpu(), model.sr)
NVIDIA GPU
Install a CUDA-enabled PyTorch and matching torchaudio, then run:
import importlib.util
from pathlib import Path
import torch
import torchaudio
from huggingface_hub import snapshot_download
if not torch.cuda.is_available():
raise RuntimeError("CUDA is not available")
model_dir = Path(snapshot_download(repo_id="Izahat2/chatterbox-nano-AZ-v2"))
spec = importlib.util.spec_from_file_location("nano_az_loader", model_dir / "nano_az_loader.py")
loader = importlib.util.module_from_spec(spec)
spec.loader.exec_module(loader)
model = loader.load_nano_model(model_dir, device="cuda")
with torch.inference_mode():
audio = model.generate(
"Azərbaycan dilində səs sintezini yoxlayırıq.",
audio_prompt_path=str(model_dir / "samples" / "voice_reference.wav"),
)
torchaudio.save("azerbaijani_cuda.wav", audio.cpu(), model.sr)
For a local copy, replace Path(snapshot_download(...)) with Path("/path/to/chatterbox-nano-AZ-v2"). The loader restores the expanded Azerbaijani vocabulary; upstream from_pretrained(..., nano=True) loads the original Nano checkpoint instead.
Inference speed
Resemble AI reports 3× real time on an 8-core CPU for the original Nano model. This is not a benchmark of AZ V2; its speed depends on the machine and software configuration.
Original Chatterbox Nano model card
The following documentation describes the upstream Chatterbox project and its original model family.
The following documentation is from the upstream Chatterbox model card. Its general installation, model-family examples, supported-language list, tips, watermark information, acknowledgements, and citation describe the original Chatterbox project.
Chatterbox TTS
Chatterbox is a family of four state-of-the-art, open-source text-to-speech models by Resemble AI.
We are excited to introduce Chatterbox-Nano, our most efficient model yet. Built on a streamlined 110M parameter architecture, Nano delivers high-quality speech on CPU - 3x faster than realtime on 8 cores. We have also distilled the speech-token-to-mel decoder, previously a bottleneck, reducing generation from 10 steps to just one, while retaining high-fidelity audio output.
Paralinguistic tags are now native to both Nano and Turbo models, allowing you to use [cough], [laugh], [chuckle], and more to add distinct realism. While Turbo was built primarily for low-latency voice agents, it excels at narration and creative workflows.
If you like the model but need to scale or tune it for higher accuracy, check out our competitively priced TTS service (link). It delivers reliable performance with ultra-low latency of sub 200ms—ideal for production use in agents, applications, or interactive media.
⚡ Model Zoo
Choose the right model for your application.
| Model | Size | Languages | Key Features | Best For | 🤗 | Examples |
|---|---|---|---|---|---|---|
| Chatterbox-Nano | 110M | English | Paralinguistic Tags ([laugh]), 3x faster than realtime on 8-core CPU |
On-device / CPU inference, tight latency & memory budgets | Demo | Listen |
| Chatterbox-Turbo | 350M | English | Paralinguistic Tags ([laugh]), Lower Compute and VRAM |
Zero-shot voice agents, Production | Demo | Listen |
| Chatterbox-Multilingual (Language list) | 500M | 23+ | Zero-shot cloning, Multiple Languages | Global applications, Localization | Demo | Listen |
| Chatterbox (Tips and Tricks) | 500M | English | CFG & Exaggeration tuning | General zero-shot TTS with creative controls | Demo | Listen |
Installation
pip install chatterbox-tts
Alternatively, you can install from source:
# conda create -yn chatterbox python=3.11
# conda activate chatterbox
git clone https://github.com/resemble-ai/chatterbox.git
cd chatterbox
pip install -e .
We developed and tested Chatterbox on Python 3.11 on Debian 11 OS; the versions of the dependencies are pinned in pyproject.toml to ensure consistency. You can modify the code or dependencies in this installation mode.
Usage
Chatterbox-Nano
Nano shares Turbo's architecture and is loaded through the same ChatterboxTurboTTS class by passing nano=True:
import torchaudio as ta
import torch
from chatterbox.tts_turbo import ChatterboxTurboTTS
# Load the Nano model (also runs on CPU: device="cpu")
model = ChatterboxTurboTTS.from_pretrained(device="cuda", nano=True)
# Generate with Paralinguistic Tags
text = "Hi there, Sarah here from MochaFone calling you back [chuckle], have you got one minute to chat about the billing issue?"
# Generate audio (requires a reference clip for voice cloning)
wav = model.generate(text, audio_prompt_path="your_10s_ref_clip.wav")
ta.save("test-nano.wav", wav, model.sr)
Chatterbox-Turbo
import torchaudio as ta
import torch
from chatterbox.tts_turbo import ChatterboxTurboTTS
# Load the Turbo model
model = ChatterboxTurboTTS.from_pretrained(device="cuda")
# Generate with Paralinguistic Tags
text = "Hi there, Sarah here from MochaFone calling you back [chuckle], have you got one minute to chat about the billing issue?"
# Generate audio (requires a reference clip for voice cloning)
wav = model.generate(text, audio_prompt_path="your_10s_ref_clip.wav")
ta.save("test-turbo.wav", wav, model.sr)
Chatterbox and Chatterbox-Multilingual
import torchaudio as ta
from chatterbox.tts import ChatterboxTTS
from chatterbox.mtl_tts import ChatterboxMultilingualTTS
device = "cuda" # or "cpu" / "mps"
# English example
model = ChatterboxTTS.from_pretrained(device=device)
text = "Ezreal and Jinx teamed up with Ahri, Yasuo, and Teemo to take down the enemy's Nexus in an epic late-game pentakill."
wav = model.generate(text)
ta.save("test-english.wav", wav, model.sr)
# Multilingual examples
multilingual_model = ChatterboxMultilingualTTS.from_pretrained(device=device)
french_text = "Bonjour, comment ça va? Ceci est le modèle de synthèse vocale multilingue Chatterbox, il prend en charge 23 langues."
wav_french = multilingual_model.generate(french_text, language_id="fr")
ta.save("test-french.wav", wav_french, multilingual_model.sr)
chinese_text = "你好,今天天气真不错,希望你有一个愉快的周末。"
wav_chinese = multilingual_model.generate(chinese_text, language_id="zh")
ta.save("test-chinese.wav", wav_chinese, multilingual_model.sr)
# If you want to synthesize with a different voice, specify the audio prompt
AUDIO_PROMPT_PATH = "YOUR_FILE.wav"
wav = model.generate(text, audio_prompt_path=AUDIO_PROMPT_PATH)
ta.save("test-2.wav", wav, model.sr)
See example_tts.py, example_tts_turbo.py, example_tts_nano.py, and example_vc.py for more examples.
Supported Languages
Arabic (ar) • Danish (da) • German (de) • Greek (el) • English (en) • Spanish (es) • Finnish (fi) • French (fr) • Hebrew (he) • Hindi (hi) • Italian (it) • Japanese (ja) • Korean (ko) • Malay (ms) • Dutch (nl) • Norwegian (no) • Polish (pl) • Portuguese (pt) • Russian (ru) • Swedish (sv) • Swahili (sw) • Turkish (tr) • Chinese (zh)
Original Chatterbox Tips
General Use (TTS and Voice Agents):
- Ensure that the reference clip matches the specified language tag. Otherwise, language transfer outputs may inherit the accent of the reference clip’s language. To mitigate this, set
cfg_weightto0. - The default settings (
exaggeration=0.5,cfg_weight=0.5) work well for most prompts across all languages. - If the reference speaker has a fast speaking style, lowering
cfg_weightto around0.3can improve pacing.
- Ensure that the reference clip matches the specified language tag. Otherwise, language transfer outputs may inherit the accent of the reference clip’s language. To mitigate this, set
Expressive or Dramatic Speech:
- Try lower
cfg_weightvalues (e.g.~0.3) and increaseexaggerationto around0.7or higher. - Higher
exaggerationtends to speed up speech; reducingcfg_weighthelps compensate with slower, more deliberate pacing.
- Try lower
Built-in PerTh Watermarking for Responsible AI
Every audio file generated by Chatterbox includes Resemble AI's Perth (Perceptual Threshold) Watermarker - imperceptible neural watermarks that survive MP3 compression, audio editing, and common manipulations while maintaining nearly 100% detection accuracy.
Watermark extraction
You can look for the watermark using the following script.
import perth
import librosa
AUDIO_PATH = "YOUR_FILE.wav"
# Load the watermarked audio
watermarked_audio, sr = librosa.load(AUDIO_PATH, sr=None)
# Initialize watermarker (same as used for embedding)
watermarker = perth.PerthImplicitWatermarker()
# Extract watermark
watermark = watermarker.get_watermark(watermarked_audio, sample_rate=sr)
print(f"Extracted watermark: {watermark}")
# Output: 0.0 (no watermark) or 1.0 (watermarked)
Official Discord
👋 Join us on Discord and let's build something awesome together!
Acknowledgements
Citation
If you find this model useful, please consider citing.
@misc{chatterboxtts2025,
author = {{Resemble AI}},
title = {{Chatterbox-TTS}},
year = {2025},
howpublished = {\url{https://github.com/resemble-ai/chatterbox}},
note = {GitHub repository}
}
Disclaimer
Don't use this model to do bad things. Prompts are sourced from freely available data on the internet.
- Downloads last month
- 3
