> ## Documentation Index
> Fetch the complete documentation index at: https://dripart-mintlify-b90d3c69.mintlify.site/llms.txt
> Use this file to discover all available pages before exploring further.

# RemoveBackground - ComfyUI Built-in Node Documentation

> Complete documentation for the RemoveBackground node in ComfyUI. Learn its inputs, outputs, parameters and usage.

## 概述

移除背景节点使用背景移除模型生成遮罩，将输入图像中的前景主体与背景分离。该节点接收一张图像和一个背景移除模型，然后生成突出显示主要主体的遮罩。

## 输入

| 参数       | 描述            | 数据类型                       | 是否必填 | 范围  |
| -------- | ------------- | -------------------------- | ---- | --- |
| `图像`     | 需要移除背景的输入图像   | IMAGE                      | 是    | 不适用 |
| `背景移除模型` | 用于生成遮罩的背景移除模型 | BACKGROUND\_REMOVAL\_MODEL | 是    | 不适用 |

## 输出

| 输出名称   | 描述                       | 数据类型 |
| ------ | ------------------------ | ---- |
| `mask` | 生成的前景遮罩，用于突出显示输入图像中的主要主体 | MASK |

> 本文档由 AI 生成。如果您发现任何错误或有改进建议，欢迎贡献！ [在 GitHub 上编辑](https://github.com/Comfy-Org/embedded-docs/blob/main/comfyui_embedded_docs/docs/RemoveBackground/zh.md)

***

**Source fingerprint (SHA-256):** `cd19134e6afed4d31096b613dd534eacad39afe7de2c8b74feab512bd5f09f66`
