Save 4 hours! We auto-setup your workflow! Free!

Drop your workflow.json — we handle every dependency, custom node, and model. Just open the link and run.

Auto-Setup Workflow Json (Free) Now!
ComfyUI > Nodes > ComfyUI-CustomNodePacks > Mask Edit — Transform/Draw/Points/BBox (MEC)

ComfyUI Node: Mask Edit — Transform/Draw/Points/BBox (MEC)

Class Name

MaskEditMEC

Category
MaskEditControl/Edit
Author
Code2Collapse (Account age: 1184days)
Extension
ComfyUI-CustomNodePacks
Latest Updated
2026-07-29
Github Stars
0.05K

How to Install ComfyUI-CustomNodePacks

Install this extension via the ComfyUI Manager by searching for ComfyUI-CustomNodePacks
  • 1. Click the Manager button in the main menu
  • 2. Select Custom Nodes Manager button
  • 3. Enter ComfyUI-CustomNodePacks 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
  • 16GB VRAM to 80GB VRAM GPU machines
  • 400+ preloaded models/nodes
  • Freedom to upload custom models/nodes
  • 200+ ready-to-run workflows
  • 100% private workspace with up to 200GB storage
  • Dedicated Support

Run ComfyUI Online

Mask Edit — Transform/Draw/Points/BBox (MEC) Description

Versatile node for streamlined mask editing operations, combining multiple functionalities into a single interface.

Mask Edit — Transform/Draw/Points/BBox (MEC):

MaskEditMEC is a versatile node designed to streamline and unify various mask editing operations within a single interface. It serves as a comprehensive dispatcher for transforming, fixing, drawing, and editing masks, effectively combining functionalities that were previously spread across multiple nodes. This node allows you to perform a wide range of mask manipulations, such as transforming mask coordinates, drawing shapes, and editing points and bounding boxes, all through a single, user-friendly interface. The node is particularly beneficial for those looking to simplify their workflow by reducing the need to switch between different tools for mask editing tasks. By offering a unified approach, MaskEditMEC enhances efficiency and consistency in mask editing processes, making it an essential tool for AI artists who require precise and flexible mask manipulation capabilities.

Mask Edit — Transform/Draw/Points/BBox (MEC) Input Parameters:

The context does not provide specific input parameters for MaskEditMEC. Therefore, input parameters cannot be detailed without speculative content.

Mask Edit — Transform/Draw/Points/BBox (MEC) Output Parameters:

MASK

This output provides the final mask after all transformations and edits have been applied. It is the primary output that reflects the cumulative changes made through the node's operations.

STRING (positive_coords)

This output contains the coordinates of positive points in a string format, specifically for the points-mode SAM (Segment Anything Model) coordinates. It is useful for understanding which areas of the mask are considered positive or included.

STRING (negative_coords)

Similar to positive_coords, this output provides the coordinates of negative points in a string format, indicating areas that are excluded or marked as negative in the mask.

BBOX (bboxes)

This output lists the positive bounding boxes, which are rectangular areas that encompass the positive regions of the mask. It is essential for tasks that require spatial information about the mask's positive areas.

BBOX (neg_bboxes)

This output lists the negative bounding boxes, representing areas that are excluded from the mask. It helps in identifying and managing regions that should not be part of the final mask.

STRING (points_json)

This output provides a JSON string containing detailed information about all the points used in the mask editing process. It is useful for debugging and understanding the structure of the mask.

STRING (bbox_json)

This output contains a JSON string representing the bounding box data, including results from the bbox_smooth operation. It provides a comprehensive view of the bounding box adjustments made during the editing process.

BBOX (primary_bbox)

This output provides the primary bounding box in the format [x, y, w, h], which represents the main area of interest within the mask. It is crucial for tasks that require a focused region of the mask.

Mask Edit — Transform/Draw/Points/BBox (MEC) Usage Tips:

  • Utilize the single mode widget to switch between different mask editing operations, allowing you to focus on specific tasks such as drawing or transforming without changing nodes.
  • Take advantage of the node's ability to provide consistent output schemas across all modes, ensuring that your workflow remains streamlined and predictable.

Mask Edit — Transform/Draw/Points/BBox (MEC) Common Errors and Solutions:

The context does not provide specific error messages or solutions for MaskEditMEC. Therefore, common errors and solutions cannot be detailed without speculative content.

Mask Edit — Transform/Draw/Points/BBox (MEC) Related Nodes

Go back to the extension to check out more related nodes.
ComfyUI-CustomNodePacks
RunComfy
Copyright 2025 RunComfy. All Rights Reserved.

RunComfy is the premier ComfyUI platform, offering ComfyUI online environment and services, along with ComfyUI workflows featuring stunning visuals. RunComfy also provides AI Models, enabling artists to harness the latest AI tools to create incredible art.

Mask Edit — Transform/Draw/Points/BBox (MEC)