KlingAI 1.5 Standard

KlingAI 1.5 Standard converts reference images into short HD video clips. It targets fast generation with improved temporal consistency and sharper details. Ideal for developers who need cost effective image to video rendering in automated content or creative tools.

API Reference
INTEGRATE
Complete technical specification for integration
RequestResponse
Examples4
CODE
Ready-to-use code snippets for common workflows
Windmill Lighthouse on Basalt
import { createClient } from '@runware/sdk'
const client = await createClient({ apiKey: process.env.RUNWARE_API_KEY })
await client.connect()
const [result] = await client.run({
model: 'klingai:2@1',
width: 1280,
height: 720,
duration: 5,
CFGScale: 0.64,
inputs: {
frameImages: [
{
image: 'https://assets.runware.ai/assets/inputs/52d0ccaf-3bc3-49aa-92eb-680a0caabb06.jpg',
frame: 'first'
}
]
}
})import asyncio
import os
from runware import Runware
async def main():
async with Runware(api_key=os.environ["RUNWARE_API_KEY"]) as client:
results = await client.run({
"model": "klingai:2@1",
"width": 1280,
"height": 720,
"duration": 5,
"CFGScale": 0.64,
"inputs": {
"frameImages": [
{
"image": "https://assets.runware.ai/assets/inputs/52d0ccaf-3bc3-49aa-92eb-680a0caabb06.jpg",
"frame": "first"
}
]
}
})
asyncio.run(main())curl https://api.runware.ai/v1 \
-H "Authorization: Bearer $RUNWARE_API_KEY" \
-H "Content-Type: application/json" \
-d '[
{
"taskType": "videoInference",
"taskUUID": "47085cda-c166-4f41-981a-f59ade9cf578",
"model": "klingai:2@1",
"width": 1280,
"height": 720,
"duration": 5,
"CFGScale": 0.64,
"inputs": {
"frameImages": [
{
"image": "https://assets.runware.ai/assets/inputs/52d0ccaf-3bc3-49aa-92eb-680a0caabb06.jpg",
"frame": "first"
}
]
}
}
]'runware run klingai:2@1 \
width=1280 \
height=720 \
duration=5 \
CFGScale=0.64 \
inputs.frameImages.0.image=https://assets.runware.ai/assets/inputs/52d0ccaf-3bc3-49aa-92eb-680a0caabb06.jpg \
inputs.frameImages.0.frame=first{
"taskType": "videoInference",
"taskUUID": "47085cda-c166-4f41-981a-f59ade9cf578",
"model": "klingai:2@1",
"width": 1280,
"height": 720,
"duration": 5,
"CFGScale": 0.64,
"inputs": {
"frameImages": [
{
"image": "https://assets.runware.ai/assets/inputs/52d0ccaf-3bc3-49aa-92eb-680a0caabb06.jpg",
"frame": "first"
}
]
}
}{
"taskType": "videoInference",
"taskUUID": "47085cda-c166-4f41-981a-f59ade9cf578",
"videoUUID": "9719745e-0f81-4905-b8b4-96698f2bc605",
"videoURL": "https://vm.runware.ai/video/os/a21d05/ws/5/vi/9719745e-0f81-4905-b8b4-96698f2bc605.mp4",
"seed": 1988852260,
"cost": 0.1848
}Lantern Harbor Fog Regatta
import { createClient } from '@runware/sdk'
const client = await createClient({ apiKey: process.env.RUNWARE_API_KEY })
await client.connect()
const [result] = await client.run({
model: 'klingai:2@1',
width: 1280,
height: 720,
duration: 5,
CFGScale: 0.67,
inputs: {
frameImages: [
{
image: 'https://assets.runware.ai/assets/inputs/25fe832d-67b6-48d7-8e82-9eb9d61e3627.jpg',
frame: 'first'
}
]
}
})import asyncio
import os
from runware import Runware
async def main():
async with Runware(api_key=os.environ["RUNWARE_API_KEY"]) as client:
results = await client.run({
"model": "klingai:2@1",
"width": 1280,
"height": 720,
"duration": 5,
"CFGScale": 0.67,
"inputs": {
"frameImages": [
{
"image": "https://assets.runware.ai/assets/inputs/25fe832d-67b6-48d7-8e82-9eb9d61e3627.jpg",
"frame": "first"
}
]
}
})
asyncio.run(main())curl https://api.runware.ai/v1 \
-H "Authorization: Bearer $RUNWARE_API_KEY" \
-H "Content-Type: application/json" \
-d '[
{
"taskType": "videoInference",
"taskUUID": "791090c3-cb2a-491c-b701-f11b5fc38f1b",
"model": "klingai:2@1",
"width": 1280,
"height": 720,
"duration": 5,
"CFGScale": 0.67,
"inputs": {
"frameImages": [
{
"image": "https://assets.runware.ai/assets/inputs/25fe832d-67b6-48d7-8e82-9eb9d61e3627.jpg",
"frame": "first"
}
]
}
}
]'runware run klingai:2@1 \
width=1280 \
height=720 \
duration=5 \
CFGScale=0.67 \
inputs.frameImages.0.image=https://assets.runware.ai/assets/inputs/25fe832d-67b6-48d7-8e82-9eb9d61e3627.jpg \
inputs.frameImages.0.frame=first{
"taskType": "videoInference",
"taskUUID": "791090c3-cb2a-491c-b701-f11b5fc38f1b",
"model": "klingai:2@1",
"width": 1280,
"height": 720,
"duration": 5,
"CFGScale": 0.67,
"inputs": {
"frameImages": [
{
"image": "https://assets.runware.ai/assets/inputs/25fe832d-67b6-48d7-8e82-9eb9d61e3627.jpg",
"frame": "first"
}
]
}
}{
"taskType": "videoInference",
"taskUUID": "791090c3-cb2a-491c-b701-f11b5fc38f1b",
"videoUUID": "0c9c5214-43fa-48c6-9f80-022bd1c3910f",
"videoURL": "https://vm.runware.ai/video/os/a23d05/ws/5/vi/0c9c5214-43fa-48c6-9f80-022bd1c3910f.mp4",
"seed": 1290207221,
"cost": 0.1848
}Grand Station Clock Atrium
import { createClient } from '@runware/sdk'
const client = await createClient({ apiKey: process.env.RUNWARE_API_KEY })
await client.connect()
const [result] = await client.run({
model: 'klingai:2@1',
width: 1280,
height: 720,
duration: 5,
CFGScale: 0.64,
inputs: {
frameImages: [
{
image: 'https://assets.runware.ai/assets/inputs/1b8e3b63-48c7-4ff1-ab76-e866eaa913e2.jpg',
frame: 'first'
}
]
}
})import asyncio
import os
from runware import Runware
async def main():
async with Runware(api_key=os.environ["RUNWARE_API_KEY"]) as client:
results = await client.run({
"model": "klingai:2@1",
"width": 1280,
"height": 720,
"duration": 5,
"CFGScale": 0.64,
"inputs": {
"frameImages": [
{
"image": "https://assets.runware.ai/assets/inputs/1b8e3b63-48c7-4ff1-ab76-e866eaa913e2.jpg",
"frame": "first"
}
]
}
})
asyncio.run(main())curl https://api.runware.ai/v1 \
-H "Authorization: Bearer $RUNWARE_API_KEY" \
-H "Content-Type: application/json" \
-d '[
{
"taskType": "videoInference",
"taskUUID": "10611efb-4150-42fc-b7b1-44c4d2404952",
"model": "klingai:2@1",
"width": 1280,
"height": 720,
"duration": 5,
"CFGScale": 0.64,
"inputs": {
"frameImages": [
{
"image": "https://assets.runware.ai/assets/inputs/1b8e3b63-48c7-4ff1-ab76-e866eaa913e2.jpg",
"frame": "first"
}
]
}
}
]'runware run klingai:2@1 \
width=1280 \
height=720 \
duration=5 \
CFGScale=0.64 \
inputs.frameImages.0.image=https://assets.runware.ai/assets/inputs/1b8e3b63-48c7-4ff1-ab76-e866eaa913e2.jpg \
inputs.frameImages.0.frame=first{
"taskType": "videoInference",
"taskUUID": "10611efb-4150-42fc-b7b1-44c4d2404952",
"model": "klingai:2@1",
"width": 1280,
"height": 720,
"duration": 5,
"CFGScale": 0.64,
"inputs": {
"frameImages": [
{
"image": "https://assets.runware.ai/assets/inputs/1b8e3b63-48c7-4ff1-ab76-e866eaa913e2.jpg",
"frame": "first"
}
]
}
}{
"taskType": "videoInference",
"taskUUID": "10611efb-4150-42fc-b7b1-44c4d2404952",
"videoUUID": "ee352011-eea4-4752-8866-07696687fd9a",
"videoURL": "https://vm.runware.ai/video/os/a21d05/ws/5/vi/ee352011-eea4-4752-8866-07696687fd9a.mp4",
"seed": 1400715894,
"cost": 0.1848
}Windblown Carnival Rooftop Chase
import { createClient } from '@runware/sdk'
const client = await createClient({ apiKey: process.env.RUNWARE_API_KEY })
await client.connect()
const [result] = await client.run({
model: 'klingai:2@1',
width: 1280,
height: 720,
duration: 5,
CFGScale: 0.7,
inputs: {
frameImages: [
{
image: 'https://assets.runware.ai/assets/inputs/7fa3c1b1-388e-45f6-89eb-8d538b8ff5fc.jpg',
frame: 'first'
}
]
}
})import asyncio
import os
from runware import Runware
async def main():
async with Runware(api_key=os.environ["RUNWARE_API_KEY"]) as client:
results = await client.run({
"model": "klingai:2@1",
"width": 1280,
"height": 720,
"duration": 5,
"CFGScale": 0.7,
"inputs": {
"frameImages": [
{
"image": "https://assets.runware.ai/assets/inputs/7fa3c1b1-388e-45f6-89eb-8d538b8ff5fc.jpg",
"frame": "first"
}
]
}
})
asyncio.run(main())curl https://api.runware.ai/v1 \
-H "Authorization: Bearer $RUNWARE_API_KEY" \
-H "Content-Type: application/json" \
-d '[
{
"taskType": "videoInference",
"taskUUID": "457b2a41-5735-4f30-85a5-b424f505f050",
"model": "klingai:2@1",
"width": 1280,
"height": 720,
"duration": 5,
"CFGScale": 0.7,
"inputs": {
"frameImages": [
{
"image": "https://assets.runware.ai/assets/inputs/7fa3c1b1-388e-45f6-89eb-8d538b8ff5fc.jpg",
"frame": "first"
}
]
}
}
]'runware run klingai:2@1 \
width=1280 \
height=720 \
duration=5 \
CFGScale=0.7 \
inputs.frameImages.0.image=https://assets.runware.ai/assets/inputs/7fa3c1b1-388e-45f6-89eb-8d538b8ff5fc.jpg \
inputs.frameImages.0.frame=first{
"taskType": "videoInference",
"taskUUID": "457b2a41-5735-4f30-85a5-b424f505f050",
"model": "klingai:2@1",
"width": 1280,
"height": 720,
"duration": 5,
"CFGScale": 0.7,
"inputs": {
"frameImages": [
{
"image": "https://assets.runware.ai/assets/inputs/7fa3c1b1-388e-45f6-89eb-8d538b8ff5fc.jpg",
"frame": "first"
}
]
}
}{
"taskType": "videoInference",
"taskUUID": "457b2a41-5735-4f30-85a5-b424f505f050",
"videoUUID": "f23cd7ba-242c-4c45-8de9-53db69229081",
"videoURL": "https://vm.runware.ai/video/os/a15d18/ws/5/vi/f23cd7ba-242c-4c45-8de9-53db69229081.mp4",
"seed": 2009708151,
"cost": 0.1848
}