Inputs
Outputs
This documentation was AI-generated. If you find any errors or have suggestions for improvement, please feel free to contribute! Edit on GitHub
Documentation Index
Fetch the complete documentation index at: /llms.txt
Use this file to discover all available pages before exploring further.
Complete documentation for the ImageToMask node in ComfyUI. Learn its inputs, outputs, parameters and usage.
| Parameter | Description | Data Type |
|---|---|---|
image | The ‘image’ parameter represents the input image from which a mask will be generated based on the specified color channel. It plays a crucial role in determining the content and characteristics of the resulting mask. | IMAGE |
channel | The ‘channel’ parameter specifies which color channel (red, green, blue, or alpha) of the input image should be used to generate the mask. This choice directly influences the mask’s appearance and which parts of the image are highlighted or masked out. | COMBO[STRING] |
| Parameter | Description | Data Type |
|---|---|---|
mask | The output ‘mask’ is a binary or grayscale representation of the specified color channel from the input image, useful for further image processing or masking operations. | MASK |
This documentation was AI-generated. If you find any errors or have suggestions for improvement, please feel free to contribute! Edit on GitHub
Was this page helpful?