Flux Example Workflows (Basic Dev FP16 / Schnell FP8 / Dev + 1.5 Relight)

5.0

1 reviews
38
15.2K
3.7K
5
Description

Workflow for this video: https://youtu.be/lgFxqG8eam4


If you want to see a Flux deep dive, watch it.


This Workflow is a collection of four different pipelines:

- a basic txt2img Flux Dev fp16 workflow;

- a basic txt2img Flux Schnell fp8 quantized workflow;

- a LoRA + ControlNet Canny Flux Dev fp16 workflow;

- a LoRA + ControlNet Canny Flux Dev fp16 + 1.5 IC-Light pipeline workflow


Want to support me? You can buy me a coffee here: https://ko-fi.com/risunobushi


Download and place the dev FP16 version of Flux in the /models/unet folder:

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


Download and place the VAE in the VAE folder:

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


Download and place the text encoder models (clip_l and either t5xxl fp8 or both fp8 and 16) in the /models/clip folder:

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


If you run out of memory, under Load Diffusion Model's weight_dtype, select fp8_e4m3fn


If you run out of memory, under DualCLIPLoader select the t5xxl_fp8 model


The LORA can be bypassed if you don't care about the realism LORA.

Node Diagram
Discussion
V
Verron Long6 months ago

Can you also get a ver of using GGUF flux?

Author

33
123.2K
1.9K
365.4K

Reviews

H

Hao Yang

7 months ago

Versions (1)

  • - latest (8 months ago)

Primitive Nodes (18)

DF_Get_image_size (1)

DF_Image_scale_to_side (1)

EmptySD3LatentImage (3)

FluxGuidance (3)

InspyrenetRembg (1)

ModelSamplingFlux (1)

Note (8)

Custom Nodes (62)

ComfyUI

  • - PreviewImage (6)

  • - CheckpointLoaderSimple (2)

  • - CLIPTextEncode (8)

  • - VAEDecode (4)

  • - VAEEncode (2)

  • - KSampler (4)

  • - MaskToImage (3)

  • - UNETLoader (2)

  • - VAELoader (2)

  • - ControlNetLoader (1)

  • - DualCLIPLoader (2)

  • - LoraLoaderModelOnly (1)

  • - ControlNetApply (1)

  • - SaveImage (3)

  • - LoadImage (1)

  • - ImageDesaturate+ (1)

  • - CannyEdgePreprocessor (1)

  • - ColorBlend (2)

  • - LoadAndApplyICLightUnet (1)

  • - ICLightConditioning (1)

  • - RemapImageRange (1)

  • - GrowMaskWithBlur (1)

  • - Image Blending Mode (2)

  • - Image Blend by Mask (3)

Checkpoints (2)

epicrealism_naturalSinRC1VAE.safetensors

flux1-schnell-fp8.safetensors

LoRAs (1)

flux_realism.safetensors