
The 'Kling2.6: Motion Control' workflow is designed to help users apply precise character actions and expressions from a reference video to a character image. This workflow leverages the capabilities of the Kling 2.6 model to synchronize motion control, making it highly effective for animators and video editors who need to create realistic character animations. The workflow begins with the LoadVideo node, which imports the reference video containing the desired motions. The KlingMotionControl node is the core of this workflow, where the motion data is extracted and applied to the character image loaded via the LoadImage node. Finally, the SaveVideo node outputs the animated character video, ensuring that the character's movements are in perfect harmony with the reference video.
This workflow is particularly useful for its ability to maintain the integrity of character expressions and actions, ensuring that the animation looks natural and fluid. By using the Kling model, which is renowned for its precise motion capture capabilities, the workflow allows for detailed motion control that can be customized to fit various animation needs. The inclusion of the MarkdownNote node provides users with the ability to annotate and document their workflow process, making it easier to replicate or modify for future projects.
API
Use this workflow from code
Every Comfy workflow is a JSON graph. The payload below is this workflow, exactly as ComfyUI runs it — fetch it from the URL, keep it in version control, or load it in ComfyUI and run it node by node.
GET https://comfy.org/workflows/download/8f381a482443.jsonFetching workflow JSON…
Run it from Python or TypeScript with the Comfy SDK. The same code targets Comfy Cloud or a ComfyUI you host yourself — only the base URL changes.
# Install (beta)
pip install comfy-sdk # Python
npm i @comfyorg/sdk # TypeScript
# Run "Kling2.6: Motion Control" (Python)
from comfy_sdk import Comfy
client = Comfy(api_key="comfyui-...")
# This workflow, exported in API format (see note below)
wf = client.workflows.from_file("api_kling_motion_control_api.json")
asset = client.assets.from_file("input.png")
wf.set_input("11", "image", asset) # LoadImage
job = client.run(wf)
for output in job.get_outputs("9"): # SaveVideo
output.to_file(output.name)The SDK takes a workflow in API format: open this workflow in ComfyUI and use File → Export Workflow (API). API access requires a Comfy Cloud plan with an API key. SDK docs · Get an API key
FAQ














