> ## 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 O1 Video Edit

> Edit videos with Kling O1

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

| 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"` or `"transform"`                        |
| `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 |

**Note:** Duration is locked to the input video length and cannot be set manually.

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

```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-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

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