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

# RemoveBackground - ComfyUI Built-in Node Documentation

> Documentation for RemoveBackground node.

## 概述

Remove Background 节点会生成一个前景遮罩，将主体与输入图像的背景分离开来。它使用背景去除模型分析图像，并生成一个突出显示前景元素的遮罩。

## 输入

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

## 输出

| 输出名称   | 描述      | 数据类型 |
| ------ | ------- | ---- |
| `mask` | 生成的前景遮罩 | MASK |

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

***

**Source fingerprint (SHA-256):** `75b415acedaeaa1a694aeba2e4b0367524c6878e3e4a1f48b2a62898c68109f9`
