## 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

| Parameter | Description | Data Type | Required | Range |
| --- | --- | --- | --- | --- |
| `image` | Input image to remove the background from | IMAGE | Yes | N/A |
| `bg_removal_model` | Background removal model used to generate the mask | BACKGROUND_REMOVAL_MODEL | Yes | N/A |

## Outputs

| Output Name | Description | Data Type |
| --- | --- | --- |
| `mask` | Generated foreground mask that highlights the main subject of the input image | MASK |

> This documentation was AI-generated. If you find any errors or have suggestions for improvement, please feel free to contribute! [Edit on GitHub](https://github.com/Comfy-Org/embedded-docs/blob/main/comfyui_embedded_docs/docs/RemoveBackground/en.md)

---
**Source fingerprint (SHA-256):** `6b0e31792dc8a5c949944680129e91790ca396336a43ac67b7816b9d6c5b9049`
