Sign In

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

129
2.8k
62
Type
Workflows
Stats
257
Reviews
Published
Nov 22, 2024
Base Model
Flux.1 D
Hash
AutoV2
BA26800CD9
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.

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.

V6.0: read "about this model" on the right pannel please!! You will probably need to install my custom node. I recommend reading v5, v5.1 as well.

This is a proper inpainting with alimama control-net + Flux Fill support from V3 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.

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

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