IndexTTS 2 for MLX

Zero-shot text-to-speech with emotion control: IndexTTS 2 by bilibili, every network converted to MLX (float32, as released).

Converted from IndexTeam/IndexTTS-2 with speech-mlx. Runs without PyTorch.

Use

pip install "speech-mlx[indextts,dots] @ git+https://github.com/xiaozealer/speech-mlx"
from speech_mlx.indextts import IndexTTS
tts = IndexTTS.from_pretrained("zealerx/IndexTTS-2-mlx")
tts.speak("你好,欢迎收听。", "speaker.wav", "out.wav", emo_vector=[0, 0, 0, 0, 0, 0, 0.6, 0], seed=0)

Parity with the original

Speech codes identical to the official PyTorch model on the same clips; with the same decoder noise the waveform is 78-87 dB below the signal. 1.41x vs 0.70x real time on 17 directed lines (M3 Max).

Details: docs/PARITY.md.

Licence

This is a Derivative Work of IndexTTS under the bilibili Model Use License Agreement, included here as the licence file. Use of these weights is subject to that agreement, including its use restrictions.

Any modifications made to the original model in this Derivative Work are not endorsed, warranted, or guaranteed by the original right-holder of the original model, and the original right-holder disclaims all liability related to this Derivative Work.

Downloads last month

-

Downloads are not tracked for this model. How to track
MLX
Hardware compatibility
Log In to add your hardware

Quantized

Inference Providers NEW
This model isn't deployed by any Inference Provider. 🙋 Ask for provider support

Model tree for zealerx/IndexTTS-2-mlx

Finetuned
(11)
this model