Sign In

Proper Flux Control-Net inpainting and/or outpainting with batch size - ComfyUI - Alimama or Flux Fill

183
4.5k
90
Type
Workflows
Stats
162
0
Reviews
Published
Apr 19, 2025
Base Model
Flux.1 D
Hash
AutoV2
AD31B1E23C
Oni Badge
diogod's Avatar
diogod
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.

Now there is a "simple/compact" version that I will update together with the normal one.
Read "about this model" on the right panel please!! I recommend reading v6.0, v5.0, v5.1 as well.

This is a proper inpainting with alimama control-net + Flux Fill + Flux Tools (Depth an Canny) support from V7 and above.

I try my best to avoid hiding the workflow flow, while balancing keeping it clean and user-friendly.

This workflow will make sure your image is composited in the end to prevent VAE degradation AND from v5 will make sure your image is a multiple of 8 (so it doesn't get resized by ksampler) at the same time it avoids resizing at all (unless you want to) since resizing will degrade the original image as well.

For inpainting that leaves a face and changes the whole background and character, Alimama works way better. Alimama also works better for LoRas. Alimama is terrible at outpainting and Flux Fill is amazing. You should test both. My comfyUI OOM or crashes when switching from one to the other, so you might want to restart in those cases you need to switch models.

It does use a lot of custom nodes to make life easier and workflow cleaner. Use manager to install the missing ones.

Supports loading of an external mask (need to match the image size) or doing the inpainting within the right-click "Open MaskEditor" on the image itself.

Supports FILL -the normal fill, like Auto1111- (use FastBypasser - black node)

Supports area inpaiting x full image inpaiting (use FastBypasser - black node)

Supports variable denoise (Change denoise on the CONTROL ROOM)

Supports Negative (use FastBypasser - black node)

Proper composite so no VAE degradation

Support for Flux Tools (Depth an Canny) with Alimama

I added LoRa support and Daemon Detailer support (both are optional)