ComfyUI Node: Crop By Mask V5 (Batch)

Authored by aining2022

Created

Updated

27 stars

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

Swwan/image

Inputs

detect
  • mask_area
  • min_bounding_rect
  • max_inscribed_rect
reserve_mode
  • absolute
  • ratio
top_reserve INT
bottom_reserve INT
left_reserve INT
right_reserve INT
top_reserve_ratio FLOAT
bottom_reserve_ratio FLOAT
left_reserve_ratio FLOAT
right_reserve_ratio FLOAT
reserve_max INT
round_to_multiple
  • 8
  • 16
  • 32
  • 64
  • 128
  • 256
  • 512
  • None
batch_mode
  • single_frame
  • batch_first_reuse
device
  • CPU
  • GPU
image IMAGE
mask_image IMAGE
crop_box BOX

Outputs

IMAGE

IMAGE

BOX

IMAGE

Extension: ComfyUI_Swwan

Collection of image processing utility nodes for ComfyUI including intelligent cropping, aspect ratio scaling, and crop box restoration capabilities. (Description by CC)

Authored by aining2022

Looking for a different node?

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.

Learn more