ComfyUI Node: Image Mask Resize (RMBG) 🖼️🎭

Authored by 1038lab

Created

Updated

1268 stars

Category

🧪AILab/🖼️IMAGE

Inputs

image IMAGE
width INT
height INT
scale_by FLOAT
upscale_method
  • nearest-exact
  • bilinear
  • area
  • bicubic
  • lanczos
resize_mode
  • stretch
  • resize
  • pad
  • pad_edge
  • crop
pad_color COLOR
crop_position
  • center
  • top
  • bottom
  • left
  • right
divisible_by INT
mask MASK
device
  • cpu
  • gpu

Outputs

IMAGE

MASK

INT

INT

Extension: ComfyUI-RMBG

A sophisticated ComfyUI custom node engineered for advanced image background removal and precise segmentation of objects, faces, clothing, and fashion elements. This tool leverages a diverse array of models, including RMBG-2.0, INSPYRENET, BEN, BEN2, BiRefNet models, SAM, and GroundingDINO, while also incorporating a new feature for real-time background replacement and enhanced edge detection for improved accuracy.

Authored by 1038lab

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