Kling 2.6 Motion Control
POST https://api.beatapi.io/v1/videos/tasks
Transfer motion from one uploaded MP4/MOV video to one uploaded character image at 720p or 1080p; image orientation supports up to 10 seconds and video orientation up to 30 seconds.
Supported modes
Async flow: Create the task, save data.id, then poll the Task with GET /v1/tasks/{task_id}. On succeeded, read data.output.media. On failed, read data.error_code and data.error_message, then follow the error and retry policy.
Using a local file? upload a local input first and pass the returned data.url.
Authorization
Authorization string required
Send your BeatAPI API key as a Bearer token. Create one on the Dashboard.
Keep permanent API keys on trusted servers. Content-Type: application/json is required for the request body. Idempotency-Key is optional when the endpoint exposes it and is recommended for safe retries with the exact same body.
Request body
model string required
Must be kling-2.6-motion-control.
Value: kling-2.6-motion-control
prompt string optional
Optional motion or scene guidance.
Length: at most 2500 characters
images string[] required
Exactly one character-image URL returned by the current account’s /v1/files upload.
Count: 1 to 1 items
reference_videos string[] required
Exactly one 3–30 second MP4/MOV URL returned by the current account’s /v1/files upload. Its detected duration determines billing.
Count: 1 to 1 items
resolution enum<string> optional
Output resolution and per-second price tier.
Available options: 720p, 1080p
Default: "720p"
character_orientation enum<string> optional
Image orientation supports motion videos up to 10 seconds; video orientation supports up to 30 seconds.
Available options: image, video
Default: "image"
Request examples
Motion transfer
Response
A successful request returns HTTP 201.

