Change Background of Image (SEGM SEGS)

quadmoonChangeBackground

This node is designed to work with Impact Pack from ltdrdata (and even borrows some code to ensure full compatibility with the segs output from the SEGM Detector). What it does is take an input image, and change the background using whatever process you determine as defined by the SEGS input. This 2-pass sampler will change the background in one pass and then resample the entire image as a whole to ensure the new background and the foreground are seamlessly blended.

Pack: quadmoon's ComfyUI nodes

custom_nodes.ComfyUI-quadMoons-nodes

Inputs (17)

NameTypeRequired
modelMODELrequired
model_2MODELrequired
positiveCONDITIONINGrequired
positive_2CONDITIONINGrequired
negativeCONDITIONINGrequired
negative_2CONDITIONINGrequired
imageIMAGErequired
vaeVAErequired
segs_from_SEGM_DetectorSEGSrequired
seedINTrequired
stepsINTrequired
steps_2INTrequired
cfgFLOATrequired
sampler_nameCOMBOrequired
schedulerCOMBOrequired
denoiseFLOATrequired
denoise_2FLOATrequired

Outputs (1)

NameType
IMAGEIMAGE