ComfyUI Node: LayerUtility: ImageAutoCrop V2(Advance)

Authored by chflame163

Created

Updated

689 stars

Run LayerUtility: ImageAutoCrop V2(Advance) without installing ComfyUI

This node already runs on ComfyICU. Open it in the browser, hit run, and you're billed for GPU seconds — not for setup, and not while you're idle.

Category

😺dzNodes/LayerUtility

Inputs

image IMAGE
fill_background BOOLEAN
background_color STRING
aspect_ratio
  • 1:1
  • 3:2
  • 4:3
  • 16:9
  • 2:3
  • 3:4
  • 9:16
  • custom
  • detect_mask
  • original
proportional_width INT
proportional_height INT
scale_to_side
  • None
  • longest
  • shortest
  • width
  • height
scale_to_length INT
detect
  • min_bounding_rect
  • max_inscribed_rect
  • mask_area
border_reserve INT
ultra_detail_range INT
matting_method
  • RMBG 1.4
  • SegmentAnything
sam_model
  • sam_vit_h (2.56GB)
  • sam_vit_l (1.25GB)
  • sam_vit_b (375MB)
  • sam_hq_vit_h (2.57GB)
  • sam_hq_vit_l (1.25GB)
  • sam_hq_vit_b (379MB)
  • mobile_sam(39MB)
grounding_dino_model
  • GroundingDINO_SwinT_OGC (694MB)
  • GroundingDINO_SwinB (938MB)
sam_threshold FLOAT
sam_prompt STRING
mask MASK

Outputs

IMAGE

IMAGE

MASK

Extension: ComfyUI_LayerStyle_Advance

The nodes detached from ComfyUI Layer Style are mainly those with complex requirements for dependency packages.

Authored by chflame163

Looking for a different node?

Run LayerUtility: ImageAutoCrop V2(Advance) without installing ComfyUI

This node already runs on ComfyICU. Open it in the browser, hit run, and you're billed for GPU seconds — not for setup, and not while you're idle.

Learn more