Visit ComfyUI Online for ready-to-use ComfyUI environment
Masquerade Nodes is a low-dependency node pack focused on handling masks. The author suggests using Impact-Pack for better functionality unless dependency issues arise.
The masquerade-nodes-comfyui
extension is a powerful tool designed for AI artists using ComfyUI. This extension focuses on creating and manipulating masks within your image workflows. Masks are essential for tasks like inpainting, photobashing, and filtering images based on specific criteria. By using this extension, you can achieve fine control over image composition, enhance specific areas of an image, and automate complex image editing tasks.
At its core, masquerade-nodes-comfyui
uses a variety of nodes to create and manipulate masks. Masks are essentially black-and-white images where the white areas represent the parts of the image you want to keep or modify, and the black areas represent the parts you want to ignore. This extension leverages the power of ClipSeg, a model that generates masks based on text prompts, allowing you to dynamically create masks by simply describing what you want to mask out or keep in your image.
image
: The image to generate the mask for.prompt
: Text prompts to define what to mask.negative_prompt
: Text prompts to define what not to mask.precision
: The confidence level for the mask.normalize
: Whether to normalize the mask across the image.Thresholded Mask
: The final mask after applying precision and normalization.Raw ClipSeg Results
: The raw output from ClipSeg.image
: The mask to modify.distance
: The distance for the operation.op
: The operation to perform (dilate, erode, open, close).image1
: The first mask.image2
: The second mask.op
: The operation to perform (union, intersection, difference, etc.).clamp_result
: Clamp results between 0 and 1.round_result
: Round results to 0 or 1.image
: The mask to operate on.op
: The operation to perform (invert, average, round, clamp, abs).image
: The image to blur.radius
: The blur radius.sigma_factor
: Controls the falloff speed of the blur.image
: The image to convert.method
: The conversion method (intensity, alpha).image1
: The first image.image2
: The second image.mask
: The mask to use for mixing.mask
: The mask to calculate the region for.padding
: Padding around the mask.constraints
: Constraints for the region (keep_ratio, keep_ratio_divisible, etc.).constraint_x
, constraint_y
: Constraints for width and height.min_width
, min_height
: Minimum width and height.batch_behavior
: How to handle batches.image
: The image or mask to cut.mask
: The mask specifying the area to cut.force_resize_width
, force_resize_height
: Resize dimensions.mask_mapping_optional
: Mapping for variable masks.Mask To Region
for precise inpainting targets.image_base
: The base image.image_to_paste
: The image to paste.mask
: The mask specifying where to paste.resize_behavior
: How to handle resizing.mask_mapping_optional
: Mapping for variable masks.For additional resources, tutorials, and community support, you can explore the following:
masquerade-nodes-comfyui
and enhance your AI art projects.© Copyright 2024 RunComfy. All Rights Reserved.