Skip to main content

Kling Camera Controls

api node/video/Kling
KlingCameraControls

Allows specifying configuration options for Kling Camera Controls and motion control effects.

Example

JSON Example
{
  "class_type": "KlingCameraControls",
  "inputs": {
    "camera_control_type": null,
    "horizontal_movement": 0,
    "vertical_movement": 0,
    "pan": 0.5,
    "tilt": 0,
    "roll": 0,
    "zoom": 0
  }
}

This example shows required inputs only. Connection values like ["node_id", 0] should reference actual node IDs from your workflow.

Inputs

NameTypeStatusConstraintsDefault
camera_control_typeCOMBOrequired--
horizontal_movement?FLOATrequiredmin: -10, max: 10, step: 0.250
vertical_movement?FLOATrequiredmin: -10, max: 10, step: 0.250
pan?FLOATrequiredmin: -10, max: 10, step: 0.250.5
tilt?FLOATrequiredmin: -10, max: 10, step: 0.250
roll?FLOATrequiredmin: -10, max: 10, step: 0.250
zoom?FLOATrequiredmin: -10, max: 10, step: 0.250

Outputs

IndexNameTypeIs ListConnection Reference
0camera_controlCAMERA_CONTROLNo["{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 KlingCameraControls node in your workflow, and output_index is the index from the table above.

Example

If this node has ID "5" in your workflow:

  • camera_control (CAMERA_CONTROL): ["5", 0]
Was this page helpful?