---
title: KlingAI 2.1 Standard | Runware Docs
url: https://runware.ai/docs/models/klingai-2-1-standard
description: KlingAI 2.1 Standard for faster AI video generation
---
# KlingAI 2.1 Standard

KlingAI 2.1 Standard targets efficient video generation with improved visual quality and faster output. It suits users who need reliable text driven video creation at scale. Ideal for applications that prioritize speed with solid quality.

- **ID**: `klingai:5@1`
- **Status**: live
- **Creator**: Kling AI
- **Release Date**: May 29, 2025
- **Capabilities**: Image to Video

## Pricing

Each generation will cost $0.0370/s for 1080p.

- **1080p · 5s**: `$0.185`

## Compatibility & Validation

`width` and `height` must be used together.

---

The following dimension combinations are supported:

| Configuration | Dimensions |
| --- | --- |
| `720p (16:9)` | `1280x720` |
| `720p (1:1)` | `720x720` |
| `720p (9:16)` | `720x1280` |

## Request Parameters

**API Options**

Platform-level options for task execution and delivery.

### [taskType](https://runware.ai/docs/models/klingai-2-1-standard#request-tasktype)

- **Type**: `string`
- **Required**: true
- **Value**: `videoInference`

Identifier for the type of task being performed

### [taskUUID](https://runware.ai/docs/models/klingai-2-1-standard#request-taskuuid)

- **Type**: `string`
- **Required**: true
- **Format**: `UUID v4`

UUID v4 identifier for tracking tasks and matching async responses. Must be unique per task.

### [outputType](https://runware.ai/docs/models/klingai-2-1-standard#request-outputtype)

- **Type**: `string`
- **Default**: `URL`

Video output type.

**Allowed values**: `URL`

### [outputFormat](https://runware.ai/docs/models/klingai-2-1-standard#request-outputformat)

- **Type**: `string`
- **Default**: `MP4`

Specifies the file format of the generated output. The available values depend on the task type and the specific model's capabilities.

- \`MP4\`: Widely supported video container (H.264), recommended for general use.
- \`WEBM\`: Optimized for web delivery.
- \`MOV\`: QuickTime format, common in professional workflows (Apple ecosystem).

**Allowed values**: `MP4` `WEBM` `MOV`

### [outputQuality](https://runware.ai/docs/models/klingai-2-1-standard#request-outputquality)

- **Type**: `integer`
- **Min**: `20`
- **Max**: `99`
- **Default**: `95`

Compression quality of the output. Higher values preserve quality but increase file size.

### [webhookURL](https://runware.ai/docs/models/klingai-2-1-standard#request-webhookurl)

- **Type**: `string`
- **Format**: `URI`

Specifies a webhook URL where JSON responses will be sent via HTTP POST when generation tasks complete. For batch requests with multiple results, each completed item triggers a separate webhook call as it becomes available.

**Learn more** (1 resource):

- [Webhooks](https://runware.ai/docs/platform/webhooks) (platform)

### [deliveryMethod](https://runware.ai/docs/models/klingai-2-1-standard#request-deliverymethod)

- **Type**: `string`
- **Default**: `async`

Determines how the API delivers task results.

**Allowed values**:

- `async` Returns an immediate acknowledgment with the task UUID. Poll for results using getResponse. Required for long-running tasks like video generation.

**Learn more** (1 resource):

- [Task Polling](https://runware.ai/docs/platform/task-polling) (platform)

### [uploadEndpoint](https://runware.ai/docs/models/klingai-2-1-standard#request-uploadendpoint)

- **Type**: `string`
- **Format**: `URI`

Specifies a URL where the generated content will be automatically uploaded using the HTTP PUT method. The raw binary data of the media file is sent directly as the request body. For secure uploads to cloud storage, use presigned URLs that include temporary authentication credentials.

**Common use cases:**

- **Cloud storage**: Upload directly to S3 buckets, Google Cloud Storage, or Azure Blob Storage using presigned URLs.
- **CDN integration**: Upload to content delivery networks for immediate distribution.

```text
// S3 presigned URL for secure upload
https://your-bucket.s3.amazonaws.com/generated/content.mp4?X-Amz-Signature=abc123&X-Amz-Expires=3600

// Google Cloud Storage presigned URL
https://storage.googleapis.com/your-bucket/content.jpg?X-Goog-Signature=xyz789

// Custom storage endpoint
https://storage.example.com/uploads/generated-image.jpg
```

The content data will be sent as the request body to the specified URL when generation is complete.

### [safety](https://runware.ai/docs/models/klingai-2-1-standard#request-safety)

- **Path**: `safety.checkContent`
- **Type**: `object (2 properties)`

Content safety checking configuration for video generation.

#### [checkContent](https://runware.ai/docs/models/klingai-2-1-standard#request-safety-checkcontent)

- **Path**: `safety.checkContent`
- **Type**: `boolean`
- **Default**: `false`

Enable or disable content safety checking. When enabled, defaults to `fast` mode.

#### [mode](https://runware.ai/docs/models/klingai-2-1-standard#request-safety-mode)

- **Path**: `safety.mode`
- **Type**: `string`
- **Default**: `none`

Safety checking mode for video generation.

**Allowed values**:

- `none` Disables checking.
- `fast` Checks key frames.
- `full` Checks all frames.

### [ttl](https://runware.ai/docs/models/klingai-2-1-standard#request-ttl)

- **Type**: `integer`
- **Min**: `60`

Time-to-live (TTL) in seconds for generated content. Only applies when `outputType` is `URL`.

### [includeCost](https://runware.ai/docs/models/klingai-2-1-standard#request-includecost)

- **Type**: `boolean`
- **Default**: `false`

Include task cost in the response.

### [numberResults](https://runware.ai/docs/models/klingai-2-1-standard#request-numberresults)

- **Type**: `integer`
- **Min**: `1`
- **Max**: `4`
- **Default**: `1`

Number of results to generate. Each result uses a different seed, producing variations of the same parameters.

**Inputs**

Input resources for the task (images, audio, etc). These must be nested inside the \`inputs\` object.

### [frameImages](https://runware.ai/docs/models/klingai-2-1-standard#request-inputs-frameimages)

- **Path**: `inputs.frameImages`
- **Type**: `array of strings or objects`
- **Required**: true

An array of frame-specific image inputs to guide video generation. Each item can be either a plain image input (UUID, URL, Data URI, or Base64) or an object that pairs an image with a target frame position.

The `frameImages` parameter allows you to constrain specific frames within the video sequence, ensuring that particular visual content appears at designated points. This is different from `referenceImages`, which provide overall visual guidance without constraining specific timeline positions.

When the `frame` parameter is omitted, automatic distribution rules apply:

- **1 image**: Used as the first frame.

**Examples**:

**Shorthand format:** When you don't need to specify a frame position, you can pass a plain image input directly.

```json
"frameImages": [
  "aac49721-1964-481a-ae78-8a4e29b91402"
]
```

**Object format:** When you need to specify a frame position, use an object with `image` and `frame`.

```json
"frameImages": [
  {
    "image": "aac49721-1964-481a-ae78-8a4e29b91402",
    "frame": "first"
  }
]
```

**Format 1: string[]**:

- **Type**: `string`

Image input (UUID, URL, Data URI, or Base64).

**Format 2: object[]**:

#### [image](https://runware.ai/docs/models/klingai-2-1-standard#request-inputs-frameimages-format-2-image)

- **Path**: `inputs.frameImages.image`
- **Type**: `string`
- **Required**: true

Image input (UUID, URL, Data URI, or Base64).

#### [frame](https://runware.ai/docs/models/klingai-2-1-standard#request-inputs-frameimages-format-2-frame)

- **Path**: `inputs.frameImages.frame`
- **Type**: `object`

Target frame position for the image. This model only supports the first frame.

**Allowed values**:

- `first` First frame of the video.
- `0` Frame index 0 (first frame).

**Generation Parameters**

Core parameters for controlling the generated content.

### [model](https://runware.ai/docs/models/klingai-2-1-standard#request-model)

- **Type**: `string`
- **Required**: true
- **Value**: `klingai:5@1`

Identifier of the model to use for generation.

**Learn more** (3 resources):

- [Text To Image: Model Selection The Foundation Of Generation](https://runware.ai/docs/guides/text-to-image#model-selection-the-foundation-of-generation) (guide)
- [Image Inpainting: Model Specialized Inpainting Models](https://runware.ai/docs/guides/image-inpainting#model-specialized-inpainting-models) (guide)
- [Image Outpainting: Other Critical Parameters](https://runware.ai/docs/guides/image-outpainting#other-critical-parameters) (guide)

### [width](https://runware.ai/docs/models/klingai-2-1-standard#request-width)

- **Type**: `integer`
- **Paired with**: height

Width of the generated media in pixels.

**Learn more** (2 resources):

- [Image To Image: Dimensions Changing Aspect Ratio](https://runware.ai/docs/guides/image-to-image#dimensions-changing-aspect-ratio) (guide)
- [Image Outpainting: Dimensions Critical For Outpainting](https://runware.ai/docs/guides/image-outpainting#dimensions-critical-for-outpainting) (guide)

### [height](https://runware.ai/docs/models/klingai-2-1-standard#request-height)

- **Type**: `integer`
- **Paired with**: width

Height of the generated media in pixels.

**Learn more** (2 resources):

- [Image To Image: Dimensions Changing Aspect Ratio](https://runware.ai/docs/guides/image-to-image#dimensions-changing-aspect-ratio) (guide)
- [Image Outpainting: Dimensions Critical For Outpainting](https://runware.ai/docs/guides/image-outpainting#dimensions-critical-for-outpainting) (guide)

### [duration](https://runware.ai/docs/models/klingai-2-1-standard#request-duration)

- **Type**: `float`
- **Default**: `5`

Length of the generated video in seconds. The total number of frames produced is determined by duration multiplied by the model's frame rate (fps).

**Allowed values**: `5` `10`

### [CFGScale](https://runware.ai/docs/models/klingai-2-1-standard#request-cfgscale)

- **Type**: `float`
- **Min**: `0`
- **Max**: `1`
- **Step**: `0.01`
- **Default**: `0.5`

Guidance scale representing how closely the output will resemble the prompt. Higher values produce results more aligned with the prompt.

**Learn more** (1 resource):

- [Text To Image: Cfg Scale Balancing Creativity And Control](https://runware.ai/docs/guides/text-to-image#cfg-scale-balancing-creativity-and-control) (guide)

## Response Parameters

### [taskType](https://runware.ai/docs/models/klingai-2-1-standard#response-tasktype)

- **Type**: `string`
- **Required**: true
- **Value**: `videoInference`

Type of the task.

### [taskUUID](https://runware.ai/docs/models/klingai-2-1-standard#response-taskuuid)

- **Type**: `string`
- **Required**: true
- **Format**: `UUID v4`

UUID of the task.

### [videoUUID](https://runware.ai/docs/models/klingai-2-1-standard#response-videouuid)

- **Type**: `string`
- **Required**: true
- **Format**: `UUID v4`

UUID of the output video.

### [videoURL](https://runware.ai/docs/models/klingai-2-1-standard#response-videourl)

- **Type**: `string`
- **Format**: `URI`

URL of the output video.

### [videoBase64Data](https://runware.ai/docs/models/klingai-2-1-standard#response-videobase64data)

- **Type**: `string`

Base64-encoded video data.

### [videoDataURI](https://runware.ai/docs/models/klingai-2-1-standard#response-videodatauri)

- **Type**: `string`
- **Format**: `URI`

Data URI of the output video.

### [seed](https://runware.ai/docs/models/klingai-2-1-standard#response-seed)

- **Type**: `integer`

The seed used for generation. If none was provided, shows the randomly generated seed.

### [NSFWContent](https://runware.ai/docs/models/klingai-2-1-standard#response-nsfwcontent)

- **Type**: `boolean`

Flag indicating if NSFW content was detected.

### [cost](https://runware.ai/docs/models/klingai-2-1-standard#response-cost)

- **Type**: `float`

Task cost in USD. Present when `includeCost` is set to `true` in the request.

## Examples

### Tidal Salt Cathedral Ruins (Text to Video)

[Watch video](https://assets.runware.ai/examples/klingai-2-1-standard/d794a886-a92a-44dd-8d29-f3b0f83311e6.mp4)

**Request**:

```json
{
  "taskType": "videoInference",
  "taskUUID": "4923cad8-a610-4604-9846-08e843a33e8d",
  "model": "klingai:5@1",
  "positivePrompt": "Using the provided first-frame image as the opening composition, generate a cinematic video drifting slowly forward through monumental salt-crusted ruins beside a calm sea. Hairline streams of water weave through the white ground, shimmering reflections ripple softly, distant fish flash beneath the clear channels, seabirds wheel far above, and the saffron-cloaked traveler takes a few careful steps toward the vast arches. Fine salt dust lifts in gentle gusts, fabric edges flutter, light grows warmer across the carved stone and giant shell details, and the camera movement remains smooth, elegant, and grounded in realistic motion. Surreal coastal majesty, luminous atmosphere, high visual fidelity, coherent geometry, rich texture, polished cinematic fantasy.",
  "duration": 5,
  "CFGScale": 0.61,
  "inputs": {
    "frameImages": [
      {
        "image": "https://assets.runware.ai/assets/inputs/4cac0aaf-d7da-443a-a196-f88626f62e87.jpg",
        "frame": "first"
      }
    ]
  }
}
```

**Response**:

```json
{
  "taskType": "videoInference",
  "taskUUID": "4923cad8-a610-4604-9846-08e843a33e8d",
  "videoUUID": "0f8ab0bc-270f-44e7-af72-9aede76fbfbb",
  "videoURL": "https://vm.runware.ai/video/os/a21d05/ws/5/vi/0f8ab0bc-270f-44e7-af72-9aede76fbfbb.mp4",
  "seed": 451885574,
  "cost": 0.1848
}
```

---

### Lantern-Filled Bamboo Procession (Text to Video)

[Watch video](https://assets.runware.ai/examples/klingai-2-1-standard/68fc3a71-30ce-46aa-b203-1a1bc9b12ce9.mp4)

**Request**:

```json
{
  "taskType": "videoInference",
  "taskUUID": "70951123-6277-4553-ba15-39f97c630782",
  "model": "klingai:5@1",
  "positivePrompt": "A poetic cinematic sequence traveling forward through a bamboo pathway illuminated by hundreds of glowing paper lanterns. A small procession of masked performers in layered silk costumes moves elegantly through the scene, carrying long embroidered banners and small hand drums. The camera glides smoothly at eye level, lantern light flickers across polished masks, thin mist curls around the path, bamboo leaves sway gently overhead, and fabric trails ripple with subtle motion. Rich amber and crimson highlights against cool blue evening tones, detailed foliage, atmospheric depth, graceful choreography, refined realism, stable composition, premium cinematic look.",
  "width": 1280,
  "height": 720,
  "duration": 5,
  "CFGScale": 0.62,
  "inputs": {
    "frameImages": [
      {
        "image": "https://assets.runware.ai/assets/inputs/993eb973-80af-4522-a06b-d03a152d4baa.jpg",
        "frame": "first"
      }
    ]
  }
}
```

**Response**:

```json
{
  "taskType": "videoInference",
  "taskUUID": "70951123-6277-4553-ba15-39f97c630782",
  "videoUUID": "2e876fa6-c68e-4175-bf66-4edcc94fc31b",
  "videoURL": "https://vm.runware.ai/video/os/a09d21/ws/5/vi/2e876fa6-c68e-4175-bf66-4edcc94fc31b.mp4",
  "seed": 380669567,
  "cost": 0.1848
}
```

---

### Lantern Marsh Heron Passage (Text to Video)

[Watch video](https://assets.runware.ai/examples/klingai-2-1-standard/5d998adc-b09c-4a89-9e1c-0d88956c452b.mp4)

**Request**:

```json
{
  "taskType": "videoInference",
  "taskUUID": "f006c221-158b-4407-889b-fa3932b6ebf8",
  "model": "klingai:5@1",
  "positivePrompt": "A tranquil marsh at blue hour seen in a wide cinematic view, a small wooden skiff glides slowly between reed-lined channels while warm hanging lanterns sway gently from thin poles. A white heron rides near the bow, occasionally shifting posture as the boat moves forward through pale mist. Ripples spread softly across reflective water, lantern reflections shimmer, reeds bend with a light breeze, distant cypress shapes fade into haze. Atmospheric, lyrical, richly detailed, elegant camera motion, realistic lighting, smooth temporal coherence, high visual quality.",
  "width": 1280,
  "height": 720,
  "duration": 5,
  "CFGScale": 0.61,
  "inputs": {
    "frameImages": [
      {
        "image": "https://assets.runware.ai/assets/inputs/33607573-643e-4132-87fe-3ea8fee0fe22.jpg",
        "frame": "first"
      }
    ]
  }
}
```

**Response**:

```json
{
  "taskType": "videoInference",
  "taskUUID": "f006c221-158b-4407-889b-fa3932b6ebf8",
  "videoUUID": "2be1a435-644c-43b5-91f9-25b980bc1727",
  "videoURL": "https://vm.runware.ai/video/os/a22d05/ws/5/vi/2be1a435-644c-43b5-91f9-25b980bc1727.mp4",
  "seed": 926896567,
  "cost": 0.1848
}
```

---

### Lantern Marsh Heron Flight (Text to Video)

[Watch video](https://assets.runware.ai/examples/klingai-2-1-standard/2a7418c3-4823-4293-a911-cac224551f3c.mp4)

**Request**:

```json
{
  "taskType": "videoInference",
  "taskUUID": "989cc15d-2b29-49ef-9b3a-d75d5d8b6495",
  "model": "klingai:5@1",
  "positivePrompt": "A graceful white heron lifts off from a still marsh at twilight as floating paper lanterns drift across the water. The camera begins low near the reflective surface, then gently glides forward through reeds while the bird rises and arcs across the scene. Ripples spread outward, lantern reflections shimmer, faint mist curls above the water, and distant cypress silhouettes fade into blue-green haze. Rich cinematic lighting, elegant natural motion, detailed feathers, atmospheric depth, refined realism, smooth camera movement, visually coherent 5-second sequence.",
  "width": 1280,
  "height": 720,
  "duration": 5,
  "CFGScale": 0.6,
  "inputs": {
    "frameImages": [
      {
        "image": "https://assets.runware.ai/assets/inputs/bb483b52-bd3a-4bd0-90c2-b2789c6d37d4.jpg",
        "frame": "first"
      }
    ]
  }
}
```

**Response**:

```json
{
  "taskType": "videoInference",
  "taskUUID": "989cc15d-2b29-49ef-9b3a-d75d5d8b6495",
  "videoUUID": "91735550-9bc6-484c-bfc1-68a39c40a16e",
  "videoURL": "https://vm.runware.ai/video/os/a25d05/ws/5/vi/91735550-9bc6-484c-bfc1-68a39c40a16e.mp4",
  "seed": 169817798,
  "cost": 0.1848
}
```

---

### Amber Marsh Airboat Passage (Text to Video)

[Watch video](https://assets.runware.ai/examples/klingai-2-1-standard/1257db9a-e582-4bec-b0e6-a0b87ee828c9.mp4)

**Request**:

```json
{
  "taskType": "videoInference",
  "taskUUID": "c9779c22-09a6-4447-bd90-a403bb34e32a",
  "model": "klingai:5@1",
  "positivePrompt": "Using the provided first frame as the opening composition, create a cinematic aerial drift forward through an amber marsh at sunrise. The wooden airboat moves smoothly between dense copper reeds and reflective pools while flocks of pale birds lift into the air. Ripples spread behind the boat, mist curls over the water, and warm sunlight gradually intensifies, revealing layered wetland textures and distant stilt huts. Natural camera motion, immersive depth, realistic water behavior, subtle environmental movement, cohesive color grading, high visual fidelity, atmospheric adventure tone.",
  "width": 1280,
  "height": 720,
  "duration": 5,
  "CFGScale": 0.66,
  "inputs": {
    "frameImages": [
      {
        "image": "https://assets.runware.ai/assets/inputs/bb674d11-ffba-46af-8c5b-f2ed779908b5.jpg",
        "frame": "first"
      }
    ]
  }
}
```

**Response**:

```json
{
  "taskType": "videoInference",
  "taskUUID": "c9779c22-09a6-4447-bd90-a403bb34e32a",
  "videoUUID": "cbd8036c-07ad-4966-82e2-30bce60d9a1d",
  "videoURL": "https://vm.runware.ai/video/os/a03d21/ws/5/vi/cbd8036c-07ad-4966-82e2-30bce60d9a1d.mp4",
  "seed": 16265050,
  "cost": 0.1848
}
```