🔧 Mask Fix
essentials/mask
MaskFix+Example
JSON Example
{
"class_type": "MaskFix+",
"inputs": {
"mask": [
"node_id",
0
],
"erode_dilate": 0,
"fill_holes": 0,
"remove_isolated_pixels": 0,
"smooth": 0,
"blur": 0
}
}This example shows required inputs only. Connection values like ["node_id", 0] should reference actual node IDs from your workflow.
Inputs
| Name | Type | Status | Constraints | Default |
|---|---|---|---|---|
mask | MASK | required | - | - |
erode_dilate | INT | required | min: -256, max: 256, step: 1 | 0 |
fill_holes | INT | required | min: 0, max: 128, step: 1 | 0 |
remove_isolated_pixels | INT | required | min: 0, max: 32, step: 1 | 0 |
smooth | INT | required | min: 0, max: 256, step: 1 | 0 |
blur | INT | required | min: 0, max: 256, step: 1 | 0 |
Outputs
| Index | Name | Type | Is List | Connection Reference |
|---|---|---|---|---|
0 | MASK | MASK | No | ["{node_id}", 0] |
How to connect to these outputs
To connect another node's input to an output from this node, use the connection reference format:
["node_id", output_index]Where node_id is the ID of this MaskFix+ node in your workflow, and output_index is the index from the table above.
Example
If this node has ID "5" in your workflow:
MASK (MASK):["5", 0]
Was this page helpful?