POST
https://api.unifically.com
/
kling-v2.6-motion-control
/
generate
Generate Video
curl --request POST \
  --url https://api.unifically.com/kling-v2.6-motion-control/generate \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "prompt": "<string>",
  "video_url": "<string>",
  "image_url": "<string>",
  "character_orientation": "<string>",
  "resolution": "<string>",
  "seed": 123,
  "callback_url": "<string>"
}
'
{
  "code": 200,
  "success": true,
  "data": {
    "task_id": "550e8400-e29b-41d4-a716-446655440000"
  }
}
Transfer motion from a reference video onto a character in a reference image using Kling v2.6 Motion Control.

Pricing

ResolutionPrice
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

prompt
string
required
Text description of the scene
video_url
string
required
Reference video URL containing the motion to transferDuration: 3-30 seconds
image_url
string
required
Reference image URL containing the characterRequirement: Must show the subject’s head, shoulders, and torso clearly visible
character_orientation
string
required
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

resolution
string
Output video resolutionOptions: 720p, 1080pDefault: 720p
seed
integer
Seed for reproducibilityDefault: random
callback_url
string
URL to receive webhook notification on completion. See Callback documentation.

Character Orientation

ModeDescriptionMax Output Duration
videoMatches reference video orientation30 seconds
imageMatches reference image orientation10 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

code
integer
default:"200"
HTTP status code (200 for success)
success
boolean
Whether the request was successful
data
object
Response data
task_id
string
Unique identifier (UUID) for this generation task
Use the task_id to check the status using the Get Task endpoint.
Callback Support: Use the callback_url parameter to receive notifications when your task completes. See Callback documentation for details.