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

# FluxEraseNode - ComfyUI Built-in Node Documentation

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

# Flux Erase 节点

从图像中移除遮罩对象并重建背景。在要擦除的对象上绘制遮罩，节点会用合理的背景内容填充该区域。

## ## 输入

| 参数     | 描述                         | 数据类型  | 是否必需 | 范围             |
| ------ | -------------------------- | ----- | ---- | -------------- |
| `图像`   | 要处理的输入图像                   | IMAGE | 是    | -              |
| `遮罩`   | 白色区域将被移除；黑色区域将被保留          | MASK  | 是    | -              |
| `膨胀像素` | 扩展遮罩边界以确保对象边缘被完全覆盖（默认值：10） | INT   | 是    | 0 到 25         |
| `seed` | 用于生成噪声的随机种子（默认值：0）         | INT   | 否    | 0 到 2147483647 |

**注意：** 输入图像的两个维度必须至少为 256x256 像素。遮罩会自动调整大小以匹配图像尺寸。

## ## 输出

| 输出名称    | 描述                 | 数据类型  |
| ------- | ------------------ | ----- |
| `IMAGE` | 遮罩对象被移除且背景重建后的结果图像 | IMAGE |

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

***

**Source fingerprint (SHA-256):** `70cf3223bc1ba0528cf99e84f073bd7a1bbcc26164cef99f4deb1645038fbf11`
