Kling v2.6 Motion Control Video Generation
Kling motion control model (reference image + reference video)
Tutta la documentazione/v1/videos/generations- Called via unified endpoint
/v1/videos/generations - Supports image / video character orientation, max duration 10s / 30s respectively
- Asynchronous task — returns task_id on submission
Esempi di richieste
curl --request POST \
--url https://api.apisea.ai/v1/videos/generations \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{
"model": "kling-v2-6-motion-control",
"prompt": "Keep the character consistent, perform a turn and wave following the reference video, cinematic lighting",
"image_url": "https://example.com/ref-image.png",
"video_url": "https://example.com/ref-video-8s.mp4",
"keep_original_sound": "yes",
"character_orientation": "image",
"mode": "std",
"watermark_info": {"enabled": false}
}'Authentication
AuthorizationstringrequiredAll requests require Bearer Token authentication
Get your API Key:
Visit the API Key Management page to obtain your API Key
Add the following header to each request:
Authorization: Bearer YOUR_API_KEYRequest Parameters
modelstringrequiredModel name: kling-v3-motion-control or kling-v2-6-motion-control
nsfw_checkbooleandefault: falseWhether to run content moderation before submitting the video task.
true: useomni-moderation-latestto review prompts and input imagesfalseor omitted: do not send a moderation request, adding no moderation cost or latency (default)
promptstringText prompt describing the desired motion, camera movement, and style
Optional but recommended — more specific descriptions produce more stable results
Example: "The character dances following the reference video, smooth motion, realistic style"
image_urlstringrequiredReference image URL
Must be a publicly accessible link
video_urlstringrequiredReference video URL
Must be a publicly accessible direct link; mp4/mov recommended, under 100MB
Warning
The server probes the actual duration of
video_url. Minimum is 3 seconds; maximum is determined bycharacter_orientation.
keep_original_soundstringdefault: yesWhether to retain the original audio track from the reference video
Options:
yes: Keep original audio (default)no: Do not keep original audio
character_orientationstringrequiredCharacter orientation control
Options:
image: Use the character orientation from the reference image (reference video duration:3~10s)video: Use the character orientation from the reference video (reference video duration:3~30s)
modestringrequiredGeneration mode
Options:
std: Standard mode (balanced speed and quality)pro: High-quality mode (higher latency)
watermark_infoobjectWatermark control object (optional)
watermark_info fields
enabledbooleandefault: falseWhether to add a watermark
true: Add watermarkfalse: No watermark (default)
Duration Rules
| Condition | Allowed Reference Video Duration |
|---|---|
character_orientation = image | 3s ~ 10s |
character_orientation = video | 3s ~ 30s |
Note
Billing duration is determined by the actual duration probed from
video_urlby the server, not a client-side estimate.
Response
codeintegerResponse status code, 200 on success
dataarrayResponse data array
Array elements
statusstringTask status, submitted on initial submission
task_idstringUnique task identifier used to query task status and results
Examples
Example 1: image orientation (within 10s)
{
"model": "kling-v2-6-motion-control",
"prompt": "Keep character orientation consistent with the reference image, perform a turn and wave",
"image_url": "https://example.com/ref-image.png",
"video_url": "https://example.com/ref-video-8s.mp4",
"character_orientation": "image",
"mode": "std",
"keep_original_sound": "yes",
"watermark_info": {"enabled": false}
}Example 2: video orientation (within 30s)
{
"model": "kling-v2-6-motion-control",
"prompt": "Follow the character orientation and rhythm of the reference video, maintain fluid motion",
"image_url": "https://example.com/ref-image.png",
"video_url": "https://example.com/ref-video-12s.mp4",
"character_orientation": "video",
"mode": "pro",
"keep_original_sound": "no",
"watermark_info": {"enabled": false}
}Risposte
{
"code": 200,
"data": [
{
"status": "submitted",
"task_id": "task_01J9HA7JPQ9A0Z6JZ3V8M9W6PZ"
}
]
}Modelli che usano questo endpoint
Hai trovato un problema in questa documentazione? Scrivi a support@apisea.ai.