Simple Kontext Inpaint Cropping workflow

v1.0
Epispasm
about 1 month ago

This workflow is designed to focus on a specific region of an image when prompting for changes in the image. You simply open the mask editor and mask the part you want to use.

Version 2 adds better upscaling of the masked portion for much better end results. It also adds both a nunchaku and non nunchaku version. (If you were one of the first 10 people to download version 2, please re-download it or at least replace the Load Image (from outputs) with a regular Load Image node. Comfy somehow automatically changed it during an update).

You can install sage attention and nunchaku by following this person's guide:

www.youtube.com/watch?v=CgLL5aoEX-s


You can mess with the inpaint crop node settings a little, but I found better results by upscaling using an upscaler model after it is cropped, right before it gets resized for flux kontext. The final upscalers don't do as much, just make it bigger. You could probably rescale again here with a model if you wanted to.

Kontext often changes the resolution slightly which results in the final image not matching up correctly. This workflow works best for lora that only change one small part of the image.

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

Popularity

90 ~10

Info

Base model: Flux.1 Kontext

Latest version (v1.0): 1 File

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

2 Versions

πŸ˜₯ There are no Simple Kontext Inpaint Cropping workflow v1.0 prompts yet!

Go ahead and upload yours!

No results

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