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. (right click on the "load image" node...
Runtime profile
Source description
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. (right click on the "load image" node and select open mask editor")
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:
Sources
1 sourceSource excerpts
2 excerptsSource context: 592 downloads · Type Workflows · Base model Flux.1 Kontext
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.
Remaining hardware or download-size estimates are not available yet.
Requirements
VAE · Hugging Face · Comfy-Org/Lumina_Image_2.0_Repackaged · Lumina Image 2.0 Repackaged
Text encoder · Hugging Face · comfyanonymous/flux_text_encoders · Flux Text Encoders
Source context: 572 downloads · Type Workflows · Base model Flux.1 Kontext
FLUX-kontext-lora-sketch-style.safetensors
Not resolvedLoRA · Unknown
svdq-int4_r32-flux.1-kontext-dev.safetensors
Not resolvedCheckpoint · Unknown
t5xxl_fp8_e4m3fn_scaled.safetensors
File unverifiedText encoder · Hugging Face · comfyanonymous/flux_text_encoders · Flux Text Encoders
comfyui-inpaint-cropandstitch
FoundNode pack · Registry
Node pack · Registry
Node pack · Registry
rgthree-comfy
FoundNode pack · Registry