Skip to main content

Documentation Index

Fetch the complete documentation index at: https://docs.comfy.org/llms.txt

Use this file to discover all available pages before exploring further.

This documentation was AI-generated. If you find any errors or have suggestions for improvement, please feel free to contribute! Edit on GitHub

Overview

The Remove Background node generates a foreground mask that separates the main subject from the background of an input image. It uses a background removal model to analyze the image and produce a mask highlighting the foreground elements.

Inputs

ParameterData TypeRequiredRangeDescription
imageIMAGEYesN/AInput image to remove the background from
bg_removal_modelBACKGROUND_REMOVAL_MODELYesN/ABackground removal model used to generate the mask

Outputs

Output NameData TypeDescription
maskMASKGenerated foreground mask that highlights the main subject of the input image

Source fingerprint (SHA-256): 6b0e31792dc8a5c949944680129e91790ca396336a43ac67b7816b9d6c5b9049