77 likes
Zero-shot voice cloning with emotion and duration control, now on MLX
What is IndexTTS-2-fp16?
IndexTTS-2 is a text-to-speech model that can copy a speaker’s voice without any training data, while letting you adjust the emotion and length of the output. It runs in half-precision on Apple’s MLX framework and produces 22 kHz audio.
Who it is for
Developers building voice assistants or content creators who need flexible, on-device TTS should check it out.
How IndexTTS-2-fp16 works
Text is first tokenised and fed into a UnifiedVoice v2 GPT autoregressive model that produces semantic representations. Those semantics are passed through a MaskGCT RepCodec semantic codec and a semantic-code embedding before being shaped by a S2Mel flow-matching module that includes a DiT, a WaveNet and a length regulator to create mel spectrograms. A BigVGAN v2 vocoder then converts the mel spectrogram into a 22.05 kHz audio waveform. Speaker identity comes from a CampPlus DTDNN embedding and emotion is applied via eight preset emotion matrices. The whole pipeline runs on MLX with fp16 weights and can be quantised to int8 or int4 in memory by the Swift package.
What you can do with it
- Generate speech from arbitrary text using zero-shot voice cloning.
- Select one of eight preset emotions to colour the output voice.
- Specify an exact target duration for the generated utterance.
- Run the model on Apple silicon using the MLXEngine Swift package.
Good to know
- The model weights are licensed for non-commercial use only and require written permission from bilibili for commercial use.
- Inference requires MLX-compatible hardware such as Apple silicon with Metal support.
- The repository provides only inference weights; there is no training code for fine-tuning.
Written from the project's own model card.
The story so far
Early Signal first spotted mlx-community/IndexTTS-2-fp16 on November 29, 2026, with 77 likes. The project is 146 days old. Early Signal files it under Inference, Voice, LLMs.
Questions about IndexTTS-2-fp16
- What do I need to run IndexTTS-2-fp16?
- Apple silicon Mac with MLX installed