ComfyUI  >  Nodes  >  ComfyUI_Mira >  Create Simple Mask

ComfyUI Node: Create Simple Mask

Class Name

CreateSimpleMask

Category
Mira/Mask
Author
mirabarukaso (Account age: 1261 days)
Extension
ComfyUI_Mira
Latest Updated
7/25/2024
Github Stars
0.0K

How to Install ComfyUI_Mira

Install this extension via the ComfyUI Manager by searching for  ComfyUI_Mira
  • 1. Click the Manager button in the main menu
  • 2. Select Custom Nodes Manager button
  • 3. Enter ComfyUI_Mira 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

Create Simple Mask Description

Generate basic masks with specified dimensions and intensity for image processing tasks.

Create Simple Mask:

The CreateSimpleMask node is designed to generate a basic mask with specified dimensions and intensity. This node is particularly useful for creating solid or semi-transparent masks that can be used in various image processing tasks. By defining the width, height, and intensity of the mask, you can easily create a mask that fits your specific needs. This node simplifies the process of mask creation, making it accessible even for those who may not have a deep technical background. The primary goal of this node is to provide a straightforward way to generate masks that can be used in further image manipulation or compositing tasks.

Create Simple Mask Input Parameters:

Width

The Width parameter specifies the width of the mask in pixels. It determines how wide the mask will be. The default value is 576 pixels, with a minimum value of 16 pixels. The width can be adjusted in steps of 8 pixels. This parameter is crucial for defining the horizontal size of the mask.

Height

The Height parameter specifies the height of the mask in pixels. It determines how tall the mask will be. The default value is 1024 pixels, with a minimum value of 16 pixels. The height can be adjusted in steps of 8 pixels. This parameter is essential for defining the vertical size of the mask.

Intenisity

The Intenisity parameter controls the intensity of the mask, where 1.0 represents a solid mask. The default value is 1.0, with a range from 0.0 to 1.0. The intensity can be adjusted in steps of 0.1. This parameter is important for setting the opacity of the mask, allowing for varying levels of transparency.

Create Simple Mask Output Parameters:

mask

The mask output parameter is the generated mask based on the specified width, height, and intensity. This mask can be used in various image processing tasks, such as compositing or masking out certain areas of an image. The output is a versatile tool that can be integrated into your workflow to achieve the desired visual effects.

Create Simple Mask Usage Tips:

  • To create a fully opaque mask, set the Intenisity parameter to 1.0.
  • Adjust the Width and Height parameters to match the dimensions of the area you want to mask in your image.
  • Use lower intensity values to create semi-transparent masks for blending effects.

Create Simple Mask Common Errors and Solutions:

Invalid width or height value

  • Explanation: The width or height value provided is outside the acceptable range (less than 16 pixels).
  • Solution: Ensure that the Width and Height parameters are set to values within the allowed range, with a minimum of 16 pixels.

Intensity value out of range

  • Explanation: The intensity value provided is outside the acceptable range (0.0 to 1.0).
  • Solution: Adjust the Intenisity parameter to a value between 0.0 and 1.0.

Mask not appearing as expected

  • Explanation: The mask dimensions or intensity may not be set correctly.
  • Solution: Double-check the Width, Height, and Intenisity parameters to ensure they are set to the desired values. Adjust as necessary to achieve the expected mask appearance.

Create Simple Mask Related Nodes

Go back to the extension to check out more related nodes.
ComfyUI_Mira
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.