Sign In

SDXL FLUX ULTIMATE Workflow v5.0

1.5k
29.9k
384
What did you think of this resource?
Type
Workflows
Stats
6,896
Reviews
Published
Aug 16, 2024
Base Model
Flux.1 D
Hash
AutoV2
A645A6C277
The FLUX.1 [dev] Model is licensed by Black Forest Labs. Inc. under the FLUX.1 [dev] Non-Commercial License. Copyright Black Forest Labs. Inc.
IN NO EVENT SHALL BLACK FOREST LABS, INC. BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH USE OF THIS MODEL.

SDXL FLUX ULTIMATE Workflow

Everything you need to generate amazing images! Packed full of useful features that you can enable and disable on the fly. Contains multi-model / multi-LoRA support, Ultimate SD Upscaling, Segment Anything, and Face Detailer.

Version 5.0.3 has fixed the generation issue with 5.0.

Version 5.0 now has FLUX support and img2img upscaling, along with all previous features!

Community Discord

Come join me in my Discord server to ask any questions you may have, make suggestions for future versions of this workflow, or post your creations!

https://discord.gg/y8C5ACnBnG

Ultimate SD Upscaler

With the Ultimate SD Upscaler, you can push your images to much higher resolution without needing a supercomputer to run it. 2x, 3x, 4x, you can do it all! This uses a tiled approach to upscaling, where each tile is the original txt2img resolution.

After Detailer

Ever generate an amazing image, only to have the face be sub-par? With the Face Detailer extension, you can swap that face out with a new one! This extension has it's own positive and negative prompts, as well as seed and sampler, so you can tweak it until it's just right. To add to the customizability, it also supports swapping between SDXL models and SD 1.5 models. With this, you can get the faces you've grown to love, while benefiting from the highly detailed SDXL model.

Face Restore

Similar to Automatic1111, you can now run face restore after each module. Toggle it on and off without having to regenerate the image! It only takes a few seconds to run.

Setup

Download ComfyUI Windows Portable

Skip this step if you already have it downloaded, unless you would like to do a fresh reinstall.

  1. Go to: https://github.com/comfyanonymous/ComfyUI?tab=readme-ov-file#windows

  2. Use the Direct link to download

  3. Extract the zip file with 7-Zip or WinRar
    - If you run into issues due to max path length, you can try WinRar instead of 7-Zip.

Update ComfyUI and Python Dependencies

You may run into errors due to outdated dependencies if you do not do this. This will update ComfyUI and the embedded Python environment modules to the latest version.

  1. Goto update\

  2. Run update_comfyui_and_python_dependencies.bat

Update Model Paths

If you have a previous installation of ComfyUI with Models, or would like to use models stored in an external location, you can use this method to reference them instead of re-downloading them.

  1. Goto ComfyUI_windows_portable\ComfyUI\

  2. Rename extra_model_paths.yaml.example to extra_model_paths.yaml

  3. Open the YAML file in a code or text editor

  4. Change the base_path value to the location of your models

Example

base_path: C:\ComfyUI_windows_portable_nvidia_cu121_or_cpu\ComfyUI\models\

checkpoints: checkpoints

configs: configs

vae: vae

loras: |

loras

upscale_models: |

upscale_models

embeddings: embeddings

hypernetworks: hypernetworks

controlnet: controlnet

ultralytics: ultralytics

Install ComfyUI Manager

  1. Follow instructions to install ComfyUI Manager Installation Method 2

Install Custom Nodes

  1. Launch ComfyUI using run_nvidia_gpu.bat (preferred) or run_cpu.bat

  2. Open ComfyUI Manager

  3. Goto Install Custom Nodes (not Install Missing Nodes)

  4. Use the Custom Nodes List below to install each of the missing nodes

Install Missing Models

  1. Open ComfyUI Manager

  2. Goto Install Models

  3. Use the Models List below to install each of the missing models

Relaunch ComfyUI to test installation

  1. Close ComfyUI and kill the terminal process running it

  2. Launch ComfyUI again to verify all nodes are now available and you can select your checkpoint(s)

Usage Instructions

This is under construction... I will leave you with a few high-priority usage notes for now.

  1. Ensure that a valid model is selected for each enabled loader (ie. checkpoint loaders, lora loaders, ultralytics loaders, etc.)

    - If there is an invalid one selected, you will get an error. This error will show you where it has failed.
    - Even if you see the name of a model, click on the dropdown to select one yourself.

  2. There are some basic usage instructions in the workflow itself discussing how to use the "modules". Please read them and follow them.

    - Once you get the hang of it, it really is easy to use. I use this workflow personally for ALL generations.

  3. If you un-bypass a module it will un-bypass all subsections of the module. You may need to re-bypass a subsection (ie. ControlNet LLLite).

FLUX Models

FLUX Dev | Schnell model

FLUX Dev VAE

FLUX Schnell VAE

FLUX FP16 CLIP

FLUX FP8 CLIP

FLUX CLIP_L

Custom Nodes List

ComfyUI Impact Pack

ComfyUI's ControlNet Auxiliary Preprocessors

Efficiency Nodes for ComfyUI Version 2.0+

Derfuu_ComfyUI_ModdedNodes

WAS Node Suite

Masquerade Nodes

tinyterraNodes

UltimateSDUpscale

MTB Nodes

Comfyroll Studio

ComfyMath

SDXL Prompt Styler

rgthree's ComfyUI Nodes

ControlNet-LLLite-ComfyUI

segment anything

LoraInfo

ComfyUI Image Saver

SDXLCustomAspectRatio

failfast-comfyui-extensions

Models List

TAESDXL Decoder

TAESDXL Encoder

TAESD Decoder

TAESD Encoder

ViT-H SAM model

ViT-B SAM model

face_yolov8n (bbox)

hand_yolov8n (bbox)

person_yolov8m (segm)

Suggested Settings

Enable Image Feed - Disabled (will destroy performance if enabled)

Link Render Mode - Straight

(rgthree) Optimize ComfyUI's Execution - Enabled

(rgthree) Prompt Progress Bar - Enabled

(rgthree) Auto Nest Subdirectories - Enabled

(rgthree) Show fast toggles in Group Headers - Enabled (bypass only)