Generate high-quality AI videos using Kling O1 (Omni) with support for reference images, elements, reference videos, and start/end frames.

Model

kuaishou/kling-o1-video

Parameters

ParameterTypeRequiredDefaultDescription
promptstringYes-Text description
modestringNo"std""std" or "pro"
durationintegerNo53–10 seconds
aspect_ratiostringNo"16:9""16:9", "9:16", "1:1"
countintegerNo11–4
image_urlsstring[]No-Up to 7 reference image URLs, ref as @image_1 in prompt
elementsElementInput[]No-Up to 7, IMAGE only (no VIDEO). Shared pool with image_urls
start_image_urlstringNo-Start frame URL
end_image_urlstringNo-End frame URL
video_urlstringNo-Reference video URL, ref as @video_1 in prompt
video_modestringNo"reference""reference" or "transform"
keep_audiobooleanNofalseKeep audio from reference video
Note: Multi-shot is not supported on this model.

Elements

Elements are created automatically from your input, used during generation, then auto-deleted on completion. O1 only supports IMAGE elements.
"elements": [
  {"name": "Hero", "description": "Woman in red jacket", "image_urls": ["front.jpg", "side.jpg"]}
]
Each element accepts:
  • name (required, max 15 chars)
  • description (required, max 100 chars)
  • image_urls (1–4 images)
Reference in prompt as @element_1, @element_2, etc.

Example - Reference Images

curl -X POST https://api.unifically.com/v1/tasks \
  -H "Content-Type: application/json" \
  -H "Authorization: Bearer YOUR_API_KEY" \
  -d '{
    "model": "kuaishou/kling-o1-video",
    "input": {
      "prompt": "Create a video featuring @image_1 and @image_2",
      "image_urls": ["https://example.com/ref1.jpg", "https://example.com/ref2.jpg"],
      "aspect_ratio": "16:9",
      "duration": 10,
      "mode": "pro"
    }
  }'

Example - Start/End Frame

curl -X POST https://api.unifically.com/v1/tasks \
  -H "Content-Type: application/json" \
  -H "Authorization: Bearer YOUR_API_KEY" \
  -d '{
    "model": "kuaishou/kling-o1-video",
    "input": {
      "prompt": "Smooth transition between scenes",
      "start_image_url": "https://example.com/start.jpg",
      "end_image_url": "https://example.com/end.jpg",
      "aspect_ratio": "16:9",
      "duration": 10,
      "mode": "pro"
    }
  }'

Response

{
  "code": 200,
  "success": true,
  "data": {
    "task_id": "abc123def456",
    "status": "pending"
  }
}

Pricing

ModePrice
std (720p)$0.025/s
pro (1080p)$0.035/s