live
MODEL IDklingai:kling-video@4.0

Kling VIDEO 4.0

Kling AI
by

Kling VIDEO 4.0 is a unified video model that generates 1080p clips of up to 30 seconds from text, images, reference videos, and reusable elements. It follows up to 10 keyframes per clip, including first, middle, and last frames, and combines reference images, reference videos, and elements in a single request to hold subjects, style, and motion. It also edits an existing video from a prompt, which suits long narrative shots, storyboard-driven sequences, and reference-driven production work.

Kling VIDEO 4.0

text-to-video

Whale Skeleton Rig Cleanup Plate$2.35~10m 16s
Try in Playground
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:kling-video@4.0',
  positivePrompt: 'Create a finished, photorealistic VFX cleanup plate for a natural-history museum documentary. Inside a vast contemporary marine-life gallery after closing, a complete blue whale skeleton hangs high above a polished dark concrete floor. The articulated bones are anatomically accurate and remain perfectly stable. The original production setup used suspension cables, temporary lift stands, clamps, floor tape, work lights, and museum technicians, but the delivered shot must show all of that modern rigging and crew completely removed. Reconstruct uninterrupted ceiling architecture, open gallery space, floor texture, reflections, contact shading, and background exhibits wherever equipment would have appeared. No wires, rods, cranes, ladders, stands, tools, tape marks, people, silhouettes, camera reflections, or cleanup artifacts anywhere in frame.\n\nUse a single continuous cinematic shot. Begin with a wide three-quarter view from slightly below the whale\'s skull, then perform a very slow, smooth dolly and shallow arc toward the rib cage. Maintain restrained parallax through the vertebrae while keeping the entire skeleton comfortably within the 16:9 landscape composition. Natural motion-blur behavior, stable bone geometry, consistent scale, and no cuts or speed changes. The skeleton itself does not move; only the camera moves.\n\nArt direction: quiet institutional grandeur, midnight blue ambient light from the gallery, narrow warm amber conservation lights grazing the aged ivory bone surfaces, deep charcoal architecture, subtle reflections on the floor, gentle atmospheric depth, realistic museum-grade illumination, refined documentary cinematography rather than fantasy. Preserve believable shadows even though the suspension system is absent. No labels, signage, captions, logos, or readable text.\n\nNative sound only: low museum HVAC hum, faint building creaks, soft distant electrical ambience, and subtle camera-dolly room tone. No dialogue and no music.',
  width: 1920,
  height: 1080
})
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@4.0",
            "positivePrompt": "Create a finished, photorealistic VFX cleanup plate for a natural-history museum documentary. Inside a vast contemporary marine-life gallery after closing, a complete blue whale skeleton hangs high above a polished dark concrete floor. The articulated bones are anatomically accurate and remain perfectly stable. The original production setup used suspension cables, temporary lift stands, clamps, floor tape, work lights, and museum technicians, but the delivered shot must show all of that modern rigging and crew completely removed. Reconstruct uninterrupted ceiling architecture, open gallery space, floor texture, reflections, contact shading, and background exhibits wherever equipment would have appeared. No wires, rods, cranes, ladders, stands, tools, tape marks, people, silhouettes, camera reflections, or cleanup artifacts anywhere in frame.\n\nUse a single continuous cinematic shot. Begin with a wide three-quarter view from slightly below the whale's skull, then perform a very slow, smooth dolly and shallow arc toward the rib cage. Maintain restrained parallax through the vertebrae while keeping the entire skeleton comfortably within the 16:9 landscape composition. Natural motion-blur behavior, stable bone geometry, consistent scale, and no cuts or speed changes. The skeleton itself does not move; only the camera moves.\n\nArt direction: quiet institutional grandeur, midnight blue ambient light from the gallery, narrow warm amber conservation lights grazing the aged ivory bone surfaces, deep charcoal architecture, subtle reflections on the floor, gentle atmospheric depth, realistic museum-grade illumination, refined documentary cinematography rather than fantasy. Preserve believable shadows even though the suspension system is absent. No labels, signage, captions, logos, or readable text.\n\nNative sound only: low museum HVAC hum, faint building creaks, soft distant electrical ambience, and subtle camera-dolly room tone. No dialogue and no music.",
            "width": 1920,
            "height": 1080
        })


asyncio.run(main())
curl https://api.runware.ai/v1 \
  -H "Authorization: Bearer $RUNWARE_API_KEY" \
  -H "Content-Type: application/json" \
  -d '[
    {
      "taskType": "videoInference",
      "taskUUID": "04433265-4a7e-4f5a-b4d9-45c7a723af39",
      "model": "klingai:kling-video@4.0",
      "positivePrompt": "Create a finished, photorealistic VFX cleanup plate for a natural-history museum documentary. Inside a vast contemporary marine-life gallery after closing, a complete blue whale skeleton hangs high above a polished dark concrete floor. The articulated bones are anatomically accurate and remain perfectly stable. The original production setup used suspension cables, temporary lift stands, clamps, floor tape, work lights, and museum technicians, but the delivered shot must show all of that modern rigging and crew completely removed. Reconstruct uninterrupted ceiling architecture, open gallery space, floor texture, reflections, contact shading, and background exhibits wherever equipment would have appeared. No wires, rods, cranes, ladders, stands, tools, tape marks, people, silhouettes, camera reflections, or cleanup artifacts anywhere in frame.\n\nUse a single continuous cinematic shot. Begin with a wide three-quarter view from slightly below the whale's skull, then perform a very slow, smooth dolly and shallow arc toward the rib cage. Maintain restrained parallax through the vertebrae while keeping the entire skeleton comfortably within the 16:9 landscape composition. Natural motion-blur behavior, stable bone geometry, consistent scale, and no cuts or speed changes. The skeleton itself does not move; only the camera moves.\n\nArt direction: quiet institutional grandeur, midnight blue ambient light from the gallery, narrow warm amber conservation lights grazing the aged ivory bone surfaces, deep charcoal architecture, subtle reflections on the floor, gentle atmospheric depth, realistic museum-grade illumination, refined documentary cinematography rather than fantasy. Preserve believable shadows even though the suspension system is absent. No labels, signage, captions, logos, or readable text.\n\nNative sound only: low museum HVAC hum, faint building creaks, soft distant electrical ambience, and subtle camera-dolly room tone. No dialogue and no music.",
      "width": 1920,
      "height": 1080
    }
  ]'
runware run klingai:kling-video@4.0 \
  positivePrompt="Create a finished, photorealistic VFX cleanup plate for a natural-history museum documentary. Inside a vast contemporary marine-life gallery after closing, a complete blue whale skeleton hangs high above a polished dark concrete floor. The articulated bones are anatomically accurate and remain perfectly stable. The original production setup used suspension cables, temporary lift stands, clamps, floor tape, work lights, and museum technicians, but the delivered shot must show all of that modern rigging and crew completely removed. Reconstruct uninterrupted ceiling architecture, open gallery space, floor texture, reflections, contact shading, and background exhibits wherever equipment would have appeared. No wires, rods, cranes, ladders, stands, tools, tape marks, people, silhouettes, camera reflections, or cleanup artifacts anywhere in frame.

Use a single continuous cinematic shot. Begin with a wide three-quarter view from slightly below the whale's skull, then perform a very slow, smooth dolly and shallow arc toward the rib cage. Maintain restrained parallax through the vertebrae while keeping the entire skeleton comfortably within the 16:9 landscape composition. Natural motion-blur behavior, stable bone geometry, consistent scale, and no cuts or speed changes. The skeleton itself does not move; only the camera moves.

Art direction: quiet institutional grandeur, midnight blue ambient light from the gallery, narrow warm amber conservation lights grazing the aged ivory bone surfaces, deep charcoal architecture, subtle reflections on the floor, gentle atmospheric depth, realistic museum-grade illumination, refined documentary cinematography rather than fantasy. Preserve believable shadows even though the suspension system is absent. No labels, signage, captions, logos, or readable text.

Native sound only: low museum HVAC hum, faint building creaks, soft distant electrical ambience, and subtle camera-dolly room tone. No dialogue and no music." \
  width=1920 \
  height=1080
{
  "taskType": "videoInference",
  "taskUUID": "04433265-4a7e-4f5a-b4d9-45c7a723af39",
  "model": "klingai:kling-video@4.0",
  "positivePrompt": "Create a finished, photorealistic VFX cleanup plate for a natural-history museum documentary. Inside a vast contemporary marine-life gallery after closing, a complete blue whale skeleton hangs high above a polished dark concrete floor. The articulated bones are anatomically accurate and remain perfectly stable. The original production setup used suspension cables, temporary lift stands, clamps, floor tape, work lights, and museum technicians, but the delivered shot must show all of that modern rigging and crew completely removed. Reconstruct uninterrupted ceiling architecture, open gallery space, floor texture, reflections, contact shading, and background exhibits wherever equipment would have appeared. No wires, rods, cranes, ladders, stands, tools, tape marks, people, silhouettes, camera reflections, or cleanup artifacts anywhere in frame.\n\nUse a single continuous cinematic shot. Begin with a wide three-quarter view from slightly below the whale's skull, then perform a very slow, smooth dolly and shallow arc toward the rib cage. Maintain restrained parallax through the vertebrae while keeping the entire skeleton comfortably within the 16:9 landscape composition. Natural motion-blur behavior, stable bone geometry, consistent scale, and no cuts or speed changes. The skeleton itself does not move; only the camera moves.\n\nArt direction: quiet institutional grandeur, midnight blue ambient light from the gallery, narrow warm amber conservation lights grazing the aged ivory bone surfaces, deep charcoal architecture, subtle reflections on the floor, gentle atmospheric depth, realistic museum-grade illumination, refined documentary cinematography rather than fantasy. Preserve believable shadows even though the suspension system is absent. No labels, signage, captions, logos, or readable text.\n\nNative sound only: low museum HVAC hum, faint building creaks, soft distant electrical ambience, and subtle camera-dolly room tone. No dialogue and no music.",
  "width": 1920,
  "height": 1080
}
Response
{
  "taskType": "videoInference",
  "taskUUID": "04433265-4a7e-4f5a-b4d9-45c7a723af39",
  "videoUUID": "6e54e2a5-6aa5-4a9f-98fb-e3a8349d0bed",
  "videoURL": "https://vm.runware.ai/video/os/a06dlim3/ws/5/vi/6e54e2a5-6aa5-4a9f-98fb-e3a8349d0bed.mp4",
  "cost": 2.35
}

first-frame

Technical Apiary Suit Product Reel$2.35~27m 35s
Try in Playground
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:kling-video@4.0',
  positivePrompt: 'Continue directly from <<<image_1>>> as a polished vertical product showcase reel for premium commercial apiary workwear. Preserve the same beekeeper, exact matte-ivory suit construction, structured amber-mesh hood, charcoal sealed zippers, reinforced panels, amber gloves and boots throughout. Begin on the exact supplied full-body composition. The beekeeper raises one gloved hand to adjust the hood collar, then turns slowly into a strong three-quarter stance as the camera makes a smooth controlled push-in. Use elegant match cuts into tactile macro views of the fine protective mesh, waterproof zipper teeth, double-stitched elbow reinforcement and articulated knee fabric flexing naturally. Return to a full-body side profile as she takes two deliberate steps between translucent honey-amber resin panels; warm light travels across the technical fabric and reveals its weave without making it glossy. Finish with a composed three-quarter hero pose, the hood and complete garment clearly readable. Art direction is refined industrial editorial rather than rustic farm imagery: brushed steel, amber resin, soft atmospheric apiary smoke, precise geometric shadows, ivory, amber and graphite palette. Photorealistic commercial fashion cinematography, realistic anatomy and fabric physics, stable garment details, clean premium color grade, restrained camera motion, crisp material definition, no text, no captions, no logos, no packaging. Native audio: subtle textile movement, quiet zipper detail, distant controlled bee ambience and a minimal low electronic pulse; no speech.',
  resolution: '1080p',
  inputs: {
    frameImages: [
      {
        image: 'https://assets.runware.ai/assets/inputs/6f806424-9146-45b6-b7d7-81f016dd1611.jpg',
        frame: 'first'
      }
    ]
  }
})
import asyncio
import os

from runware import Runware


async def main():
    async with Runware(api_key=os.environ["RUNWARE_API_KEY"]) as client:
        results = await client.run({
            "model": "klingai:kling-video@4.0",
            "positivePrompt": "Continue directly from <<<image_1>>> as a polished vertical product showcase reel for premium commercial apiary workwear. Preserve the same beekeeper, exact matte-ivory suit construction, structured amber-mesh hood, charcoal sealed zippers, reinforced panels, amber gloves and boots throughout. Begin on the exact supplied full-body composition. The beekeeper raises one gloved hand to adjust the hood collar, then turns slowly into a strong three-quarter stance as the camera makes a smooth controlled push-in. Use elegant match cuts into tactile macro views of the fine protective mesh, waterproof zipper teeth, double-stitched elbow reinforcement and articulated knee fabric flexing naturally. Return to a full-body side profile as she takes two deliberate steps between translucent honey-amber resin panels; warm light travels across the technical fabric and reveals its weave without making it glossy. Finish with a composed three-quarter hero pose, the hood and complete garment clearly readable. Art direction is refined industrial editorial rather than rustic farm imagery: brushed steel, amber resin, soft atmospheric apiary smoke, precise geometric shadows, ivory, amber and graphite palette. Photorealistic commercial fashion cinematography, realistic anatomy and fabric physics, stable garment details, clean premium color grade, restrained camera motion, crisp material definition, no text, no captions, no logos, no packaging. Native audio: subtle textile movement, quiet zipper detail, distant controlled bee ambience and a minimal low electronic pulse; no speech.",
            "resolution": "1080p",
            "inputs": {
                "frameImages": [
                    {
                        "image": "https://assets.runware.ai/assets/inputs/6f806424-9146-45b6-b7d7-81f016dd1611.jpg",
                        "frame": "first"
                    }
                ]
            }
        })


asyncio.run(main())
curl https://api.runware.ai/v1 \
  -H "Authorization: Bearer $RUNWARE_API_KEY" \
  -H "Content-Type: application/json" \
  -d '[
    {
      "taskType": "videoInference",
      "taskUUID": "6136de9f-543a-41fe-9c6c-84e4b1367099",
      "model": "klingai:kling-video@4.0",
      "positivePrompt": "Continue directly from <<<image_1>>> as a polished vertical product showcase reel for premium commercial apiary workwear. Preserve the same beekeeper, exact matte-ivory suit construction, structured amber-mesh hood, charcoal sealed zippers, reinforced panels, amber gloves and boots throughout. Begin on the exact supplied full-body composition. The beekeeper raises one gloved hand to adjust the hood collar, then turns slowly into a strong three-quarter stance as the camera makes a smooth controlled push-in. Use elegant match cuts into tactile macro views of the fine protective mesh, waterproof zipper teeth, double-stitched elbow reinforcement and articulated knee fabric flexing naturally. Return to a full-body side profile as she takes two deliberate steps between translucent honey-amber resin panels; warm light travels across the technical fabric and reveals its weave without making it glossy. Finish with a composed three-quarter hero pose, the hood and complete garment clearly readable. Art direction is refined industrial editorial rather than rustic farm imagery: brushed steel, amber resin, soft atmospheric apiary smoke, precise geometric shadows, ivory, amber and graphite palette. Photorealistic commercial fashion cinematography, realistic anatomy and fabric physics, stable garment details, clean premium color grade, restrained camera motion, crisp material definition, no text, no captions, no logos, no packaging. Native audio: subtle textile movement, quiet zipper detail, distant controlled bee ambience and a minimal low electronic pulse; no speech.",
      "resolution": "1080p",
      "inputs": {
        "frameImages": [
          {
            "image": "https://assets.runware.ai/assets/inputs/6f806424-9146-45b6-b7d7-81f016dd1611.jpg",
            "frame": "first"
          }
        ]
      }
    }
  ]'
runware run klingai:kling-video@4.0 \
  positivePrompt="Continue directly from <<<image_1>>> as a polished vertical product showcase reel for premium commercial apiary workwear. Preserve the same beekeeper, exact matte-ivory suit construction, structured amber-mesh hood, charcoal sealed zippers, reinforced panels, amber gloves and boots throughout. Begin on the exact supplied full-body composition. The beekeeper raises one gloved hand to adjust the hood collar, then turns slowly into a strong three-quarter stance as the camera makes a smooth controlled push-in. Use elegant match cuts into tactile macro views of the fine protective mesh, waterproof zipper teeth, double-stitched elbow reinforcement and articulated knee fabric flexing naturally. Return to a full-body side profile as she takes two deliberate steps between translucent honey-amber resin panels; warm light travels across the technical fabric and reveals its weave without making it glossy. Finish with a composed three-quarter hero pose, the hood and complete garment clearly readable. Art direction is refined industrial editorial rather than rustic farm imagery: brushed steel, amber resin, soft atmospheric apiary smoke, precise geometric shadows, ivory, amber and graphite palette. Photorealistic commercial fashion cinematography, realistic anatomy and fabric physics, stable garment details, clean premium color grade, restrained camera motion, crisp material definition, no text, no captions, no logos, no packaging. Native audio: subtle textile movement, quiet zipper detail, distant controlled bee ambience and a minimal low electronic pulse; no speech." \
  resolution=1080p \
  inputs.frameImages.0.image=https://assets.runware.ai/assets/inputs/6f806424-9146-45b6-b7d7-81f016dd1611.jpg \
  inputs.frameImages.0.frame=first
{
  "taskType": "videoInference",
  "taskUUID": "6136de9f-543a-41fe-9c6c-84e4b1367099",
  "model": "klingai:kling-video@4.0",
  "positivePrompt": "Continue directly from <<<image_1>>> as a polished vertical product showcase reel for premium commercial apiary workwear. Preserve the same beekeeper, exact matte-ivory suit construction, structured amber-mesh hood, charcoal sealed zippers, reinforced panels, amber gloves and boots throughout. Begin on the exact supplied full-body composition. The beekeeper raises one gloved hand to adjust the hood collar, then turns slowly into a strong three-quarter stance as the camera makes a smooth controlled push-in. Use elegant match cuts into tactile macro views of the fine protective mesh, waterproof zipper teeth, double-stitched elbow reinforcement and articulated knee fabric flexing naturally. Return to a full-body side profile as she takes two deliberate steps between translucent honey-amber resin panels; warm light travels across the technical fabric and reveals its weave without making it glossy. Finish with a composed three-quarter hero pose, the hood and complete garment clearly readable. Art direction is refined industrial editorial rather than rustic farm imagery: brushed steel, amber resin, soft atmospheric apiary smoke, precise geometric shadows, ivory, amber and graphite palette. Photorealistic commercial fashion cinematography, realistic anatomy and fabric physics, stable garment details, clean premium color grade, restrained camera motion, crisp material definition, no text, no captions, no logos, no packaging. Native audio: subtle textile movement, quiet zipper detail, distant controlled bee ambience and a minimal low electronic pulse; no speech.",
  "resolution": "1080p",
  "inputs": {
    "frameImages": [
      {
        "image": "https://assets.runware.ai/assets/inputs/6f806424-9146-45b6-b7d7-81f016dd1611.jpg",
        "frame": "first"
      }
    ]
  }
}
Response
{
  "taskType": "videoInference",
  "taskUUID": "6136de9f-543a-41fe-9c6c-84e4b1367099",
  "videoUUID": "365f4f2f-4914-472a-9585-896932fc16c0",
  "videoURL": "https://vm.runware.ai/video/os/a05d22/ws/5/vi/365f4f2f-4914-472a-9585-896932fc16c0.mp4",
  "cost": 2.35
}

first-last-frame

Urban Tree Pathology Presenter Clip$2.35~7m 57s
Try in Playground
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:kling-video@4.0',
  positivePrompt: 'Create a polished municipal forestry education presenter clip using <<<image_1>>> as the exact first frame and <<<image_2>>> as the exact last frame. One continuous locked-off medium close-up with no cuts, reframing, zoom, or camera movement. Preserve the presenter\'s face, age, short dark curls, rust-orange shirt, deep teal field vest, anatomy, and the bracket-fungus specimen consistently throughout. Preserve the specimen archive, window, lighting, lens character, and restrained 1970s public-television documentary color grade.\n\nThe tree pathologist addresses residents directly with calm professional authority and warm eye contact. She speaks this line exactly once in a clear, natural female voice with accurate synchronized lip movement: "That shelf fungus may signal internal decay. Photograph it, note the tree\'s location, and contact your city arborist rather than removing it."\n\nBegin with the composed pose in <<<image_1>>>. As she speaks, animate subtle breathing, natural blinking, precise mouth articulation, a slight brow lift on "internal decay," and one small controlled movement of the fungus specimen toward the camera on "Photograph it." Her hands remain anatomically stable and the specimen keeps its exact shape. She then eases the specimen slightly downward, gives a restrained reassuring nod, finishes the sentence, closes her mouth, and settles seamlessly into the relaxed pose and small smile shown in <<<image_2>>>. Include clean location sound: intimate dry dialogue, very soft archive room tone, and faint distant leaves outside the window. No music, captions, titles, logos, overlays, extra people, background motion, jump cuts, exaggerated gestures, facial distortion, or object morphing.',
  resolution: '1080p',
  inputs: {
    frameImages: [
      {
        image: 'https://assets.runware.ai/assets/inputs/226e411e-98c2-4de4-9966-de34e13abbfe.jpg',
        frame: 'first'
      },
      {
        image: 'https://assets.runware.ai/assets/inputs/f49b8074-8d67-4753-a2d6-c077bec07cd2.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@4.0",
            "positivePrompt": "Create a polished municipal forestry education presenter clip using <<<image_1>>> as the exact first frame and <<<image_2>>> as the exact last frame. One continuous locked-off medium close-up with no cuts, reframing, zoom, or camera movement. Preserve the presenter's face, age, short dark curls, rust-orange shirt, deep teal field vest, anatomy, and the bracket-fungus specimen consistently throughout. Preserve the specimen archive, window, lighting, lens character, and restrained 1970s public-television documentary color grade.\n\nThe tree pathologist addresses residents directly with calm professional authority and warm eye contact. She speaks this line exactly once in a clear, natural female voice with accurate synchronized lip movement: \"That shelf fungus may signal internal decay. Photograph it, note the tree's location, and contact your city arborist rather than removing it.\"\n\nBegin with the composed pose in <<<image_1>>>. As she speaks, animate subtle breathing, natural blinking, precise mouth articulation, a slight brow lift on \"internal decay,\" and one small controlled movement of the fungus specimen toward the camera on \"Photograph it.\" Her hands remain anatomically stable and the specimen keeps its exact shape. She then eases the specimen slightly downward, gives a restrained reassuring nod, finishes the sentence, closes her mouth, and settles seamlessly into the relaxed pose and small smile shown in <<<image_2>>>. Include clean location sound: intimate dry dialogue, very soft archive room tone, and faint distant leaves outside the window. No music, captions, titles, logos, overlays, extra people, background motion, jump cuts, exaggerated gestures, facial distortion, or object morphing.",
            "resolution": "1080p",
            "inputs": {
                "frameImages": [
                    {
                        "image": "https://assets.runware.ai/assets/inputs/226e411e-98c2-4de4-9966-de34e13abbfe.jpg",
                        "frame": "first"
                    },
                    {
                        "image": "https://assets.runware.ai/assets/inputs/f49b8074-8d67-4753-a2d6-c077bec07cd2.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": "2f73112d-69fa-423b-a65b-c82b292ac91c",
      "model": "klingai:kling-video@4.0",
      "positivePrompt": "Create a polished municipal forestry education presenter clip using <<<image_1>>> as the exact first frame and <<<image_2>>> as the exact last frame. One continuous locked-off medium close-up with no cuts, reframing, zoom, or camera movement. Preserve the presenter's face, age, short dark curls, rust-orange shirt, deep teal field vest, anatomy, and the bracket-fungus specimen consistently throughout. Preserve the specimen archive, window, lighting, lens character, and restrained 1970s public-television documentary color grade.\n\nThe tree pathologist addresses residents directly with calm professional authority and warm eye contact. She speaks this line exactly once in a clear, natural female voice with accurate synchronized lip movement: \"That shelf fungus may signal internal decay. Photograph it, note the tree's location, and contact your city arborist rather than removing it.\"\n\nBegin with the composed pose in <<<image_1>>>. As she speaks, animate subtle breathing, natural blinking, precise mouth articulation, a slight brow lift on \"internal decay,\" and one small controlled movement of the fungus specimen toward the camera on \"Photograph it.\" Her hands remain anatomically stable and the specimen keeps its exact shape. She then eases the specimen slightly downward, gives a restrained reassuring nod, finishes the sentence, closes her mouth, and settles seamlessly into the relaxed pose and small smile shown in <<<image_2>>>. Include clean location sound: intimate dry dialogue, very soft archive room tone, and faint distant leaves outside the window. No music, captions, titles, logos, overlays, extra people, background motion, jump cuts, exaggerated gestures, facial distortion, or object morphing.",
      "resolution": "1080p",
      "inputs": {
        "frameImages": [
          {
            "image": "https://assets.runware.ai/assets/inputs/226e411e-98c2-4de4-9966-de34e13abbfe.jpg",
            "frame": "first"
          },
          {
            "image": "https://assets.runware.ai/assets/inputs/f49b8074-8d67-4753-a2d6-c077bec07cd2.jpg",
            "frame": "last"
          }
        ]
      }
    }
  ]'
runware run klingai:kling-video@4.0 \
  positivePrompt="Create a polished municipal forestry education presenter clip using <<<image_1>>> as the exact first frame and <<<image_2>>> as the exact last frame. One continuous locked-off medium close-up with no cuts, reframing, zoom, or camera movement. Preserve the presenter's face, age, short dark curls, rust-orange shirt, deep teal field vest, anatomy, and the bracket-fungus specimen consistently throughout. Preserve the specimen archive, window, lighting, lens character, and restrained 1970s public-television documentary color grade.

The tree pathologist addresses residents directly with calm professional authority and warm eye contact. She speaks this line exactly once in a clear, natural female voice with accurate synchronized lip movement: \"That shelf fungus may signal internal decay. Photograph it, note the tree's location, and contact your city arborist rather than removing it.\"

Begin with the composed pose in <<<image_1>>>. As she speaks, animate subtle breathing, natural blinking, precise mouth articulation, a slight brow lift on \"internal decay,\" and one small controlled movement of the fungus specimen toward the camera on \"Photograph it.\" Her hands remain anatomically stable and the specimen keeps its exact shape. She then eases the specimen slightly downward, gives a restrained reassuring nod, finishes the sentence, closes her mouth, and settles seamlessly into the relaxed pose and small smile shown in <<<image_2>>>. Include clean location sound: intimate dry dialogue, very soft archive room tone, and faint distant leaves outside the window. No music, captions, titles, logos, overlays, extra people, background motion, jump cuts, exaggerated gestures, facial distortion, or object morphing." \
  resolution=1080p \
  inputs.frameImages.0.image=https://assets.runware.ai/assets/inputs/226e411e-98c2-4de4-9966-de34e13abbfe.jpg \
  inputs.frameImages.0.frame=first \
  inputs.frameImages.1.image=https://assets.runware.ai/assets/inputs/f49b8074-8d67-4753-a2d6-c077bec07cd2.jpg \
  inputs.frameImages.1.frame=last
{
  "taskType": "videoInference",
  "taskUUID": "2f73112d-69fa-423b-a65b-c82b292ac91c",
  "model": "klingai:kling-video@4.0",
  "positivePrompt": "Create a polished municipal forestry education presenter clip using <<<image_1>>> as the exact first frame and <<<image_2>>> as the exact last frame. One continuous locked-off medium close-up with no cuts, reframing, zoom, or camera movement. Preserve the presenter's face, age, short dark curls, rust-orange shirt, deep teal field vest, anatomy, and the bracket-fungus specimen consistently throughout. Preserve the specimen archive, window, lighting, lens character, and restrained 1970s public-television documentary color grade.\n\nThe tree pathologist addresses residents directly with calm professional authority and warm eye contact. She speaks this line exactly once in a clear, natural female voice with accurate synchronized lip movement: \"That shelf fungus may signal internal decay. Photograph it, note the tree's location, and contact your city arborist rather than removing it.\"\n\nBegin with the composed pose in <<<image_1>>>. As she speaks, animate subtle breathing, natural blinking, precise mouth articulation, a slight brow lift on \"internal decay,\" and one small controlled movement of the fungus specimen toward the camera on \"Photograph it.\" Her hands remain anatomically stable and the specimen keeps its exact shape. She then eases the specimen slightly downward, gives a restrained reassuring nod, finishes the sentence, closes her mouth, and settles seamlessly into the relaxed pose and small smile shown in <<<image_2>>>. Include clean location sound: intimate dry dialogue, very soft archive room tone, and faint distant leaves outside the window. No music, captions, titles, logos, overlays, extra people, background motion, jump cuts, exaggerated gestures, facial distortion, or object morphing.",
  "resolution": "1080p",
  "inputs": {
    "frameImages": [
      {
        "image": "https://assets.runware.ai/assets/inputs/226e411e-98c2-4de4-9966-de34e13abbfe.jpg",
        "frame": "first"
      },
      {
        "image": "https://assets.runware.ai/assets/inputs/f49b8074-8d67-4753-a2d6-c077bec07cd2.jpg",
        "frame": "last"
      }
    ]
  }
}
Response
{
  "taskType": "videoInference",
  "taskUUID": "2f73112d-69fa-423b-a65b-c82b292ac91c",
  "videoUUID": "8da8b3ed-6ecb-493f-b485-d11f477f4331",
  "videoURL": "https://vm.runware.ai/video/os/a05d22/ws/5/vi/8da8b3ed-6ecb-493f-b485-d11f477f4331.mp4",
  "cost": 2.35
}

multiple-keyframes

Subsea Monitoring Logo Animation$2.35~3m 32s
Try in Playground
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:kling-video@4.0',
  positivePrompt: 'Create a polished 16:9 animated logo ident for a subsea cable monitoring company. Use the three supplied keyframes as one ordered visual progression while preserving their exact midnight-navy background, centered composition, geometric emblem, phosphor-green and coral-orange palette, typography, scale, and premium Swiss technical-graphics art direction.\n\nBegin exactly from <<<image_1>>>: a nearly dormant central sonar point, incomplete rings, and short cable segment. Animate with disciplined, physically coherent motion rather than flashy particles. The point emits a soft sonar pulse; the thin green arcs sweep outward with precise radar timing while the coral cable draws itself smoothly along a controlled path.\n\nProgress naturally through <<<image_2>>>: the moving cable folds into the geometric lowercase b emblem as the sonar arcs align around it. Fine scanning strokes assemble the letterforms from left to right. Keep every line clean and stable, with no warping, illegible glyphs, random symbols, added interface elements, camera movement, or background changes.\n\nResolve exactly into <<<image_3>>> as the final endpoint. The finished lockup must read BENTHIC with the smaller line SUBSEA SYSTEMS beneath it, matching the supplied final frame. Let the final sonar echo dissipate, settle all geometry, and hold the completed logo cleanly for a confident brand finish. Maintain a locked camera, centered framing, crisp vector-like edges, subtle optical bloom, generous negative space, and broadcast-quality motion throughout.\n\nGenerate restrained synchronized sonic branding: a deep underwater sonar ping at the opening, a quiet rising electronic trace during construction, and a short warm sub-bass resolve when the final logo locks into place. No speech, melody, surf, bubbles, or loud cinematic impact.',
  resolution: '1080p',
  inputs: {
    frameImages: [
      {
        image: 'https://assets.runware.ai/assets/inputs/1a0f2dc6-b1f1-4155-8d29-d46ae2870da5.jpg',
        frame: 'first'
      },
      {
        image: 'https://assets.runware.ai/assets/inputs/d31198ba-3303-440d-9bcd-f6ad2e4c38fd.jpg'
      },
      {
        image: 'https://assets.runware.ai/assets/inputs/13a79bad-c889-438d-bcad-85cec307ba8b.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@4.0",
            "positivePrompt": "Create a polished 16:9 animated logo ident for a subsea cable monitoring company. Use the three supplied keyframes as one ordered visual progression while preserving their exact midnight-navy background, centered composition, geometric emblem, phosphor-green and coral-orange palette, typography, scale, and premium Swiss technical-graphics art direction.\n\nBegin exactly from <<<image_1>>>: a nearly dormant central sonar point, incomplete rings, and short cable segment. Animate with disciplined, physically coherent motion rather than flashy particles. The point emits a soft sonar pulse; the thin green arcs sweep outward with precise radar timing while the coral cable draws itself smoothly along a controlled path.\n\nProgress naturally through <<<image_2>>>: the moving cable folds into the geometric lowercase b emblem as the sonar arcs align around it. Fine scanning strokes assemble the letterforms from left to right. Keep every line clean and stable, with no warping, illegible glyphs, random symbols, added interface elements, camera movement, or background changes.\n\nResolve exactly into <<<image_3>>> as the final endpoint. The finished lockup must read BENTHIC with the smaller line SUBSEA SYSTEMS beneath it, matching the supplied final frame. Let the final sonar echo dissipate, settle all geometry, and hold the completed logo cleanly for a confident brand finish. Maintain a locked camera, centered framing, crisp vector-like edges, subtle optical bloom, generous negative space, and broadcast-quality motion throughout.\n\nGenerate restrained synchronized sonic branding: a deep underwater sonar ping at the opening, a quiet rising electronic trace during construction, and a short warm sub-bass resolve when the final logo locks into place. No speech, melody, surf, bubbles, or loud cinematic impact.",
            "resolution": "1080p",
            "inputs": {
                "frameImages": [
                    {
                        "image": "https://assets.runware.ai/assets/inputs/1a0f2dc6-b1f1-4155-8d29-d46ae2870da5.jpg",
                        "frame": "first"
                    },
                    {
                        "image": "https://assets.runware.ai/assets/inputs/d31198ba-3303-440d-9bcd-f6ad2e4c38fd.jpg"
                    },
                    {
                        "image": "https://assets.runware.ai/assets/inputs/13a79bad-c889-438d-bcad-85cec307ba8b.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": "39bbaf22-2361-4ac7-b9c5-2dcd321bfc46",
      "model": "klingai:kling-video@4.0",
      "positivePrompt": "Create a polished 16:9 animated logo ident for a subsea cable monitoring company. Use the three supplied keyframes as one ordered visual progression while preserving their exact midnight-navy background, centered composition, geometric emblem, phosphor-green and coral-orange palette, typography, scale, and premium Swiss technical-graphics art direction.\n\nBegin exactly from <<<image_1>>>: a nearly dormant central sonar point, incomplete rings, and short cable segment. Animate with disciplined, physically coherent motion rather than flashy particles. The point emits a soft sonar pulse; the thin green arcs sweep outward with precise radar timing while the coral cable draws itself smoothly along a controlled path.\n\nProgress naturally through <<<image_2>>>: the moving cable folds into the geometric lowercase b emblem as the sonar arcs align around it. Fine scanning strokes assemble the letterforms from left to right. Keep every line clean and stable, with no warping, illegible glyphs, random symbols, added interface elements, camera movement, or background changes.\n\nResolve exactly into <<<image_3>>> as the final endpoint. The finished lockup must read BENTHIC with the smaller line SUBSEA SYSTEMS beneath it, matching the supplied final frame. Let the final sonar echo dissipate, settle all geometry, and hold the completed logo cleanly for a confident brand finish. Maintain a locked camera, centered framing, crisp vector-like edges, subtle optical bloom, generous negative space, and broadcast-quality motion throughout.\n\nGenerate restrained synchronized sonic branding: a deep underwater sonar ping at the opening, a quiet rising electronic trace during construction, and a short warm sub-bass resolve when the final logo locks into place. No speech, melody, surf, bubbles, or loud cinematic impact.",
      "resolution": "1080p",
      "inputs": {
        "frameImages": [
          {
            "image": "https://assets.runware.ai/assets/inputs/1a0f2dc6-b1f1-4155-8d29-d46ae2870da5.jpg",
            "frame": "first"
          },
          {
            "image": "https://assets.runware.ai/assets/inputs/d31198ba-3303-440d-9bcd-f6ad2e4c38fd.jpg"
          },
          {
            "image": "https://assets.runware.ai/assets/inputs/13a79bad-c889-438d-bcad-85cec307ba8b.jpg",
            "frame": "last"
          }
        ]
      }
    }
  ]'
runware run klingai:kling-video@4.0 \
  positivePrompt="Create a polished 16:9 animated logo ident for a subsea cable monitoring company. Use the three supplied keyframes as one ordered visual progression while preserving their exact midnight-navy background, centered composition, geometric emblem, phosphor-green and coral-orange palette, typography, scale, and premium Swiss technical-graphics art direction.

Begin exactly from <<<image_1>>>: a nearly dormant central sonar point, incomplete rings, and short cable segment. Animate with disciplined, physically coherent motion rather than flashy particles. The point emits a soft sonar pulse; the thin green arcs sweep outward with precise radar timing while the coral cable draws itself smoothly along a controlled path.

Progress naturally through <<<image_2>>>: the moving cable folds into the geometric lowercase b emblem as the sonar arcs align around it. Fine scanning strokes assemble the letterforms from left to right. Keep every line clean and stable, with no warping, illegible glyphs, random symbols, added interface elements, camera movement, or background changes.

Resolve exactly into <<<image_3>>> as the final endpoint. The finished lockup must read BENTHIC with the smaller line SUBSEA SYSTEMS beneath it, matching the supplied final frame. Let the final sonar echo dissipate, settle all geometry, and hold the completed logo cleanly for a confident brand finish. Maintain a locked camera, centered framing, crisp vector-like edges, subtle optical bloom, generous negative space, and broadcast-quality motion throughout.

Generate restrained synchronized sonic branding: a deep underwater sonar ping at the opening, a quiet rising electronic trace during construction, and a short warm sub-bass resolve when the final logo locks into place. No speech, melody, surf, bubbles, or loud cinematic impact." \
  resolution=1080p \
  inputs.frameImages.0.image=https://assets.runware.ai/assets/inputs/1a0f2dc6-b1f1-4155-8d29-d46ae2870da5.jpg \
  inputs.frameImages.0.frame=first \
  inputs.frameImages.1.image=https://assets.runware.ai/assets/inputs/d31198ba-3303-440d-9bcd-f6ad2e4c38fd.jpg \
  inputs.frameImages.2.image=https://assets.runware.ai/assets/inputs/13a79bad-c889-438d-bcad-85cec307ba8b.jpg \
  inputs.frameImages.2.frame=last
{
  "taskType": "videoInference",
  "taskUUID": "39bbaf22-2361-4ac7-b9c5-2dcd321bfc46",
  "model": "klingai:kling-video@4.0",
  "positivePrompt": "Create a polished 16:9 animated logo ident for a subsea cable monitoring company. Use the three supplied keyframes as one ordered visual progression while preserving their exact midnight-navy background, centered composition, geometric emblem, phosphor-green and coral-orange palette, typography, scale, and premium Swiss technical-graphics art direction.\n\nBegin exactly from <<<image_1>>>: a nearly dormant central sonar point, incomplete rings, and short cable segment. Animate with disciplined, physically coherent motion rather than flashy particles. The point emits a soft sonar pulse; the thin green arcs sweep outward with precise radar timing while the coral cable draws itself smoothly along a controlled path.\n\nProgress naturally through <<<image_2>>>: the moving cable folds into the geometric lowercase b emblem as the sonar arcs align around it. Fine scanning strokes assemble the letterforms from left to right. Keep every line clean and stable, with no warping, illegible glyphs, random symbols, added interface elements, camera movement, or background changes.\n\nResolve exactly into <<<image_3>>> as the final endpoint. The finished lockup must read BENTHIC with the smaller line SUBSEA SYSTEMS beneath it, matching the supplied final frame. Let the final sonar echo dissipate, settle all geometry, and hold the completed logo cleanly for a confident brand finish. Maintain a locked camera, centered framing, crisp vector-like edges, subtle optical bloom, generous negative space, and broadcast-quality motion throughout.\n\nGenerate restrained synchronized sonic branding: a deep underwater sonar ping at the opening, a quiet rising electronic trace during construction, and a short warm sub-bass resolve when the final logo locks into place. No speech, melody, surf, bubbles, or loud cinematic impact.",
  "resolution": "1080p",
  "inputs": {
    "frameImages": [
      {
        "image": "https://assets.runware.ai/assets/inputs/1a0f2dc6-b1f1-4155-8d29-d46ae2870da5.jpg",
        "frame": "first"
      },
      {
        "image": "https://assets.runware.ai/assets/inputs/d31198ba-3303-440d-9bcd-f6ad2e4c38fd.jpg"
      },
      {
        "image": "https://assets.runware.ai/assets/inputs/13a79bad-c889-438d-bcad-85cec307ba8b.jpg",
        "frame": "last"
      }
    ]
  }
}
Response
{
  "taskType": "videoInference",
  "taskUUID": "39bbaf22-2361-4ac7-b9c5-2dcd321bfc46",
  "videoUUID": "30700d59-bdf9-493d-8481-f0dd1abff570",
  "videoURL": "https://vm.runware.ai/video/os/a04d20/ws/5/vi/30700d59-bdf9-493d-8481-f0dd1abff570.mp4",
  "cost": 2.35
}

reference-to-video

Glacial Handpan Performance Visualizer$2.82~3m 12s
Try in Playground
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:kling-video@4.0',
  positivePrompt: 'Create a finished 1080p live-session music visualizer by replacing the plain studio set behind the performer in <<<video_1>>> with the glacial ice-cave environment shown in <<<image_1>>>. Take the performer’s exact identity, facial appearance, clothing, handpan design, seated pose, finger choreography, natural body sway, camera framing, timing, and synchronized musical performance from <<<video_1>>>. Preserve every hand-to-instrument contact accurately and keep the performer fully visible for the entire shot. Take the cave architecture, translucent turquoise ice, frozen arches, dark ice floor, pale blue ambient light, restrained amber lantern accents, realistic cold haze, and serene cinematic color treatment from <<<image_1>>>. Integrate the musician naturally into the new set with physically plausible contact at the stool and feet, subtle reflections on the icy floor, cool environmental spill on clothing and skin, soft amber edge light from the rear lanterns, and a faint metallic reflection across the handpan. Maintain the original locked medium-wide camera and uninterrupted performance; do not change the performer, instrument, gestures, tempo, or shot composition. Photorealistic premium concert-film finish, tranquil and intimate mood, realistic depth, stable background geometry, consistent lighting, no cuts, no camera movement, no duplicated limbs, no added people, no captions, no lettering, no logos.',
  resolution: '1080p',
  inputs: {
    referenceImages: [
      'https://assets.runware.ai/assets/inputs/25311a8c-ad4d-458c-93cd-3ad1f7c0af91.jpg'
    ],
    referenceVideos: [
      'https://assets.runware.ai/assets/inputs/47d9084c-0d95-4c85-a330-fed125e8ef94.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@4.0",
            "positivePrompt": "Create a finished 1080p live-session music visualizer by replacing the plain studio set behind the performer in <<<video_1>>> with the glacial ice-cave environment shown in <<<image_1>>>. Take the performer’s exact identity, facial appearance, clothing, handpan design, seated pose, finger choreography, natural body sway, camera framing, timing, and synchronized musical performance from <<<video_1>>>. Preserve every hand-to-instrument contact accurately and keep the performer fully visible for the entire shot. Take the cave architecture, translucent turquoise ice, frozen arches, dark ice floor, pale blue ambient light, restrained amber lantern accents, realistic cold haze, and serene cinematic color treatment from <<<image_1>>>. Integrate the musician naturally into the new set with physically plausible contact at the stool and feet, subtle reflections on the icy floor, cool environmental spill on clothing and skin, soft amber edge light from the rear lanterns, and a faint metallic reflection across the handpan. Maintain the original locked medium-wide camera and uninterrupted performance; do not change the performer, instrument, gestures, tempo, or shot composition. Photorealistic premium concert-film finish, tranquil and intimate mood, realistic depth, stable background geometry, consistent lighting, no cuts, no camera movement, no duplicated limbs, no added people, no captions, no lettering, no logos.",
            "resolution": "1080p",
            "inputs": {
                "referenceImages": [
                    "https://assets.runware.ai/assets/inputs/25311a8c-ad4d-458c-93cd-3ad1f7c0af91.jpg"
                ],
                "referenceVideos": [
                    "https://assets.runware.ai/assets/inputs/47d9084c-0d95-4c85-a330-fed125e8ef94.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": "7a8dcec9-0765-4f61-8895-3547c50c73fd",
      "model": "klingai:kling-video@4.0",
      "positivePrompt": "Create a finished 1080p live-session music visualizer by replacing the plain studio set behind the performer in <<<video_1>>> with the glacial ice-cave environment shown in <<<image_1>>>. Take the performer’s exact identity, facial appearance, clothing, handpan design, seated pose, finger choreography, natural body sway, camera framing, timing, and synchronized musical performance from <<<video_1>>>. Preserve every hand-to-instrument contact accurately and keep the performer fully visible for the entire shot. Take the cave architecture, translucent turquoise ice, frozen arches, dark ice floor, pale blue ambient light, restrained amber lantern accents, realistic cold haze, and serene cinematic color treatment from <<<image_1>>>. Integrate the musician naturally into the new set with physically plausible contact at the stool and feet, subtle reflections on the icy floor, cool environmental spill on clothing and skin, soft amber edge light from the rear lanterns, and a faint metallic reflection across the handpan. Maintain the original locked medium-wide camera and uninterrupted performance; do not change the performer, instrument, gestures, tempo, or shot composition. Photorealistic premium concert-film finish, tranquil and intimate mood, realistic depth, stable background geometry, consistent lighting, no cuts, no camera movement, no duplicated limbs, no added people, no captions, no lettering, no logos.",
      "resolution": "1080p",
      "inputs": {
        "referenceImages": [
          "https://assets.runware.ai/assets/inputs/25311a8c-ad4d-458c-93cd-3ad1f7c0af91.jpg"
        ],
        "referenceVideos": [
          "https://assets.runware.ai/assets/inputs/47d9084c-0d95-4c85-a330-fed125e8ef94.mp4"
        ]
      }
    }
  ]'
runware run klingai:kling-video@4.0 \
  positivePrompt="Create a finished 1080p live-session music visualizer by replacing the plain studio set behind the performer in <<<video_1>>> with the glacial ice-cave environment shown in <<<image_1>>>. Take the performer’s exact identity, facial appearance, clothing, handpan design, seated pose, finger choreography, natural body sway, camera framing, timing, and synchronized musical performance from <<<video_1>>>. Preserve every hand-to-instrument contact accurately and keep the performer fully visible for the entire shot. Take the cave architecture, translucent turquoise ice, frozen arches, dark ice floor, pale blue ambient light, restrained amber lantern accents, realistic cold haze, and serene cinematic color treatment from <<<image_1>>>. Integrate the musician naturally into the new set with physically plausible contact at the stool and feet, subtle reflections on the icy floor, cool environmental spill on clothing and skin, soft amber edge light from the rear lanterns, and a faint metallic reflection across the handpan. Maintain the original locked medium-wide camera and uninterrupted performance; do not change the performer, instrument, gestures, tempo, or shot composition. Photorealistic premium concert-film finish, tranquil and intimate mood, realistic depth, stable background geometry, consistent lighting, no cuts, no camera movement, no duplicated limbs, no added people, no captions, no lettering, no logos." \
  resolution=1080p \
  inputs.referenceImages.0=https://assets.runware.ai/assets/inputs/25311a8c-ad4d-458c-93cd-3ad1f7c0af91.jpg \
  inputs.referenceVideos.0=https://assets.runware.ai/assets/inputs/47d9084c-0d95-4c85-a330-fed125e8ef94.mp4
{
  "taskType": "videoInference",
  "taskUUID": "7a8dcec9-0765-4f61-8895-3547c50c73fd",
  "model": "klingai:kling-video@4.0",
  "positivePrompt": "Create a finished 1080p live-session music visualizer by replacing the plain studio set behind the performer in <<<video_1>>> with the glacial ice-cave environment shown in <<<image_1>>>. Take the performer’s exact identity, facial appearance, clothing, handpan design, seated pose, finger choreography, natural body sway, camera framing, timing, and synchronized musical performance from <<<video_1>>>. Preserve every hand-to-instrument contact accurately and keep the performer fully visible for the entire shot. Take the cave architecture, translucent turquoise ice, frozen arches, dark ice floor, pale blue ambient light, restrained amber lantern accents, realistic cold haze, and serene cinematic color treatment from <<<image_1>>>. Integrate the musician naturally into the new set with physically plausible contact at the stool and feet, subtle reflections on the icy floor, cool environmental spill on clothing and skin, soft amber edge light from the rear lanterns, and a faint metallic reflection across the handpan. Maintain the original locked medium-wide camera and uninterrupted performance; do not change the performer, instrument, gestures, tempo, or shot composition. Photorealistic premium concert-film finish, tranquil and intimate mood, realistic depth, stable background geometry, consistent lighting, no cuts, no camera movement, no duplicated limbs, no added people, no captions, no lettering, no logos.",
  "resolution": "1080p",
  "inputs": {
    "referenceImages": [
      "https://assets.runware.ai/assets/inputs/25311a8c-ad4d-458c-93cd-3ad1f7c0af91.jpg"
    ],
    "referenceVideos": [
      "https://assets.runware.ai/assets/inputs/47d9084c-0d95-4c85-a330-fed125e8ef94.mp4"
    ]
  }
}
Response
{
  "taskType": "videoInference",
  "taskUUID": "7a8dcec9-0765-4f61-8895-3547c50c73fd",
  "videoUUID": "9636c590-9f50-4cd9-ab83-836187b08f1e",
  "videoURL": "https://vm.runware.ai/video/os/a09dlim3/ws/5/vi/9636c590-9f50-4cd9-ab83-836187b08f1e.mp4",
  "cost": 2.82
}

video-edit

Adaptive Prosthetic Fashion Showcase$1.70~2m 20s
Try in Playground
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:kling-video@4.0',
  positivePrompt: 'Edit <<<video_1>>>. Replace only the plain matte-white prosthetic shin cover with a fitted couture cover shaped like overlapping porcelain armor petals, finished in deep cobalt-blue gloss with fine silver kintsugi-style seams; keep it physically attached to the existing prosthesis, anatomically aligned, consistent in scale, and temporally stable through the walk and turn. Keep everything else unchanged: the same model, face, body, prosthetic structure and foot, sand-colored tailored jumpsuit, natural walking gait, pause, quarter-turn, hand positions, performance timing, warm terracotta studio, floor, soft directional lighting, shadows, reflections, depth of field, low-angle dolly movement, vertical composition, original edit rhythm, and source audio. Preserve realistic contact, occlusion, motion blur, and reflections. No added text, logos, accessories, people, or camera cuts.',
  resolution: '1080p',
  inputs: {
    video: 'https://assets.runware.ai/assets/inputs/5a7d03e0-fcdb-4fd3-b001-fdc06d85c5d1.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@4.0",
            "positivePrompt": "Edit <<<video_1>>>. Replace only the plain matte-white prosthetic shin cover with a fitted couture cover shaped like overlapping porcelain armor petals, finished in deep cobalt-blue gloss with fine silver kintsugi-style seams; keep it physically attached to the existing prosthesis, anatomically aligned, consistent in scale, and temporally stable through the walk and turn. Keep everything else unchanged: the same model, face, body, prosthetic structure and foot, sand-colored tailored jumpsuit, natural walking gait, pause, quarter-turn, hand positions, performance timing, warm terracotta studio, floor, soft directional lighting, shadows, reflections, depth of field, low-angle dolly movement, vertical composition, original edit rhythm, and source audio. Preserve realistic contact, occlusion, motion blur, and reflections. No added text, logos, accessories, people, or camera cuts.",
            "resolution": "1080p",
            "inputs": {
                "video": "https://assets.runware.ai/assets/inputs/5a7d03e0-fcdb-4fd3-b001-fdc06d85c5d1.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": "0feea254-ebeb-4079-a8ee-b0b7589bc75f",
      "model": "klingai:kling-video@4.0",
      "positivePrompt": "Edit <<<video_1>>>. Replace only the plain matte-white prosthetic shin cover with a fitted couture cover shaped like overlapping porcelain armor petals, finished in deep cobalt-blue gloss with fine silver kintsugi-style seams; keep it physically attached to the existing prosthesis, anatomically aligned, consistent in scale, and temporally stable through the walk and turn. Keep everything else unchanged: the same model, face, body, prosthetic structure and foot, sand-colored tailored jumpsuit, natural walking gait, pause, quarter-turn, hand positions, performance timing, warm terracotta studio, floor, soft directional lighting, shadows, reflections, depth of field, low-angle dolly movement, vertical composition, original edit rhythm, and source audio. Preserve realistic contact, occlusion, motion blur, and reflections. No added text, logos, accessories, people, or camera cuts.",
      "resolution": "1080p",
      "inputs": {
        "video": "https://assets.runware.ai/assets/inputs/5a7d03e0-fcdb-4fd3-b001-fdc06d85c5d1.mp4"
      }
    }
  ]'
runware run klingai:kling-video@4.0 \
  positivePrompt="Edit <<<video_1>>>. Replace only the plain matte-white prosthetic shin cover with a fitted couture cover shaped like overlapping porcelain armor petals, finished in deep cobalt-blue gloss with fine silver kintsugi-style seams; keep it physically attached to the existing prosthesis, anatomically aligned, consistent in scale, and temporally stable through the walk and turn. Keep everything else unchanged: the same model, face, body, prosthetic structure and foot, sand-colored tailored jumpsuit, natural walking gait, pause, quarter-turn, hand positions, performance timing, warm terracotta studio, floor, soft directional lighting, shadows, reflections, depth of field, low-angle dolly movement, vertical composition, original edit rhythm, and source audio. Preserve realistic contact, occlusion, motion blur, and reflections. No added text, logos, accessories, people, or camera cuts." \
  resolution=1080p \
  inputs.video=https://assets.runware.ai/assets/inputs/5a7d03e0-fcdb-4fd3-b001-fdc06d85c5d1.mp4
{
  "taskType": "videoInference",
  "taskUUID": "0feea254-ebeb-4079-a8ee-b0b7589bc75f",
  "model": "klingai:kling-video@4.0",
  "positivePrompt": "Edit <<<video_1>>>. Replace only the plain matte-white prosthetic shin cover with a fitted couture cover shaped like overlapping porcelain armor petals, finished in deep cobalt-blue gloss with fine silver kintsugi-style seams; keep it physically attached to the existing prosthesis, anatomically aligned, consistent in scale, and temporally stable through the walk and turn. Keep everything else unchanged: the same model, face, body, prosthetic structure and foot, sand-colored tailored jumpsuit, natural walking gait, pause, quarter-turn, hand positions, performance timing, warm terracotta studio, floor, soft directional lighting, shadows, reflections, depth of field, low-angle dolly movement, vertical composition, original edit rhythm, and source audio. Preserve realistic contact, occlusion, motion blur, and reflections. No added text, logos, accessories, people, or camera cuts.",
  "resolution": "1080p",
  "inputs": {
    "video": "https://assets.runware.ai/assets/inputs/5a7d03e0-fcdb-4fd3-b001-fdc06d85c5d1.mp4"
  }
}
Response
{
  "taskType": "videoInference",
  "taskUUID": "0feea254-ebeb-4079-a8ee-b0b7589bc75f",
  "videoUUID": "fbe266e0-3c36-4ea9-8978-c2f709ae947e",
  "videoURL": "https://vm.runware.ai/video/os/a09dlim3/ws/5/vi/fbe266e0-3c36-4ea9-8978-c2f709ae947e.mp4",
  "cost": 1.7049
}

elements

Seed Vault Film-Stock Portrait$2.35~2m 45s
Try in Playground
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:kling-video@4.0',
  positivePrompt: 'Create a polished institutional heritage-film portrait for an agricultural conservation museum. Place <<<element_1>>> as the only person inside a working underground seed vault lined with tall powder-coated steel storage cabinets and shallow specimen drawers. Begin in a composed medium-wide profile as the archivist walks slowly along the aisle, stops at an open drawer, lifts one small glass seed vial, turns it gently beneath a practical inspection lamp, and returns it to its exact slot. Keep identity, outfit, facial structure, and body proportions fully consistent with the reusable element throughout. The performance is quiet, precise, and credible rather than theatrical.\n\nFilm the action as one restrained lateral dolly shot at human eye level with the subject remaining clearly visible and unobstructed. The vault should feel functional and meticulously maintained: cream-painted masonry, brushed metal handles, small paper inventory labels without legible writing, neatly ordered vials, and slight condensation around an insulated service pipe. No other people, no futuristic interfaces, no logos, no captions, and no added typography.\n\nThe defining treatment is an authentic late-1970s 16mm reversal-film atmosphere. Apply a cohesive photochemical grade with restrained mustard highlights, cool cyan-green shadows, softened whites, modest contrast, slightly faded saturation, dense but readable blacks, fine organic grain, subtle halation around the inspection lamp, mild gate weave, occasional exposure breathing, and delicate dust that never obscures the face. Preserve realistic skin tone beneath the period color response. Lighting should resemble an older scientific documentary: overhead fluorescent ambience mixed with one warm tungsten task lamp, producing practical pools of light and gently underexposed aisle depth. Avoid modern teal-orange grading, digital sharpness, heavy vignette, aggressive scratches, jump cuts, slow-motion spectacle, or retro parody. The finished clip should feel like a carefully restored conservation-film excerpt discovered in a research institute archive. Natural synchronized audio only: low refrigeration hum, soft footsteps, a drawer sliding on metal runners, and the faint glass click of the vial.',
  resolution: '1080p',
  inputs: {
    elements: [
      {
        id: 'seed_archivist_4827',
        description: 'A seed-bank archivist in a period laboratory uniform.',
        frontalImage: 'https://assets.runware.ai/assets/inputs/fb9d8b22-7f4b-4e14-8e72-0726fa012c33.jpg',
        images: [
          'https://assets.runware.ai/assets/inputs/21c11b42-0b0e-4990-8e41-b405ccfee935.jpg'
        ],
        tags: [
          'Character'
        ]
      }
    ]
  }
})
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@4.0",
            "positivePrompt": "Create a polished institutional heritage-film portrait for an agricultural conservation museum. Place <<<element_1>>> as the only person inside a working underground seed vault lined with tall powder-coated steel storage cabinets and shallow specimen drawers. Begin in a composed medium-wide profile as the archivist walks slowly along the aisle, stops at an open drawer, lifts one small glass seed vial, turns it gently beneath a practical inspection lamp, and returns it to its exact slot. Keep identity, outfit, facial structure, and body proportions fully consistent with the reusable element throughout. The performance is quiet, precise, and credible rather than theatrical.\n\nFilm the action as one restrained lateral dolly shot at human eye level with the subject remaining clearly visible and unobstructed. The vault should feel functional and meticulously maintained: cream-painted masonry, brushed metal handles, small paper inventory labels without legible writing, neatly ordered vials, and slight condensation around an insulated service pipe. No other people, no futuristic interfaces, no logos, no captions, and no added typography.\n\nThe defining treatment is an authentic late-1970s 16mm reversal-film atmosphere. Apply a cohesive photochemical grade with restrained mustard highlights, cool cyan-green shadows, softened whites, modest contrast, slightly faded saturation, dense but readable blacks, fine organic grain, subtle halation around the inspection lamp, mild gate weave, occasional exposure breathing, and delicate dust that never obscures the face. Preserve realistic skin tone beneath the period color response. Lighting should resemble an older scientific documentary: overhead fluorescent ambience mixed with one warm tungsten task lamp, producing practical pools of light and gently underexposed aisle depth. Avoid modern teal-orange grading, digital sharpness, heavy vignette, aggressive scratches, jump cuts, slow-motion spectacle, or retro parody. The finished clip should feel like a carefully restored conservation-film excerpt discovered in a research institute archive. Natural synchronized audio only: low refrigeration hum, soft footsteps, a drawer sliding on metal runners, and the faint glass click of the vial.",
            "resolution": "1080p",
            "inputs": {
                "elements": [
                    {
                        "id": "seed_archivist_4827",
                        "description": "A seed-bank archivist in a period laboratory uniform.",
                        "frontalImage": "https://assets.runware.ai/assets/inputs/fb9d8b22-7f4b-4e14-8e72-0726fa012c33.jpg",
                        "images": [
                            "https://assets.runware.ai/assets/inputs/21c11b42-0b0e-4990-8e41-b405ccfee935.jpg"
                        ],
                        "tags": [
                            "Character"
                        ]
                    }
                ]
            }
        })


asyncio.run(main())
curl https://api.runware.ai/v1 \
  -H "Authorization: Bearer $RUNWARE_API_KEY" \
  -H "Content-Type: application/json" \
  -d '[
    {
      "taskType": "videoInference",
      "taskUUID": "51ce026d-f92d-44d1-ac8f-8aeb5736a477",
      "model": "klingai:kling-video@4.0",
      "positivePrompt": "Create a polished institutional heritage-film portrait for an agricultural conservation museum. Place <<<element_1>>> as the only person inside a working underground seed vault lined with tall powder-coated steel storage cabinets and shallow specimen drawers. Begin in a composed medium-wide profile as the archivist walks slowly along the aisle, stops at an open drawer, lifts one small glass seed vial, turns it gently beneath a practical inspection lamp, and returns it to its exact slot. Keep identity, outfit, facial structure, and body proportions fully consistent with the reusable element throughout. The performance is quiet, precise, and credible rather than theatrical.\n\nFilm the action as one restrained lateral dolly shot at human eye level with the subject remaining clearly visible and unobstructed. The vault should feel functional and meticulously maintained: cream-painted masonry, brushed metal handles, small paper inventory labels without legible writing, neatly ordered vials, and slight condensation around an insulated service pipe. No other people, no futuristic interfaces, no logos, no captions, and no added typography.\n\nThe defining treatment is an authentic late-1970s 16mm reversal-film atmosphere. Apply a cohesive photochemical grade with restrained mustard highlights, cool cyan-green shadows, softened whites, modest contrast, slightly faded saturation, dense but readable blacks, fine organic grain, subtle halation around the inspection lamp, mild gate weave, occasional exposure breathing, and delicate dust that never obscures the face. Preserve realistic skin tone beneath the period color response. Lighting should resemble an older scientific documentary: overhead fluorescent ambience mixed with one warm tungsten task lamp, producing practical pools of light and gently underexposed aisle depth. Avoid modern teal-orange grading, digital sharpness, heavy vignette, aggressive scratches, jump cuts, slow-motion spectacle, or retro parody. The finished clip should feel like a carefully restored conservation-film excerpt discovered in a research institute archive. Natural synchronized audio only: low refrigeration hum, soft footsteps, a drawer sliding on metal runners, and the faint glass click of the vial.",
      "resolution": "1080p",
      "inputs": {
        "elements": [
          {
            "id": "seed_archivist_4827",
            "description": "A seed-bank archivist in a period laboratory uniform.",
            "frontalImage": "https://assets.runware.ai/assets/inputs/fb9d8b22-7f4b-4e14-8e72-0726fa012c33.jpg",
            "images": [
              "https://assets.runware.ai/assets/inputs/21c11b42-0b0e-4990-8e41-b405ccfee935.jpg"
            ],
            "tags": [
              "Character"
            ]
          }
        ]
      }
    }
  ]'
runware run klingai:kling-video@4.0 \
  positivePrompt="Create a polished institutional heritage-film portrait for an agricultural conservation museum. Place <<<element_1>>> as the only person inside a working underground seed vault lined with tall powder-coated steel storage cabinets and shallow specimen drawers. Begin in a composed medium-wide profile as the archivist walks slowly along the aisle, stops at an open drawer, lifts one small glass seed vial, turns it gently beneath a practical inspection lamp, and returns it to its exact slot. Keep identity, outfit, facial structure, and body proportions fully consistent with the reusable element throughout. The performance is quiet, precise, and credible rather than theatrical.

Film the action as one restrained lateral dolly shot at human eye level with the subject remaining clearly visible and unobstructed. The vault should feel functional and meticulously maintained: cream-painted masonry, brushed metal handles, small paper inventory labels without legible writing, neatly ordered vials, and slight condensation around an insulated service pipe. No other people, no futuristic interfaces, no logos, no captions, and no added typography.

The defining treatment is an authentic late-1970s 16mm reversal-film atmosphere. Apply a cohesive photochemical grade with restrained mustard highlights, cool cyan-green shadows, softened whites, modest contrast, slightly faded saturation, dense but readable blacks, fine organic grain, subtle halation around the inspection lamp, mild gate weave, occasional exposure breathing, and delicate dust that never obscures the face. Preserve realistic skin tone beneath the period color response. Lighting should resemble an older scientific documentary: overhead fluorescent ambience mixed with one warm tungsten task lamp, producing practical pools of light and gently underexposed aisle depth. Avoid modern teal-orange grading, digital sharpness, heavy vignette, aggressive scratches, jump cuts, slow-motion spectacle, or retro parody. The finished clip should feel like a carefully restored conservation-film excerpt discovered in a research institute archive. Natural synchronized audio only: low refrigeration hum, soft footsteps, a drawer sliding on metal runners, and the faint glass click of the vial." \
  resolution=1080p \
  inputs.elements.0.id=seed_archivist_4827 \
  inputs.elements.0.description="A seed-bank archivist in a period laboratory uniform." \
  inputs.elements.0.frontalImage=https://assets.runware.ai/assets/inputs/fb9d8b22-7f4b-4e14-8e72-0726fa012c33.jpg \
  inputs.elements.0.images.0=https://assets.runware.ai/assets/inputs/21c11b42-0b0e-4990-8e41-b405ccfee935.jpg \
  inputs.elements.0.tags.0=Character
{
  "taskType": "videoInference",
  "taskUUID": "51ce026d-f92d-44d1-ac8f-8aeb5736a477",
  "model": "klingai:kling-video@4.0",
  "positivePrompt": "Create a polished institutional heritage-film portrait for an agricultural conservation museum. Place <<<element_1>>> as the only person inside a working underground seed vault lined with tall powder-coated steel storage cabinets and shallow specimen drawers. Begin in a composed medium-wide profile as the archivist walks slowly along the aisle, stops at an open drawer, lifts one small glass seed vial, turns it gently beneath a practical inspection lamp, and returns it to its exact slot. Keep identity, outfit, facial structure, and body proportions fully consistent with the reusable element throughout. The performance is quiet, precise, and credible rather than theatrical.\n\nFilm the action as one restrained lateral dolly shot at human eye level with the subject remaining clearly visible and unobstructed. The vault should feel functional and meticulously maintained: cream-painted masonry, brushed metal handles, small paper inventory labels without legible writing, neatly ordered vials, and slight condensation around an insulated service pipe. No other people, no futuristic interfaces, no logos, no captions, and no added typography.\n\nThe defining treatment is an authentic late-1970s 16mm reversal-film atmosphere. Apply a cohesive photochemical grade with restrained mustard highlights, cool cyan-green shadows, softened whites, modest contrast, slightly faded saturation, dense but readable blacks, fine organic grain, subtle halation around the inspection lamp, mild gate weave, occasional exposure breathing, and delicate dust that never obscures the face. Preserve realistic skin tone beneath the period color response. Lighting should resemble an older scientific documentary: overhead fluorescent ambience mixed with one warm tungsten task lamp, producing practical pools of light and gently underexposed aisle depth. Avoid modern teal-orange grading, digital sharpness, heavy vignette, aggressive scratches, jump cuts, slow-motion spectacle, or retro parody. The finished clip should feel like a carefully restored conservation-film excerpt discovered in a research institute archive. Natural synchronized audio only: low refrigeration hum, soft footsteps, a drawer sliding on metal runners, and the faint glass click of the vial.",
  "resolution": "1080p",
  "inputs": {
    "elements": [
      {
        "id": "seed_archivist_4827",
        "description": "A seed-bank archivist in a period laboratory uniform.",
        "frontalImage": "https://assets.runware.ai/assets/inputs/fb9d8b22-7f4b-4e14-8e72-0726fa012c33.jpg",
        "images": [
          "https://assets.runware.ai/assets/inputs/21c11b42-0b0e-4990-8e41-b405ccfee935.jpg"
        ],
        "tags": [
          "Character"
        ]
      }
    ]
  }
}
Response
{
  "taskType": "videoInference",
  "taskUUID": "51ce026d-f92d-44d1-ac8f-8aeb5736a477",
  "videoUUID": "5253ed6d-bdd6-4da5-be12-3a46c4738a55",
  "videoURL": "https://vm.runware.ai/video/os/a02d21/ws/5/vi/5253ed6d-bdd6-4da5-be12-3a46c4738a55.mp4",
  "cost": 2.35
}