Kling 3.0 Motion Control — video API
Use kuaishou/kling-3.0-motion-control to animate a character from one image with the motion of one reference video, through the Quotaflow /openai/v1/videos task API: create a task, store the returned id, and poll until the task completes. The output follows the motion video's length.
resolution: "720p" is Kling's Motion Control Standard and resolution: "1080p" its Pro.
Model contract
| Property | Value |
|---|---|
| Model id | kuaishou/kling-3.0-motion-control, as /models lists it (kling-3.0-motion-control is also accepted) |
| Endpoint | POST https://api.quotaflow.ai/openai/v1/videos |
| Status endpoint | GET https://api.quotaflow.ai/openai/v1/videos/{task_id} |
| Content endpoint | GET https://api.quotaflow.ai/openai/v1/videos/{task_id}/content |
reference_image_urls | exactly one: the character image, a Base64 data URL (jpg or png, at least 300 px per side, ratio between 1:2.5 and 2.5:1) |
reference_video_urls | exactly one: the motion video, a public https:// link (mp4 or mov, up to 100 MB, 340–3850 px per side, at least 3 s) |
character_orientation | image (the character faces as in the image; motion video up to 10 s) or video (as in the video; up to 30 s). Required by Kling |
resolution | 720p (default) or 1080p |
prompt | optional, up to 2,500 characters |
generate_audio | omitted or true keeps the motion video's sound; false mutes the output |
| Mode | motion_control (inferred; you may send it) |
There is no durationSeconds: the output is as long as the usable continuous motion in the video, at least 3 s, and may be shorter than the video when the motion is fast or complex.
Example
curl https://api.quotaflow.ai/openai/v1/videos \
-H "Authorization: Bearer $QUOTAFLOW_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"model": "kuaishou/kling-3.0-motion-control",
"prompt": "A person in a red jacket dancing in a park.",
"reference_image_urls": ["data:image/png;base64,iVBORw0KGgo..."],
"reference_video_urls": ["https://example.com/dance-5s.mp4"],
"character_orientation": "video",
"resolution": "720p",
"max_cost_usd": 5
}'
Poll and download exactly as for Kling 4.0.
Cost
You are billed for the delivered video's seconds at the Motion Control price for its resolution; the motion video's own seconds are not billed. Before the task starts, the price check uses the longest output the orientation allows (10 s for image, 30 s for video), so max_cost_usd must cover that.
Notes
durationSeconds,aspect_ratio, a first, last, or middle frame, more than one image or video,quality,frame_rate,watermark: true,return_last_frame,callback_url, andexecution_expires_afterare refused with400.- A motion video outside Kling's limits is refused by Kling when the task starts, and nothing is charged.
Next steps
- Read the Videos endpoint guide.
- Browse all supported models.