FLUX DEV Hi-Res Fix, Img2img, In- & Out- paint, Wildcards, LORAs, Upscaler

Flux Inpainting 1.1
Daedalus_7
about 1 year ago

Basics:

You MUST update ComfyUI from Update folder (using both .bat files)

Then, open ComfyUI and Load the .json to open the workflow.

You will need Node Manager and use it to install some custom nodes.

https://github.com/ltdrdata/ComfyUI-Manager

NOTE: The Prompt box has 2 boxes. Do NOT prompt into the clip_1 box, it follows prompts poorly and gives weird results.

GREEN Nodes: In these nodes you can freely change numbers to get what you want.

RED Nodes: These are my recommended settings. Feel free to experiment, though.

=================================================

High-Res fix 1.3 LITE (100% Flux based)

Basically, this workflow works in 2 stages:

  • text2img: Here I added a node that allows you to select Flux safe resolutions by clicking the dimensions button in the Green Node.

  • img2img: This regenerates the image at a higher resolution, the Green Node is where you select the upscaling factor, similar to A1111.

Version 1.1: Added a preview for each stage of the process.

Version 1.2: Added the dedicated Flux node for prompting. It includes the Guidance scale, but only use the T5XXL box (the lower one).

Version 1.3: Removed the secondary upscaling. It was added as a separate workflow.

Version 1.4: Added Wildcards and LORAs support.

=================================================

High-Res fix 1.5 FULL (100% Flux based, with Wildcards and Loras support)

This was renamed from High-Res fix 1.1 Wildcards and updated!

This has everything High-Res fix 1.3 has, plus Wildcards and LORAs support.

NOTE: You need to place your wildcards in:

\ComfyUI\custom_nodes\ComfyUI-Impact-Pack\wildcards

you can place them in subfolders.

Make sure you either re-launch or refresh after adding any Wildcard.

The wildcard now follows prompts much better!

Do NOT prompt into the clip_1 box, it follows prompts poorly and gives weird results.

WILDCARD NODE:

  • Populate mode allows you to prompt into the upper box with Wildcards.

  • Fixed mode allows you to prompt in the lower box without Wildcards.

LORAs:

\ComfyUI\models\loras

Resolution Chooser:

Now you can choose how to input the resolution:

Just connect the box you want (only one at a time!) to latent_image

=================================================

text2img FULL (with Wildcards and Loras support)

text2img with Wildcards and LORA support. This one has no High-Res fix.

Now includes Resolution Chooser (see the high res version above for explanations).

=================================================

Upscaling modeled after the EXTRA Tab in A1111 system.

  • Upscaling: Here I am upscaling to x1 by default. Just use any upscaler, which goes in:

    \ComfyUI\models\upscale_models

    NOTE: The math is: multiplier of the upscaler x scale_by factor.

    So, if you are using a x4 upscaler, that x4 will be applied automatically, so you need to multiply that number by the factor you want to get the final scaling factor.

    Default: 4 x 0.25 = 1 (no upscaling)

=================================================

Inpainting:

1. Press "choose file to upload" and choose the image you want to inpaint.

2. Right-Click on the image and select "Open in Mask Editor". There, you'll be able to paint the mask.

3. When you are done with the inpainting, press "Save to Node".

=================================================

Outpainting:

Not 100% super duper, but you can get some decent results by extending by up to 256 pixels per side. You might need a bit of RNG though.

=================================================

SDXL to FLUX

This Workflow allows you to

  1. generate images with SDXL or Pony XL + LORAs

  2. Automatically send the resulting image for img2img to FLUX.

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

Popularity

9k ~10

Info

Base model: Flux.1 D

Version Flux Inpainting 1.1: 1 File

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

84 Versions

Flux Ultimate 2.0 LLM
img2img 1.0
SDXL to FLUX 1.0
HighRes-Fix 1.5 FULL
text2img 1.1 FULL
Outpainting 1.0
Inpainting 1.0
Upscaler 1.0
High-res Fix 1.3 LITE
HighRes-Fix 1.6 FULL
text2img 1.2 FULL
Inpainting 1.1
SDXL inpainting 1.1
HighRes-Fix 1.7 Upscaler
HighRes-Fix 1.7
text2img 1.2 Upscaler
text2img 1.2
HighRes-Fix 1.7 + Upscale
text2img 1.2 + Upscale
SDXL to FLUX 1.1 +Upscale
SDXL to FLUX 1.1
img2img 1.1
Check for Updates!
HighResFix 1.8 CN Upscale
HighRes-Fix 1.8 CN
text2img 1.3 CN Upscale
text2img 1.3 CN
SD to FLUX 1.3 Upscale CN
SD to FLUX 1.3 CN
Flux img2img 1.1
Flux Ultimate 2.0
Flux Inpainting 1.1
Flux Outpainting 1.0
text2img 1.3 Adetailer
SD to FLUX 2.0 Ultimate
Flux img2img 1.2
Check Updates!
Flux Ultimate 2.3
Flux Ultimate 2.3 LLM
SD to FLUX 2.3 Ultimate
Flux Inpainting 1.2
Flux Outpainting 1.1
Flux img2img 1.3
Updates
Flux Redux 2.3 Ultimate
🟢SD to F.1 2.3 Ult
🟢F.1 text2img LLM 2.4 Ul
🟢F.1 Inpainting 1.2
🟢 F.1 img2img 1.3
🟢 F.1 Style Changer 1.0
🟢F.1 Redux 2.3 Ult
🟢F.1 text2img 2.3 Ult
🟢F.1 Outpainting 1.1
🟢SDXL inpainting 1.1
🔴HighResFix 1.8 CN Ups
🔴HighRes-Fix 1.8 CN
🔴text2img 1.3 CN
🔴text2img 1.3 CN Upscale
🔴text2img 1.3 Adetailer
🔴SD to F.1 CN Ups 1.3
🔴SD to FLUX 1.3 CN
🔴Upscaler 1.0
🔴High-res Fix 1.3 LITE
Check updates!
🟢F.1 Redux 3.0
🟢F.1 text2img 3.0
🟢F.1 text2img LLM 3.0
🟢F.1 text2img 4.0
🟢SDXL 2 Flux v4 NSFW
🟢F.1 Inpainting 1.3
🟢F.1 text2img LLM 4.0
🔴SD to F.1 v2.3 Ult
🟢 F.1 Infill Inpaint 1.0
🟢F.1 Inpainting 2.0
🟢SDXL-2-Flux v4.1 NSFW
🟢F.1 text2img 4.1
🟢F.1 Kontext 1.1 (4-img)
🟢F.1 text2img 4.5
🟢F.1 text2img 4.5 LLM
🟢SDXL-2-Flux v4.5 NSFW
🟢F.1 Inpainting 2.2
🟢 F.1 Fill Inpaint 1.0
🟢F.1 Redux 4.5
🟢 F.1 Style Changer 1.1
😥 There are no FLUX DEV Hi-Res Fix, Img2img, In- & Out- paint, Wildcards, LORAs, Upscaler Flux Inpainting 1.1 prompts yet!

Go ahead and upload yours!

No results

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