Skip to main content

Documentation Index

Fetch the complete documentation index at: https://docs.unifically.com/llms.txt

Use this file to discover all available pages before exploring further.

Edit and transform videos using Kling O1 Video Edit with support for reference images.

Model

kuaishou/kling-o1-video-edit

Parameters

Same parameters as Omni 3.0 video edit but does not support elements.
ParameterTypeRequiredDefaultDescription
video_urlstringYes-Source video URL to edit
promptstringYes-Text prompt describing the edit
video_modestringNo"reference"Edit mode: "reference" or "transform"
keep_audiobooleanNofalsePreserve original audio from the source video
modestringNo"std""std" (720p) or "pro" (1080p)
aspect_ratiostringNo"16:9""1:1", "9:16", or "16:9"
image_urlsstring[]No-Reference image URLs (max 4). Use @Image1, @Image2 in prompt
Note: Duration is locked to the input video length and cannot be set manually.

Example - Reference Mode

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-edit",
    "input": {
      "prompt": "Transform into anime style",
      "video_url": "https://example.com/video.mp4",
      "video_mode": "reference",
      "mode": "pro"
    }
  }'

Example - Transform Mode with 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-edit",
    "input": {
      "prompt": "Replace the person with @Image1",
      "video_url": "https://example.com/video.mp4",
      "video_mode": "transform",
      "image_urls": ["https://example.com/person.jpg"],
      "mode": "pro"
    }
  }'

Response

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