How to install iszhanjiawei/indexTTS2. Official installation instructions. Project installation guide. Framework or library installation. Build installation instructions. How to setup and install from GitHub. Installation steps and setup instructions. Official docs and installation instructions GitHub.
iszhanjiawei/indexTTS2 Installation Guide
How to install iszhanjiawei/indexTTS2. Official project installation instructions and setup guide.
⚡
Automated Install (Recommended)
Quick installation instructions for iszhanjiawei/indexTTS2. This is the fastest way to complete project installation and setup.
Install via curl
curl -fsSL https://hexmos.com/ipm-install | bash &&
ipm i iszhanjiawei/indexTTS2or
Install via npx
npx @hexmos/ipm i iszhanjiawei/indexTTS2Prerequisites
conda
environment managerVersion: >=4.10
python
programming languageVersion: 3.10
pip
package installergit
version control systemwget
utilityhuggingface-cli
toolManual Installation Methods
Manual installation instructions. How to install from GitHub source.
Environment Setup
git clone https://github.com/index-tts/index-tts.git
cd index-tts
conda create -n indextts2 python=3.10
conda activate indextts2
pip install -r requirements.txtDownload Models (using huggingface-cli)
huggingface-cli download IndexTeam/IndexTTS-1.5 --local-dir checkpointsDownload Models (using wget)
mkdir -p checkpoints
wget https://huggingface.co/IndexTeam/IndexTTS-1.5/resolve/main/bigvgan_discriminator.pth -P checkpoints
wget https://huggingface.co/IndexTeam/IndexTTS-1.5/resolve/main/bigvgan_generator.pth -P checkpoints
wget https://huggingface.co/IndexTeam/IndexTTS-1.5/resolve/main/bpe.model -P checkpoints
wget https://huggingface.co/IndexTeam/IndexTTS-1.5/resolve/main/dvae.pth -P checkpoints
wget https://huggingface.co/IndexTeam/IndexTTS-1.5/resolve/main/gpt.pth -P checkpoints
wget https://huggingface.co/IndexTeam/IndexTTS-1.5/resolve/main/unigram_12000.vocab -P checkpoints
wget https://huggingface.co/IndexTeam/IndexTTS-1.5/resolve/main/config.yaml -P checkpointsUse as Command Line Tool
pip install -e .
indextts "大家好,我现在正在bilibili 体验 ai 科技,说实话,来之前我绝对想不到!AI技术已经发展到这样匪夷所思的地步了!" --voice reference_voice.wav --model_dir checkpoints --config checkpoints/config.yaml --output output.wav
indextts --helpWeb UI Setup
pip install -e "[webui]"
python webui.pyWindows Specific Installation (for pynini)
conda activate indextts2
conda install -c conda-forge pynini==2.1.5
pip install WeTextProcessing==1.0.3
pip install -e "[webui]"