motion_control
Create Kling tasks that transfer motion from a reference video to a subject image, returning task ID, status, and output URLs.
Instructions
Create a Kling task on RunAPI (motion control). Returns a task id, status, and output URLs.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"source_image_url": "<source_image_url>",
"reference_video_url": "<reference_video_url>",
"output_resolution": "<output_resolution>"
},
"name": "motion_control"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| wait | No | Poll until the task reaches a terminal status. | |
| model | No | RunAPI model slug for this model line. | |
| prompt | No | Description prompt. Declared type: string. | |
| timeout_ms | No | ||
| callback_url | No | Webhook URL for async notifications. Declared type: string. | |
| poll_interval_ms | No | ||
| source_image_url | Yes | Subject image URL. Declared type: string. | |
| output_resolution | Yes | Output resolution. Declared type: string. Known values: "720p", "1080p". | |
| reference_video_url | Yes | Reference motion video URL. Declared type: string. | |
| character_orientation | No | Character orientation. Declared type: string. Known values: "video", "image". |