ComfyUI Node: Smart Mask Crop
Run ComfyUI workflows without the setup
No installs, no CUDA version roulette, no GPU sitting idle on your bill. Bring a workflow and run it in the browser.
Category
inpaint/masked
Inputs
image IMAGE
mask MASK
context_expand FLOAT
use_region_guidance BOOLEAN
mask_expand_percent FLOAT
mask_feather_percent FLOAT
resize_mode
- keep_local_size
- upscale_to_target_if_smaller
- resize_to_target
target_width INT
target_height INT
downscale_algorithm
- nearest
- bilinear
- bicubic
- lanczos
- box
- hamming
upscale_algorithm
- nearest
- bilinear
- bicubic
- lanczos
- box
- hamming
device_mode
- gpu (much faster)
- cpu (compatible)
depad_florence BOOLEAN
use_region_mask_defaults BOOLEAN
edit_size_scale_percent FLOAT
region_info STRING
target_size_mode
- region_recommended
- manual_width_height
- max_for_aspect_ratio
target_aspect_ratio
- region_info
- mask_bbox
- input_image
- 1:1
- 16:9
- 9:16
- 4:5
- 5:4
- 3:2
- 2:3
- 4:3
- 3:4
Outputs
STITCHER
IMAGE
MASK
IMAGE
IMAGE
STRING
Extension: ComfyUI-Inpaint-CropStitch-NB2
Fork of ComfyUI-Inpaint-CropAndStitch adapted for Nano Banana 2. Adds NB2 Mask Generator, exact-resolution cropping and feathered alpha compositing in the stitch step.
Authored by amortegui84
Looking for a different node?
More nodes in ComfyUI-Inpaint-CropStitch-NB2
Other inpaint/masked nodes
Run ComfyUI workflows without the setup
No installs, no CUDA version roulette, no GPU sitting idle on your bill. Bring a workflow and run it in the browser.