XaiJu
Mickmumpitz
Mickmumpitz

patreon


[FREE WORKFLOW] Basic FLUX+ ControlNet Workflow

Many of you have asked about the Flux Workflow I use. Well, over the last few months, I've gradually built one that grew larger and larger. I've now streamlined it to make it easy to install while still offering all the essentials:

Lora support (I always use this workflow to test character Loras I train with my Consistent Character Creator), ControlNet for full control over your compositions and character poses, Demon Detailer for insane fidelity and upscaling for high resolutions.

I've also added a post-processing group that lets you apply film grain, chromatic aberration, or even compression to make your images look like they were shot on a camera or a phone.

This workflow is supposed to be a good foundation to build your own stuff on top of. Test out different Lora combinations, sampler settings and prompts to make it your own.

❗Very soon I will show you how I used this workflow as a foundation to build a super realistic image generation workflow!

But for now: Feel free to play around with this one. You can find all the models you'll need below and in the workflow. I have also written a little guide on how to use this one and get started! πŸ‘‡

1. Installation:

Download the .json file and drag and drop it into your ComfyUI window. Install the missing custom nodes via the manager and restart ComfyUI. 

2. Download the Models: 

1. FLUX CHECKPOINT: flux1-dev-fp8

πŸ“ ComfyUI_windows_portable\ComfyUI\models\checkpoints

Search for "Flux" in the model manager and install "flux1-dev-fp8". Of course you can switch out this node for a GGUF model loader or use another FLUX DEV checkpoint.

2. CONTROL NET: InstantX/FLUX.1-dev Controlnet (Union)

πŸ“ Open the ComfyUI Manager > Model Manager > search for β€œunion” > install 

3. UPSCALE MODEL: 4x-ClearRealityV1 https://openmodeldb.info/models/4x-NomosUniDAT-otf*

πŸ“ \ComfyUI_windows_portable\ComfyUI\models\upscale_models

* You can also use other upscale models like 4xUltraSharp which you can download via the ComfyUI Model Manager.

4. LORAS

I use this workflow with my Character Lora that I trained on images generated using my consistent character creator at full strength. You can also add additional style loras.

3 Workflow-Walkthrough

Prompt


After you downloaded and loaded all the models it is time to create the prompt. Be as detailed and descriptive as possible - Flux really likes that. Name the style, lighting, composition, action, look and feel of your image. 

photography of a woman called a1mber standing in an italian village. she is wearing a grey turtleneck sweater, brunette hair, she is standing on an old bridge with views of a landscape in tuscany, candid photography, she is smiling. amateur photography with motion blur, iphone photo, hard sunlight, low resolution candid photo taken on a phone, grainy, the old rustic buildings are decorated in great detail, hard evening sunlight reflects from her skin

a1mber is the trigger word for my character lora!

ControlNet

A ControlNet is a tool that lets you guide AI image generation by using reference images or sketches to control specific aspects like pose, composition, or layout while still maintaining creative freedom in other elements. 

Using it with this workflow is completely optional. Activate it using the fast bypasser in the beginning of the workflow. 

I recommend using openpose or sketches as inputs. You can use this website to pose your character and download the Openpose controlnet image.  Works really great most of the time, but don’t expect it to work every time. Sometimes you need to try out different seeds or increase the strength parameter in the β€œApply Advanced ControlNet” node. 

Sampler


1. Start by setting your scene dimensions here.

2. The Detail Daemon Sampler is an incredibly powerful tool for adding detail to your generated images. I recommend watching some tutorials specifically for this feature, but definitely experiment with the detail_amount setting. I typically keep it between 0.10-0.60, as higher values can sometimes break the images, but see what works best for your projects!

3. The batch_size controls how many images you want to generate at once.

4. The noise seed determines the base variation of your image. Change it for completely different results, or set it to "randomize" to get a new image each time you run the workflow.

5. These basic sampler settings work well for most images I've created, but feel free to experiment with different sampler and scheduler combinations.

6. This value should always be greater than 1. This specific setting has worked great for me, but don't hesitate to try different values.

7. This will save a low-resolution preview of your image. If you don't need this, you can deactivate the node using CTRL+B.

Upscale

I'm using the SDUltimate upscaler with Flux. This tool breaks down images into smaller tiles and upscales them sequentially, which creates more detail while also being easier on your computer's processing power.

I recommend using my settings as a starting point, but definitely experiment to find what works best for you. The most crucial setting is the denoise value, which controls how much the upscaler can modify your image. A value of 0.30 works well for most situations - it gives the sampler enough freedom to enhance the image while ensuring it maintains consistency with the original

Post Processing 

This group simulates typical artifacts of cell phone photography. Play with the values or deactivate individual parts or the entire group if this is not desired.


Chromatic aberration is the visual distortion that occurs when a lens fails to focus all colors to the same point, causing colored fringes along boundaries between dark and light areas of an image.

Image sharpening in phone photography is the process of enhancing edge contrast to make details appear more defined and crisp to compensate for limitations in small camera sensors.

Bloom in phone photography is the halo-like glow that appears around bright light sources. Smudges on a phone lens can create or exaggerate bloom effects because fingerprints, oils, or dirt particles scatter incoming light in unpredictable directions.

Film grain in phone photography is the deliberate addition of noise or texture to digital images to simulate the organic, slightly imperfect look of traditional film photographs.

Image compression in phone photography is the process of reducing file sizes by selectively discarding visual data, often resulting in artifacts like blocky textures or loss of fine

All these effects can make the image look more natural:

 

[FREE WORKFLOW] Basic FLUX+ ControlNet Workflow

Comments

❗Very soon I will show you how I used this workflow as a foundation to build a super realistic image generation workflow! Do you have this on YouTube? I see this was posted 7 months ago

M x

"❗Very soon I will show you how I used this workflow as a foundation to build a super realistic image generation workflow!" did you ever work on this ? i dont see it here in patrion

eduardo

Hello, I have a problem when I load my Lora it does not work, however it works with another application. Can someone help me?

martin

legend. and the way you laid out the index too, makes it much easier to learn while navigating. thank you for the work

Justin Aharoni

Everything is updated and you are using the model from the note?

Mick Mahler

Post Processing issue - Was Node need numpy 2.1 or less but for 5090 card we need Numpy 2.2 or higher hence in manager getting Import failed in Was Node Suite.

g balaji

bumping my head hard on that one: CLIPTextEncode ERROR: clip input is invalid: None If the clip is from a checkpoint loader node your checkpoint does not contain a valid clip or text encoder model.

Laurent Clermont

Can you explain the model shift? I've seen it a few times in flux workflows but I have no idea what it does

Christoph Struber

Baller! But I'm still trying to get the other ones still working too!

JokeAlley

The manager does not show them when you click Manager > Install Missing Custom Nodes? That is strange. Image compression is in the "comfyUI_mtb" nodes, ACN_AdvancedControlNetApply_v2 is in "comfyUI-advanced-controlnet" and better filmgrain is "in "image-filters"

Mick Mahler

Hi Mickmumpitz, There are 3 nodes that don't exist in the manager. How do I install them? - Image H264 Compression (mtb) - ACN_AdvancedControlNetApply_v2 - BetterFilmGrain

Pedro Valerio Lopez

Excited for the video

ZzZzz πŸ‘ πŸ’€

This is really impressive! So much work too! Thank you!

AirborneSapper708 RoughTerrain12B


More Creators