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

> Generate videos with Kling 3.0 and multi-shot support. See supported inputs, parameters, pricing, response fields, and API examples.

Kling 3.0 is an advanced video generation model that supports:

* Text-to-video generation (omit `start_frame_url`)
* Start/end frame video generation
* Multi-shot video generation (2–6 shots)
* Inline character/object elements with voice support
* AI audio generation (off by default; set `native_audio: true`, billed at a higher rate)
* Resolutions: 720p (std), 1080p (pro), and 4K (4k)
* Aspect ratios: 1:1, 16:9, 9:16
* Duration: 3–15 seconds

See the [Kling 3.0 model overview](https://unifically.com/models/kling-3.0) on unifically.com.

## Model

```
kuaishou/kling-3.0-video
```

## Parameters

| Parameter | Type | Required | Default | Description |
| - | - | - | - | - |
| `prompt` | string | Conditional | - | Text prompt. Mutually exclusive with `multi_shots` |
| `mode` | string | No | `"std"` | `"std"` (720p), `"pro"` (1080p), or `"4k"` (4K); see [Pricing](#pricing) |
| `duration` | integer | No | `3` | Video duration in seconds (3–15) |
| `aspect_ratio` | string | No | `"16:9"` | `"1:1"`, `"16:9"`, or `"9:16"`. Safe to omit — server defaults to `"16:9"` |
| `native_audio` | boolean | No | `false` | Generate AI audio from the video content. Billed at the with-audio rate; see [Pricing](#pricing) |
| `start_frame_url` | string | No | - | First frame image URL. Omit for text-to-video |
| `end_frame_url` | string | No | - | Last frame image URL |
| `elements` | array | No | - | Character/object elements to include in the video |
| `multi_shots` | array | No | - | Multi-shot sequence (2–6 shots, each with `prompt` and `duration`). Mutually exclusive with `prompt` |
| `nsfw_check` | boolean | No | `false` | Check the prompt and input images for NSFW content before generating. Off unless set to `true` |

## Pricing

Billed per second of output video. Audio is off unless you send `native_audio: true`.

| Mode | Resolution | Per second, no audio | Per second, with audio |
| - | - | - | - |
| `std` | 720p | \$0.0756 | \$0.1134 |
| `pro` | 1080p | \$0.1008 | \$0.1512 |
| `4k` | 4K | \$0.378 | \$0.378 |

## 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 |
| `nsfw_check` | boolean | No | Check the prompt and input images for NSFW content before generating. Off unless set to `true`. Default: `false` |

## Multi-Shot Mode

Generate multi-scene videos with 2–6 shots. When using `multi_shots`, the `prompt` field is not used.

**Key Points:**

* Each shot **must** have a `prompt` and `duration` (minimum 1 second)
* Total duration of all shots must be between 3–15 seconds
* `multi_shots` and `prompt` are mutually exclusive

***

## Examples

### Example 1: Text-to-Video

```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-video",
    "input": {
      "prompt": "A cinematic drone shot over a misty forest at dawn",
      "duration": 10,
      "mode": "pro",
      "native_audio": true
    }
  }'
```

### Example 2: Image-to-Video

```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-video",
    "input": {
      "prompt": "A majestic eagle soaring through mountain peaks at sunset",
      "start_frame_url": "https://example.com/eagle.jpg",
      "duration": 10,
      "mode": "pro",
      "native_audio": true
    }
  }'
```

### Example 3: Start and End Frames

```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-video",
    "input": {
      "prompt": "Character walks towards the camera with a confident stride",
      "start_frame_url": "https://example.com/start-pose.jpg",
      "end_frame_url": "https://example.com/end-pose.jpg",
      "duration": 8,
      "mode": "pro"
    }
  }'
```

### Example 4: Multi-Shot

```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-video",
    "input": {
      "start_frame_url": "https://example.com/scene.jpg",
      "mode": "pro",
      "native_audio": true,
      "multi_shots": [
        {
          "prompt": "Person walking towards camera in a park",
          "duration": 5
        },
        {
          "prompt": "Close-up of person smiling warmly",
          "duration": 4
        },
        {
          "prompt": "Wide shot of the beautiful landscape panorama",
          "duration": 6
        }
      ]
    }
  }'
```

## Response

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

> [!NOTE]
>
> **Volume discounts** are available for almost all models. Reach out at [contact@unifically.com](mailto:contact@unifically.com) to discuss custom pricing.


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.