跳到內容

AI 藝術生成手冊/如何安裝 Stable Diffusion/ComfyUI

來自華夏公益教科書,開放世界的開放書籍

安裝 ComfyUI 的步驟

[編輯 | 編輯原始碼]

(1) 確保您的 PC 滿足主頁上的基本要求

(2) 下載 Python 3.10.10連結在此

(3) 在安裝嚮導的第一頁,請務必選中 將 Python 3.10 新增到 PATH

(4) 按照慣例繼續進行其餘安裝

(5) 在您所需的位置建立一個資料夾(確保您有訪問許可權)

(6) 從以下位置下載 ComfyUI: https://github.com/comfyanonymous/ComfyUI/releases/download/latest/ComfyUI_windows_portable_nvidia_cu118_or_cpu.7z

(7) 使用壓縮檔案工具(推薦 7-Zip:在此下載

(8) 將 7z 檔案解壓縮到步驟(5)中您所需的檔案位置

(9) 轉到以下位置:Your_installed_location\ComfyUI\ComfyUI_windows_portable 並雙擊 run_nvidia_gpu.bat(如果您有 Nvidia GPU)或 run_cpu.bat(如果您沒有)

(10) 瀏覽器應該開啟並顯示類似以下內容.


安裝 ComfyUI Manager 的步驟

[編輯 | 編輯原始碼]

(1) 從 Github 下載 ComfyUI manager: https://github.com/ltdrdata/ComfyUI-Manager

(2) 轉到 Your_Installed_Directory/ComfyUI/custom_nodes 並在位址列中輸入 cmd

(3) 將以下命令貼上到 cmd 終端:git clone https://github.com/ltdrdata/ComfyUI-Manager.git

(4) 重新啟動 ComfyUI

(5) 安裝後,您應該在“重置檢視”下看到“Manager”按鈕

華夏公益教科書