ComfyUI workflow for Flux (simple + Lora)

Original
maitruclam
about 1 year ago

It is a simple workflow of Flux AI on ComfyUI.

Actually there are many other beginners who don't know how to add LORA node and wire it, so I put it here to make it easier for you to get started and focus on your testing.

And we have new way to run Flux ez with 1 click: https://civitai.com/models/628682/flux-1-checkpoint-easy-to-use

Check out more detailed instructions here: https://maitruclam.com/flux-ai-la-gi/

To summarize my experience with it:

You will need at least 30 GB to use them :)

***

If you are a newbie like me, you will be less confused when trying to figure out how to use Flux on ComfyUI.

In addition to this workflow, you will also need:

Download Model:

1. Model: flux1-dev.sft: 23.8 GB

Link: Β https://huggingface.co/black-forest-labs/FLUX.1-dev/tree/main

Location: ComfyUI/models/unet/

Download CLIP:

1. t5xxl_fp16.safetensors: 9.79 GB

2. clip_l.safetensors: 246 MB

3. (optional if your machine has less than 32GB of TvT ram) t5xxl_fp8_e4m3fn.safetensors: 4.89 GB

Link: https://huggingface.co/comfyanonymous/flux_text_encoders/tree/main

Location: ComfyUI/models/clip/

Download VAE:

1. ae.sft: 335 MB

Link: https://huggingface.co/black-forest-labs/FLUX.1-schnell/blob/main/ae.safetensors

Location: ComfyUI/models/vae/

If you are using an Ubuntu VPS like me, the command is as simple as this:

# Download t5xxl_fp16.safetensors to the directory ComfyUI/models/clip/

wget -P /home/ubuntu/ComfyUI/models/clip/ https://huggingface.co/comfyanonymous/flux_text_encoders/resolve/main/t5xxl_fp16.safetensors

# Download tp clip_l.safetensors to ComfyUI/models/clip/

wget -P /home/ubuntu/ComfyUI/models/clip/ https://huggingface.co/comfyanonymous/flux_text_encoders/resolve/main/clip_l.safetensors

# (Optional) Download t5xxl_fp8_e4m3fn.safetensors to ComfyUI/models/clip/

wget -P /home/ubuntu/ComfyUI/models/clip/ https://huggingface.co/comfyanonymous/flux_text_encoders/resolve/main/t5xxl_fp8_e4m3fn.safetensors

# Download ae.sft to ComfyUI/models/vae/

wget -P /home/ubuntu/ComfyUI/models/vae/ https://huggingface.co/black-forest-labs/FLUX.1-schnell/resolve/main/ae.safetensors

For the model, you will need to learn how to generate Huggingface Access Tokens and add them to download and use like this:

I don't know much about them so you can find out more.

Why don't I make tutorial for Windows 10, 11 or XP? What do you expect from a Mario 64 laptop :)

Original tutorial: https://comfyanonymous.github.io/ComfyUI_examples/flux/

Simple installation instructions in Vietnamese, if you are a foreigner, right-click and select translate to English, I will update the English version later: https://maitruclam.com/flux-ai-la-gi/

Read more...
Download (1.67 KB) Download available on desktop only

Popularity

6k ~10

Info

Base model: Flux.1 D

Latest version (Original): 1 File

To download these files, please visit this page from a desktop computer.

About this version: Original

Flux dev AI

2 Versions

πŸ˜₯ There are no ComfyUI workflow for Flux (simple + Lora) Original prompts yet!

Go ahead and upload yours!

No results

Your query returned no results – please try removing some filters or trying a different term.