SuperAPI AI Directory

index-tts

IndexTTS2

Open website

About this tool

IndexTTS is an industrial-grade controllable and efficient zero-shot text-to-speech (TTS) system released by Bilibili (bilibili). Its core capability is to clone a voice from a single reference audio clip, enabling zero-shot speech synthesis.

Version evolution: On 2025/02/12, the paper was submitted to arXiv and a demo and test set were released; on 2025/03/25, IndexTTS-1.0 was released, including model weights and inference code; on 2025/05/14, IndexTTS-1.5 was released, significantly improving model stability and English performance; on 2025/09/08, IndexTTS-2 was released, claimed to be the first autoregressive TTS model with precise synthesis duration control, supporting both controllable and uncontrollable modes (this feature is not yet enabled in this version), and supporting highly expressive emotional speech synthesis with emotion control through multiple input modalities; on 2026/08/10, IndexTTS-2.5 was released, supporting Chinese, English, Japanese, Spanish, and Arabic, with inference speed faster than IndexTTS-2, retaining cross-lingual and timbre-emotion disentanglement capabilities, improving the controllability of Chinese pinyin, English CMU phonemes, and Japanese kana, supporting speech rate control via duration_factor (0.5x–2.0x duration), and supporting production deployment via vLLM.

Installation and usage: You need to install git first and download the repository. Example audio files are downloaded on demand from HuggingFace/ModelScope when the WebUI starts for the first time, so Git LFS is no longer required. Dependency management uses uv, which automatically creates the .venv project directory and installs the correct version of Python and required dependencies; if downloads are slow, a local mirror can be used. Optional extensions include --all-extras (automatically add all extensions), --extra webui (add WebUI support, recommended), --extra deepspeed (add DeepSpeed support, which may accelerate inference). DeepSpeed may be difficult to install on Windows, so you can remove --all-extras and manually add other extensions; if a CUDA error occurs during installation on Linux/Windows, ensure that NVIDIA CUDA Toolkit 12.8 or a newer version is installed on the system. Models are downloaded via uv tool, and can also be downloaded via huggingface-cli or modelscope; some small models are automatically downloaded on first run, and if access to HuggingFace is slow, a mirror can be set. After startup, visit http://127.0.0.1:7860 See the demo; BF16 (IndexTTS-2.5)/FP16 (IndexTTS-2) inference can be enabled to reduce VRAM usage, and DeepSpeed acceleration and compiled CUDA kernel speedup are supported.

Feature control: For emotion control, when an emotion reference audio is specified, emo_alpha adjusts its degree of influence, with a valid range of 0.0–1.0 and a default of 1.0; the emotion reference audio may also be omitted, and instead a list of 8 floats can be provided to specify each emotion intensity, in the order [happy, angry, sad, afraid, disgusted, melancholic, surprised, calm]. use_random can introduce randomness (default False), but enabling random sampling reduces timbre cloning fidelity. Enabling use_emo_text can automatically convert the text script into an emotion vector; an emo_alpha of about 0.6 or lower is recommended for more natural speech; in IndexTTS-2.5, use_emo_text=True requires constructing IndexTTS2 with use_qwen_emo=True, otherwise a RuntimeError is thrown (IndexTTS-2 does not need this flag). emo_text can provide a specific textual emotion description, enabling separate control of the text script and the emotion description. Speech rate is controlled by duration_factor; greater than 1.0 slows it down, less than 1.0 speeds it up, default 1.0, valid range 0.5–2.0. For pronunciation control, IndexTTS-2.5 supports character replacement with pinyin, CMU phonemes, and Japanese kana; see checkpoints/pinyin.vocab and the English phoneme CMU dictionary for the specific valid entries; IndexTTS-2 supports mixed modeling of Chinese characters and pinyin, and pinyin control only supports valid Chinese pinyin combinations and does not apply to all consonant-vowel combinations. The older IndexTTS-1.5 can be used by importing different modules.

License and contact: The project is released under the bilibili Model Use License Agreement; read the DISCLAIMER before use. Official channels are maintained only by the core team at https://github.com/index-tts/index-tts,其他网站或服务均非官方。商业使用与合作请联系 indexspeech@bilibili.com. Community channels include QQ groups 663272642 (No.4), 1013410623 (No.5), Discord https://discord.gg/uT32E7KDmy,邮箱 indexspeech@bilibili.com. The original text also includes evaluation tables for CV3-Eval zero-shot TTS and cross-lingual TTS (Arabic uses an internal test set) as well as RTF inference speed data on NVIDIA RTX 4090 with kv_cache=True; the specific table values are not given in the provided text.