Skip to main content

Kling Lip Sync Video with Text

api node/video/Kling
KlingLipSyncTextToVideoNode

Kling Lip Sync Text to Video Node. Syncs mouth movements in a video file to a text prompt. The video file should not be larger than 100MB, should have height/width between 720px and 1920px, and should be between 2s and 10s in length.

Example

JSON Example
{
  "class_type": "KlingLipSyncTextToVideoNode",
  "inputs": {
    "video": [
      "node_id",
      0
    ],
    "text": "example text",
    "voice": "Melody",
    "voice_speed": 1
  }
}

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

Inputs

NameTypeStatusConstraintsDefault
videoVIDEOrequired--
text?STRINGrequired--
voiceCOMBOrequired-"Melody"
voice_speed?FLOATrequiredmin: 0.8, max: 21

Outputs

IndexNameTypeIs ListConnection Reference
0VIDEOVIDEONo["{node_id}", 0]
1video_idSTRINGNo["{node_id}", 1]
2durationSTRINGNo["{node_id}", 2]
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 KlingLipSyncTextToVideoNode node in your workflow, and output_index is the index from the table above.

Example

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

  • VIDEO (VIDEO): ["5", 0]
  • video_id (STRING): ["5", 1]
  • duration (STRING): ["5", 2]
Was this page helpful?