# Remove Background Node Documentation

## 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 |
|-----------|-------------|-----------|----------|-------|
| `bg_removal_model` | Background removal model used to generate the mask | BACKGROUND_REMOVAL_MODEL | Yes | N/A |
| `image` | Input image to remove the background from | IMAGE | Yes | N/A |

## Outputs

| Output Name | Description | Data Type |
|-------------|-------------|-----------|
| `mask` | Generated foreground mask | 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):** `75b415acedaeaa1a694aeba2e4b0367524c6878e3e4a1f48b2a62898c68109f9`
