Documentation Index
Fetch the complete documentation index at: https://docs.comfy.org/llms.txt
Use this file to discover all available pages before exploring further.
This documentation was AI-generated. If you find any errors or have suggestions for improvement, please feel free to contribute! Edit on GitHubThe Batch Masks node combines multiple individual mask inputs into a single batch. It takes a variable number of mask inputs and outputs them as a single batched mask tensor, allowing for batch processing of masks in subsequent nodes. If the input masks have different sizes, they are automatically resized to match the dimensions of the first mask.
Inputs
| Parameter | Data Type | Required | Range | Description |
|---|---|---|---|---|
mask | MASK | Yes | 1 to 50 masks | The mask inputs to combine into a batch. At least one mask is required. You can add up to 50 masks total by clicking the ”+” button on the node. If masks have different sizes, they are automatically resized to match the first mask’s dimensions. |
Outputs
| Output Name | Data Type | Description |
|---|---|---|
output | MASK | A single batched mask containing all the input masks stacked together. If no masks are provided, returns None. |
Source fingerprint (SHA-256):
7e9bc4be72c7fa8fceab2cf167c72b7e1ff858c0281d977f2ad3ab433d9d58d6