stable-diffusion-webui使用教程
1. 安装
1.1 下载
git clone https://github.com/CompVis/stable-diffusion-webui
1.2 安装
创建虚拟环境
conda create -n stable-diffusion python=3.10
pip install -r requirements.txt
pip install -r requirements_versions.txt
pytorch版本采用2.1.2
1.3 下载模型
网址:https://www.liblib.art/?sourceId=000813?keyword=888241522350&bd_vid=10581901140166558939
下载模型文件,并解压到models文件夹中
checkpoints模型放到stable-diffusion文件夹中
lora模型放到lora文件夹中
2. 使用
2.1 启动
python launch.py
2.2 访问
http://127.0.0.1:7860
2.3 使用基础模型生成图片