Skip to main content
POST
/
v1
/
videos
/
generations
curl --request POST \
  --url https://api.evolink.ai/v1/videos/generations \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "model": "kling-v3-motion-control",
  "prompt": "A girl dancing gracefully",
  "image_urls": [
    "https://example.com/character.jpg"
  ],
  "video_urls": [
    "https://example.com/dance-reference.mp4"
  ],
  "quality": "720p",
  "model_params": {
    "character_orientation": "image"
  }
}
'
{
  "created": 1757169743,
  "id": "task-unified-1757169743-7cvnl5zw",
  "model": "kling-v3-motion-control",
  "object": "video.generation.task",
  "progress": 0,
  "status": "pending",
  "task_info": {
    "can_cancel": true,
    "estimated_time": 300,
    "video_duration": 8
  },
  "type": "video",
  "usage": {
    "billing_rule": "per_second",
    "credits_reserved": 408240,
    "user_group": "default"
  }
}

Authorizations

Authorization
string
header
required

All API endpoints require Bearer Token authentication

Get your API Key:

Visit the API Key Management Page to obtain your API Key

Add the following to your request headers:

Authorization: Bearer YOUR_API_KEY

Body

application/json
model
enum<string>
default:kling-v3-motion-control
required

Video generation model name

Available options:
kling-v3-motion-control
Example:

"kling-v3-motion-control"

image_urls
string<uri>[]
required

Array of reference image URLs, used to provide the appearance source of the character/object

Note:

  • Provide one reference image
  • Image size: no larger than 10MB
  • Supported file formats: .jpg, .jpeg, .png
  • Image dimensions: width and height ≥ 300px, aspect ratio between 1:2.5 and 2.5:1
  • Image URL must be directly accessible by the server
Example:
["https://example.com/character.jpg"]
video_urls
string<uri>[]
required

Array of reference video URLs, used to provide the motion trajectory source

Note:

  • Provide one reference video
  • Video duration: 3 to 30 seconds
  • The generated video duration matches the reference video length
  • Video URL must be directly accessible by the server
Example:
["https://example.com/dance-reference.mp4"]
model_params
object
required

Model-specific parameters (required), used for motion control configuration

prompt
string

Text prompt (optional), used to guide the generated content

Note:

  • Maximum 2500 characters
  • Can be left empty; the model will automatically generate based on the reference image and video
Maximum string length: 2500
Example:

"A girl dancing gracefully"

quality
enum<string>
default:720p

Resolution tier

Details:

  • 720p: Standard quality (std)
  • 1080p: High quality (pro)
Available options:
720p,
1080p
Example:

"720p"

callback_url
string<uri>

HTTPS callback URL triggered upon task completion

Callback Timing:

  • Triggered when the task is completed, failed, or cancelled
  • Sent after billing confirmation is complete

Security Restrictions:

  • Only HTTPS protocol is supported
  • Callbacks to private IP addresses are prohibited (127.0.0.1, 10.x.x.x, 172.16-31.x.x, 192.168.x.x, etc.)
  • URL length must not exceed 2048 characters

Callback Mechanism:

  • Timeout: 10 seconds
  • Up to 3 retries after failure (retries at 1/2/4 seconds after failure)
  • Callback response body format is consistent with the task query API response
  • A 2xx status code from the callback URL is considered successful; other status codes will trigger a retry
Example:

"https://your-domain.com/webhooks/video-task-completed"

Response

Video generation task created successfully

created
integer

Task creation timestamp

Example:

1757169743

id
string

Task ID

Example:

"task-unified-1757169743-7cvnl5zw"

model
string

Actual model name used

Example:

"kling-v3-motion-control"

object
enum<string>

Specific type of the task

Available options:
video.generation.task
progress
integer

Task progress percentage (0-100)

Required range: 0 <= x <= 100
Example:

0

status
enum<string>

Task status

Available options:
pending,
processing,
completed,
failed
Example:

"pending"

task_info
object

Video task details

type
enum<string>

Output type of the task

Available options:
text,
image,
audio,
video
Example:

"video"

usage
object

Usage and billing information