Transfer motion from a reference video onto a character in a reference image using Kling v2.6 Motion Control.
Pricing
| Resolution | Price |
|---|
| 720p | $0.01/s |
| 1080p | $0.0225/s |
Request
curl -X POST "https://api.unifically.com/kling-v2.6-motion-control/generate" \
-H "Content-Type: application/json" \
-H "Authorization: Bearer YOUR_API_KEY" \
-d '{
"prompt": "person dancing gracefully",
"video_url": "https://example.com/dance-motion.mp4",
"image_url": "https://example.com/person.jpg",
"character_orientation": "video",
"resolution": "1080p"
}'
Parameters
Required Parameters
Text description of the scene
Reference video URL containing the motion to transferDuration: 3-30 seconds
Reference image URL containing the characterRequirement: Must show the subject’s head, shoulders, and torso clearly visible
Orientation mode for the output videoOptions:
video - Matches reference video orientation. Best for complex motions. Max 30s output.
image - Matches reference image orientation. Best for camera movements. Max 10s output.
Optional Parameters
Output video resolutionOptions: 720p, 1080pDefault: 720p
Seed for reproducibilityDefault: random
Character Orientation
| Mode | Description | Max Output Duration |
|---|
video | Matches reference video orientation | 30 seconds |
image | Matches reference image orientation | 10 seconds |
Use video orientation for complex motions like dancing. Use image orientation for camera movements and simpler animations.
Image Requirements
The reference image must show the subject’s head, shoulders, and torso clearly visible for best results.
Response
{
"code": 200,
"success": true,
"data": {
"task_id": "550e8400-e29b-41d4-a716-446655440000"
}
}
Response Fields
HTTP status code (200 for success)
Whether the request was successful
Response dataUnique identifier (UUID) for this generation task
Callback Support: Use the callback_url parameter to receive notifications when your task completes. See Callback documentation for details.