ComfyUI Node: ✂️ Inpaint Crop

Authored by lquesada

Created

Updated

575 stars

Category

inpaint

Inputs

image IMAGE
mask MASK
context_expand_pixels INT
context_expand_factor FLOAT
fill_mask_holes BOOLEAN
blur_mask_pixels FLOAT
invert_mask BOOLEAN
blend_pixels FLOAT
rescale_algorithm
  • nearest
  • bilinear
  • bicubic
  • bislerp
  • lanczos
  • box
  • hamming
mode
  • ranged size
  • forced size
  • free size
force_width INT
force_height INT
rescale_factor FLOAT
min_width INT
min_height INT
max_width INT
max_height INT
padding
  • 8
  • 16
  • 32
  • 64
  • 128
  • 256
  • 512
optional_context_mask MASK

Outputs

STITCH

IMAGE

MASK

Extension: ComfyUI-Inpaint-CropAndStitch

'✂️ Inpaint Crop' is a node that crops an image before sampling. The context area can be specified via the mask, expand pixels and expand factor or via a separate (optional) mask. '✂️ Inpaint Stitch' is a node that stitches the inpainted image back into the original image without altering unmasked areas.

Authored by lquesada

Run ComfyUI workflows in the Cloud!

No downloads or installs are required. Pay only for active GPU usage, not idle time. No complex setups and dependency issues

Learn more