FLUX "official ControlNet" is here, Flux official redrawing, expansion, style reference common drawing features comparable to (or even exceed) closed-source tools!

The already strong Flux has announced a batch of official tools covering common drawing features, making it comparable to (or even surpassing) closed-source tools.

67cc09dbj00snuh78001td000t300num

First of all you need to be already in theComfyUIThe latest version of Flux is installed in the Flux Manager, see here for how to install it:FLUX Testing and Installation

The following itemizes the methods used in ComfyUI and the download paths for the models/workflows.

I. Flux repainting (Fill Inpainting)

The model flux1-fill-dev.safetensors needs to be downloaded:

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

3d06e3c0j00snuh770020d000u000jfm

Place the downloaded models in the ComfyUI/models/diffusion_models/ folder.

Download Flux Redraw Workflow:

https://education.civitai.com/wp-content/uploads/2024/08/Flux-Fill-Basic-Workflow-Inpaint.zip

Once unzipped, drag the file with the extension json to the ComfyUI interface to get the following workflow:

3679cef6j00snuh78000yd000u000c3m

Use this chart for testing:

75ca775cj00snuh78001fd000ow00w0m

In ComfyUI's Load Image window, right-click on the image and select "Open in MaskEditor", then paint over the part you want to modify:

ed4194f3j00snuh770016d000fe00kfm

Click "Save to node" to save the file:

c9c3ab00j00snuh78000ud000u000g0m

After that, fill in the keywords, change the character to a blonde swimsuit girl and start generating:

ac9d93cdj00snuh78001md000u000n6m

Then there's the example of redrawing the big knife this girl is holding as a sledgehammer:

60706573j00snuh780021d000u000ofm

Or add a spaceship in the sky:

f9a8e7d9j00snuh780025d000u000o7m

II. Flux Expansion (Fill Outpainting)

The model used is the same as above, also flux1-fill-dev.safetensors. the workflow is downloaded from here:
https://education.civitai.com/wp-content/uploads/2024/08/Flux-Fill-Basic-Workflow-Outpaint.zip

fb4a14dbj00snuh780011d000u000eim

The operation is similar to repainting, the only thing you need to pay attention to is the "Pad Image for Outpainting" window, here you can control the range of expansion, for example, the image below is expanded by 400 pixels on the left side and 400 pixels on the right side:

e050b62aj00snuh77000bd000bf0073m

The official enlargement tool works quite well, see a few test results below:

Extend the beach in the background

3efcd61bj00snuh780010d000u000d2m

Expanded car interiors are largely logical

7e91cfdaj00snuh78001xd000u000dzm

The secondary expansion is also well represented

d8abfd44j00snuh78002pd000u000dpm

Live-action movie stills, with the cue word "rear motorcycle."

9c3ef46ej00snuh780027d000u000hym

The cue word "man in a suit on the bed" was added, making it hard to tell if it was real or not.

36ef1da4j00snuh77001jd000u000clm

III. Flux style reference (Redux)

Download sigclip_vision_patch14_384.safetensors model:
https://huggingface.co/Comfy-Org/sigclip_vision_384/blob/main/sigclip_vision_patch14_384.safetensors

af2cb1fej00snuh770012d000u000cjm

Place the model in the ComfyUI/models/clip_vision/ folder.

Download the flux1-redux-dev.safetensors model:
https://huggingface.co/black-forest-labs/FLUX.1-Redux-dev/tree/main

3b5c8cd5j00snuh78001qd000u000jgm

Place the model in the ComfyUI/models/style_models/ folder.

Download the Flux style reference workflow:
https://education.civitai.com/wp-content/uploads/2024/08/Flux-Redux-Basic-Workflow.zip

a04e2afdj00snuh78002bd000u000oum

The main function of the style reference is to generate similar variants based on the current image, such as the example below:

70da922dj00snuh78001yd000u000emm

5169fef3j00snuh78002hd000u000gbm

Additionally, the style reference can introduce multiple images at the same time.

Multi-chart workflow download page:
https://openart.ai/workflows/salmonrk/multi-flux-redux-mix-2-image-by-flux-redux/1tCNHnqfolXUUJxIjXcW

Multiple images can produce some interesting effects, such as having the girl carry a large knife:

abec0148j00snuh780029d000u000oem

Let the characteristics of the two characters create a fusion:

9885d4fdj00snuh780022d000u000o7m

Real people become secondary and are placed in an anime background:

34c5bb2ej00snuh78002id000u000n7m

IV. Flux ControlNet

ControlNet isAI ArtIndispensable models, this time Flux launched its own version, including Canny (edge detection) and Depth (depth control).

Canny Download Address:
https://huggingface.co/black-forest-labs/FLUX.1-Canny-dev/tree/main

595dea9ej00snuh78001rd000u000jim

Canny LoRA Download Address:
https://huggingface.co/black-forest-labs/FLUX.1-Canny-dev-lora/tree/main

2145b6fdj00snuh77001qd000u000hym

Depth Download Address:
https://huggingface.co/black-forest-labs/FLUX.1-Depth-dev/tree/main

b7625101j00snuh77001ud000u000j7m

Depth LoRA Download Address:
https://huggingface.co/black-forest-labs/FLUX.1-Depth-dev-lora/tree/main

7c1ff7c4j00snuh78001rd000u000i5m

Note that the LoRA version is extracted from the full version, which is smaller and more efficient, and the effect needs to be compared and experienced by yourself.

Canny Workflow:
https://education.civitai.com/wp-content/uploads/2024/08/Flux-Canny-Basic-Workflow.zip

Depth workflow:
https://education.civitai.com/wp-content/uploads/2024/08/Flux-Depth-Basic-Workflow.zip

Simply look at the effect, Canny can better retain the overall structure of the original picture and make changes:

b70e6e44j00snuh78001bd000u000cnm

36967815j00snuh78001qd000u000jam

Depth is better suited for controlling the effect of depth of field in an image:

83a97577j00snuh780019d000u000cmm

8fa53952j00snuh780022d000t800ism

Overall, the official Flux kits are outstanding and must not be missed if you are an AIGC enthusiast!

The article covers the URL:

Official Flux Tools website:
https://blackforestlabs.ai/#get-flux

ComfyUI code page:
https://github.com/comfyanonymous/ComfyUI

statement:The content of the source of public various media platforms, if the inclusion of the content violates your rights and interests, please contact the mailbox, this site will be the first time to deal with.
Encyclopedia

AI undressing is here, try virtual tryoff TryOffDiff to get model clothes from photos

2024-12-2 10:19:52

TutorialEncyclopedia

The strongest AI painting open source tool FLUX, local deployment and installation tutorials

2024-12-2 10:39:53

Zenium
Search