Skip to main content

Flux Examples

RyanAbout 2 min

Flux Examples

Flux is a family of diffusion models by black forest labsopen in new window

For the easy to use single file versions that you can easily use in ComfyUIopen in new window see below: FP8 Checkpoint Version

Regular Full Version

Files to download for the regular version

If you don't have t5xxl_fp16.safetensors or clip_l.safetensors already in your ComfyUI/models/clip/ directory you can find them on: this link.open in new window You can use t5xxl_fp8_e4m3fn.safetensors instead for lower memory usage but the fp16 one is recommended if you have more than 32GB ram.

The VAE can be found hereopen in new window and should go in your ComfyUI/models/vae/ folder.

Tips if you are running out of memory:

Use the single file fp8 version that you can find by looking Below

You can set the weight_dtype in the "Load Diffusion Model" node to fp8 which will lower the memory usage by half but might reduce quality a tiny bit. You can also download the example.

Flux Dev

You can find the Flux Dev diffusion model weights hereopen in new window. Put the flux1-dev.safetensors file in your: ComfyUI/models/unet/ folder.

You can then load or drag the following image in ComfyUI to get the workflow:

Example
Example

Flux Schnell

Flux Schnell is a distilled 4 step model.

You can find the Flux Schnell diffusion model weights hereopen in new window this file should go in your: ComfyUI/models/unet/ folder.

You can then load or drag the following image in ComfyUI to get the workflow:

Example
Example

Simple to use FP8 Checkpoint version

Flux Dev

You can find an easy to use checkpoint for the Flux dev hereopen in new window that you can put in your: ComfyUI/models/checkpoints/ directory.

This file can be loaded with the regular "Load Checkpoint" node. Make sure you set CFG to 1.0 when using it.

Note that fp8 degrades the quality a bit so if you have the resources the official full 16 bit version is recommended.

You can then load or drag the following image in ComfyUI to get the workflow:

Example
Example

Flux Schnell

For Flux schnell you can get the checkpoint hereopen in new window that you can put in your: ComfyUI/models/checkpoints/ directory.

You can then load or drag the following image in ComfyUI to get the workflow:

Example
Example

Flux Controlnets

XLab and InstantX + Shakker Labs have released Controlnets for Flux. You can find the InstantX Canny model file hereopen in new window (rename to instantx_flux_canny.safetensors for the example below), the Depth controlnet hereopen in new window and the Union Controlnet hereopen in new window.

The XLab controlnets can be found here hereopen in new window.

Put these files under ComfyUI/models/controlnet directory.

Try an example Canny Controlnet workflow by dragging in this image into ComfyUI.

Example
Example

If you need an example input image for the canny, use this. Put it under ComfyUI/input.