Skip to content

SD3+ComfyUI文生图部署步骤

视频教程

操作步骤

文生图WebUI

ComfyUI

从HF-mirror下载SD3模型

Bash
pip install -U huggingface_hub

#设置环境变量
export HF_ENDPOINT=https://hf-mirror.com
#下载模型
huggingface-cli download --token hf_BbwgWIQLalWXUdHgvDGPDZpnLxo --resume-download stabilityai/stable-diffusion-3-medium --local-dir .

安装git

Bash
#安装git    
apt-get update
apt-get install git

安装ComfyUI

Bash
git clone https://github.com/comfyanonymous/ComfyUI.git

pip install -r requirements.txt --ignore-installed

#启动服务
python main.py --listen