Kling VIDEO 3.0 4K

Kling VIDEO 3.0 4K is the 4K variant of Kling VIDEO 3.0 for text-to-video and image-to-video generation. It extends the 3.0 series from 720p Standard and 1080p Pro into 4K output while keeping the same multimodal strengths: native audio generation, multi-shot sequencing, element consistency, prompt-driven scene control, and stable temporal coherence across longer clips.

API Reference
INTEGRATE
Complete technical specification for integration
RequestResponse
Examples5
CODE
Ready-to-use code snippets for common workflows
text-to-video
Oyster Farm Workwear Showcase Reel$2.10~1m 58simport { createClient } from '@runware/sdk'
const client = await createClient({ apiKey: process.env.RUNWARE_API_KEY })
await client.connect()
const [result] = await client.run({
model: 'klingai:kling-video@3-4k',
positivePrompt: 'A cinematic fashion showcase for premium oyster-farm workwear, filmed as one continuous five-second shot on a working coastal shellfish dock at blue hour. Begin with a crisp macro view of a model fastening the magnetic storm flap on an oyster-white seam-sealed smock, revealing waterproof texture, matte hardware and precise taped seams. The camera rapidly dollies backward into a low three-quarter tracking shot as the model strides confidently across the rain-slick sorting deck in sea-glass green bib waders, cobalt rubber gloves and sculptural white deck boots. Each footstep kicks up a small realistic splash; strong sea wind lifts the smock hem and flexes its vent panels. Finish with a smooth arc into a full-body hero composition beside stacked oyster cages, silver water and geometric dock rails under cool overcast light. Refined coastal-industrial editorial art direction, pearl white, seafoam, cobalt and brushed steel palette, natural skin, believable garment physics, premium fabric detail, controlled confident movement, shallow cinematic depth of field, polished 4K commercial finish, landscape framing. Native synchronized sound: sharp magnetic flap snap in the opening close-up, rubber boots splashing on wet timber, waterproof fabric fluttering in gusts, soft metal cage clinks, distant gulls and rhythmic harbor waves; no dialogue and no music.',
width: 3840,
height: 2160,
duration: 5,
providerSettings: {
klingai: {
sound: true
}
}
})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:kling-video@3-4k",
"positivePrompt": "A cinematic fashion showcase for premium oyster-farm workwear, filmed as one continuous five-second shot on a working coastal shellfish dock at blue hour. Begin with a crisp macro view of a model fastening the magnetic storm flap on an oyster-white seam-sealed smock, revealing waterproof texture, matte hardware and precise taped seams. The camera rapidly dollies backward into a low three-quarter tracking shot as the model strides confidently across the rain-slick sorting deck in sea-glass green bib waders, cobalt rubber gloves and sculptural white deck boots. Each footstep kicks up a small realistic splash; strong sea wind lifts the smock hem and flexes its vent panels. Finish with a smooth arc into a full-body hero composition beside stacked oyster cages, silver water and geometric dock rails under cool overcast light. Refined coastal-industrial editorial art direction, pearl white, seafoam, cobalt and brushed steel palette, natural skin, believable garment physics, premium fabric detail, controlled confident movement, shallow cinematic depth of field, polished 4K commercial finish, landscape framing. Native synchronized sound: sharp magnetic flap snap in the opening close-up, rubber boots splashing on wet timber, waterproof fabric fluttering in gusts, soft metal cage clinks, distant gulls and rhythmic harbor waves; no dialogue and no music.",
"width": 3840,
"height": 2160,
"duration": 5,
"providerSettings": {
"klingai": {
"sound": True
}
}
})
asyncio.run(main())curl https://api.runware.ai/v1 \
-H "Authorization: Bearer $RUNWARE_API_KEY" \
-H "Content-Type: application/json" \
-d '[
{
"taskType": "videoInference",
"taskUUID": "ea105c2b-b604-48fe-8a24-8cf0a3dab73e",
"model": "klingai:kling-video@3-4k",
"positivePrompt": "A cinematic fashion showcase for premium oyster-farm workwear, filmed as one continuous five-second shot on a working coastal shellfish dock at blue hour. Begin with a crisp macro view of a model fastening the magnetic storm flap on an oyster-white seam-sealed smock, revealing waterproof texture, matte hardware and precise taped seams. The camera rapidly dollies backward into a low three-quarter tracking shot as the model strides confidently across the rain-slick sorting deck in sea-glass green bib waders, cobalt rubber gloves and sculptural white deck boots. Each footstep kicks up a small realistic splash; strong sea wind lifts the smock hem and flexes its vent panels. Finish with a smooth arc into a full-body hero composition beside stacked oyster cages, silver water and geometric dock rails under cool overcast light. Refined coastal-industrial editorial art direction, pearl white, seafoam, cobalt and brushed steel palette, natural skin, believable garment physics, premium fabric detail, controlled confident movement, shallow cinematic depth of field, polished 4K commercial finish, landscape framing. Native synchronized sound: sharp magnetic flap snap in the opening close-up, rubber boots splashing on wet timber, waterproof fabric fluttering in gusts, soft metal cage clinks, distant gulls and rhythmic harbor waves; no dialogue and no music.",
"width": 3840,
"height": 2160,
"duration": 5,
"providerSettings": {
"klingai": {
"sound": true
}
}
}
]'runware run klingai:kling-video@3-4k \
positivePrompt="A cinematic fashion showcase for premium oyster-farm workwear, filmed as one continuous five-second shot on a working coastal shellfish dock at blue hour. Begin with a crisp macro view of a model fastening the magnetic storm flap on an oyster-white seam-sealed smock, revealing waterproof texture, matte hardware and precise taped seams. The camera rapidly dollies backward into a low three-quarter tracking shot as the model strides confidently across the rain-slick sorting deck in sea-glass green bib waders, cobalt rubber gloves and sculptural white deck boots. Each footstep kicks up a small realistic splash; strong sea wind lifts the smock hem and flexes its vent panels. Finish with a smooth arc into a full-body hero composition beside stacked oyster cages, silver water and geometric dock rails under cool overcast light. Refined coastal-industrial editorial art direction, pearl white, seafoam, cobalt and brushed steel palette, natural skin, believable garment physics, premium fabric detail, controlled confident movement, shallow cinematic depth of field, polished 4K commercial finish, landscape framing. Native synchronized sound: sharp magnetic flap snap in the opening close-up, rubber boots splashing on wet timber, waterproof fabric fluttering in gusts, soft metal cage clinks, distant gulls and rhythmic harbor waves; no dialogue and no music." \
width=3840 \
height=2160 \
duration=5 \
providerSettings.klingai.sound=true{
"taskType": "videoInference",
"taskUUID": "ea105c2b-b604-48fe-8a24-8cf0a3dab73e",
"model": "klingai:kling-video@3-4k",
"positivePrompt": "A cinematic fashion showcase for premium oyster-farm workwear, filmed as one continuous five-second shot on a working coastal shellfish dock at blue hour. Begin with a crisp macro view of a model fastening the magnetic storm flap on an oyster-white seam-sealed smock, revealing waterproof texture, matte hardware and precise taped seams. The camera rapidly dollies backward into a low three-quarter tracking shot as the model strides confidently across the rain-slick sorting deck in sea-glass green bib waders, cobalt rubber gloves and sculptural white deck boots. Each footstep kicks up a small realistic splash; strong sea wind lifts the smock hem and flexes its vent panels. Finish with a smooth arc into a full-body hero composition beside stacked oyster cages, silver water and geometric dock rails under cool overcast light. Refined coastal-industrial editorial art direction, pearl white, seafoam, cobalt and brushed steel palette, natural skin, believable garment physics, premium fabric detail, controlled confident movement, shallow cinematic depth of field, polished 4K commercial finish, landscape framing. Native synchronized sound: sharp magnetic flap snap in the opening close-up, rubber boots splashing on wet timber, waterproof fabric fluttering in gusts, soft metal cage clinks, distant gulls and rhythmic harbor waves; no dialogue and no music.",
"width": 3840,
"height": 2160,
"duration": 5,
"providerSettings": {
"klingai": {
"sound": true
}
}
}Response
{
"taskType": "videoInference",
"taskUUID": "ea105c2b-b604-48fe-8a24-8cf0a3dab73e",
"videoUUID": "0edc6d76-bdbb-4b0f-a532-18d543518073",
"videoURL": "https://vm.runware.ai/video/os/a10dlim3/ws/5/vi/0edc6d76-bdbb-4b0f-a532-18d543518073.mp4",
"cost": 2.1
}first-frame
Urban Bat Survey Logo Loop$2.94~3m 18simport { createClient } from '@runware/sdk'
const client = await createClient({ apiKey: process.env.RUNWARE_API_KEY })
await client.connect()
const [result] = await client.run({
model: 'klingai:kling-video@3-4k',
positivePrompt: 'Continue directly from the supplied first frame as a polished seven-second logo animation. A single acid-green scan pulse travels smoothly through the bat-shaped waveform from left to right, illuminating each violet contour in sequence. The emblem briefly unfolds into several fine concentric ultrasonic rings that expand into the surrounding negative space with precise geometric timing; faint specks answer like mapped acoustic detections, then fade. The rings contract back into the original bat-waveform symbol while a restrained violet glow passes once across the NIGHT SIGNAL lettering. Keep the typography perfectly stable, legible, and undistorted throughout. Use crisp vector-like motion, subtle phosphor bloom, controlled easing, and a sophisticated nocturnal civic-science mood. No camera movement or cuts. During the final second, every glow, pulse, ring, and speck resolves exactly to the supplied opening frame, creating a clean seamless loop.',
duration: 7,
inputs: {
frameImages: [
'https://assets.runware.ai/assets/inputs/85f50897-37dc-4581-a85b-b1be18bb59e7.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:kling-video@3-4k",
"positivePrompt": "Continue directly from the supplied first frame as a polished seven-second logo animation. A single acid-green scan pulse travels smoothly through the bat-shaped waveform from left to right, illuminating each violet contour in sequence. The emblem briefly unfolds into several fine concentric ultrasonic rings that expand into the surrounding negative space with precise geometric timing; faint specks answer like mapped acoustic detections, then fade. The rings contract back into the original bat-waveform symbol while a restrained violet glow passes once across the NIGHT SIGNAL lettering. Keep the typography perfectly stable, legible, and undistorted throughout. Use crisp vector-like motion, subtle phosphor bloom, controlled easing, and a sophisticated nocturnal civic-science mood. No camera movement or cuts. During the final second, every glow, pulse, ring, and speck resolves exactly to the supplied opening frame, creating a clean seamless loop.",
"duration": 7,
"inputs": {
"frameImages": [
"https://assets.runware.ai/assets/inputs/85f50897-37dc-4581-a85b-b1be18bb59e7.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": "f0a6a044-f1ed-4dbc-b927-db08101cc0f9",
"model": "klingai:kling-video@3-4k",
"positivePrompt": "Continue directly from the supplied first frame as a polished seven-second logo animation. A single acid-green scan pulse travels smoothly through the bat-shaped waveform from left to right, illuminating each violet contour in sequence. The emblem briefly unfolds into several fine concentric ultrasonic rings that expand into the surrounding negative space with precise geometric timing; faint specks answer like mapped acoustic detections, then fade. The rings contract back into the original bat-waveform symbol while a restrained violet glow passes once across the NIGHT SIGNAL lettering. Keep the typography perfectly stable, legible, and undistorted throughout. Use crisp vector-like motion, subtle phosphor bloom, controlled easing, and a sophisticated nocturnal civic-science mood. No camera movement or cuts. During the final second, every glow, pulse, ring, and speck resolves exactly to the supplied opening frame, creating a clean seamless loop.",
"duration": 7,
"inputs": {
"frameImages": [
"https://assets.runware.ai/assets/inputs/85f50897-37dc-4581-a85b-b1be18bb59e7.jpg"
]
}
}
]'runware run klingai:kling-video@3-4k \
positivePrompt="Continue directly from the supplied first frame as a polished seven-second logo animation. A single acid-green scan pulse travels smoothly through the bat-shaped waveform from left to right, illuminating each violet contour in sequence. The emblem briefly unfolds into several fine concentric ultrasonic rings that expand into the surrounding negative space with precise geometric timing; faint specks answer like mapped acoustic detections, then fade. The rings contract back into the original bat-waveform symbol while a restrained violet glow passes once across the NIGHT SIGNAL lettering. Keep the typography perfectly stable, legible, and undistorted throughout. Use crisp vector-like motion, subtle phosphor bloom, controlled easing, and a sophisticated nocturnal civic-science mood. No camera movement or cuts. During the final second, every glow, pulse, ring, and speck resolves exactly to the supplied opening frame, creating a clean seamless loop." \
duration=7 \
inputs.frameImages.0=https://assets.runware.ai/assets/inputs/85f50897-37dc-4581-a85b-b1be18bb59e7.jpg{
"taskType": "videoInference",
"taskUUID": "f0a6a044-f1ed-4dbc-b927-db08101cc0f9",
"model": "klingai:kling-video@3-4k",
"positivePrompt": "Continue directly from the supplied first frame as a polished seven-second logo animation. A single acid-green scan pulse travels smoothly through the bat-shaped waveform from left to right, illuminating each violet contour in sequence. The emblem briefly unfolds into several fine concentric ultrasonic rings that expand into the surrounding negative space with precise geometric timing; faint specks answer like mapped acoustic detections, then fade. The rings contract back into the original bat-waveform symbol while a restrained violet glow passes once across the NIGHT SIGNAL lettering. Keep the typography perfectly stable, legible, and undistorted throughout. Use crisp vector-like motion, subtle phosphor bloom, controlled easing, and a sophisticated nocturnal civic-science mood. No camera movement or cuts. During the final second, every glow, pulse, ring, and speck resolves exactly to the supplied opening frame, creating a clean seamless loop.",
"duration": 7,
"inputs": {
"frameImages": [
"https://assets.runware.ai/assets/inputs/85f50897-37dc-4581-a85b-b1be18bb59e7.jpg"
]
}
}Response
{
"taskType": "videoInference",
"taskUUID": "f0a6a044-f1ed-4dbc-b927-db08101cc0f9",
"videoUUID": "edff286c-b871-4041-9154-6f15f6d26c14",
"videoURL": "https://vm.runware.ai/video/os/a02d21/ws/5/vi/edff286c-b871-4041-9154-6f15f6d26c14.mp4",
"cost": 2.94
}first-last-frame
Water Service Line Explainer$3.36~3m 4simport { createClient } from '@runware/sdk'
const client = await createClient({ apiKey: process.env.RUNWARE_API_KEY })
await client.connect()
const [result] = await client.run({
model: 'klingai:kling-video@3-4k',
positivePrompt: 'Create a polished eight-second municipal water utility talking-head explainer that moves continuously and plausibly from the supplied first frame to the supplied last frame. Preserve the engineer’s exact identity, short natural curls, navy coveralls, powder-blue shirt, body proportions, pipe, yellow magnet, laboratory layout, lighting, and restrained powder-blue, gray, and safety-yellow palette. Use one uninterrupted eye-level medium close-up with a locked camera and only a very subtle slow push-in. The engineer maintains natural eye contact and speaks directly to residents with precise, convincing lip synchronization: “This dark ring is galvanized steel, not lead. If a magnet sticks to your service line, schedule our free inspection.” As she begins, she lifts the cutaway pipe smoothly from the bench to upper-chest height. On “dark ring,” she rotates it slightly toward the lens so the oxidized interior edge can be seen. On “magnet sticks,” she picks up the yellow horseshoe magnet with her free hand and places it against the pipe. She ends in the exact final-frame pose, holding both objects steadily beside her face with a reassuring expression. Include subtle blinking, breathing, facial articulation, and economical professional hand movement. Clean location dialogue with faint unobtrusive laboratory room tone; no music. Photorealistic public-service documentary finish, natural skin texture, soft directional window light, shallow but practical depth of field, stable temporal coherence.',
negativePrompt: 'Subtitles, captions, lower thirds, logos, watermarks, interface elements, extra people, jump cuts, camera shake, exaggerated gestures, mismatched lip movement, changing face, changing clothes, changing background, duplicated objects, warped hands, extra fingers, bent pipe, floating magnet, harsh beauty retouching, synthetic skin, dramatic colored lighting, music.',
duration: 8,
providerSettings: {
klingai: {
sound: true
}
},
inputs: {
frameImages: [
{
image: 'https://assets.runware.ai/assets/inputs/0373d866-3838-4191-b373-9e42bb7ce311.jpg',
frame: 'first'
},
{
image: 'https://assets.runware.ai/assets/inputs/cf7db60c-fadf-45ad-b4bb-202c89738b6b.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:kling-video@3-4k",
"positivePrompt": "Create a polished eight-second municipal water utility talking-head explainer that moves continuously and plausibly from the supplied first frame to the supplied last frame. Preserve the engineer’s exact identity, short natural curls, navy coveralls, powder-blue shirt, body proportions, pipe, yellow magnet, laboratory layout, lighting, and restrained powder-blue, gray, and safety-yellow palette. Use one uninterrupted eye-level medium close-up with a locked camera and only a very subtle slow push-in. The engineer maintains natural eye contact and speaks directly to residents with precise, convincing lip synchronization: “This dark ring is galvanized steel, not lead. If a magnet sticks to your service line, schedule our free inspection.” As she begins, she lifts the cutaway pipe smoothly from the bench to upper-chest height. On “dark ring,” she rotates it slightly toward the lens so the oxidized interior edge can be seen. On “magnet sticks,” she picks up the yellow horseshoe magnet with her free hand and places it against the pipe. She ends in the exact final-frame pose, holding both objects steadily beside her face with a reassuring expression. Include subtle blinking, breathing, facial articulation, and economical professional hand movement. Clean location dialogue with faint unobtrusive laboratory room tone; no music. Photorealistic public-service documentary finish, natural skin texture, soft directional window light, shallow but practical depth of field, stable temporal coherence.",
"negativePrompt": "Subtitles, captions, lower thirds, logos, watermarks, interface elements, extra people, jump cuts, camera shake, exaggerated gestures, mismatched lip movement, changing face, changing clothes, changing background, duplicated objects, warped hands, extra fingers, bent pipe, floating magnet, harsh beauty retouching, synthetic skin, dramatic colored lighting, music.",
"duration": 8,
"providerSettings": {
"klingai": {
"sound": True
}
},
"inputs": {
"frameImages": [
{
"image": "https://assets.runware.ai/assets/inputs/0373d866-3838-4191-b373-9e42bb7ce311.jpg",
"frame": "first"
},
{
"image": "https://assets.runware.ai/assets/inputs/cf7db60c-fadf-45ad-b4bb-202c89738b6b.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": "8099f2cf-c4ad-42d6-918e-ec5763ead1a2",
"model": "klingai:kling-video@3-4k",
"positivePrompt": "Create a polished eight-second municipal water utility talking-head explainer that moves continuously and plausibly from the supplied first frame to the supplied last frame. Preserve the engineer’s exact identity, short natural curls, navy coveralls, powder-blue shirt, body proportions, pipe, yellow magnet, laboratory layout, lighting, and restrained powder-blue, gray, and safety-yellow palette. Use one uninterrupted eye-level medium close-up with a locked camera and only a very subtle slow push-in. The engineer maintains natural eye contact and speaks directly to residents with precise, convincing lip synchronization: “This dark ring is galvanized steel, not lead. If a magnet sticks to your service line, schedule our free inspection.” As she begins, she lifts the cutaway pipe smoothly from the bench to upper-chest height. On “dark ring,” she rotates it slightly toward the lens so the oxidized interior edge can be seen. On “magnet sticks,” she picks up the yellow horseshoe magnet with her free hand and places it against the pipe. She ends in the exact final-frame pose, holding both objects steadily beside her face with a reassuring expression. Include subtle blinking, breathing, facial articulation, and economical professional hand movement. Clean location dialogue with faint unobtrusive laboratory room tone; no music. Photorealistic public-service documentary finish, natural skin texture, soft directional window light, shallow but practical depth of field, stable temporal coherence.",
"negativePrompt": "Subtitles, captions, lower thirds, logos, watermarks, interface elements, extra people, jump cuts, camera shake, exaggerated gestures, mismatched lip movement, changing face, changing clothes, changing background, duplicated objects, warped hands, extra fingers, bent pipe, floating magnet, harsh beauty retouching, synthetic skin, dramatic colored lighting, music.",
"duration": 8,
"providerSettings": {
"klingai": {
"sound": true
}
},
"inputs": {
"frameImages": [
{
"image": "https://assets.runware.ai/assets/inputs/0373d866-3838-4191-b373-9e42bb7ce311.jpg",
"frame": "first"
},
{
"image": "https://assets.runware.ai/assets/inputs/cf7db60c-fadf-45ad-b4bb-202c89738b6b.jpg",
"frame": "last"
}
]
}
}
]'runware run klingai:kling-video@3-4k \
positivePrompt="Create a polished eight-second municipal water utility talking-head explainer that moves continuously and plausibly from the supplied first frame to the supplied last frame. Preserve the engineer’s exact identity, short natural curls, navy coveralls, powder-blue shirt, body proportions, pipe, yellow magnet, laboratory layout, lighting, and restrained powder-blue, gray, and safety-yellow palette. Use one uninterrupted eye-level medium close-up with a locked camera and only a very subtle slow push-in. The engineer maintains natural eye contact and speaks directly to residents with precise, convincing lip synchronization: “This dark ring is galvanized steel, not lead. If a magnet sticks to your service line, schedule our free inspection.” As she begins, she lifts the cutaway pipe smoothly from the bench to upper-chest height. On “dark ring,” she rotates it slightly toward the lens so the oxidized interior edge can be seen. On “magnet sticks,” she picks up the yellow horseshoe magnet with her free hand and places it against the pipe. She ends in the exact final-frame pose, holding both objects steadily beside her face with a reassuring expression. Include subtle blinking, breathing, facial articulation, and economical professional hand movement. Clean location dialogue with faint unobtrusive laboratory room tone; no music. Photorealistic public-service documentary finish, natural skin texture, soft directional window light, shallow but practical depth of field, stable temporal coherence." \
negativePrompt="Subtitles, captions, lower thirds, logos, watermarks, interface elements, extra people, jump cuts, camera shake, exaggerated gestures, mismatched lip movement, changing face, changing clothes, changing background, duplicated objects, warped hands, extra fingers, bent pipe, floating magnet, harsh beauty retouching, synthetic skin, dramatic colored lighting, music." \
duration=8 \
providerSettings.klingai.sound=true \
inputs.frameImages.0.image=https://assets.runware.ai/assets/inputs/0373d866-3838-4191-b373-9e42bb7ce311.jpg \
inputs.frameImages.0.frame=first \
inputs.frameImages.1.image=https://assets.runware.ai/assets/inputs/cf7db60c-fadf-45ad-b4bb-202c89738b6b.jpg \
inputs.frameImages.1.frame=last{
"taskType": "videoInference",
"taskUUID": "8099f2cf-c4ad-42d6-918e-ec5763ead1a2",
"model": "klingai:kling-video@3-4k",
"positivePrompt": "Create a polished eight-second municipal water utility talking-head explainer that moves continuously and plausibly from the supplied first frame to the supplied last frame. Preserve the engineer’s exact identity, short natural curls, navy coveralls, powder-blue shirt, body proportions, pipe, yellow magnet, laboratory layout, lighting, and restrained powder-blue, gray, and safety-yellow palette. Use one uninterrupted eye-level medium close-up with a locked camera and only a very subtle slow push-in. The engineer maintains natural eye contact and speaks directly to residents with precise, convincing lip synchronization: “This dark ring is galvanized steel, not lead. If a magnet sticks to your service line, schedule our free inspection.” As she begins, she lifts the cutaway pipe smoothly from the bench to upper-chest height. On “dark ring,” she rotates it slightly toward the lens so the oxidized interior edge can be seen. On “magnet sticks,” she picks up the yellow horseshoe magnet with her free hand and places it against the pipe. She ends in the exact final-frame pose, holding both objects steadily beside her face with a reassuring expression. Include subtle blinking, breathing, facial articulation, and economical professional hand movement. Clean location dialogue with faint unobtrusive laboratory room tone; no music. Photorealistic public-service documentary finish, natural skin texture, soft directional window light, shallow but practical depth of field, stable temporal coherence.",
"negativePrompt": "Subtitles, captions, lower thirds, logos, watermarks, interface elements, extra people, jump cuts, camera shake, exaggerated gestures, mismatched lip movement, changing face, changing clothes, changing background, duplicated objects, warped hands, extra fingers, bent pipe, floating magnet, harsh beauty retouching, synthetic skin, dramatic colored lighting, music.",
"duration": 8,
"providerSettings": {
"klingai": {
"sound": true
}
},
"inputs": {
"frameImages": [
{
"image": "https://assets.runware.ai/assets/inputs/0373d866-3838-4191-b373-9e42bb7ce311.jpg",
"frame": "first"
},
{
"image": "https://assets.runware.ai/assets/inputs/cf7db60c-fadf-45ad-b4bb-202c89738b6b.jpg",
"frame": "last"
}
]
}
}Response
{
"taskType": "videoInference",
"taskUUID": "8099f2cf-c4ad-42d6-918e-ec5763ead1a2",
"videoUUID": "5aeedfe7-7e9b-4594-aa7b-ecdc103edcc8",
"videoURL": "https://vm.runware.ai/video/os/a09dlim3/ws/5/vi/5aeedfe7-7e9b-4594-aa7b-ecdc103edcc8.mp4",
"cost": 3.36
}elements
Sleeper Train Cabin Reel$4.20~5m 26simport { createClient } from '@runware/sdk'
const client = await createClient({ apiKey: process.env.RUNWARE_API_KEY })
await client.connect()
const [result] = await client.run({
model: 'klingai:kling-video@3-4k',
positivePrompt: 'Create a polished 10-second vertical social media ad for a premium overnight sleeper-train cabin, beginning in exact visual continuity with the supplied first frame. Photorealistic luxury travel editorial with midnight blue, walnut, ivory, rust, and warm brass; intimate amber practical light contrasted with cobalt dusk outside. <<<element_1>>> is the passenger, wearing her rust knit sweater and retaining her exact face throughout. <<<element_2>>> is the attentive train host, retaining his exact face and tailored navy uniform throughout. 0-3 seconds: the camera gently pushes into the cabin as <<<element_1>>> enters, sets down a compact leather weekender, and looks around with a quiet, delighted smile. 3-6 seconds: elegant match cut to <<<element_2>>> sliding open the compartment door and placing a steaming ceramic cup on the foldout table for her; natural eye contact and restrained hospitality. 6-8 seconds: tactile close-ups of the cup settling, linen being turned down, brass lamp glowing, and blurred evening landscape flowing past the window. 8-10 seconds: wider restful composition as <<<element_1>>> reclines by the window with the cup while <<<element_2>>> softly closes the corridor door, ending on the serene private cabin. Smooth stabilized camera movement, premium commercial pacing, realistic train vibration, coherent faces and hands, no dialogue, no captions, no logos, no interface. Native audio: subdued rail rhythm, soft door glide, ceramic cup contact, linen rustle, and a minimal warm vibraphone motif.',
duration: 10,
inputs: {
frameImages: [
{
image: 'https://assets.runware.ai/assets/inputs/e0e90153-95f8-49fc-9d51-0c8d44143d5b.jpg',
frame: 'first'
}
],
elements: [
{
id: 'passenger_mara',
description: 'Sleeper-train passenger in rust knitwear',
frontalImage: 'https://assets.runware.ai/assets/inputs/3facbe8a-cfe8-458c-ba94-8ebad72da2fc.jpg',
images: [
'https://assets.runware.ai/assets/inputs/ff46e9a0-a5f5-43ff-b7b6-bdecb2c5e757.jpg'
]
},
{
id: 'train_host',
description: 'Sleeper-train attendant in a navy uniform',
videos: [
'https://assets.runware.ai/assets/inputs/018cb19e-86a6-4ae6-84c6-8734db4011e8.mp4'
]
}
]
}
})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:kling-video@3-4k",
"positivePrompt": "Create a polished 10-second vertical social media ad for a premium overnight sleeper-train cabin, beginning in exact visual continuity with the supplied first frame. Photorealistic luxury travel editorial with midnight blue, walnut, ivory, rust, and warm brass; intimate amber practical light contrasted with cobalt dusk outside. <<<element_1>>> is the passenger, wearing her rust knit sweater and retaining her exact face throughout. <<<element_2>>> is the attentive train host, retaining his exact face and tailored navy uniform throughout. 0-3 seconds: the camera gently pushes into the cabin as <<<element_1>>> enters, sets down a compact leather weekender, and looks around with a quiet, delighted smile. 3-6 seconds: elegant match cut to <<<element_2>>> sliding open the compartment door and placing a steaming ceramic cup on the foldout table for her; natural eye contact and restrained hospitality. 6-8 seconds: tactile close-ups of the cup settling, linen being turned down, brass lamp glowing, and blurred evening landscape flowing past the window. 8-10 seconds: wider restful composition as <<<element_1>>> reclines by the window with the cup while <<<element_2>>> softly closes the corridor door, ending on the serene private cabin. Smooth stabilized camera movement, premium commercial pacing, realistic train vibration, coherent faces and hands, no dialogue, no captions, no logos, no interface. Native audio: subdued rail rhythm, soft door glide, ceramic cup contact, linen rustle, and a minimal warm vibraphone motif.",
"duration": 10,
"inputs": {
"frameImages": [
{
"image": "https://assets.runware.ai/assets/inputs/e0e90153-95f8-49fc-9d51-0c8d44143d5b.jpg",
"frame": "first"
}
],
"elements": [
{
"id": "passenger_mara",
"description": "Sleeper-train passenger in rust knitwear",
"frontalImage": "https://assets.runware.ai/assets/inputs/3facbe8a-cfe8-458c-ba94-8ebad72da2fc.jpg",
"images": [
"https://assets.runware.ai/assets/inputs/ff46e9a0-a5f5-43ff-b7b6-bdecb2c5e757.jpg"
]
},
{
"id": "train_host",
"description": "Sleeper-train attendant in a navy uniform",
"videos": [
"https://assets.runware.ai/assets/inputs/018cb19e-86a6-4ae6-84c6-8734db4011e8.mp4"
]
}
]
}
})
asyncio.run(main())curl https://api.runware.ai/v1 \
-H "Authorization: Bearer $RUNWARE_API_KEY" \
-H "Content-Type: application/json" \
-d '[
{
"taskType": "videoInference",
"taskUUID": "40b69a12-35ba-45d8-9390-a64951b90641",
"model": "klingai:kling-video@3-4k",
"positivePrompt": "Create a polished 10-second vertical social media ad for a premium overnight sleeper-train cabin, beginning in exact visual continuity with the supplied first frame. Photorealistic luxury travel editorial with midnight blue, walnut, ivory, rust, and warm brass; intimate amber practical light contrasted with cobalt dusk outside. <<<element_1>>> is the passenger, wearing her rust knit sweater and retaining her exact face throughout. <<<element_2>>> is the attentive train host, retaining his exact face and tailored navy uniform throughout. 0-3 seconds: the camera gently pushes into the cabin as <<<element_1>>> enters, sets down a compact leather weekender, and looks around with a quiet, delighted smile. 3-6 seconds: elegant match cut to <<<element_2>>> sliding open the compartment door and placing a steaming ceramic cup on the foldout table for her; natural eye contact and restrained hospitality. 6-8 seconds: tactile close-ups of the cup settling, linen being turned down, brass lamp glowing, and blurred evening landscape flowing past the window. 8-10 seconds: wider restful composition as <<<element_1>>> reclines by the window with the cup while <<<element_2>>> softly closes the corridor door, ending on the serene private cabin. Smooth stabilized camera movement, premium commercial pacing, realistic train vibration, coherent faces and hands, no dialogue, no captions, no logos, no interface. Native audio: subdued rail rhythm, soft door glide, ceramic cup contact, linen rustle, and a minimal warm vibraphone motif.",
"duration": 10,
"inputs": {
"frameImages": [
{
"image": "https://assets.runware.ai/assets/inputs/e0e90153-95f8-49fc-9d51-0c8d44143d5b.jpg",
"frame": "first"
}
],
"elements": [
{
"id": "passenger_mara",
"description": "Sleeper-train passenger in rust knitwear",
"frontalImage": "https://assets.runware.ai/assets/inputs/3facbe8a-cfe8-458c-ba94-8ebad72da2fc.jpg",
"images": [
"https://assets.runware.ai/assets/inputs/ff46e9a0-a5f5-43ff-b7b6-bdecb2c5e757.jpg"
]
},
{
"id": "train_host",
"description": "Sleeper-train attendant in a navy uniform",
"videos": [
"https://assets.runware.ai/assets/inputs/018cb19e-86a6-4ae6-84c6-8734db4011e8.mp4"
]
}
]
}
}
]'runware run klingai:kling-video@3-4k \
positivePrompt="Create a polished 10-second vertical social media ad for a premium overnight sleeper-train cabin, beginning in exact visual continuity with the supplied first frame. Photorealistic luxury travel editorial with midnight blue, walnut, ivory, rust, and warm brass; intimate amber practical light contrasted with cobalt dusk outside. <<<element_1>>> is the passenger, wearing her rust knit sweater and retaining her exact face throughout. <<<element_2>>> is the attentive train host, retaining his exact face and tailored navy uniform throughout. 0-3 seconds: the camera gently pushes into the cabin as <<<element_1>>> enters, sets down a compact leather weekender, and looks around with a quiet, delighted smile. 3-6 seconds: elegant match cut to <<<element_2>>> sliding open the compartment door and placing a steaming ceramic cup on the foldout table for her; natural eye contact and restrained hospitality. 6-8 seconds: tactile close-ups of the cup settling, linen being turned down, brass lamp glowing, and blurred evening landscape flowing past the window. 8-10 seconds: wider restful composition as <<<element_1>>> reclines by the window with the cup while <<<element_2>>> softly closes the corridor door, ending on the serene private cabin. Smooth stabilized camera movement, premium commercial pacing, realistic train vibration, coherent faces and hands, no dialogue, no captions, no logos, no interface. Native audio: subdued rail rhythm, soft door glide, ceramic cup contact, linen rustle, and a minimal warm vibraphone motif." \
duration=10 \
inputs.frameImages.0.image=https://assets.runware.ai/assets/inputs/e0e90153-95f8-49fc-9d51-0c8d44143d5b.jpg \
inputs.frameImages.0.frame=first \
inputs.elements.0.id=passenger_mara \
inputs.elements.0.description="Sleeper-train passenger in rust knitwear" \
inputs.elements.0.frontalImage=https://assets.runware.ai/assets/inputs/3facbe8a-cfe8-458c-ba94-8ebad72da2fc.jpg \
inputs.elements.0.images.0=https://assets.runware.ai/assets/inputs/ff46e9a0-a5f5-43ff-b7b6-bdecb2c5e757.jpg \
inputs.elements.1.id=train_host \
inputs.elements.1.description="Sleeper-train attendant in a navy uniform" \
inputs.elements.1.videos.0=https://assets.runware.ai/assets/inputs/018cb19e-86a6-4ae6-84c6-8734db4011e8.mp4{
"taskType": "videoInference",
"taskUUID": "40b69a12-35ba-45d8-9390-a64951b90641",
"model": "klingai:kling-video@3-4k",
"positivePrompt": "Create a polished 10-second vertical social media ad for a premium overnight sleeper-train cabin, beginning in exact visual continuity with the supplied first frame. Photorealistic luxury travel editorial with midnight blue, walnut, ivory, rust, and warm brass; intimate amber practical light contrasted with cobalt dusk outside. <<<element_1>>> is the passenger, wearing her rust knit sweater and retaining her exact face throughout. <<<element_2>>> is the attentive train host, retaining his exact face and tailored navy uniform throughout. 0-3 seconds: the camera gently pushes into the cabin as <<<element_1>>> enters, sets down a compact leather weekender, and looks around with a quiet, delighted smile. 3-6 seconds: elegant match cut to <<<element_2>>> sliding open the compartment door and placing a steaming ceramic cup on the foldout table for her; natural eye contact and restrained hospitality. 6-8 seconds: tactile close-ups of the cup settling, linen being turned down, brass lamp glowing, and blurred evening landscape flowing past the window. 8-10 seconds: wider restful composition as <<<element_1>>> reclines by the window with the cup while <<<element_2>>> softly closes the corridor door, ending on the serene private cabin. Smooth stabilized camera movement, premium commercial pacing, realistic train vibration, coherent faces and hands, no dialogue, no captions, no logos, no interface. Native audio: subdued rail rhythm, soft door glide, ceramic cup contact, linen rustle, and a minimal warm vibraphone motif.",
"duration": 10,
"inputs": {
"frameImages": [
{
"image": "https://assets.runware.ai/assets/inputs/e0e90153-95f8-49fc-9d51-0c8d44143d5b.jpg",
"frame": "first"
}
],
"elements": [
{
"id": "passenger_mara",
"description": "Sleeper-train passenger in rust knitwear",
"frontalImage": "https://assets.runware.ai/assets/inputs/3facbe8a-cfe8-458c-ba94-8ebad72da2fc.jpg",
"images": [
"https://assets.runware.ai/assets/inputs/ff46e9a0-a5f5-43ff-b7b6-bdecb2c5e757.jpg"
]
},
{
"id": "train_host",
"description": "Sleeper-train attendant in a navy uniform",
"videos": [
"https://assets.runware.ai/assets/inputs/018cb19e-86a6-4ae6-84c6-8734db4011e8.mp4"
]
}
]
}
}Response
{
"taskType": "videoInference",
"taskUUID": "40b69a12-35ba-45d8-9390-a64951b90641",
"videoUUID": "d3ad9ab7-73e2-4daf-8df4-735c46069a67",
"videoURL": "https://vm.runware.ai/video/os/a04d20/ws/5/vi/d3ad9ab7-73e2-4daf-8df4-735c46069a67.mp4",
"cost": 4.2
}multi-shot
Meteorite Conservation Curator Social Briefing$3.78~2m 59simport { createClient } from '@runware/sdk'
const client = await createClient({ apiKey: process.env.RUNWARE_API_KEY })
await client.connect()
const [result] = await client.run({
model: 'klingai:kling-video@3-4k',
width: 2880,
height: 2880,
duration: 9,
providerSettings: {
klingai: {
multiPrompt: [
{
prompt: 'A lone explorer approaches a luminous structure through dense mist.',
duration: 3
},
{
prompt: 'The explorer enters as shifting beams reveal the vast interior.',
duration: 3
},
{
prompt: 'The structure awakens and fills the chamber with cascading light.',
duration: 3
}
],
sound: true
}
}
})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:kling-video@3-4k",
"width": 2880,
"height": 2880,
"duration": 9,
"providerSettings": {
"klingai": {
"multiPrompt": [
{
"prompt": "A lone explorer approaches a luminous structure through dense mist.",
"duration": 3
},
{
"prompt": "The explorer enters as shifting beams reveal the vast interior.",
"duration": 3
},
{
"prompt": "The structure awakens and fills the chamber with cascading light.",
"duration": 3
}
],
"sound": True
}
}
})
asyncio.run(main())curl https://api.runware.ai/v1 \
-H "Authorization: Bearer $RUNWARE_API_KEY" \
-H "Content-Type: application/json" \
-d '[
{
"taskType": "videoInference",
"taskUUID": "8edbbf79-71e2-4dc5-bf6a-b2fb7a7ee310",
"model": "klingai:kling-video@3-4k",
"width": 2880,
"height": 2880,
"duration": 9,
"providerSettings": {
"klingai": {
"multiPrompt": [
{
"prompt": "A lone explorer approaches a luminous structure through dense mist.",
"duration": 3
},
{
"prompt": "The explorer enters as shifting beams reveal the vast interior.",
"duration": 3
},
{
"prompt": "The structure awakens and fills the chamber with cascading light.",
"duration": 3
}
],
"sound": true
}
}
}
]'runware run klingai:kling-video@3-4k \
width=2880 \
height=2880 \
duration=9 \
providerSettings.klingai.multiPrompt.0.prompt="A lone explorer approaches a luminous structure through dense mist." \
providerSettings.klingai.multiPrompt.0.duration=3 \
providerSettings.klingai.multiPrompt.1.prompt="The explorer enters as shifting beams reveal the vast interior." \
providerSettings.klingai.multiPrompt.1.duration=3 \
providerSettings.klingai.multiPrompt.2.prompt="The structure awakens and fills the chamber with cascading light." \
providerSettings.klingai.multiPrompt.2.duration=3 \
providerSettings.klingai.sound=true{
"taskType": "videoInference",
"taskUUID": "8edbbf79-71e2-4dc5-bf6a-b2fb7a7ee310",
"model": "klingai:kling-video@3-4k",
"width": 2880,
"height": 2880,
"duration": 9,
"providerSettings": {
"klingai": {
"multiPrompt": [
{
"prompt": "A lone explorer approaches a luminous structure through dense mist.",
"duration": 3
},
{
"prompt": "The explorer enters as shifting beams reveal the vast interior.",
"duration": 3
},
{
"prompt": "The structure awakens and fills the chamber with cascading light.",
"duration": 3
}
],
"sound": true
}
}
}Response
{
"taskType": "videoInference",
"taskUUID": "8edbbf79-71e2-4dc5-bf6a-b2fb7a7ee310",
"videoUUID": "3517de1d-a171-493e-9351-fba2250e97d7",
"videoURL": "https://vm.runware.ai/video/os/a07dlim3/ws/5/vi/3517de1d-a171-493e-9351-fba2250e97d7.mp4",
"cost": 3.78
}