Skip to main content

Flux Erase Node

Removes the masked object from an image and reconstructs the background. Paint the mask over what you want to erase, and the node fills in the area with plausible background content.

Inputs

ParameterDescriptionData TypeRequiredRange
imageThe input image to processIMAGEYes-
maskWhite areas are removed; black areas are preservedMASKYes-
dilate_pixelsExpands the mask boundaries to ensure clean coverage of the object’s edges (default: 10)INTYes0 to 25
seedThe random seed used for creating the noise (default: 0)INTNo0 to 2147483647
Note: The input image must be at least 256x256 pixels in both dimensions. The mask is automatically resized to match the image dimensions.

Outputs

Output NameDescriptionData Type
IMAGEThe resulting image with the masked object removed and background reconstructedIMAGE
This documentation was AI-generated. If you find any errors or have suggestions for improvement, please feel free to contribute! Edit on GitHub

Source fingerprint (SHA-256): 70cf3223bc1ba0528cf99e84f073bd7a1bbcc26164cef99f4deb1645038fbf11