跳到主要内容Skip to main content
语音与音频Speech & Audio生产可用Production

IndexTTS

index-tts / index-tts

B 站开源的工业级 TTS,支持零样本音色克隆、情感与语速控制,中文/英文,非自回归。Bilibili’s industrial-grade open TTS with zero-shot voice cloning, emotion and speed control, Chinese and English, non-autoregressive.

25.2k stars 2957 forks Python 语言Language NOASSERTION 许可License 最近推送Last push 2026-09-29

为什么选Why choose it

  • 中文 TTS 里音色克隆和韵律自然度兼顾,适合短视频配音、有声书。Zero-shot cloning and emotion control.
  • IndexTTS2 增加情感控制和时长控制,做角色对白更实用。Chinese and English support.
  • 非自回归结构推理快,工程上比大语言模型 TTS 更容易压延迟。Non-autoregressive inference is fast.

不适合Not for

需要多说话人对话式 TTS 或极低延迟流式;要另做流式改造。You need a hosted API with no GPU.
商用前不读 bilibili 模型许可、直接分发权重。You cannot obtain consent for the reference voice.

最小上手Minimum setup

  1. 按 README 安装依赖并下载 IndexTTS2 权重。Clone a consented voice and synthesise one paragraph.
  2. 用 5–10 秒参考音跑零样本克隆,听音色与韵律。Change speed and emotion separately.
  3. 换情绪文本和长句,记录稳定性、RTF 与失败样本。Check pronunciation of numbers and mixed-language text.

依赖与成本Dependencies and cost

Python;PyTorch;GPU 推荐;参考音频 5–10 秒。Check runtime, model weights and external service dependencies in the README.

许可与使用边界License and usage boundaries

适用 bilibili Model Use License;商用、分发与改编需逐条核对。Code is NOASSERTION; model weights, training data and generated content may have separate terms — check each before commercial use.

开源不等于可商用:GPL / AGPL 有传染性;代码许可、模型许可、生成内容许可要分开看。上线前读仓库 LICENSE 与模型卡,必要时让法务确认。Open source is not automatically commercial-use friendly: GPL / AGPL are copyleft; code, model and output licenses are separate. Read the LICENSE and model card before launch, and involve legal when needed.

替代与相邻Alternatives and neighbors

  • CosyVoice — 特定场景Niche,零样本语音合成与音色克隆,支持多语言与情感控制。Zero-shot speech synthesis and voice cloning with multilingual and emotional control.
  • F5-TTS — 生产可用Production,基于 Flow Matching 与 Diffusion Transformer 的 TTS:用短参考音频做零样本声音克隆,支持中英与速度控制,提供训练与推理代码。A TTS model based on Flow Matching and a Diffusion Transformer: zero-shot voice cloning from a short reference, Chinese and English, with speed control and training code.
  • GPT-SoVITS — 特定场景Niche,少样本语音克隆与 TTS:约 1 分钟干净语音就能微调,支持中英日跨语言,带训练与推理 WebUI。Few-shot voice cloning and TTS: fine-tune on about one minute of clean speech, support Chinese, English and Japanese cross-lingual output, with training and inference web UIs.

下一步Next steps

  • 打开 GitHub,先读 README、LICENSE、最近 release 与 issue。Open GitHub and read the README, LICENSE, latest release and issues first.
  • 按“部署依赖 / 显存 / 数据 / 网络 / 权限”列一张上手清单。Make an onboarding checklist for deployment dependencies, VRAM, data, network and permissions.
  • 用一个小样本跑通,再决定是否进生产;不要直接上生产数据。Run a small sample first, then decide on production; never start with production data.

GitHub 仓库 ↗GitHub repository ↗ 文档 ↗Docs ↗ 加入对比Add to compare

快照口径:stars / forks / language / license / pushed_at 来自 GitHub API 2026-11-20 快照;之后的变化没有回写。标签与“适合 / 不适合”是编辑判断,不是 GitHub 元数据。Snapshot: stars / forks / language / license / pushed_at come from the GitHub API snapshot on 2026-11-20; later changes are not written back. Tags and “fit / not fit” are editorial judgments, not GitHub metadata.
不背书:本站只做索引与风险提示,不审计代码、不保证安全、不替你做许可判断。仓库脚本与模型权重请自行审查。No endorsement: this site only indexes and flags risks; it does not audit code, guarantee security or make license decisions for you. Review repository scripts and model weights yourself.