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 v3.0 Omni Video Edit with support for reference images and elements.

Model

kuaishou/kling-3.0-omni-video-edit

Parameters

ParameterTypeRequiredDefaultDescription
video_urlstringYes-Source video URL to edit
promptstringYes-Text prompt describing the edit
video_modestringNo"reference"Edit mode: "reference" (use video as style guide) or "transform" (restyle the video)
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
elementsarrayNo-Character/object elements (max 4)
Note: Duration is locked to the input video length and cannot be set manually.

Elements

Elements are created automatically from your input, used during generation, then auto-deleted on completion.
"elements": [
  {"description": "Woman in red jacket", "type": "image", "image_urls": ["front.jpg", "side.jpg"]},
  {"description": "Man dancing", "type": "video", "video_url": "dance.mp4"}
]
Each element accepts:
ParameterTypeDefaultDescription
descriptionstring""Short description of the element (max 100 chars)
typestring"image"Element source type: "image" or "video"
image_urlsstring[]-Source image URLs for an image element (max 4)
video_urlstring-Source video URL for a video element

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-3.0-omni-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-3.0-omni-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"
  }
}