- 安裝前需要先確認python和cuda版本
- 確認完cuda版本要去pytorch,並且根據自己對應的進行下載
參考網址:https://pytorch.org/get-started/locally/
ComfyUI安裝過程
- 點選連結下載,下滑並點選[Direct link to download]
https://github.com/comfyanonymous/ComfyUI#installingng
Image Not Showing
Possible Reasons
- The image was uploaded to a note which you don't have access to
- The note which the image was originally uploaded to has been deleted
Learn More →
- 下載完成後解壓縮該檔案並移到你想放置的路徑
- 命令提示字元開啟ComfyUI_windows_portable\ComfyUI(該路徑),並執行以下指令
-
點擊ComfyUI_windows_portable[run_nvidia_gpu.bat],開啟ComfyUI
Image Not Showing
Possible Reasons
- The image was uploaded to a note which you don't have access to
- The note which the image was originally uploaded to has been deleted
Learn More →
-
終端機視窗會跳出,稍等一下就會自動開啟ComfyUI頁面,網址為http://127.0.0.1:8188
Image Not Showing
Possible Reasons
- The image was uploaded to a note which you don't have access to
- The note which the image was originally uploaded to has been deleted
Learn More →
安裝ComfyUI-Manager
- 到該路徑ComfyUI_windows_portable\ComfyUII\custom_nodes
- 命令提示字元開啟,並執行以下指令
- 重新開啟ComfyUI
Image Not Showing
Possible Reasons
- The image was uploaded to a note which you don't have access to
- The note which the image was originally uploaded to has been deleted
Learn More →
在功能列表會看到Manager,若要安裝其他的custom nodes,點選manager裡面就可以安裝了
Image Not Showing
Possible Reasons
- The image was uploaded to a note which you don't have access to
- The note which the image was originally uploaded to has been deleted
Learn More →
可以搜尋所有可安裝的nodes和查看你已安裝的nodes。
- Install Missing Custom Nodes
當導入別人的workflow時,模組出現紅色邊框錯誤,會自動偵測缺少哪些nodes,透過此方式能夠直接安裝缺少的nodes。
Image Not Showing
Possible Reasons
- The image was uploaded to a note which you don't have access to
- The note which the image was originally uploaded to has been deleted
Learn More →
內部裡有各種模型,缺少或需要可透過此搜尋安裝。
當安裝後都需要按下Restart重新啟動ComfyUI。
紅色邊框消失後代表目前節點所需的擴充功能已經就緒。
ComfyUI模型
- 到該路徑ComfyUI_windows_portable\ComfyUII\models
- checkpoints/loras/controlnet/vae根據對應的模型資料夾放入
該模型都需要透過手動下載並放到指定資料夾。
更新ComfyUI
- 點擊ComfyUI_windows_portable\update[update_comfyui]
Image Not Showing
Possible Reasons
- The image was uploaded to a note which you don't have access to
- The note which the image was originally uploaded to has been deleted
Learn More →
- 執行完成代表更新完畢
ComfyUI OOTDiffusion工作流
https://github.com/AuroBit/ComfyUI-OOTDiffusion
- 根據網址中的[Instruction指南]和[Windows指南]進行指令
Image Not Showing
Possible Reasons
- The image was uploaded to a note which you don't have access to
- The note which the image was originally uploaded to has been deleted
Learn More →
最終結果
- 可以直接將下載的json檔案拖移到ComfyUI中
(工作流展示)
Image Not Showing
Possible Reasons
- The image was uploaded to a note which you don't have access to
- The note which the image was originally uploaded to has been deleted
Learn More →
確認沒有紅色邊框且模型都安裝完成就可以按下旁邊Queue Prompt執行。