ComfyUI Node: Image Resize (RMBG) 🖼️🎭

Authored by 1038lab

Created

Updated

2023 stars

Run Image Resize (RMBG) 🖼️🎭 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

🧪AILab/🖼️IMAGE

Inputs

image IMAGE
custom_width INT
custom_height INT
megapixels FLOAT
scale_by FLOAT
resize_mode
  • longest_side
  • shortest_side
resize_value INT
upscale_method
  • nearest-exact
  • bilinear
  • area
  • bicubic
  • lanczos
device
  • cpu
  • gpu
divisible_by INT
output_mode
  • stretch
  • pad
  • pad_edge
  • pad_edge_pixel
  • crop
  • pillarbox_blur
crop_position
  • center
  • top
  • bottom
  • left
  • right
pad_color COLORCODE
mask MASK

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

Looking for a different node?

Run Image Resize (RMBG) 🖼️🎭 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