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

# BriaRemoveImageBackground - ComfyUI Built-in Node Documentation

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

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

此节点使用 Bria RMBG 2.0 服务移除图像的背景。它会将图像发送到外部 API 进行处理，并返回移除背景后的结果。

## 输入参数

| 参数                         | 数据类型    | 必需 | 取值范围                    | 描述                                                             |
| -------------------------- | ------- | -- | ----------------------- | -------------------------------------------------------------- |
| `image`                    | IMAGE   | 是  | -                       | 需要移除背景的输入图像。                                                   |
| `moderation`               | COMBO   | 否  | `"false"`<br />`"true"` | 内容审核设置。当设置为 `"true"` 时，会启用额外的审核选项。                             |
| `visual_input_moderation`  | BOOLEAN | 否  | -                       | 对输入图像启用视觉内容审核。此参数仅在 `moderation` 设置为 `"true"` 时可用。默认值：`False`。 |
| `visual_output_moderation` | BOOLEAN | 否  | -                       | 对输出图像启用视觉内容审核。此参数仅在 `moderation` 设置为 `"true"` 时可用。默认值：`True`。  |
| `seed`                     | INT     | 否  | 0 到 2147483647          | 控制节点是否应重新运行的种子值。无论种子值如何，结果都是非确定性的。默认值：`0`。                     |

**注意：** `visual_input_moderation` 和 `visual_output_moderation` 参数依赖于 `moderation` 参数。它们仅在 `moderation` 设置为 `"true"` 时才被激活且为必需。

## 输出

| 输出名称    | 数据类型  | 描述              |
| ------- | ----- | --------------- |
| `image` | IMAGE | 经过处理、背景已被移除的图像。 |
