ComfyUI  >  Nodes  >  Stability API nodes for ComfyUI >  Stability Erase

ComfyUI Node: Stability Erase

Class Name

Stability Erase

Category
Stability
Author
Stability-AI (Account age: 851 days)
Extension
Stability API nodes for ComfyUI
Latest Updated
6/6/2024
Github Stars
0.0K

How to Install Stability API nodes for ComfyUI

Install this extension via the ComfyUI Manager by searching for  Stability API nodes for ComfyUI
  • 1. Click the Manager button in the main menu
  • 2. Select Custom Nodes Manager button
  • 3. Enter Stability API nodes for ComfyUI in the search bar
After installation, click the  Restart button to restart ComfyUI. Then, manually refresh your browser to clear the cache and access the updated list of nodes.

Visit ComfyUI Online for ready-to-use ComfyUI environment

  • Free trial available
  • High-speed GPU machines
  • 200+ preloaded models/nodes
  • Freedom to upload custom models/nodes
  • 50+ ready-to-run workflows
  • 100% private workspace with up to 200GB storage
  • Dedicated Support

Run ComfyUI Online

Stability Erase Description

Selective image area removal using masks for precise editing and object removal in AI art.

Stability Erase:

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.

Stability Erase Input Parameters:

image

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.

mask

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.

seed

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.

output_format

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.

api_key_override

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.

Stability Erase Output Parameters:

image

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.

Stability Erase Usage Tips:

  • Ensure that your mask accurately represents the areas you want to erase to achieve the best results.
  • Use the seed parameter to control the randomness of the erase operation, which can help in achieving consistent results across multiple runs.
  • Choose the appropriate output_format based on your needs, considering factors like file size and quality.

Stability Erase Common Errors and Solutions:

"Invalid image format"

  • Explanation: The input image is not in a supported format.
  • Solution: Ensure that the image is in one of the supported formats: PNG, JPEG, or WEBP.

"Mask dimensions do not match image dimensions"

  • Explanation: The dimensions of the mask do not match the dimensions of the input image.
  • Solution: Make sure that the mask image has the same width and height as the input image.

"API key override is invalid"

  • Explanation: The provided API key override is not valid.
  • Solution: Verify that the API key is correct and properly formatted as a single-line string.

Stability Erase Related Nodes

Go back to the extension to check out more related nodes.
Stability API nodes for ComfyUI
RunComfy

© Copyright 2024 RunComfy. All Rights Reserved.

RunComfy is the premier ComfyUI platform, offering ComfyUI online environment and services, along with ComfyUI workflows featuring stunning visuals.