> ## 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.

# Kling 3.0 Omni Video Edit

> Edit videos with Kling 3.0 Omni

Edit and transform videos using Kling 3.0 Omni Video Edit with support for reference images and elements.

## Model

```
kuaishou/kling-3.0-omni-video-edit
```

## Parameters

| Parameter      | Type      | Required | Default       | Description                                                                              |
| -------------- | --------- | -------- | ------------- | ---------------------------------------------------------------------------------------- |
| `video_url`    | string    | **Yes**  | -             | Source video URL to edit                                                                 |
| `prompt`       | string    | **Yes**  | -             | Text prompt describing the edit                                                          |
| `video_mode`   | string    | No       | `"reference"` | Edit mode: `"reference"` (use video as style guide) or `"transform"` (restyle the video) |
| `keep_audio`   | boolean   | No       | `false`       | Preserve original audio from the source video                                            |
| `mode`         | string    | No       | `"std"`       | `"std"` (720p) or `"pro"` (1080p)                                                        |
| `aspect_ratio` | string    | No       | `"16:9"`      | `"1:1"`, `"9:16"`, or `"16:9"`                                                           |
| `image_urls`   | string\[] | No       | -             | Reference image URLs (max 4). Use `@Image1`, `@Image2` in prompt                         |
| `elements`     | array     | No       | -             | 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.

```json theme={null}
"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:

| Parameter     | Type      | Default   | Description                                      |
| ------------- | --------- | --------- | ------------------------------------------------ |
| `description` | string    | `""`      | Short description of the element (max 100 chars) |
| `type`        | string    | `"image"` | Element source type: `"image"` or `"video"`      |
| `image_urls`  | string\[] | -         | Source image URLs for an image element (max 4)   |
| `video_url`   | string    | -         | Source video URL for a video element             |

## Example - Reference Mode

```bash theme={null}
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

```bash theme={null}
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

```json theme={null}
{
  "code": 200,
  "success": true,
  "data": {
    "task_id": "abc123def456",
    "status": "processing"
  }
}
```
