Kling VIDEO O1 Pro

Kling VIDEO O1 Pro is a unified multimodal video foundation model for controllable generation and instruction based editing. It supports text prompts, visual references, and video input so developers can build high control pipelines for pacing, transitions, object changes, and style revisions.

API Reference
INTEGRATE
Complete technical specification for integration
RequestResponse
Examples5
CODE
Ready-to-use code snippets for common workflows
text-to-video
Competitive Shearer Arena Composite$1.12~2m 27simport { 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@o1',
positivePrompt: 'Create a polished 10-second background-replacement composite for an agricultural sports broadcast. In the foreground, a skilled competitive sheep shearer in a navy singlet and work trousers handles a calm cream-fleeced ewe on a low green shearing platform. Preserve consistent anatomy, clothing, faces, fleece texture, and humane handling throughout. Replace the original surroundings completely with a packed contemporary indoor shearing arena: steep shadowed stands, indistinct cheering spectators, warm amber competition lights, subtle cyan accents, suspended haze, and realistic depth of field. No readable signs, logos, or text. The compositing must look immaculate, with precise moving edges around loose curls of wool, the clipper cable, fingers, boots, and the ewe’s ears; no halos, matte chatter, green spill, or background leakage. Begin in a medium-wide three-quarter view as the shearer smoothly rolls the ewe into position. The camera makes a steady clockwise arc and gradual dolly-in. From seconds 3–7, the shearer guides electric clippers in one confident pass while a broad ribbon of fleece peels away and drops naturally; the arena crowd shifts and lights sweep softly in the deep background with correct parallax. During the final three seconds, move to a close medium framing as the shearer releases the finished fleece onto the platform and briefly looks toward the judges beyond camera. End on a crisp, energetic hero composition. Photorealistic live sports cinematography, natural motion blur, restrained broadcast contrast, warm fleece against deep navy and saturated green, grounded and triumphant mood.',
width: 1920,
height: 1080,
duration: 10
})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@o1",
"positivePrompt": "Create a polished 10-second background-replacement composite for an agricultural sports broadcast. In the foreground, a skilled competitive sheep shearer in a navy singlet and work trousers handles a calm cream-fleeced ewe on a low green shearing platform. Preserve consistent anatomy, clothing, faces, fleece texture, and humane handling throughout. Replace the original surroundings completely with a packed contemporary indoor shearing arena: steep shadowed stands, indistinct cheering spectators, warm amber competition lights, subtle cyan accents, suspended haze, and realistic depth of field. No readable signs, logos, or text. The compositing must look immaculate, with precise moving edges around loose curls of wool, the clipper cable, fingers, boots, and the ewe’s ears; no halos, matte chatter, green spill, or background leakage. Begin in a medium-wide three-quarter view as the shearer smoothly rolls the ewe into position. The camera makes a steady clockwise arc and gradual dolly-in. From seconds 3–7, the shearer guides electric clippers in one confident pass while a broad ribbon of fleece peels away and drops naturally; the arena crowd shifts and lights sweep softly in the deep background with correct parallax. During the final three seconds, move to a close medium framing as the shearer releases the finished fleece onto the platform and briefly looks toward the judges beyond camera. End on a crisp, energetic hero composition. Photorealistic live sports cinematography, natural motion blur, restrained broadcast contrast, warm fleece against deep navy and saturated green, grounded and triumphant mood.",
"width": 1920,
"height": 1080,
"duration": 10
})
asyncio.run(main())curl https://api.runware.ai/v1 \
-H "Authorization: Bearer $RUNWARE_API_KEY" \
-H "Content-Type: application/json" \
-d '[
{
"taskType": "videoInference",
"taskUUID": "4afc65e0-974f-46db-90f4-98b7d2c70ec8",
"model": "klingai:kling@o1",
"positivePrompt": "Create a polished 10-second background-replacement composite for an agricultural sports broadcast. In the foreground, a skilled competitive sheep shearer in a navy singlet and work trousers handles a calm cream-fleeced ewe on a low green shearing platform. Preserve consistent anatomy, clothing, faces, fleece texture, and humane handling throughout. Replace the original surroundings completely with a packed contemporary indoor shearing arena: steep shadowed stands, indistinct cheering spectators, warm amber competition lights, subtle cyan accents, suspended haze, and realistic depth of field. No readable signs, logos, or text. The compositing must look immaculate, with precise moving edges around loose curls of wool, the clipper cable, fingers, boots, and the ewe’s ears; no halos, matte chatter, green spill, or background leakage. Begin in a medium-wide three-quarter view as the shearer smoothly rolls the ewe into position. The camera makes a steady clockwise arc and gradual dolly-in. From seconds 3–7, the shearer guides electric clippers in one confident pass while a broad ribbon of fleece peels away and drops naturally; the arena crowd shifts and lights sweep softly in the deep background with correct parallax. During the final three seconds, move to a close medium framing as the shearer releases the finished fleece onto the platform and briefly looks toward the judges beyond camera. End on a crisp, energetic hero composition. Photorealistic live sports cinematography, natural motion blur, restrained broadcast contrast, warm fleece against deep navy and saturated green, grounded and triumphant mood.",
"width": 1920,
"height": 1080,
"duration": 10
}
]'runware run klingai:kling@o1 \
positivePrompt="Create a polished 10-second background-replacement composite for an agricultural sports broadcast. In the foreground, a skilled competitive sheep shearer in a navy singlet and work trousers handles a calm cream-fleeced ewe on a low green shearing platform. Preserve consistent anatomy, clothing, faces, fleece texture, and humane handling throughout. Replace the original surroundings completely with a packed contemporary indoor shearing arena: steep shadowed stands, indistinct cheering spectators, warm amber competition lights, subtle cyan accents, suspended haze, and realistic depth of field. No readable signs, logos, or text. The compositing must look immaculate, with precise moving edges around loose curls of wool, the clipper cable, fingers, boots, and the ewe’s ears; no halos, matte chatter, green spill, or background leakage. Begin in a medium-wide three-quarter view as the shearer smoothly rolls the ewe into position. The camera makes a steady clockwise arc and gradual dolly-in. From seconds 3–7, the shearer guides electric clippers in one confident pass while a broad ribbon of fleece peels away and drops naturally; the arena crowd shifts and lights sweep softly in the deep background with correct parallax. During the final three seconds, move to a close medium framing as the shearer releases the finished fleece onto the platform and briefly looks toward the judges beyond camera. End on a crisp, energetic hero composition. Photorealistic live sports cinematography, natural motion blur, restrained broadcast contrast, warm fleece against deep navy and saturated green, grounded and triumphant mood." \
width=1920 \
height=1080 \
duration=10{
"taskType": "videoInference",
"taskUUID": "4afc65e0-974f-46db-90f4-98b7d2c70ec8",
"model": "klingai:kling@o1",
"positivePrompt": "Create a polished 10-second background-replacement composite for an agricultural sports broadcast. In the foreground, a skilled competitive sheep shearer in a navy singlet and work trousers handles a calm cream-fleeced ewe on a low green shearing platform. Preserve consistent anatomy, clothing, faces, fleece texture, and humane handling throughout. Replace the original surroundings completely with a packed contemporary indoor shearing arena: steep shadowed stands, indistinct cheering spectators, warm amber competition lights, subtle cyan accents, suspended haze, and realistic depth of field. No readable signs, logos, or text. The compositing must look immaculate, with precise moving edges around loose curls of wool, the clipper cable, fingers, boots, and the ewe’s ears; no halos, matte chatter, green spill, or background leakage. Begin in a medium-wide three-quarter view as the shearer smoothly rolls the ewe into position. The camera makes a steady clockwise arc and gradual dolly-in. From seconds 3–7, the shearer guides electric clippers in one confident pass while a broad ribbon of fleece peels away and drops naturally; the arena crowd shifts and lights sweep softly in the deep background with correct parallax. During the final three seconds, move to a close medium framing as the shearer releases the finished fleece onto the platform and briefly looks toward the judges beyond camera. End on a crisp, energetic hero composition. Photorealistic live sports cinematography, natural motion blur, restrained broadcast contrast, warm fleece against deep navy and saturated green, grounded and triumphant mood.",
"width": 1920,
"height": 1080,
"duration": 10
}Response
{
"taskType": "videoInference",
"taskUUID": "4afc65e0-974f-46db-90f4-98b7d2c70ec8",
"videoUUID": "54ddf6bd-5c2b-4701-a9f1-a8df6d177926",
"videoURL": "https://vm.runware.ai/video/os/a09dlim3/ws/5/vi/54ddf6bd-5c2b-4701-a9f1-a8df6d177926.mp4",
"cost": 1.12
}first-frame
Hydropower Spring Thaw Visualization$0.56~2m 1simport { 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@o1',
positivePrompt: 'A slow, stabilized drone push continues toward the hydroelectric spillway as late-winter blue hour advances through a compressed spring thaw. Pale sunrise spills over the ridge, moving warm light across the concrete gates and catwalk while the valley’s cold blue shadows gradually recede. Clouds travel quickly overhead. Fine cracks spread through the reservoir ice, plates separate and drift toward the spillway, then dark meltwater begins flowing between them. Snow withdraws naturally from the rocky banks in irregular patches, revealing wet earth and muted green moss; subtle new buds appear on nearby birches while the evergreen forest remains consistent. By the final moment, the reservoir is mostly open water under a crisp spring morning, with small remaining ice floes and controlled water streaming through the gates. Preserve the exact dam design, valley geography, scale, and documentary realism throughout. Restrained mineral palette shifting from icy blue-gray to soft amber and fresh subdued green, physically accurate reflections and shadows, smooth cinematic motion, no dramatic flooding, no people, no signage, no text.',
duration: 5,
inputs: {
frameImages: [
'https://assets.runware.ai/assets/inputs/28fb6105-52bc-4bba-9f91-14cc23df8558.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@o1",
"positivePrompt": "A slow, stabilized drone push continues toward the hydroelectric spillway as late-winter blue hour advances through a compressed spring thaw. Pale sunrise spills over the ridge, moving warm light across the concrete gates and catwalk while the valley’s cold blue shadows gradually recede. Clouds travel quickly overhead. Fine cracks spread through the reservoir ice, plates separate and drift toward the spillway, then dark meltwater begins flowing between them. Snow withdraws naturally from the rocky banks in irregular patches, revealing wet earth and muted green moss; subtle new buds appear on nearby birches while the evergreen forest remains consistent. By the final moment, the reservoir is mostly open water under a crisp spring morning, with small remaining ice floes and controlled water streaming through the gates. Preserve the exact dam design, valley geography, scale, and documentary realism throughout. Restrained mineral palette shifting from icy blue-gray to soft amber and fresh subdued green, physically accurate reflections and shadows, smooth cinematic motion, no dramatic flooding, no people, no signage, no text.",
"duration": 5,
"inputs": {
"frameImages": [
"https://assets.runware.ai/assets/inputs/28fb6105-52bc-4bba-9f91-14cc23df8558.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": "65cc4f0b-3559-4269-a2f9-28cec8bda609",
"model": "klingai:kling@o1",
"positivePrompt": "A slow, stabilized drone push continues toward the hydroelectric spillway as late-winter blue hour advances through a compressed spring thaw. Pale sunrise spills over the ridge, moving warm light across the concrete gates and catwalk while the valley’s cold blue shadows gradually recede. Clouds travel quickly overhead. Fine cracks spread through the reservoir ice, plates separate and drift toward the spillway, then dark meltwater begins flowing between them. Snow withdraws naturally from the rocky banks in irregular patches, revealing wet earth and muted green moss; subtle new buds appear on nearby birches while the evergreen forest remains consistent. By the final moment, the reservoir is mostly open water under a crisp spring morning, with small remaining ice floes and controlled water streaming through the gates. Preserve the exact dam design, valley geography, scale, and documentary realism throughout. Restrained mineral palette shifting from icy blue-gray to soft amber and fresh subdued green, physically accurate reflections and shadows, smooth cinematic motion, no dramatic flooding, no people, no signage, no text.",
"duration": 5,
"inputs": {
"frameImages": [
"https://assets.runware.ai/assets/inputs/28fb6105-52bc-4bba-9f91-14cc23df8558.jpg"
]
}
}
]'runware run klingai:kling@o1 \
positivePrompt="A slow, stabilized drone push continues toward the hydroelectric spillway as late-winter blue hour advances through a compressed spring thaw. Pale sunrise spills over the ridge, moving warm light across the concrete gates and catwalk while the valley’s cold blue shadows gradually recede. Clouds travel quickly overhead. Fine cracks spread through the reservoir ice, plates separate and drift toward the spillway, then dark meltwater begins flowing between them. Snow withdraws naturally from the rocky banks in irregular patches, revealing wet earth and muted green moss; subtle new buds appear on nearby birches while the evergreen forest remains consistent. By the final moment, the reservoir is mostly open water under a crisp spring morning, with small remaining ice floes and controlled water streaming through the gates. Preserve the exact dam design, valley geography, scale, and documentary realism throughout. Restrained mineral palette shifting from icy blue-gray to soft amber and fresh subdued green, physically accurate reflections and shadows, smooth cinematic motion, no dramatic flooding, no people, no signage, no text." \
duration=5 \
inputs.frameImages.0=https://assets.runware.ai/assets/inputs/28fb6105-52bc-4bba-9f91-14cc23df8558.jpg{
"taskType": "videoInference",
"taskUUID": "65cc4f0b-3559-4269-a2f9-28cec8bda609",
"model": "klingai:kling@o1",
"positivePrompt": "A slow, stabilized drone push continues toward the hydroelectric spillway as late-winter blue hour advances through a compressed spring thaw. Pale sunrise spills over the ridge, moving warm light across the concrete gates and catwalk while the valley’s cold blue shadows gradually recede. Clouds travel quickly overhead. Fine cracks spread through the reservoir ice, plates separate and drift toward the spillway, then dark meltwater begins flowing between them. Snow withdraws naturally from the rocky banks in irregular patches, revealing wet earth and muted green moss; subtle new buds appear on nearby birches while the evergreen forest remains consistent. By the final moment, the reservoir is mostly open water under a crisp spring morning, with small remaining ice floes and controlled water streaming through the gates. Preserve the exact dam design, valley geography, scale, and documentary realism throughout. Restrained mineral palette shifting from icy blue-gray to soft amber and fresh subdued green, physically accurate reflections and shadows, smooth cinematic motion, no dramatic flooding, no people, no signage, no text.",
"duration": 5,
"inputs": {
"frameImages": [
"https://assets.runware.ai/assets/inputs/28fb6105-52bc-4bba-9f91-14cc23df8558.jpg"
]
}
}Response
{
"taskType": "videoInference",
"taskUUID": "65cc4f0b-3559-4269-a2f9-28cec8bda609",
"videoUUID": "2bce1194-2f3a-4564-b07e-6f1dba691525",
"videoURL": "https://vm.runware.ai/video/os/a05d22/ws/5/vi/2bce1194-2f3a-4564-b07e-6f1dba691525.mp4",
"cost": 0.56
}first-last-frame
Ocularist Conference Headshot Retouch$1.12~2m 44simport { 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@o1',
positivePrompt: 'Create a polished 10-second vertical before-and-after headshot retouch film. Begin exactly on the supplied first-frame image and finish exactly on the supplied last-frame image. Keep the ocularist’s identity, facial proportions, expression, gaze, pose, clothing, crop, and camera position perfectly stable throughout. Use a locked-off camera with no zoom or reframing. Make the enhancement unfold coherently and almost imperceptibly: the cool, flat RAW exposure gradually becomes balanced; backdrop creases and uneven tones resolve smoothly; flyaway hairs settle; blouse lint disappears; temporary redness and under-eye discoloration are gently reduced; contrast, catchlights, and hair definition gain refinement. Preserve pores, freckles, fine lines, and realistic skin texture at every moment. The transition should feel like an expert high-end retoucher working in continuous passes, not a face morph, beauty-filter wipe, magical effect, or identity change. Maintain soft studio lighting and a restrained clinical-editorial palette of pale pistachio, navy, aubergine, and natural skin tones. End on a credible, publication-ready conference speaker headshot. No captions, interface elements, split screen, logos, or added objects.',
duration: 10,
inputs: {
frameImages: [
{
image: 'https://assets.runware.ai/assets/inputs/dd50c773-2e15-4bc3-9fa7-d7647bc4f036.jpg',
frame: 'first'
},
{
image: 'https://assets.runware.ai/assets/inputs/4d5f6173-2ba9-4b84-b414-559b86acfdff.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@o1",
"positivePrompt": "Create a polished 10-second vertical before-and-after headshot retouch film. Begin exactly on the supplied first-frame image and finish exactly on the supplied last-frame image. Keep the ocularist’s identity, facial proportions, expression, gaze, pose, clothing, crop, and camera position perfectly stable throughout. Use a locked-off camera with no zoom or reframing. Make the enhancement unfold coherently and almost imperceptibly: the cool, flat RAW exposure gradually becomes balanced; backdrop creases and uneven tones resolve smoothly; flyaway hairs settle; blouse lint disappears; temporary redness and under-eye discoloration are gently reduced; contrast, catchlights, and hair definition gain refinement. Preserve pores, freckles, fine lines, and realistic skin texture at every moment. The transition should feel like an expert high-end retoucher working in continuous passes, not a face morph, beauty-filter wipe, magical effect, or identity change. Maintain soft studio lighting and a restrained clinical-editorial palette of pale pistachio, navy, aubergine, and natural skin tones. End on a credible, publication-ready conference speaker headshot. No captions, interface elements, split screen, logos, or added objects.",
"duration": 10,
"inputs": {
"frameImages": [
{
"image": "https://assets.runware.ai/assets/inputs/dd50c773-2e15-4bc3-9fa7-d7647bc4f036.jpg",
"frame": "first"
},
{
"image": "https://assets.runware.ai/assets/inputs/4d5f6173-2ba9-4b84-b414-559b86acfdff.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": "54ccb0d5-b5a1-4887-8c59-a688cd5ca0dc",
"model": "klingai:kling@o1",
"positivePrompt": "Create a polished 10-second vertical before-and-after headshot retouch film. Begin exactly on the supplied first-frame image and finish exactly on the supplied last-frame image. Keep the ocularist’s identity, facial proportions, expression, gaze, pose, clothing, crop, and camera position perfectly stable throughout. Use a locked-off camera with no zoom or reframing. Make the enhancement unfold coherently and almost imperceptibly: the cool, flat RAW exposure gradually becomes balanced; backdrop creases and uneven tones resolve smoothly; flyaway hairs settle; blouse lint disappears; temporary redness and under-eye discoloration are gently reduced; contrast, catchlights, and hair definition gain refinement. Preserve pores, freckles, fine lines, and realistic skin texture at every moment. The transition should feel like an expert high-end retoucher working in continuous passes, not a face morph, beauty-filter wipe, magical effect, or identity change. Maintain soft studio lighting and a restrained clinical-editorial palette of pale pistachio, navy, aubergine, and natural skin tones. End on a credible, publication-ready conference speaker headshot. No captions, interface elements, split screen, logos, or added objects.",
"duration": 10,
"inputs": {
"frameImages": [
{
"image": "https://assets.runware.ai/assets/inputs/dd50c773-2e15-4bc3-9fa7-d7647bc4f036.jpg",
"frame": "first"
},
{
"image": "https://assets.runware.ai/assets/inputs/4d5f6173-2ba9-4b84-b414-559b86acfdff.jpg",
"frame": "last"
}
]
}
}
]'runware run klingai:kling@o1 \
positivePrompt="Create a polished 10-second vertical before-and-after headshot retouch film. Begin exactly on the supplied first-frame image and finish exactly on the supplied last-frame image. Keep the ocularist’s identity, facial proportions, expression, gaze, pose, clothing, crop, and camera position perfectly stable throughout. Use a locked-off camera with no zoom or reframing. Make the enhancement unfold coherently and almost imperceptibly: the cool, flat RAW exposure gradually becomes balanced; backdrop creases and uneven tones resolve smoothly; flyaway hairs settle; blouse lint disappears; temporary redness and under-eye discoloration are gently reduced; contrast, catchlights, and hair definition gain refinement. Preserve pores, freckles, fine lines, and realistic skin texture at every moment. The transition should feel like an expert high-end retoucher working in continuous passes, not a face morph, beauty-filter wipe, magical effect, or identity change. Maintain soft studio lighting and a restrained clinical-editorial palette of pale pistachio, navy, aubergine, and natural skin tones. End on a credible, publication-ready conference speaker headshot. No captions, interface elements, split screen, logos, or added objects." \
duration=10 \
inputs.frameImages.0.image=https://assets.runware.ai/assets/inputs/dd50c773-2e15-4bc3-9fa7-d7647bc4f036.jpg \
inputs.frameImages.0.frame=first \
inputs.frameImages.1.image=https://assets.runware.ai/assets/inputs/4d5f6173-2ba9-4b84-b414-559b86acfdff.jpg \
inputs.frameImages.1.frame=last{
"taskType": "videoInference",
"taskUUID": "54ccb0d5-b5a1-4887-8c59-a688cd5ca0dc",
"model": "klingai:kling@o1",
"positivePrompt": "Create a polished 10-second vertical before-and-after headshot retouch film. Begin exactly on the supplied first-frame image and finish exactly on the supplied last-frame image. Keep the ocularist’s identity, facial proportions, expression, gaze, pose, clothing, crop, and camera position perfectly stable throughout. Use a locked-off camera with no zoom or reframing. Make the enhancement unfold coherently and almost imperceptibly: the cool, flat RAW exposure gradually becomes balanced; backdrop creases and uneven tones resolve smoothly; flyaway hairs settle; blouse lint disappears; temporary redness and under-eye discoloration are gently reduced; contrast, catchlights, and hair definition gain refinement. Preserve pores, freckles, fine lines, and realistic skin texture at every moment. The transition should feel like an expert high-end retoucher working in continuous passes, not a face morph, beauty-filter wipe, magical effect, or identity change. Maintain soft studio lighting and a restrained clinical-editorial palette of pale pistachio, navy, aubergine, and natural skin tones. End on a credible, publication-ready conference speaker headshot. No captions, interface elements, split screen, logos, or added objects.",
"duration": 10,
"inputs": {
"frameImages": [
{
"image": "https://assets.runware.ai/assets/inputs/dd50c773-2e15-4bc3-9fa7-d7647bc4f036.jpg",
"frame": "first"
},
{
"image": "https://assets.runware.ai/assets/inputs/4d5f6173-2ba9-4b84-b414-559b86acfdff.jpg",
"frame": "last"
}
]
}
}Response
{
"taskType": "videoInference",
"taskUUID": "54ccb0d5-b5a1-4887-8c59-a688cd5ca0dc",
"videoUUID": "1f21f52c-29f5-44f0-8c2c-a906da7df15b",
"videoURL": "https://vm.runware.ai/video/os/a10dlim3/ws/5/vi/1f21f52c-29f5-44f0-8c2c-a906da7df15b.mp4",
"cost": 1.12
}reference-to-video
Desert Observatory Nightfall Visualization$1.18~5m 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@o1',
positivePrompt: 'Create a single uninterrupted 7-second portrait architectural visualization of the desert observatory changing from late afternoon to a clear stargazing night. Use the reference image as the authoritative source for the subject and visual identity: preserve the exact rammed-earth lodge geometry, white hemispherical telescope dome, recessed windows, black basalt courtyard, gravel approach, ochre terrain and distant volcanic ridgeline. Do not redesign, replace or distort the property. Use the reference video only to guide the stabilized forward push, subtle rising arc, lens character, premium architectural-film style and timing of the daylight-to-night transition; do not copy the building or landscape shown in that motion reference.\n\nBegin in dry amber late-afternoon sunlight with hard, credible shadows crossing the courtyard. As the camera advances and rises slightly, let the sun sink naturally: warm light grazes the earthen walls, shadows lengthen, the sky passes through muted coral sunset into saturated cobalt blue hour, then settles into a pristine dark desert night. Recessed pathway lights and soft warm interior lights switch on progressively and cast physically accurate pools of light without overexposure. End with the observatory warmly illuminated beneath a dense but realistic field of stars and a faint Milky Way, while the white dome remains clearly legible.\n\nCompose vertically with the gravel path leading from the lower foreground, the lodge and dome occupying the central lower two-thirds, and generous sky above for the night reveal. Smooth continuous camera motion, seamless temporal relighting, realistic exposure adaptation, consistent architecture and terrain, restrained luxury travel cinematography, natural color science, crisp material detail. No people, vehicles, lettering, logos, cuts, flicker, object morphing or sudden weather changes.',
width: 1080,
height: 1920,
duration: 7,
inputs: {
referenceImages: [
'https://assets.runware.ai/assets/inputs/38b3fed7-60a2-4ab6-92ec-4f2a965e5ec7.jpg'
],
referenceVideos: [
'https://assets.runware.ai/assets/inputs/f5b771a4-a9c1-4bbe-a148-41d6cd4b48b4.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@o1",
"positivePrompt": "Create a single uninterrupted 7-second portrait architectural visualization of the desert observatory changing from late afternoon to a clear stargazing night. Use the reference image as the authoritative source for the subject and visual identity: preserve the exact rammed-earth lodge geometry, white hemispherical telescope dome, recessed windows, black basalt courtyard, gravel approach, ochre terrain and distant volcanic ridgeline. Do not redesign, replace or distort the property. Use the reference video only to guide the stabilized forward push, subtle rising arc, lens character, premium architectural-film style and timing of the daylight-to-night transition; do not copy the building or landscape shown in that motion reference.\n\nBegin in dry amber late-afternoon sunlight with hard, credible shadows crossing the courtyard. As the camera advances and rises slightly, let the sun sink naturally: warm light grazes the earthen walls, shadows lengthen, the sky passes through muted coral sunset into saturated cobalt blue hour, then settles into a pristine dark desert night. Recessed pathway lights and soft warm interior lights switch on progressively and cast physically accurate pools of light without overexposure. End with the observatory warmly illuminated beneath a dense but realistic field of stars and a faint Milky Way, while the white dome remains clearly legible.\n\nCompose vertically with the gravel path leading from the lower foreground, the lodge and dome occupying the central lower two-thirds, and generous sky above for the night reveal. Smooth continuous camera motion, seamless temporal relighting, realistic exposure adaptation, consistent architecture and terrain, restrained luxury travel cinematography, natural color science, crisp material detail. No people, vehicles, lettering, logos, cuts, flicker, object morphing or sudden weather changes.",
"width": 1080,
"height": 1920,
"duration": 7,
"inputs": {
"referenceImages": [
"https://assets.runware.ai/assets/inputs/38b3fed7-60a2-4ab6-92ec-4f2a965e5ec7.jpg"
],
"referenceVideos": [
"https://assets.runware.ai/assets/inputs/f5b771a4-a9c1-4bbe-a148-41d6cd4b48b4.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": "fe8deb36-2309-4b50-99bf-cf7f7a0c4f76",
"model": "klingai:kling@o1",
"positivePrompt": "Create a single uninterrupted 7-second portrait architectural visualization of the desert observatory changing from late afternoon to a clear stargazing night. Use the reference image as the authoritative source for the subject and visual identity: preserve the exact rammed-earth lodge geometry, white hemispherical telescope dome, recessed windows, black basalt courtyard, gravel approach, ochre terrain and distant volcanic ridgeline. Do not redesign, replace or distort the property. Use the reference video only to guide the stabilized forward push, subtle rising arc, lens character, premium architectural-film style and timing of the daylight-to-night transition; do not copy the building or landscape shown in that motion reference.\n\nBegin in dry amber late-afternoon sunlight with hard, credible shadows crossing the courtyard. As the camera advances and rises slightly, let the sun sink naturally: warm light grazes the earthen walls, shadows lengthen, the sky passes through muted coral sunset into saturated cobalt blue hour, then settles into a pristine dark desert night. Recessed pathway lights and soft warm interior lights switch on progressively and cast physically accurate pools of light without overexposure. End with the observatory warmly illuminated beneath a dense but realistic field of stars and a faint Milky Way, while the white dome remains clearly legible.\n\nCompose vertically with the gravel path leading from the lower foreground, the lodge and dome occupying the central lower two-thirds, and generous sky above for the night reveal. Smooth continuous camera motion, seamless temporal relighting, realistic exposure adaptation, consistent architecture and terrain, restrained luxury travel cinematography, natural color science, crisp material detail. No people, vehicles, lettering, logos, cuts, flicker, object morphing or sudden weather changes.",
"width": 1080,
"height": 1920,
"duration": 7,
"inputs": {
"referenceImages": [
"https://assets.runware.ai/assets/inputs/38b3fed7-60a2-4ab6-92ec-4f2a965e5ec7.jpg"
],
"referenceVideos": [
"https://assets.runware.ai/assets/inputs/f5b771a4-a9c1-4bbe-a148-41d6cd4b48b4.mp4"
]
}
}
]'runware run klingai:kling@o1 \
positivePrompt="Create a single uninterrupted 7-second portrait architectural visualization of the desert observatory changing from late afternoon to a clear stargazing night. Use the reference image as the authoritative source for the subject and visual identity: preserve the exact rammed-earth lodge geometry, white hemispherical telescope dome, recessed windows, black basalt courtyard, gravel approach, ochre terrain and distant volcanic ridgeline. Do not redesign, replace or distort the property. Use the reference video only to guide the stabilized forward push, subtle rising arc, lens character, premium architectural-film style and timing of the daylight-to-night transition; do not copy the building or landscape shown in that motion reference.
Begin in dry amber late-afternoon sunlight with hard, credible shadows crossing the courtyard. As the camera advances and rises slightly, let the sun sink naturally: warm light grazes the earthen walls, shadows lengthen, the sky passes through muted coral sunset into saturated cobalt blue hour, then settles into a pristine dark desert night. Recessed pathway lights and soft warm interior lights switch on progressively and cast physically accurate pools of light without overexposure. End with the observatory warmly illuminated beneath a dense but realistic field of stars and a faint Milky Way, while the white dome remains clearly legible.
Compose vertically with the gravel path leading from the lower foreground, the lodge and dome occupying the central lower two-thirds, and generous sky above for the night reveal. Smooth continuous camera motion, seamless temporal relighting, realistic exposure adaptation, consistent architecture and terrain, restrained luxury travel cinematography, natural color science, crisp material detail. No people, vehicles, lettering, logos, cuts, flicker, object morphing or sudden weather changes." \
width=1080 \
height=1920 \
duration=7 \
inputs.referenceImages.0=https://assets.runware.ai/assets/inputs/38b3fed7-60a2-4ab6-92ec-4f2a965e5ec7.jpg \
inputs.referenceVideos.0=https://assets.runware.ai/assets/inputs/f5b771a4-a9c1-4bbe-a148-41d6cd4b48b4.mp4{
"taskType": "videoInference",
"taskUUID": "fe8deb36-2309-4b50-99bf-cf7f7a0c4f76",
"model": "klingai:kling@o1",
"positivePrompt": "Create a single uninterrupted 7-second portrait architectural visualization of the desert observatory changing from late afternoon to a clear stargazing night. Use the reference image as the authoritative source for the subject and visual identity: preserve the exact rammed-earth lodge geometry, white hemispherical telescope dome, recessed windows, black basalt courtyard, gravel approach, ochre terrain and distant volcanic ridgeline. Do not redesign, replace or distort the property. Use the reference video only to guide the stabilized forward push, subtle rising arc, lens character, premium architectural-film style and timing of the daylight-to-night transition; do not copy the building or landscape shown in that motion reference.\n\nBegin in dry amber late-afternoon sunlight with hard, credible shadows crossing the courtyard. As the camera advances and rises slightly, let the sun sink naturally: warm light grazes the earthen walls, shadows lengthen, the sky passes through muted coral sunset into saturated cobalt blue hour, then settles into a pristine dark desert night. Recessed pathway lights and soft warm interior lights switch on progressively and cast physically accurate pools of light without overexposure. End with the observatory warmly illuminated beneath a dense but realistic field of stars and a faint Milky Way, while the white dome remains clearly legible.\n\nCompose vertically with the gravel path leading from the lower foreground, the lodge and dome occupying the central lower two-thirds, and generous sky above for the night reveal. Smooth continuous camera motion, seamless temporal relighting, realistic exposure adaptation, consistent architecture and terrain, restrained luxury travel cinematography, natural color science, crisp material detail. No people, vehicles, lettering, logos, cuts, flicker, object morphing or sudden weather changes.",
"width": 1080,
"height": 1920,
"duration": 7,
"inputs": {
"referenceImages": [
"https://assets.runware.ai/assets/inputs/38b3fed7-60a2-4ab6-92ec-4f2a965e5ec7.jpg"
],
"referenceVideos": [
"https://assets.runware.ai/assets/inputs/f5b771a4-a9c1-4bbe-a148-41d6cd4b48b4.mp4"
]
}
}Response
{
"taskType": "videoInference",
"taskUUID": "fe8deb36-2309-4b50-99bf-cf7f7a0c4f76",
"videoUUID": "4c3ef9e1-b6e2-4c03-ba2d-cdce9f4d31f2",
"videoURL": "https://vm.runware.ai/video/os/a09dlim3/ws/5/vi/4c3ef9e1-b6e2-4c03-ba2d-cdce9f4d31f2.mp4",
"cost": 1.176
}video-edit
Historic Cinema Facade Cleanup$1.01~3m 2simport { 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@o1',
positivePrompt: 'Edit the source video into finished heritage-tourism footage. Completely remove the metal scaffolding, construction sheeting, yellow cherry picker, temporary fencing, orange barriers, loose cables, and all associated restoration clutter from every frame. Use the reference image as visual guidance to reconstruct the cinema architecture hidden behind them: continuous cream sandstone fins, curved canopy edges, brass-framed doors, ribbed glass windows, and precise geometric Art Deco reliefs. The reconstructed facade must remain spatially stable and temporally coherent throughout the moving tracking shot, with correct perspective, parallax, rain-darkened surfaces, reflections, and natural occlusion when pedestrians and the cyclist pass in front. Preserve the source camera path, timing, lens character, pedestrian movement, cyclist movement, rainfall, warm marquee glow, cool blue-hour palette, and wet-pavement reflections. Do not alter or remove people, vehicles, neighboring buildings, or street furniture unrelated to the restoration work. Maintain a polished but realistic architectural-documentary finish with no flicker, warping, texture crawling, or newly invented signage. Preserve the original synchronized sound unchanged.',
providerSettings: {
klingai: {
keepOriginalSound: true
}
},
inputs: {
video: 'https://assets.runware.ai/assets/inputs/0e639ac5-62b9-4f5e-9295-b6e5c9e193fc.mp4',
referenceImages: [
'https://assets.runware.ai/assets/inputs/90c9c697-3d98-4c1c-b8fa-552e3f97f0bb.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@o1",
"positivePrompt": "Edit the source video into finished heritage-tourism footage. Completely remove the metal scaffolding, construction sheeting, yellow cherry picker, temporary fencing, orange barriers, loose cables, and all associated restoration clutter from every frame. Use the reference image as visual guidance to reconstruct the cinema architecture hidden behind them: continuous cream sandstone fins, curved canopy edges, brass-framed doors, ribbed glass windows, and precise geometric Art Deco reliefs. The reconstructed facade must remain spatially stable and temporally coherent throughout the moving tracking shot, with correct perspective, parallax, rain-darkened surfaces, reflections, and natural occlusion when pedestrians and the cyclist pass in front. Preserve the source camera path, timing, lens character, pedestrian movement, cyclist movement, rainfall, warm marquee glow, cool blue-hour palette, and wet-pavement reflections. Do not alter or remove people, vehicles, neighboring buildings, or street furniture unrelated to the restoration work. Maintain a polished but realistic architectural-documentary finish with no flicker, warping, texture crawling, or newly invented signage. Preserve the original synchronized sound unchanged.",
"providerSettings": {
"klingai": {
"keepOriginalSound": True
}
},
"inputs": {
"video": "https://assets.runware.ai/assets/inputs/0e639ac5-62b9-4f5e-9295-b6e5c9e193fc.mp4",
"referenceImages": [
"https://assets.runware.ai/assets/inputs/90c9c697-3d98-4c1c-b8fa-552e3f97f0bb.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": "7d3ab848-b6e2-4f1d-a710-1e168ac68ab5",
"model": "klingai:kling@o1",
"positivePrompt": "Edit the source video into finished heritage-tourism footage. Completely remove the metal scaffolding, construction sheeting, yellow cherry picker, temporary fencing, orange barriers, loose cables, and all associated restoration clutter from every frame. Use the reference image as visual guidance to reconstruct the cinema architecture hidden behind them: continuous cream sandstone fins, curved canopy edges, brass-framed doors, ribbed glass windows, and precise geometric Art Deco reliefs. The reconstructed facade must remain spatially stable and temporally coherent throughout the moving tracking shot, with correct perspective, parallax, rain-darkened surfaces, reflections, and natural occlusion when pedestrians and the cyclist pass in front. Preserve the source camera path, timing, lens character, pedestrian movement, cyclist movement, rainfall, warm marquee glow, cool blue-hour palette, and wet-pavement reflections. Do not alter or remove people, vehicles, neighboring buildings, or street furniture unrelated to the restoration work. Maintain a polished but realistic architectural-documentary finish with no flicker, warping, texture crawling, or newly invented signage. Preserve the original synchronized sound unchanged.",
"providerSettings": {
"klingai": {
"keepOriginalSound": true
}
},
"inputs": {
"video": "https://assets.runware.ai/assets/inputs/0e639ac5-62b9-4f5e-9295-b6e5c9e193fc.mp4",
"referenceImages": [
"https://assets.runware.ai/assets/inputs/90c9c697-3d98-4c1c-b8fa-552e3f97f0bb.jpg"
]
}
}
]'runware run klingai:kling@o1 \
positivePrompt="Edit the source video into finished heritage-tourism footage. Completely remove the metal scaffolding, construction sheeting, yellow cherry picker, temporary fencing, orange barriers, loose cables, and all associated restoration clutter from every frame. Use the reference image as visual guidance to reconstruct the cinema architecture hidden behind them: continuous cream sandstone fins, curved canopy edges, brass-framed doors, ribbed glass windows, and precise geometric Art Deco reliefs. The reconstructed facade must remain spatially stable and temporally coherent throughout the moving tracking shot, with correct perspective, parallax, rain-darkened surfaces, reflections, and natural occlusion when pedestrians and the cyclist pass in front. Preserve the source camera path, timing, lens character, pedestrian movement, cyclist movement, rainfall, warm marquee glow, cool blue-hour palette, and wet-pavement reflections. Do not alter or remove people, vehicles, neighboring buildings, or street furniture unrelated to the restoration work. Maintain a polished but realistic architectural-documentary finish with no flicker, warping, texture crawling, or newly invented signage. Preserve the original synchronized sound unchanged." \
providerSettings.klingai.keepOriginalSound=true \
inputs.video=https://assets.runware.ai/assets/inputs/0e639ac5-62b9-4f5e-9295-b6e5c9e193fc.mp4 \
inputs.referenceImages.0=https://assets.runware.ai/assets/inputs/90c9c697-3d98-4c1c-b8fa-552e3f97f0bb.jpg{
"taskType": "videoInference",
"taskUUID": "7d3ab848-b6e2-4f1d-a710-1e168ac68ab5",
"model": "klingai:kling@o1",
"positivePrompt": "Edit the source video into finished heritage-tourism footage. Completely remove the metal scaffolding, construction sheeting, yellow cherry picker, temporary fencing, orange barriers, loose cables, and all associated restoration clutter from every frame. Use the reference image as visual guidance to reconstruct the cinema architecture hidden behind them: continuous cream sandstone fins, curved canopy edges, brass-framed doors, ribbed glass windows, and precise geometric Art Deco reliefs. The reconstructed facade must remain spatially stable and temporally coherent throughout the moving tracking shot, with correct perspective, parallax, rain-darkened surfaces, reflections, and natural occlusion when pedestrians and the cyclist pass in front. Preserve the source camera path, timing, lens character, pedestrian movement, cyclist movement, rainfall, warm marquee glow, cool blue-hour palette, and wet-pavement reflections. Do not alter or remove people, vehicles, neighboring buildings, or street furniture unrelated to the restoration work. Maintain a polished but realistic architectural-documentary finish with no flicker, warping, texture crawling, or newly invented signage. Preserve the original synchronized sound unchanged.",
"providerSettings": {
"klingai": {
"keepOriginalSound": true
}
},
"inputs": {
"video": "https://assets.runware.ai/assets/inputs/0e639ac5-62b9-4f5e-9295-b6e5c9e193fc.mp4",
"referenceImages": [
"https://assets.runware.ai/assets/inputs/90c9c697-3d98-4c1c-b8fa-552e3f97f0bb.jpg"
]
}
}Response
{
"taskType": "videoInference",
"taskUUID": "7d3ab848-b6e2-4f1d-a710-1e168ac68ab5",
"videoUUID": "d282ed1c-e2be-4484-a951-2450b45f05a7",
"videoURL": "https://vm.runware.ai/video/os/a06dlim3/ws/5/vi/d282ed1c-e2be-4484-a951-2450b45f05a7.mp4",
"cost": 1.008
}