KlingAI 1.6 Pro

KlingAI 1.6 Pro converts still images into smooth high detail 1080p video. It improves motion, facial expressions, lighting, and scene detail. Creators gain precise control over first and last frames. Ideal for short cinematic sequences and visual storytelling.

API Reference
INTEGRATE
Complete technical specification for integration
RequestResponse
Examples4
CODE
Ready-to-use code snippets for common workflows
Windblown Carnival Rooftop Finale
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:3@2',
width: 1920,
height: 1080,
duration: 5,
CFGScale: 0.63,
inputs: {
frameImages: [
{
image: 'https://assets.runware.ai/assets/inputs/13b3128c-1388-4ef0-a381-e6636865ae4d.jpg',
frame: 'first'
},
{
image: 'https://assets.runware.ai/assets/inputs/2af37daf-00dd-44cc-90de-ddeb77cab964.jpg',
frame: 'last'
}
]
}
})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:3@2",
"width": 1920,
"height": 1080,
"duration": 5,
"CFGScale": 0.63,
"inputs": {
"frameImages": [
{
"image": "https://assets.runware.ai/assets/inputs/13b3128c-1388-4ef0-a381-e6636865ae4d.jpg",
"frame": "first"
},
{
"image": "https://assets.runware.ai/assets/inputs/2af37daf-00dd-44cc-90de-ddeb77cab964.jpg",
"frame": "last"
}
]
}
})
asyncio.run(main())curl https://api.runware.ai/v1 \
-H "Authorization: Bearer $RUNWARE_API_KEY" \
-H "Content-Type: application/json" \
-d '[
{
"taskType": "videoInference",
"taskUUID": "06c38629-89c8-4af9-94e3-ee1a0729000c",
"model": "klingai:3@2",
"width": 1920,
"height": 1080,
"duration": 5,
"CFGScale": 0.63,
"inputs": {
"frameImages": [
{
"image": "https://assets.runware.ai/assets/inputs/13b3128c-1388-4ef0-a381-e6636865ae4d.jpg",
"frame": "first"
},
{
"image": "https://assets.runware.ai/assets/inputs/2af37daf-00dd-44cc-90de-ddeb77cab964.jpg",
"frame": "last"
}
]
}
}
]'runware run klingai:3@2 \
width=1920 \
height=1080 \
duration=5 \
CFGScale=0.63 \
inputs.frameImages.0.image=https://assets.runware.ai/assets/inputs/13b3128c-1388-4ef0-a381-e6636865ae4d.jpg \
inputs.frameImages.0.frame=first \
inputs.frameImages.1.image=https://assets.runware.ai/assets/inputs/2af37daf-00dd-44cc-90de-ddeb77cab964.jpg \
inputs.frameImages.1.frame=last{
"taskType": "videoInference",
"taskUUID": "06c38629-89c8-4af9-94e3-ee1a0729000c",
"model": "klingai:3@2",
"width": 1920,
"height": 1080,
"duration": 5,
"CFGScale": 0.63,
"inputs": {
"frameImages": [
{
"image": "https://assets.runware.ai/assets/inputs/13b3128c-1388-4ef0-a381-e6636865ae4d.jpg",
"frame": "first"
},
{
"image": "https://assets.runware.ai/assets/inputs/2af37daf-00dd-44cc-90de-ddeb77cab964.jpg",
"frame": "last"
}
]
}
}{
"taskType": "videoInference",
"taskUUID": "06c38629-89c8-4af9-94e3-ee1a0729000c",
"videoUUID": "4f3c35ff-c637-4751-b8b8-2a3d08cc4145",
"videoURL": "https://vm.runware.ai/video/os/a07d11/ws/5/vi/4f3c35ff-c637-4751-b8b8-2a3d08cc4145.mp4",
"seed": 387224771,
"cost": 0.3234
}Flooded Grand Station Passage
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:3@2',
width: 1920,
height: 1080,
duration: 5,
CFGScale: 0.61,
inputs: {
frameImages: [
{
image: 'https://assets.runware.ai/assets/inputs/85565701-0333-49ed-acc8-5ff05d7dab46.jpg',
frame: 'first'
},
{
image: 'https://assets.runware.ai/assets/inputs/626775ac-612c-4283-93db-ad050ad47c7a.jpg',
frame: 'last'
}
]
}
})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:3@2",
"width": 1920,
"height": 1080,
"duration": 5,
"CFGScale": 0.61,
"inputs": {
"frameImages": [
{
"image": "https://assets.runware.ai/assets/inputs/85565701-0333-49ed-acc8-5ff05d7dab46.jpg",
"frame": "first"
},
{
"image": "https://assets.runware.ai/assets/inputs/626775ac-612c-4283-93db-ad050ad47c7a.jpg",
"frame": "last"
}
]
}
})
asyncio.run(main())curl https://api.runware.ai/v1 \
-H "Authorization: Bearer $RUNWARE_API_KEY" \
-H "Content-Type: application/json" \
-d '[
{
"taskType": "videoInference",
"taskUUID": "574ec329-6440-4eb8-aaad-857b4866c16f",
"model": "klingai:3@2",
"width": 1920,
"height": 1080,
"duration": 5,
"CFGScale": 0.61,
"inputs": {
"frameImages": [
{
"image": "https://assets.runware.ai/assets/inputs/85565701-0333-49ed-acc8-5ff05d7dab46.jpg",
"frame": "first"
},
{
"image": "https://assets.runware.ai/assets/inputs/626775ac-612c-4283-93db-ad050ad47c7a.jpg",
"frame": "last"
}
]
}
}
]'runware run klingai:3@2 \
width=1920 \
height=1080 \
duration=5 \
CFGScale=0.61 \
inputs.frameImages.0.image=https://assets.runware.ai/assets/inputs/85565701-0333-49ed-acc8-5ff05d7dab46.jpg \
inputs.frameImages.0.frame=first \
inputs.frameImages.1.image=https://assets.runware.ai/assets/inputs/626775ac-612c-4283-93db-ad050ad47c7a.jpg \
inputs.frameImages.1.frame=last{
"taskType": "videoInference",
"taskUUID": "574ec329-6440-4eb8-aaad-857b4866c16f",
"model": "klingai:3@2",
"width": 1920,
"height": 1080,
"duration": 5,
"CFGScale": 0.61,
"inputs": {
"frameImages": [
{
"image": "https://assets.runware.ai/assets/inputs/85565701-0333-49ed-acc8-5ff05d7dab46.jpg",
"frame": "first"
},
{
"image": "https://assets.runware.ai/assets/inputs/626775ac-612c-4283-93db-ad050ad47c7a.jpg",
"frame": "last"
}
]
}
}{
"taskType": "videoInference",
"taskUUID": "574ec329-6440-4eb8-aaad-857b4866c16f",
"videoUUID": "6f705ea7-f06c-4846-b09f-56fda3c86a07",
"videoURL": "https://vm.runware.ai/video/os/a07d11/ws/5/vi/6f705ea7-f06c-4846-b09f-56fda3c86a07.mp4",
"seed": 21967583,
"cost": 0.3234
}Flooded Arcade Dawn Stillness
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:3@2',
width: 1920,
height: 1080,
duration: 5,
CFGScale: 0.5,
inputs: {
frameImages: [
{
image: 'https://assets.runware.ai/assets/inputs/707c859d-8043-4584-a364-f59500a9f687.jpg'
}
]
}
})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:3@2",
"width": 1920,
"height": 1080,
"duration": 5,
"CFGScale": 0.5,
"inputs": {
"frameImages": [
{
"image": "https://assets.runware.ai/assets/inputs/707c859d-8043-4584-a364-f59500a9f687.jpg"
}
]
}
})
asyncio.run(main())curl https://api.runware.ai/v1 \
-H "Authorization: Bearer $RUNWARE_API_KEY" \
-H "Content-Type: application/json" \
-d '[
{
"taskType": "videoInference",
"taskUUID": "1c7d3789-92b8-4174-bc3f-0329d200f93d",
"model": "klingai:3@2",
"width": 1920,
"height": 1080,
"duration": 5,
"CFGScale": 0.5,
"inputs": {
"frameImages": [
{
"image": "https://assets.runware.ai/assets/inputs/707c859d-8043-4584-a364-f59500a9f687.jpg"
}
]
}
}
]'runware run klingai:3@2 \
width=1920 \
height=1080 \
duration=5 \
CFGScale=0.5 \
inputs.frameImages.0.image=https://assets.runware.ai/assets/inputs/707c859d-8043-4584-a364-f59500a9f687.jpg{
"taskType": "videoInference",
"taskUUID": "1c7d3789-92b8-4174-bc3f-0329d200f93d",
"model": "klingai:3@2",
"width": 1920,
"height": 1080,
"duration": 5,
"CFGScale": 0.5,
"inputs": {
"frameImages": [
{
"image": "https://assets.runware.ai/assets/inputs/707c859d-8043-4584-a364-f59500a9f687.jpg"
}
]
}
}{
"taskType": "videoInference",
"taskUUID": "1c7d3789-92b8-4174-bc3f-0329d200f93d",
"videoUUID": "d3992daa-c3cf-4d89-b295-c96f309293de",
"videoURL": "https://vm.runware.ai/video/os/a01d21/ws/5/vi/d3992daa-c3cf-4d89-b295-c96f309293de.mp4",
"seed": 1785688769,
"cost": 0.3234
}Lantern Kayak Through Reeds
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:3@2',
width: 1920,
height: 1080,
duration: 5,
CFGScale: 0.7,
inputs: {
frameImages: [
{
image: 'https://assets.runware.ai/assets/inputs/98d8ef45-0ed2-48d7-a85c-0643d31c1f2e.jpg',
frame: 'first'
},
{
image: 'https://assets.runware.ai/assets/inputs/4ce163a9-b621-4437-a91a-83818bea60dc.jpg',
frame: 'last'
}
]
}
})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:3@2",
"width": 1920,
"height": 1080,
"duration": 5,
"CFGScale": 0.7,
"inputs": {
"frameImages": [
{
"image": "https://assets.runware.ai/assets/inputs/98d8ef45-0ed2-48d7-a85c-0643d31c1f2e.jpg",
"frame": "first"
},
{
"image": "https://assets.runware.ai/assets/inputs/4ce163a9-b621-4437-a91a-83818bea60dc.jpg",
"frame": "last"
}
]
}
})
asyncio.run(main())curl https://api.runware.ai/v1 \
-H "Authorization: Bearer $RUNWARE_API_KEY" \
-H "Content-Type: application/json" \
-d '[
{
"taskType": "videoInference",
"taskUUID": "0a594031-6e45-4ed5-a3c9-5f696ecae3e4",
"model": "klingai:3@2",
"width": 1920,
"height": 1080,
"duration": 5,
"CFGScale": 0.7,
"inputs": {
"frameImages": [
{
"image": "https://assets.runware.ai/assets/inputs/98d8ef45-0ed2-48d7-a85c-0643d31c1f2e.jpg",
"frame": "first"
},
{
"image": "https://assets.runware.ai/assets/inputs/4ce163a9-b621-4437-a91a-83818bea60dc.jpg",
"frame": "last"
}
]
}
}
]'runware run klingai:3@2 \
width=1920 \
height=1080 \
duration=5 \
CFGScale=0.7 \
inputs.frameImages.0.image=https://assets.runware.ai/assets/inputs/98d8ef45-0ed2-48d7-a85c-0643d31c1f2e.jpg \
inputs.frameImages.0.frame=first \
inputs.frameImages.1.image=https://assets.runware.ai/assets/inputs/4ce163a9-b621-4437-a91a-83818bea60dc.jpg \
inputs.frameImages.1.frame=last{
"taskType": "videoInference",
"taskUUID": "0a594031-6e45-4ed5-a3c9-5f696ecae3e4",
"model": "klingai:3@2",
"width": 1920,
"height": 1080,
"duration": 5,
"CFGScale": 0.7,
"inputs": {
"frameImages": [
{
"image": "https://assets.runware.ai/assets/inputs/98d8ef45-0ed2-48d7-a85c-0643d31c1f2e.jpg",
"frame": "first"
},
{
"image": "https://assets.runware.ai/assets/inputs/4ce163a9-b621-4437-a91a-83818bea60dc.jpg",
"frame": "last"
}
]
}
}{
"taskType": "videoInference",
"taskUUID": "0a594031-6e45-4ed5-a3c9-5f696ecae3e4",
"videoUUID": "8be6ad31-8ec2-4795-9dd0-05649e14ba7b",
"videoURL": "https://vm.runware.ai/video/os/a05d22/ws/5/vi/8be6ad31-8ec2-4795-9dd0-05649e14ba7b.mp4",
"seed": 1973295729,
"cost": 0.3234
}