Stable-Diffusion-WebUI 搭建使用
22 March 2025
Stable-Diffusion-WebUI 搭建使用
Stable Diffusion WebUI 安装配置指引
python3.11 环境装好后,需要在 webui.sh 脚本中开头添加:
python_cmd="python3.11"
webui-user.sh 命令行参数配置(加上 --listen 会默认监听0.0.0.0):
export COMMANDLINE_ARGS="--listen --port 8860 --enable-insecure-extension-access --api --theme dark \
--xformers --medvram --opt-split-attention"
创建并启动 sdwebui.service
# 使用自定义的 github repo 添加了 run.sh comfyui.sh
# link: https://github.com/luowei/stable-diffusion-webui/blob/master/run.sh
# 添加 sdwebui.service
./run.sh enable_launch_start
# 启动
sudo systemctl start sdwebui.service
# 查看状态
sudo systemctl status sdwebui.service
相关学习资料: 惡棍Borges —— SDWebUI & ComfyUI
B站 ComfyUI UP主
相关链接: Stable-Diffusion-WebUI github repo
Stable Diffusion Web UI 加速选项与常用配置
Stable-Diffusion-WebUI 的命令行参数配置
Stable-Diffusion-WebUI 搭建使用教程
stable-diffusion-webui 安装(自动与手动)
stable-diffusion-webui VAE 安装指南
Stable Diffusion 硬核生存指南:WebUI 中的 VAE
AI绘画提提示词
ControlNet models
