【stable-diffusion-webui使用教程】

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 使用基础模型生成图片

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值