安装 stable-diffusion-webui
sudo apt install wget git python3 python3-venv
git clone <https://github.com/AUTOMATIC1111/stable-diffusion-webui.git>
cd stable-diffusion-webui
# 启动
# 第一次启动会下载模型,会比较慢
python3 launch.py --listen --no-half
Command Line Arguments and Settings
安装sd-webui-controlnet
https://github.com/Mikubill/sd-webui-controlnet
- Open "Extensions" tab.
- Open "Install from URL" tab in the tab.
- Enter
https://github.com/Mikubill/sd-webui-controlnet.git
to "URL for extension's git repository".
- Press "Install" button.
- Wait for 5 seconds, and you will see the message "Installed into stable-diffusion-webui\extensions\sd-webui-controlnet. Use Installed tab to restart".
- Go to "Installed" tab, click "Check for updates", and then click "Apply and restart UI". (The next time you can also use these buttons to update ControlNet.)
- Completely restart A1111 webui including your terminal. (If you do not know what is a "terminal", you can reboot your computer to achieve the same effect.)
- Download models (see below).
- After you put models in the correct folder, you may need to refresh to see the models. The refresh button is right to your "Model" dropdown.