Stable Diffusion WebUI在經歷多次更新之後,先前的安裝手續已經不適用於最新版本,所以筆者準備了在Windows系統安裝新版程式的教學。
(本教學以Stable Diffusion WebUI 1.7版本為例)
前置作業:安裝Python 3.10.6+Git
無論使用NVIDIA或是AMD顯示卡,讀者都需要先在電腦上安裝Python 3.10.6(限定使用此版號)與Git(可使用最新版本),以建構具顯示卡加速運算的執行環境。
這2套程式的安裝流程與一般Windows程式相近,除了安裝Python 3.10.6時務必勾選「Add to PATH」選項之外,其他設定基本上都不需調整,一路點擊Next使用預設設定完成安裝即可。
讀者可以在下載下列程式後,跟著圖文說明操作完成安裝流程。
相關檔案下載:
Python 3.10.6:https://www.python.org/ftp/python/3.10.6/python-3.10.6-amd64.exe
Git:https://git-scm.com/download/win(建議選擇64-bit Git for Windows Setup)




NVIDIA顯示卡對應安裝教學
NVIDIA顯示卡的使用者可以參考此段落的教學安裝,基本上GTX 10系列的顯示卡都可以使用,但建議市場GeForce RTX 3060 12GB或GeForce RTX 3070以上之顯示卡,以獲得比較快的圖像生成速度。










AMD顯示卡對應安裝教學
使用AMD顯示卡的讀者則可參考此段落教學進行安裝,建議使用Radeon RX 6000系列以上的顯示卡。







程式更新說明
Stable Diffusion WebUI的升級手續相當簡單,若未來要更新至1.7之後的版本,只需在Git Bash文字指令視窗輸入下列一行指令即可完成。

完成Stable Diffusion WebUI後,就可以開始進行圖像生成啦!更多教學請參考下方目錄。
(回到Stable Diffusion AI算圖系列文章目錄)
請注意!留言要自負法律責任,相關案例層出不窮,請慎重發文!