Create Fade Mask
KJNodes/deprecated
CreateFadeMaskExample
JSON Example
{
"class_type": "CreateFadeMask",
"inputs": {
"invert": false,
"frames": 2,
"width": 256,
"height": 256,
"interpolation": "linear",
"start_level": 1,
"midpoint_level": 0.5,
"end_level": 0,
"midpoint_frame": 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 |
|---|---|---|---|---|
invert | BOOLEAN | required | - | false |
frames | INT | required | min: 2, max: 10000, step: 1 | 2 |
width | INT | required | min: 16, max: 4096, step: 1 | 256 |
height | INT | required | min: 16, max: 4096, step: 1 | 256 |
interpolation | ENUM4 options
| required | - | - |
start_level | FLOAT | required | min: 0, max: 1, step: 0.01 | 1 |
midpoint_level | FLOAT | required | min: 0, max: 1, step: 0.01 | 0.5 |
end_level | FLOAT | required | min: 0, max: 1, step: 0.01 | 0 |
midpoint_frame | INT | required | min: 0, max: 4096, 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 CreateFadeMask 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?