Privacy and advertising choices
Git-Stars uses essential storage for site operation. Optional analytics and ad-measurement scripts stay disabled unless you accept them; partners such as Google may then use cookies or similar identifiers where required. Privacy Policy
IndexTTS2 is an industrial-grade zero-shot text-to-speech system from Bilibili. It can clone a voice from a single reference audio, supports emotion control, pinyin-level Chinese pronunciation, and Chinese/English synthesis. The code and weights are public, but under a custom Bilibili license: smaller teams can use it commercially, larger companies need a separate written license, and you are not allowed to use the model to improve other AI models. Deployment requires a GPU and CUDA 12.8+, so it is not plug-and-play.
What you should know first
Continue below for the long-form breakdown, alternatives, and deployment notes.
Repository facts
Stars
22,468
Forks
2,734
Open issues
379
License
Other
Open source
Yes
How to read this
Start with the three judgment cards, then move to problem solved and commercial terms before deciding whether to deploy it.
30-second read
The scores are practical friction signals, not vanity metrics.
Setup is not trivial: it requires GPU, CUDA Toolkit 12.8+, uv package manager, and separate model weight download. The WebUI is easy to start once dependencies are installed, but the repository history reset and specific prerequisites add friction. A team with GPU infrastructure and Python experience can deploy it, but it's not plug-and-play.
The license is a custom Bilibili agreement with significant restrictions. Commercial use is allowed for smaller entities, but large companies (MAU >100M or revenue >1B RMB) need a separate license. Additionally, the model cannot be used to improve other AI models except for non-commercial ones, which limits derivative work. This makes it risky for many commercial applications.
The repo delivers state-of-the-art zero-shot TTS with emotional and multilingual support, covering a wide range of voice cloning and expressive speech use cases. However, the promised precise duration control is not yet enabled, and random sampling can reduce fidelity. Teams with advanced TTS needs may outgrow it, but for most realistic scenarios it is highly capable.
Traditional TTS either needs per-speaker training data or produces flat, unemotional speech. IndexTTS2 solves three practical problems: it clones a voice from a short reference clip without fine-tuning; it controls emotion via an emotional audio prompt, an 8-dimensional vector, or natural language; and it offers pinyin-level control to reduce Chinese mispronunciations. The proposed duration-control mechanism also points toward future dubbing with lip sync.
Text-to-speech has moved from robotic reading to expressive generation. IndexTTS2 brings zero-shot voice cloning, emotion control, and multilingual synthesis together in one system backed by a major video platform. That makes it particularly relevant for video dubbing, content creation, and personalized voice assistants. The custom license limits some commercial uses, but the release still gives developers and researchers a state-of-the-art reference implementation that can run locally.
Strictly speaking, this is not open source in the OSI sense. The code is public, but the repository uses Bilibili's custom Model Use License Agreement (SPDX: NOASSERTION). It grants a worldwide, non-exclusive, royalty-free limited license, but with important restrictions: if your products/services have more than 100 million monthly active users or annual revenue above RMB 1 billion, you must obtain a separate written license from Bilibili; you may not use the model or derivative works to improve any AI model except for non-commercial AI models or Bilibili's IndexTTS2 itself. Model weights must also be downloaded separately from Hugging Face or ModelScope.
If you are not a developer, you can still use IndexTTS2 once someone installs it for you. It ships with a local WebUI: after running `uv run webui.py`, open http://127.0.0.1:7860, upload a reference audio, type your text, choose emotion and language, and generate speech. No external API account is needed. However, there is no one-click installer or public hosted demo, so non-technical users should wait for a community wrapper or an official online playground.
Deployment steps: 1) Prepare a machine with an NVIDIA GPU and CUDA Toolkit 12.8+; 2) Install git, git-lfs, and the uv package manager; 3) Clone the repository using HTTPS or SSH (note that the repository history was reset, so delete any old local clone first); 4) Run `uv sync --all-extras` in the project directory; 5) Download the IndexTTS-2 model weights from Hugging Face or ModelScope and place them in the expected path; 6) Start the WebUI with `uv run webui.py`; 7) Open http://127.0.0.1:7860. Optional acceleration flags include `--fp16`, `--accel`, and `--torch_compile`. Small auxiliary models are downloaded automatically on first run. This is not a beginner-friendly setup, but it is manageable for any team with GPU infrastructure.
According to the paper, IndexTTS2 achieves state-of-the-art results in word error rate, speaker similarity, and emotional fidelity. However, the current release does not enable the promised 'precise duration control', so exact lip-sync dubbing is not possible yet. In addition, enabling random sampling during inference reduces voice cloning fidelity. The system is best suited for emotionally expressive audiobooks, multilingual voiceovers, and low-latency voice cloning, not for phoneme-level editing tasks.
IndexTTS2 is an industrial-grade zero-shot text-to-speech system open-sourced by Bilibili. With a single reference audio, it can clone a speaker's voice and synthesize Chinese, English, and cross-lingual speech. The release includes the model weights and a paper, positioning it as a controllable and efficient zero-shot TTS system.
Key capabilities:
Conventional TTS has three common pain points: voice cloning requires large amounts of training data, synthesized speech sounds flat, and Chinese polyphonic characters are often mispronounced. IndexTTS2 avoids fine-tuning with zero-shot cloning, adds expressiveness through emotion prompts, and improves Chinese accuracy with pinyin-level control. Ideal use cases include video dubbing, audiobooks, character voices, and multilingual content creation.
This is a 'source-available' project with a custom license, not traditional open source. Key points:
For commercial inquiries: indexspeech@bilibili.com
The barrier is moderate: you need a GPU, CUDA 12.8+, uv, and manual weight download. Once the environment is ready, the WebUI is easy to use:
```bash git clone https://github.com/index-tts/index-tts.git cd index-tts uv sync --all-extras # Download IndexTTS-2 weights and place them in the required directory uv run webui.py ```
Then open http://127.0.0.1:7860.
The biggest limitation is that precise duration control is not actually enabled in this release, so exact lip-sync dubbing is not possible. Also, random sampling during inference lowers cloning similarity. For high-quality, emotionally rich, multilingual speech, it is excellent; for phoneme-level timing manipulation, you will need to wait for a future release or use another tool.
IndexTTS2 is one of the strongest zero-shot TTS systems available today. Its capability is impressive, but the custom license and GPU-heavy deployment make it less universal. If you have GPU resources and can comply with the license, it is a powerful addition to your content generation stack. If you are a large enterprise or need unrestricted commercial use, consider an alternative or contact Bilibili for a separate license.
If you are close to adoption, compare these alternatives on deployment and commercial fit first.
A comprehensive deep learning toolkit for Text-to-Speech, featuring XTTS v2 for zero-shot voice cloning in 16+ languages, plus training and fine-tuning utilities.
Strengths
Mature and widely adopted; easy PyPI installation with Docker support; broad language coverage; many pretrained models and vocoders.
Weaknesses
Project appears unmaintained (last push 2024); less precise emotional and duration control; XTTS v2 quality may trail newer specialized models.
Verdict
A solid, permissively-licensed general-purpose TTS library, but less advanced for expressive or duration-controlled synthesis and showing signs of stagnation.
A high-quality multi-voice TTS system prioritizing realistic prosody, using an autoregressive and diffusion architecture; supports voice cloning from reference clips.
Strengths
Excellent speech quality and prosody; Apache 2.0 license; well-known and influential; active community despite age.
Weaknesses
Slow inference; primarily English-only; lacks fine emotion or duration control; setup can be tricky on Windows.
Verdict
A respected choice for high-fidelity English TTS with a truly open license, but it lags behind in multilingual support and expressive control.
An LLM-based multilingual zero-shot TTS engine supporting 14 languages with cross-lingual voice transfer, emotion cloning, and unconstrained voice cloning.
Strengths
Broad multilingual and cross-lingual support; emotion transfer; zero-shot cloning; includes WebUI, FastAPI server, and fine-tuning scripts.
Weaknesses
Metadata license ambiguity (NOASSERTION despite Apache text); newer project with smaller community; no duration control.
Verdict
A compelling modern alternative with excellent language coverage and a permissive license, ideal for multilingual commercial deployments.
A 3B-parameter LLM-based audio editing model that also performs zero-shot TTS, with fine-grained control over emotion, speaking style, and paralinguistics.
Strengths
Unique iterative audio editing; precise emotion/style/paralinguistic control; good zero-shot TTS for Chinese, English, etc.; Apache 2.0.
Weaknesses
Higher GPU memory (12GB+); fewer languages than some alternatives; focus on editing rather than pure TTS; newer project.
Verdict
A state-of-the-art option for expressive and editable audio, but it demands more resources and has narrower language coverage than Confucius4-TTS or Coqui.