ComfyUI Node

💀Image RMBG

A ComfyUI node in 💀S4Tool with 13 inputs and 3 outputs.

By S4MUEL-404·Created about a year ago·Updated 9 months ago· 3
💀Image RMBG
  • image
  • image
  • mask
  • info
sensitivity1.00
process_res1024
output_formatRGBA (Transparent)
edge_methodGaussian
feather_radius0.0
mask_blur0
mask_offset0
quality_modeBalanced
batch_size1
alpha_mattingfalse
background_color#FFFFFF
invert_outputfalse
Category💀S4Tool

Inputs (13)

NameTypeDefaultDescription
imageIMAGEInput image to be processed for background removal
sensitivityoptFLOAT1.000.1–1.5Mask detection sensitivity (0.0=aggressive, 1.0=conservative)
process_resoptCOMBO1024Processing resolution - higher = better quality but slower
output_formatoptCOMBORGBA (Transparent)Output format: RGBA=transparent background, Foreground=black background, Mask=mask preview, Original+Background=replace background with color
edge_methodoptCOMBOGaussianEdge refinement technique for smoother transitions
feather_radiusoptFLOAT0.00–20Soft feathering radius for natural edges (0=sharp)
mask_bluroptINT00–32Gaussian blur radius for mask smoothing
mask_offsetoptINT0-32–32Expand (+) or contract (-) mask boundaries
quality_modeoptCOMBOBalancedProcessing quality vs speed trade-off
batch_sizeoptINT11–8Process multiple images simultaneously for efficiency
alpha_mattingoptBOOLEANfalseAdvanced alpha matting for hair and fine details
background_coloroptSTRING#FFFFFFBackground color: Used by 'Original + Background' and 'Foreground Only' formats. RGBA format always outputs transparent background.
invert_outputoptBOOLEANfalseInvert the mask output (foreground<->background)

Outputs (3)

NameTypeDescription
imageIMAGE
maskMASK
infoSTRING