ComfyUI Node

RemBG v1.4

A ComfyUI node in Runware/Image/runware with 12 inputs and 1 output.

By Runware·Created 2 years ago·Updated about a month ago· 140
RemBG v1.4
  • image
  • image
settings.alphaMattingfalse
settings.alphaMattingBackgroundThreshold10
settings.alphaMattingErodeSize10
settings.alphaMattingForegroundThreshold240
settings.postProcessMaskfalse
settings.returnOnlyMaskfalse
ttlfalse
ttl_value60
outputFormatJPG
outputQuality95
advanced_json
CategoryRunware/Image/runware

Inputs (12)

NameTypeDefaultDescription
imageIMAGE
settings.alphaMattingoptBOOLEANfalseEnable alpha matting to refine edges of the foreground object.
settings.alphaMattingBackgroundThresholdoptINT101–255Threshold used in alpha matting to refine background areas. Higher values remove more background but increase computation time.
settings.alphaMattingErodeSizeoptINT101–255Size of the erosion operation used to smooth the edges of the foreground object.
settings.alphaMattingForegroundThresholdoptINT2401–255Threshold used in alpha matting to distinguish foreground from background. Affects edge sharpness.
settings.postProcessMaskoptBOOLEANfalseEnable additional post-processing to improve mask accuracy.
settings.returnOnlyMaskoptBOOLEANfalseReturn only the mask instead of the processed image.
ttloptBOOLEANfalseEnable to set ttl. Off uses the model's default.
ttl_valueoptINT60Time-to-live (TTL) in seconds for generated content. Only applies when `outputType` is `URL`.
outputFormatoptCOMBOJPGFile format for the generated image.
outputQualityoptINT9520–99Compression quality of the output. Higher values preserve quality but increase file size.
advanced_jsonoptSTRINGOptional JSON merged into the request. For: settings.rgba

Outputs (1)

NameTypeDescription
imageIMAGE