Visit ComfyUI Online for ready-to-use ComfyUI environment
Selective image area removal using masks for precise editing and object removal in AI art.
Stability Erase is a powerful node designed to help you selectively remove parts of an image using a mask. This node is particularly useful for tasks where you need to erase specific areas of an image while preserving the rest. By providing an image and a corresponding mask, you can precisely control which parts of the image to erase. This functionality is essential for various creative and editing tasks, such as removing unwanted objects or preparing an image for further processing. The node leverages advanced image processing techniques to ensure high-quality results, making it an invaluable tool for AI artists looking to refine their work with precision.
The image
parameter is a required input that specifies the image you want to edit. This image will be processed according to the mask provided, and the specified areas will be erased. The input should be in a standard image format such as PNG, JPEG, or WEBP.
The mask
parameter is a required input that defines the areas of the image to be erased. The mask should be a binary image where the areas to be erased are marked. This allows for precise control over which parts of the image are affected by the erase operation.
The seed
parameter is an optional integer input that sets the random seed for the erase operation. This can be useful for ensuring reproducibility of the results. The default value is 0, with a minimum value of 0 and a maximum value of 4294967294.
The output_format
parameter is an optional input that specifies the format of the output image. You can choose from "png", "webp", or "jpeg". This allows you to select the most suitable format for your needs.
The api_key_override
parameter is an optional string input that allows you to override the default API key. This can be useful if you need to use a different API key for specific operations. The input should be a single-line string.
The image
output parameter provides the edited image with the specified areas erased. This output is the result of applying the mask to the input image, and it will be in the format specified by the output_format
parameter.
seed
parameter to control the randomness of the erase operation, which can help in achieving consistent results across multiple runs.output_format
based on your needs, considering factors like file size and quality.© Copyright 2024 RunComfy. All Rights Reserved.