This model was converted to MLX format from ResembleAI/chatterbox using mlx-audio version 0.2.7. Refer to the original model card for more details on the model.
from mlx_audio.tts.utils import load_model
from mlx_audio.tts.generate import generate_audio
model = load_model("mlx-community/chatterbox-fp16")
generate_audio(
model=model, text="Hello, this is a test.",
file_prefix="test_audio",
)
from mlx_audio.tts.generate import generate_audio
generate_audio(
text="Hello, this is a test of Chatterbox TTS.",
model="mlx-community/chatterbox-fp16",
ref_audio="path_to_file.wav",
ref_text="Text transcript", # Optional
file_prefix="vc_output",
)
Generate speech in 23 languages by specifying the lang_code parameter. The model automatically handles pronunciation, intonation, and language-specific phonemes.