# 安装 ## 从源码下载 1. 克隆源码仓库: ```bash git clone https://github.com/modelscope/DiffSynth-Studio.git ``` 2. 进入项目目录并安装: ```bash cd DiffSynth-Studio pip install -e . ``` ## 使用 PyPI 下载 直接通过 PyPI 安装: ```bash pip install diffsynth ```