upload_mask
Upload a mask image to ComfyUI's input directory for inpainting. Extracts the alpha channel, using white areas as regions to inpaint.
Instructions
Upload a mask image to ComfyUI's input directory.
The mask is processed to extract the alpha channel for use with inpainting workflows. White areas in the mask will be inpainted.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| overwrite | No | Overwrite existing file. Default: false. | |
| subfolder | No | Subfolder within input directory. Default: "" (root). | |
| image_path | Yes | Absolute path to the mask image file. | |
| original_ref | No | Reference to the original image this mask belongs to. Default: "" (none). |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||