Skip to main content

GenerateTracks

conditioning/video_models
GenerateTracks

Example

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

NameTypeStatusConstraintsDefault
widthINTrequiredmin: 16, max: 4096, step: 16832
heightINTrequiredmin: 16, max: 4096, step: 16480
start_x?FLOATrequiredmin: 0, max: 1, step: 0.010
start_y?FLOATrequiredmin: 0, max: 1, step: 0.010
end_x?FLOATrequiredmin: 0, max: 1, step: 0.011
end_y?FLOATrequiredmin: 0, max: 1, step: 0.011
num_framesINTrequiredmin: 1, max: 102481
num_tracksINTrequiredmin: 1, max: 1005
track_spread?FLOATrequiredmin: 0, max: 1, step: 0.0010.025
bezier?BOOLEANrequired-false
mid_x?FLOATrequiredmin: 0, max: 1, step: 0.010.5
mid_y?FLOATrequiredmin: 0, max: 1, step: 0.010.5
interpolation?COMBOrequired--
track_mask?MASKoptional--

Outputs

IndexNameTypeIs ListConnection Reference
0TRACKSTRACKSNo["{node_id}", 0]
1track_lengthINTNo["{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?