Visit ComfyUI Online for ready-to-use ComfyUI environment
Concatenate multiple mask batches into a unified composite mask for detailed and precise mask compositions.
The MaskBatchComposite
node is designed to facilitate the combination of multiple mask batches into a single, unified mask batch. This node is particularly useful in scenarios where you need to merge different mask layers or sets, allowing for more complex and nuanced mask compositions. By leveraging this node, you can efficiently manage and manipulate mask data, ensuring that your creative projects maintain a high level of detail and precision. The primary function of this node is to concatenate two sets of masks along a specified dimension, effectively creating a composite mask that retains the characteristics of the individual inputs. This capability is essential for artists and designers who work with layered mask structures, as it simplifies the process of integrating multiple mask elements into a cohesive whole.
This parameter represents the first set of masks that you wish to combine. It is crucial that the masks are in the correct shape, typically as a tensor. If the masks are two-dimensional, they will be automatically adjusted to ensure compatibility with the combination process. The input should be a tensor of type MASK
, and it is essential for the successful execution of the node.
Similar to masks_1
, this parameter is the second set of masks that you want to merge with the first. The node ensures that these masks are also in the correct shape, adjusting them if necessary. This input is also a tensor of type MASK
, and it plays a vital role in the composite operation, allowing for the seamless integration of multiple mask layers.
The output of the MaskBatchComposite
node is a single, unified mask batch that results from the combination of masks_1
and masks_2
. This composite mask retains the properties of the input masks and is returned as a tensor of type MASK
. The combined mask is essential for further processing or application in your creative projects, providing a streamlined and efficient way to handle complex mask compositions.
masks_1
and masks_2
) are in the correct tensor format to avoid shape-related issues during the combination process.masks_1
and masks_2
are tensors and have the correct dimensions. If they are two-dimensional, the node will automatically adjust them, but it's best to verify their shape before inputting them into the node.MASK
type, which is required for the node to function correctly.MASK
. Convert any non-tensor inputs to the appropriate format before using the node.RunComfy is the premier ComfyUI platform, offering ComfyUI online environment and services, along with ComfyUI workflows featuring stunning visuals. RunComfy also provides AI Playground, enabling artists to harness the latest AI tools to create incredible art.