git clone https://github.com/jim60105/docker-stable-diffusion-webui.git
cd docker-stable-diffusion-webui
docker compose up -d
- 開啟網頁介面: http://localhost:7860
- 模型和設置將被儲存在目錄 ./data
- 在預設情況下,輸出的圖片將儲存在./data/output
- 更換不同模型可至 Stable Diffusion 3.5下載權重,注意GPU的RAM大小,16GB以下只能用到Stable Diffusion 3.5 Medium版本。
將權重放在./data/models/Stable-diffusion資料夾底下,並重開網頁介面http://localhost:7860