ComfyUI Node
RefineNode Preprocess Mask
A ComfyUI node in RefineNode with 5 inputs and 4 outputs.
RefineNode Preprocess Mask
- image
- mask
- image
- spatial_mask_image
- mask
- info
◄focus_croptrue►
◄focus_crop_margin64►
◄spatial_prompt_sourcemask►
CategoryRefineNode
Inputs (5)
| Name | Type | Default | Description |
|---|---|---|---|
| image | IMAGE | — | |
| focus_crop | BOOLEAN | true | — |
| focus_crop_margin | INT | 640–2048 | — |
| spatial_prompt_source | COMBO | mask | 2 options: mask, bbox |
| maskopt | MASK | — |
Outputs (4)
| Name | Type | Description |
|---|---|---|
| image | IMAGE | — |
| spatial_mask_image | IMAGE | — |
| mask | MASK | — |
| info | REFINENODE_INFO | — |