GenerateTracks
conditioning/video_models
GenerateTracksExample
JSON Example
{
"class_type": "GenerateTracks",
"inputs": {
"width": 832,
"height": 480,
"start_x": 0,
"start_y": 0,
"end_x": 1,
"end_y": 1,
"num_frames": 81,
"num_tracks": 5,
"track_spread": 0.025,
"bezier": false,
"mid_x": 0.5,
"mid_y": 0.5,
"interpolation": null
}
}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 |
|---|---|---|---|---|
width | INT | required | min: 16, max: 4096, step: 16 | 832 |
height | INT | required | min: 16, max: 4096, step: 16 | 480 |
start_x? | FLOAT | required | min: 0, max: 1, step: 0.01 | 0 |
start_y? | FLOAT | required | min: 0, max: 1, step: 0.01 | 0 |
end_x? | FLOAT | required | min: 0, max: 1, step: 0.01 | 1 |
end_y? | FLOAT | required | min: 0, max: 1, step: 0.01 | 1 |
num_frames | INT | required | min: 1, max: 1024 | 81 |
num_tracks | INT | required | min: 1, max: 100 | 5 |
track_spread? | FLOAT | required | min: 0, max: 1, step: 0.001 | 0.025 |
bezier? | BOOLEAN | required | - | false |
mid_x? | FLOAT | required | min: 0, max: 1, step: 0.01 | 0.5 |
mid_y? | FLOAT | required | min: 0, max: 1, step: 0.01 | 0.5 |
interpolation? | COMBO | required | - | - |
track_mask? | MASK | optional | - | - |
Outputs
| Index | Name | Type | Is List | Connection Reference |
|---|---|---|---|---|
0 | TRACKS | TRACKS | No | ["{node_id}", 0] |
1 | track_length | INT | No | ["{node_id}", 1] |
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 GenerateTracks node in your workflow, and output_index is the index from the table above.
Example
If this node has ID "5" in your workflow:
TRACKS (TRACKS):["5", 0]track_length (INT):["5", 1]
Was this page helpful?