MODEL IDklingai:5@2
deprecated

KlingAI 2.1 Pro

Kling AI
by Kling AI

KlingAI 2.1 Pro is a professional video generation model for creators who need precise prompt control and cinematic quality. It supports image conditioned video and start or end frame control for sharper motion, consistent subjects, and refined camera movement in 720p or 1080p.

KlingAI 2.1 Pro

This model is deprecated and will be deactivated on September 15, 2026.

first-frame

Circuit Board Recovery B-Roll

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:5@2',
  positivePrompt: 'Continue naturally from the opening frame as a polished five-second industrial sustainability b-roll shot. The conveyor advances steadily beneath the robotic gripper, carrying circuit boards through the sorting line. The gripper descends with precise pneumatic motion, closes around the nearest green circuit board, then lifts it smoothly several centimeters while the remaining components continue moving below. Small indicator lights on distant machinery pulse subtly and copper contacts catch shifting warm reflections. The camera performs a very slow, stable lateral track to the right with restrained foreground parallax, keeping the gripper and selected board sharply defined. Realistic weight, mechanical timing, conveyor vibration, reflections, and motion blur; premium cinematic documentary footage, cool steel-blue palette with copper accents, shallow depth of field, no cuts or transitions.',
  negativePrompt: 'People, hands, logos, labels, readable text, sparks, smoke, fire, chaotic debris, warped machinery, duplicated grippers, floating objects, bending circuit boards, abrupt camera movement, zoom, jump cuts, time lapse, excessive motion blur, flicker, stop motion, animation, CGI appearance',
  width: 1920,
  height: 1080,
  duration: 5,
  inputs: {
    frameImages: [
      {
        image: 'https://assets.runware.ai/assets/inputs/d586dc8a-2f67-4d2f-bebb-874b95a7ceb0.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:5@2",
            "positivePrompt": "Continue naturally from the opening frame as a polished five-second industrial sustainability b-roll shot. The conveyor advances steadily beneath the robotic gripper, carrying circuit boards through the sorting line. The gripper descends with precise pneumatic motion, closes around the nearest green circuit board, then lifts it smoothly several centimeters while the remaining components continue moving below. Small indicator lights on distant machinery pulse subtly and copper contacts catch shifting warm reflections. The camera performs a very slow, stable lateral track to the right with restrained foreground parallax, keeping the gripper and selected board sharply defined. Realistic weight, mechanical timing, conveyor vibration, reflections, and motion blur; premium cinematic documentary footage, cool steel-blue palette with copper accents, shallow depth of field, no cuts or transitions.",
            "negativePrompt": "People, hands, logos, labels, readable text, sparks, smoke, fire, chaotic debris, warped machinery, duplicated grippers, floating objects, bending circuit boards, abrupt camera movement, zoom, jump cuts, time lapse, excessive motion blur, flicker, stop motion, animation, CGI appearance",
            "width": 1920,
            "height": 1080,
            "duration": 5,
            "inputs": {
                "frameImages": [
                    {
                        "image": "https://assets.runware.ai/assets/inputs/d586dc8a-2f67-4d2f-bebb-874b95a7ceb0.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": "bcf56147-efb5-40a5-9572-694c04602a04",
      "model": "klingai:5@2",
      "positivePrompt": "Continue naturally from the opening frame as a polished five-second industrial sustainability b-roll shot. The conveyor advances steadily beneath the robotic gripper, carrying circuit boards through the sorting line. The gripper descends with precise pneumatic motion, closes around the nearest green circuit board, then lifts it smoothly several centimeters while the remaining components continue moving below. Small indicator lights on distant machinery pulse subtly and copper contacts catch shifting warm reflections. The camera performs a very slow, stable lateral track to the right with restrained foreground parallax, keeping the gripper and selected board sharply defined. Realistic weight, mechanical timing, conveyor vibration, reflections, and motion blur; premium cinematic documentary footage, cool steel-blue palette with copper accents, shallow depth of field, no cuts or transitions.",
      "negativePrompt": "People, hands, logos, labels, readable text, sparks, smoke, fire, chaotic debris, warped machinery, duplicated grippers, floating objects, bending circuit boards, abrupt camera movement, zoom, jump cuts, time lapse, excessive motion blur, flicker, stop motion, animation, CGI appearance",
      "width": 1920,
      "height": 1080,
      "duration": 5,
      "inputs": {
        "frameImages": [
          {
            "image": "https://assets.runware.ai/assets/inputs/d586dc8a-2f67-4d2f-bebb-874b95a7ceb0.jpg",
            "frame": "first"
          }
        ]
      }
    }
  ]'
runware run klingai:5@2 \
  positivePrompt="Continue naturally from the opening frame as a polished five-second industrial sustainability b-roll shot. The conveyor advances steadily beneath the robotic gripper, carrying circuit boards through the sorting line. The gripper descends with precise pneumatic motion, closes around the nearest green circuit board, then lifts it smoothly several centimeters while the remaining components continue moving below. Small indicator lights on distant machinery pulse subtly and copper contacts catch shifting warm reflections. The camera performs a very slow, stable lateral track to the right with restrained foreground parallax, keeping the gripper and selected board sharply defined. Realistic weight, mechanical timing, conveyor vibration, reflections, and motion blur; premium cinematic documentary footage, cool steel-blue palette with copper accents, shallow depth of field, no cuts or transitions." \
  negativePrompt="People, hands, logos, labels, readable text, sparks, smoke, fire, chaotic debris, warped machinery, duplicated grippers, floating objects, bending circuit boards, abrupt camera movement, zoom, jump cuts, time lapse, excessive motion blur, flicker, stop motion, animation, CGI appearance" \
  width=1920 \
  height=1080 \
  duration=5 \
  inputs.frameImages.0.image=https://assets.runware.ai/assets/inputs/d586dc8a-2f67-4d2f-bebb-874b95a7ceb0.jpg \
  inputs.frameImages.0.frame=first
{
  "taskType": "videoInference",
  "taskUUID": "bcf56147-efb5-40a5-9572-694c04602a04",
  "model": "klingai:5@2",
  "positivePrompt": "Continue naturally from the opening frame as a polished five-second industrial sustainability b-roll shot. The conveyor advances steadily beneath the robotic gripper, carrying circuit boards through the sorting line. The gripper descends with precise pneumatic motion, closes around the nearest green circuit board, then lifts it smoothly several centimeters while the remaining components continue moving below. Small indicator lights on distant machinery pulse subtly and copper contacts catch shifting warm reflections. The camera performs a very slow, stable lateral track to the right with restrained foreground parallax, keeping the gripper and selected board sharply defined. Realistic weight, mechanical timing, conveyor vibration, reflections, and motion blur; premium cinematic documentary footage, cool steel-blue palette with copper accents, shallow depth of field, no cuts or transitions.",
  "negativePrompt": "People, hands, logos, labels, readable text, sparks, smoke, fire, chaotic debris, warped machinery, duplicated grippers, floating objects, bending circuit boards, abrupt camera movement, zoom, jump cuts, time lapse, excessive motion blur, flicker, stop motion, animation, CGI appearance",
  "width": 1920,
  "height": 1080,
  "duration": 5,
  "inputs": {
    "frameImages": [
      {
        "image": "https://assets.runware.ai/assets/inputs/d586dc8a-2f67-4d2f-bebb-874b95a7ceb0.jpg",
        "frame": "first"
      }
    ]
  }
}
Response
{
  "taskType": "videoInference",
  "taskUUID": "bcf56147-efb5-40a5-9572-694c04602a04",
  "videoUUID": "10a3bfa6-0405-4d44-8ec4-8eae937614a9",
  "videoURL": "https://vm.runware.ai/video/os/a09dlim3/ws/5/vi/10a3bfa6-0405-4d44-8ec4-8eae937614a9.mp4",
  "seed": 602346755,
  "cost": 0.3234
}
first-frame

Manuscript Micro-Suction Tool Demo

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:5@2',
  positivePrompt: 'Continue naturally from the opening frame as one uninterrupted premium product-demonstration shot. The conservator gently lowers the micro-suction pen until its soft tip hovers a few millimeters above the manuscript, then guides it slowly across one dusty margin in a single controlled pass. Fine loose dust visibly lifts from the parchment and travels through the clear tip into the transparent collection chamber while the fragile page and painted decoration remain perfectly still and undisturbed. The conservator\'s gloved fingers make small, precise adjustments; the flexible hose responds with subtle realistic movement. Camera performs a slow, steady macro push-in toward the clear chamber and newly cleaned strip, keeping the pen tip and parchment texture sharply legible. Soft raking task light glints on the gold illumination and reveals a clean before-and-after boundary along the pass. Calm museum-laboratory atmosphere, physically accurate suction behavior, refined editorial product cinematography, shallow depth of field, realistic materials, no cuts, no added objects, no interface graphics, no captions or logos.',
  negativePrompt: 'Abrupt cuts, time-lapse, exaggerated dust clouds, smoke, magical particles, damaged or fluttering parchment, smeared paint, torn paper, shaking camera, warped hands, extra fingers, duplicate tools, changing tool design, illegible manuscript becoming modern text, overlays, captions, logos, app interface, cursor, buttons.',
  width: 1920,
  height: 1080,
  duration: 5,
  CFGScale: 0.85,
  inputs: {
    frameImages: [
      {
        image: 'https://assets.runware.ai/assets/inputs/e01e582d-ab92-441f-b187-1823a1febd0c.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:5@2",
            "positivePrompt": "Continue naturally from the opening frame as one uninterrupted premium product-demonstration shot. The conservator gently lowers the micro-suction pen until its soft tip hovers a few millimeters above the manuscript, then guides it slowly across one dusty margin in a single controlled pass. Fine loose dust visibly lifts from the parchment and travels through the clear tip into the transparent collection chamber while the fragile page and painted decoration remain perfectly still and undisturbed. The conservator's gloved fingers make small, precise adjustments; the flexible hose responds with subtle realistic movement. Camera performs a slow, steady macro push-in toward the clear chamber and newly cleaned strip, keeping the pen tip and parchment texture sharply legible. Soft raking task light glints on the gold illumination and reveals a clean before-and-after boundary along the pass. Calm museum-laboratory atmosphere, physically accurate suction behavior, refined editorial product cinematography, shallow depth of field, realistic materials, no cuts, no added objects, no interface graphics, no captions or logos.",
            "negativePrompt": "Abrupt cuts, time-lapse, exaggerated dust clouds, smoke, magical particles, damaged or fluttering parchment, smeared paint, torn paper, shaking camera, warped hands, extra fingers, duplicate tools, changing tool design, illegible manuscript becoming modern text, overlays, captions, logos, app interface, cursor, buttons.",
            "width": 1920,
            "height": 1080,
            "duration": 5,
            "CFGScale": 0.85,
            "inputs": {
                "frameImages": [
                    {
                        "image": "https://assets.runware.ai/assets/inputs/e01e582d-ab92-441f-b187-1823a1febd0c.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": "86d4f958-3a3d-4a16-9640-3fb939d922a1",
      "model": "klingai:5@2",
      "positivePrompt": "Continue naturally from the opening frame as one uninterrupted premium product-demonstration shot. The conservator gently lowers the micro-suction pen until its soft tip hovers a few millimeters above the manuscript, then guides it slowly across one dusty margin in a single controlled pass. Fine loose dust visibly lifts from the parchment and travels through the clear tip into the transparent collection chamber while the fragile page and painted decoration remain perfectly still and undisturbed. The conservator's gloved fingers make small, precise adjustments; the flexible hose responds with subtle realistic movement. Camera performs a slow, steady macro push-in toward the clear chamber and newly cleaned strip, keeping the pen tip and parchment texture sharply legible. Soft raking task light glints on the gold illumination and reveals a clean before-and-after boundary along the pass. Calm museum-laboratory atmosphere, physically accurate suction behavior, refined editorial product cinematography, shallow depth of field, realistic materials, no cuts, no added objects, no interface graphics, no captions or logos.",
      "negativePrompt": "Abrupt cuts, time-lapse, exaggerated dust clouds, smoke, magical particles, damaged or fluttering parchment, smeared paint, torn paper, shaking camera, warped hands, extra fingers, duplicate tools, changing tool design, illegible manuscript becoming modern text, overlays, captions, logos, app interface, cursor, buttons.",
      "width": 1920,
      "height": 1080,
      "duration": 5,
      "CFGScale": 0.85,
      "inputs": {
        "frameImages": [
          {
            "image": "https://assets.runware.ai/assets/inputs/e01e582d-ab92-441f-b187-1823a1febd0c.jpg",
            "frame": "first"
          }
        ]
      }
    }
  ]'
runware run klingai:5@2 \
  positivePrompt="Continue naturally from the opening frame as one uninterrupted premium product-demonstration shot. The conservator gently lowers the micro-suction pen until its soft tip hovers a few millimeters above the manuscript, then guides it slowly across one dusty margin in a single controlled pass. Fine loose dust visibly lifts from the parchment and travels through the clear tip into the transparent collection chamber while the fragile page and painted decoration remain perfectly still and undisturbed. The conservator's gloved fingers make small, precise adjustments; the flexible hose responds with subtle realistic movement. Camera performs a slow, steady macro push-in toward the clear chamber and newly cleaned strip, keeping the pen tip and parchment texture sharply legible. Soft raking task light glints on the gold illumination and reveals a clean before-and-after boundary along the pass. Calm museum-laboratory atmosphere, physically accurate suction behavior, refined editorial product cinematography, shallow depth of field, realistic materials, no cuts, no added objects, no interface graphics, no captions or logos." \
  negativePrompt="Abrupt cuts, time-lapse, exaggerated dust clouds, smoke, magical particles, damaged or fluttering parchment, smeared paint, torn paper, shaking camera, warped hands, extra fingers, duplicate tools, changing tool design, illegible manuscript becoming modern text, overlays, captions, logos, app interface, cursor, buttons." \
  width=1920 \
  height=1080 \
  duration=5 \
  CFGScale=0.85 \
  inputs.frameImages.0.image=https://assets.runware.ai/assets/inputs/e01e582d-ab92-441f-b187-1823a1febd0c.jpg \
  inputs.frameImages.0.frame=first
{
  "taskType": "videoInference",
  "taskUUID": "86d4f958-3a3d-4a16-9640-3fb939d922a1",
  "model": "klingai:5@2",
  "positivePrompt": "Continue naturally from the opening frame as one uninterrupted premium product-demonstration shot. The conservator gently lowers the micro-suction pen until its soft tip hovers a few millimeters above the manuscript, then guides it slowly across one dusty margin in a single controlled pass. Fine loose dust visibly lifts from the parchment and travels through the clear tip into the transparent collection chamber while the fragile page and painted decoration remain perfectly still and undisturbed. The conservator's gloved fingers make small, precise adjustments; the flexible hose responds with subtle realistic movement. Camera performs a slow, steady macro push-in toward the clear chamber and newly cleaned strip, keeping the pen tip and parchment texture sharply legible. Soft raking task light glints on the gold illumination and reveals a clean before-and-after boundary along the pass. Calm museum-laboratory atmosphere, physically accurate suction behavior, refined editorial product cinematography, shallow depth of field, realistic materials, no cuts, no added objects, no interface graphics, no captions or logos.",
  "negativePrompt": "Abrupt cuts, time-lapse, exaggerated dust clouds, smoke, magical particles, damaged or fluttering parchment, smeared paint, torn paper, shaking camera, warped hands, extra fingers, duplicate tools, changing tool design, illegible manuscript becoming modern text, overlays, captions, logos, app interface, cursor, buttons.",
  "width": 1920,
  "height": 1080,
  "duration": 5,
  "CFGScale": 0.85,
  "inputs": {
    "frameImages": [
      {
        "image": "https://assets.runware.ai/assets/inputs/e01e582d-ab92-441f-b187-1823a1febd0c.jpg",
        "frame": "first"
      }
    ]
  }
}
Response
{
  "taskType": "videoInference",
  "taskUUID": "86d4f958-3a3d-4a16-9640-3fb939d922a1",
  "videoUUID": "8cd3558e-1f28-4a9f-b3e2-4e1e7f115c29",
  "videoURL": "https://vm.runware.ai/video/os/a08dlim3/ws/5/vi/8cd3558e-1f28-4a9f-b3e2-4e1e7f115c29.mp4",
  "seed": 735850131,
  "cost": 0.3234
}
first-last-frame

Vertical Film Archive Inspection B-Roll

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:5@2',
  positivePrompt: 'A single continuous vertical documentary b-roll shot in a professional film archive. Beginning from the supplied first frame, the archivist\'s gloved hands carefully lower the loose 35mm film strip, guide it around the central rollers and sprockets, seat it through the inspection gate, and draw it across to the empty right take-up reel. The fingers make precise, practiced movements while the flexible film bows naturally, catches warm amber highlights, then becomes taut. The archivist secures the film, reaches to the control lever, and starts the machine. Both reels begin turning smoothly, with restrained realistic motion blur on the right reel as film advances through the illuminated gate. Use a very slow, steady camera push-in with subtle handheld documentary micro-movement; preserve the exact bench layout, wardrobe, reel design, lighting direction and portrait framing throughout. Warm tungsten practical light, muted olive, ivory and tobacco tones, tactile mechanical detail, shallow depth of field, authentic archival workspace, calm methodical mood. Finish seamlessly on the supplied last frame.',
  negativePrompt: 'Cuts, time-lapse, abrupt camera movement, changing room layout, changing clothing, different machine, extra hands, missing fingers, warped hands, broken film path, snapping film, melting objects, flicker, exposure pumping, modern digital screens, readable text, captions, logos, watermarks, exaggerated reel speed, cinematic smoke, fantasy elements.',
  width: 1080,
  height: 1920,
  duration: 10,
  inputs: {
    frameImages: [
      {
        image: 'https://assets.runware.ai/assets/inputs/d4c52c92-3807-46be-87be-2b2944c4d6b8.jpg',
        frame: 'first'
      },
      {
        image: 'https://assets.runware.ai/assets/inputs/ec4ac990-aaa7-4455-97eb-9b24a173d43f.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:5@2",
            "positivePrompt": "A single continuous vertical documentary b-roll shot in a professional film archive. Beginning from the supplied first frame, the archivist's gloved hands carefully lower the loose 35mm film strip, guide it around the central rollers and sprockets, seat it through the inspection gate, and draw it across to the empty right take-up reel. The fingers make precise, practiced movements while the flexible film bows naturally, catches warm amber highlights, then becomes taut. The archivist secures the film, reaches to the control lever, and starts the machine. Both reels begin turning smoothly, with restrained realistic motion blur on the right reel as film advances through the illuminated gate. Use a very slow, steady camera push-in with subtle handheld documentary micro-movement; preserve the exact bench layout, wardrobe, reel design, lighting direction and portrait framing throughout. Warm tungsten practical light, muted olive, ivory and tobacco tones, tactile mechanical detail, shallow depth of field, authentic archival workspace, calm methodical mood. Finish seamlessly on the supplied last frame.",
            "negativePrompt": "Cuts, time-lapse, abrupt camera movement, changing room layout, changing clothing, different machine, extra hands, missing fingers, warped hands, broken film path, snapping film, melting objects, flicker, exposure pumping, modern digital screens, readable text, captions, logos, watermarks, exaggerated reel speed, cinematic smoke, fantasy elements.",
            "width": 1080,
            "height": 1920,
            "duration": 10,
            "inputs": {
                "frameImages": [
                    {
                        "image": "https://assets.runware.ai/assets/inputs/d4c52c92-3807-46be-87be-2b2944c4d6b8.jpg",
                        "frame": "first"
                    },
                    {
                        "image": "https://assets.runware.ai/assets/inputs/ec4ac990-aaa7-4455-97eb-9b24a173d43f.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": "eb637e79-cf9d-4f96-9335-19bbc1fd5428",
      "model": "klingai:5@2",
      "positivePrompt": "A single continuous vertical documentary b-roll shot in a professional film archive. Beginning from the supplied first frame, the archivist's gloved hands carefully lower the loose 35mm film strip, guide it around the central rollers and sprockets, seat it through the inspection gate, and draw it across to the empty right take-up reel. The fingers make precise, practiced movements while the flexible film bows naturally, catches warm amber highlights, then becomes taut. The archivist secures the film, reaches to the control lever, and starts the machine. Both reels begin turning smoothly, with restrained realistic motion blur on the right reel as film advances through the illuminated gate. Use a very slow, steady camera push-in with subtle handheld documentary micro-movement; preserve the exact bench layout, wardrobe, reel design, lighting direction and portrait framing throughout. Warm tungsten practical light, muted olive, ivory and tobacco tones, tactile mechanical detail, shallow depth of field, authentic archival workspace, calm methodical mood. Finish seamlessly on the supplied last frame.",
      "negativePrompt": "Cuts, time-lapse, abrupt camera movement, changing room layout, changing clothing, different machine, extra hands, missing fingers, warped hands, broken film path, snapping film, melting objects, flicker, exposure pumping, modern digital screens, readable text, captions, logos, watermarks, exaggerated reel speed, cinematic smoke, fantasy elements.",
      "width": 1080,
      "height": 1920,
      "duration": 10,
      "inputs": {
        "frameImages": [
          {
            "image": "https://assets.runware.ai/assets/inputs/d4c52c92-3807-46be-87be-2b2944c4d6b8.jpg",
            "frame": "first"
          },
          {
            "image": "https://assets.runware.ai/assets/inputs/ec4ac990-aaa7-4455-97eb-9b24a173d43f.jpg",
            "frame": "last"
          }
        ]
      }
    }
  ]'
runware run klingai:5@2 \
  positivePrompt="A single continuous vertical documentary b-roll shot in a professional film archive. Beginning from the supplied first frame, the archivist's gloved hands carefully lower the loose 35mm film strip, guide it around the central rollers and sprockets, seat it through the inspection gate, and draw it across to the empty right take-up reel. The fingers make precise, practiced movements while the flexible film bows naturally, catches warm amber highlights, then becomes taut. The archivist secures the film, reaches to the control lever, and starts the machine. Both reels begin turning smoothly, with restrained realistic motion blur on the right reel as film advances through the illuminated gate. Use a very slow, steady camera push-in with subtle handheld documentary micro-movement; preserve the exact bench layout, wardrobe, reel design, lighting direction and portrait framing throughout. Warm tungsten practical light, muted olive, ivory and tobacco tones, tactile mechanical detail, shallow depth of field, authentic archival workspace, calm methodical mood. Finish seamlessly on the supplied last frame." \
  negativePrompt="Cuts, time-lapse, abrupt camera movement, changing room layout, changing clothing, different machine, extra hands, missing fingers, warped hands, broken film path, snapping film, melting objects, flicker, exposure pumping, modern digital screens, readable text, captions, logos, watermarks, exaggerated reel speed, cinematic smoke, fantasy elements." \
  width=1080 \
  height=1920 \
  duration=10 \
  inputs.frameImages.0.image=https://assets.runware.ai/assets/inputs/d4c52c92-3807-46be-87be-2b2944c4d6b8.jpg \
  inputs.frameImages.0.frame=first \
  inputs.frameImages.1.image=https://assets.runware.ai/assets/inputs/ec4ac990-aaa7-4455-97eb-9b24a173d43f.jpg \
  inputs.frameImages.1.frame=last
{
  "taskType": "videoInference",
  "taskUUID": "eb637e79-cf9d-4f96-9335-19bbc1fd5428",
  "model": "klingai:5@2",
  "positivePrompt": "A single continuous vertical documentary b-roll shot in a professional film archive. Beginning from the supplied first frame, the archivist's gloved hands carefully lower the loose 35mm film strip, guide it around the central rollers and sprockets, seat it through the inspection gate, and draw it across to the empty right take-up reel. The fingers make precise, practiced movements while the flexible film bows naturally, catches warm amber highlights, then becomes taut. The archivist secures the film, reaches to the control lever, and starts the machine. Both reels begin turning smoothly, with restrained realistic motion blur on the right reel as film advances through the illuminated gate. Use a very slow, steady camera push-in with subtle handheld documentary micro-movement; preserve the exact bench layout, wardrobe, reel design, lighting direction and portrait framing throughout. Warm tungsten practical light, muted olive, ivory and tobacco tones, tactile mechanical detail, shallow depth of field, authentic archival workspace, calm methodical mood. Finish seamlessly on the supplied last frame.",
  "negativePrompt": "Cuts, time-lapse, abrupt camera movement, changing room layout, changing clothing, different machine, extra hands, missing fingers, warped hands, broken film path, snapping film, melting objects, flicker, exposure pumping, modern digital screens, readable text, captions, logos, watermarks, exaggerated reel speed, cinematic smoke, fantasy elements.",
  "width": 1080,
  "height": 1920,
  "duration": 10,
  "inputs": {
    "frameImages": [
      {
        "image": "https://assets.runware.ai/assets/inputs/d4c52c92-3807-46be-87be-2b2944c4d6b8.jpg",
        "frame": "first"
      },
      {
        "image": "https://assets.runware.ai/assets/inputs/ec4ac990-aaa7-4455-97eb-9b24a173d43f.jpg",
        "frame": "last"
      }
    ]
  }
}
Response
{
  "taskType": "videoInference",
  "taskUUID": "eb637e79-cf9d-4f96-9335-19bbc1fd5428",
  "videoUUID": "aff1c1ca-edbf-4429-b0ef-e9de66ba85bb",
  "videoURL": "https://vm.runware.ai/video/os/a03d21/ws/5/vi/aff1c1ca-edbf-4429-b0ef-e9de66ba85bb.mp4",
  "seed": 1806127524,
  "cost": 0.6468
}
first-last-frame

Modular Apiary Suit Showcase Reel

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:5@2',
  positivePrompt: 'Create a seamless ten-second vertical fashion product showcase connecting the supplied endpoint images. The model begins still and front-facing with the beekeeper veil folded around the shoulders. A slow, precise clockwise camera orbit combines with a subtle push-in while the model lifts the circular hood in one fluid motion, draws it over the head, and secures the veil. Preserve the model\'s identity, body proportions, garment construction, ecru fabric color, cobalt seam tape, brass hardware, orange gloves, and greenhouse layout throughout. Let the ripstop fabric crease and settle naturally; the fine mesh should flex realistically without warping. As the camera reaches a three-quarter angle, the model lowers one hand and briefly reveals the structured utility pocket before settling into the confident closing pose. Warm sunlight glides across the fabric and brass zipper, emphasizing stitching, ventilation mesh, and material texture. Premium editorial pacing, controlled human motion, stable anatomy, coherent product geometry, realistic cloth physics, continuous shot, no cuts, no added objects, no lettering or logos.',
  width: 1080,
  height: 1920,
  duration: 10,
  inputs: {
    frameImages: [
      {
        image: 'https://assets.runware.ai/assets/inputs/b1b72989-364b-4589-b136-90d9c1f8a008.jpg',
        frame: 'first'
      },
      {
        image: 'https://assets.runware.ai/assets/inputs/c653d294-a553-45b2-b506-f659a779141a.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:5@2",
            "positivePrompt": "Create a seamless ten-second vertical fashion product showcase connecting the supplied endpoint images. The model begins still and front-facing with the beekeeper veil folded around the shoulders. A slow, precise clockwise camera orbit combines with a subtle push-in while the model lifts the circular hood in one fluid motion, draws it over the head, and secures the veil. Preserve the model's identity, body proportions, garment construction, ecru fabric color, cobalt seam tape, brass hardware, orange gloves, and greenhouse layout throughout. Let the ripstop fabric crease and settle naturally; the fine mesh should flex realistically without warping. As the camera reaches a three-quarter angle, the model lowers one hand and briefly reveals the structured utility pocket before settling into the confident closing pose. Warm sunlight glides across the fabric and brass zipper, emphasizing stitching, ventilation mesh, and material texture. Premium editorial pacing, controlled human motion, stable anatomy, coherent product geometry, realistic cloth physics, continuous shot, no cuts, no added objects, no lettering or logos.",
            "width": 1080,
            "height": 1920,
            "duration": 10,
            "inputs": {
                "frameImages": [
                    {
                        "image": "https://assets.runware.ai/assets/inputs/b1b72989-364b-4589-b136-90d9c1f8a008.jpg",
                        "frame": "first"
                    },
                    {
                        "image": "https://assets.runware.ai/assets/inputs/c653d294-a553-45b2-b506-f659a779141a.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": "159244fc-9452-450e-b2d5-c5ec03a9337e",
      "model": "klingai:5@2",
      "positivePrompt": "Create a seamless ten-second vertical fashion product showcase connecting the supplied endpoint images. The model begins still and front-facing with the beekeeper veil folded around the shoulders. A slow, precise clockwise camera orbit combines with a subtle push-in while the model lifts the circular hood in one fluid motion, draws it over the head, and secures the veil. Preserve the model's identity, body proportions, garment construction, ecru fabric color, cobalt seam tape, brass hardware, orange gloves, and greenhouse layout throughout. Let the ripstop fabric crease and settle naturally; the fine mesh should flex realistically without warping. As the camera reaches a three-quarter angle, the model lowers one hand and briefly reveals the structured utility pocket before settling into the confident closing pose. Warm sunlight glides across the fabric and brass zipper, emphasizing stitching, ventilation mesh, and material texture. Premium editorial pacing, controlled human motion, stable anatomy, coherent product geometry, realistic cloth physics, continuous shot, no cuts, no added objects, no lettering or logos.",
      "width": 1080,
      "height": 1920,
      "duration": 10,
      "inputs": {
        "frameImages": [
          {
            "image": "https://assets.runware.ai/assets/inputs/b1b72989-364b-4589-b136-90d9c1f8a008.jpg",
            "frame": "first"
          },
          {
            "image": "https://assets.runware.ai/assets/inputs/c653d294-a553-45b2-b506-f659a779141a.jpg",
            "frame": "last"
          }
        ]
      }
    }
  ]'
runware run klingai:5@2 \
  positivePrompt="Create a seamless ten-second vertical fashion product showcase connecting the supplied endpoint images. The model begins still and front-facing with the beekeeper veil folded around the shoulders. A slow, precise clockwise camera orbit combines with a subtle push-in while the model lifts the circular hood in one fluid motion, draws it over the head, and secures the veil. Preserve the model's identity, body proportions, garment construction, ecru fabric color, cobalt seam tape, brass hardware, orange gloves, and greenhouse layout throughout. Let the ripstop fabric crease and settle naturally; the fine mesh should flex realistically without warping. As the camera reaches a three-quarter angle, the model lowers one hand and briefly reveals the structured utility pocket before settling into the confident closing pose. Warm sunlight glides across the fabric and brass zipper, emphasizing stitching, ventilation mesh, and material texture. Premium editorial pacing, controlled human motion, stable anatomy, coherent product geometry, realistic cloth physics, continuous shot, no cuts, no added objects, no lettering or logos." \
  width=1080 \
  height=1920 \
  duration=10 \
  inputs.frameImages.0.image=https://assets.runware.ai/assets/inputs/b1b72989-364b-4589-b136-90d9c1f8a008.jpg \
  inputs.frameImages.0.frame=first \
  inputs.frameImages.1.image=https://assets.runware.ai/assets/inputs/c653d294-a553-45b2-b506-f659a779141a.jpg \
  inputs.frameImages.1.frame=last
{
  "taskType": "videoInference",
  "taskUUID": "159244fc-9452-450e-b2d5-c5ec03a9337e",
  "model": "klingai:5@2",
  "positivePrompt": "Create a seamless ten-second vertical fashion product showcase connecting the supplied endpoint images. The model begins still and front-facing with the beekeeper veil folded around the shoulders. A slow, precise clockwise camera orbit combines with a subtle push-in while the model lifts the circular hood in one fluid motion, draws it over the head, and secures the veil. Preserve the model's identity, body proportions, garment construction, ecru fabric color, cobalt seam tape, brass hardware, orange gloves, and greenhouse layout throughout. Let the ripstop fabric crease and settle naturally; the fine mesh should flex realistically without warping. As the camera reaches a three-quarter angle, the model lowers one hand and briefly reveals the structured utility pocket before settling into the confident closing pose. Warm sunlight glides across the fabric and brass zipper, emphasizing stitching, ventilation mesh, and material texture. Premium editorial pacing, controlled human motion, stable anatomy, coherent product geometry, realistic cloth physics, continuous shot, no cuts, no added objects, no lettering or logos.",
  "width": 1080,
  "height": 1920,
  "duration": 10,
  "inputs": {
    "frameImages": [
      {
        "image": "https://assets.runware.ai/assets/inputs/b1b72989-364b-4589-b136-90d9c1f8a008.jpg",
        "frame": "first"
      },
      {
        "image": "https://assets.runware.ai/assets/inputs/c653d294-a553-45b2-b506-f659a779141a.jpg",
        "frame": "last"
      }
    ]
  }
}
Response
{
  "taskType": "videoInference",
  "taskUUID": "159244fc-9452-450e-b2d5-c5ec03a9337e",
  "videoUUID": "0c8385bb-0f7f-4a82-85e9-311d17f530d5",
  "videoURL": "https://vm.runware.ai/video/os/a03d21/ws/5/vi/0c8385bb-0f7f-4a82-85e9-311d17f530d5.mp4",
  "seed": 1624979913,
  "cost": 0.6468
}
Image to Video

Moonlit Ice Festival Procession

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:5@2',
  positivePrompt: 'A cinematic winter festival on a frozen river at night, beginning from the provided frame image. Keep the central standard-bearer consistent while the crowd slowly parts around her. Gentle forward dolly camera movement, subtle parallax, dancers turning in coordinated arcs, long ribbon streamers swaying overhead, lantern light flickering across the ice, soft gusts lifting snow dust, distant skaters gliding across the background, breath visible in the cold air, moonlight mixing with warm lantern tones, refined realism, elegant motion, strong depth, polished cinematic atmosphere.',
  negativePrompt: 'low detail, blurry faces, warped anatomy, duplicated people, jittery motion, abrupt camera shake, oversaturated colors, flat lighting, text, watermark, logo',
  width: 1920,
  height: 1080,
  duration: 5,
  CFGScale: 0.8,
  inputs: {
    frameImages: [
      'https://assets.runware.ai/assets/inputs/d712a41a-1977-4041-b3c5-d9e1c8c620ef.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:5@2",
            "positivePrompt": "A cinematic winter festival on a frozen river at night, beginning from the provided frame image. Keep the central standard-bearer consistent while the crowd slowly parts around her. Gentle forward dolly camera movement, subtle parallax, dancers turning in coordinated arcs, long ribbon streamers swaying overhead, lantern light flickering across the ice, soft gusts lifting snow dust, distant skaters gliding across the background, breath visible in the cold air, moonlight mixing with warm lantern tones, refined realism, elegant motion, strong depth, polished cinematic atmosphere.",
            "negativePrompt": "low detail, blurry faces, warped anatomy, duplicated people, jittery motion, abrupt camera shake, oversaturated colors, flat lighting, text, watermark, logo",
            "width": 1920,
            "height": 1080,
            "duration": 5,
            "CFGScale": 0.8,
            "inputs": {
                "frameImages": [
                    "https://assets.runware.ai/assets/inputs/d712a41a-1977-4041-b3c5-d9e1c8c620ef.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": "8a19fe7d-6d42-4e88-888d-5234b8bb5a51",
      "model": "klingai:5@2",
      "positivePrompt": "A cinematic winter festival on a frozen river at night, beginning from the provided frame image. Keep the central standard-bearer consistent while the crowd slowly parts around her. Gentle forward dolly camera movement, subtle parallax, dancers turning in coordinated arcs, long ribbon streamers swaying overhead, lantern light flickering across the ice, soft gusts lifting snow dust, distant skaters gliding across the background, breath visible in the cold air, moonlight mixing with warm lantern tones, refined realism, elegant motion, strong depth, polished cinematic atmosphere.",
      "negativePrompt": "low detail, blurry faces, warped anatomy, duplicated people, jittery motion, abrupt camera shake, oversaturated colors, flat lighting, text, watermark, logo",
      "width": 1920,
      "height": 1080,
      "duration": 5,
      "CFGScale": 0.8,
      "inputs": {
        "frameImages": [
          "https://assets.runware.ai/assets/inputs/d712a41a-1977-4041-b3c5-d9e1c8c620ef.jpg"
        ]
      }
    }
  ]'
runware run klingai:5@2 \
  positivePrompt="A cinematic winter festival on a frozen river at night, beginning from the provided frame image. Keep the central standard-bearer consistent while the crowd slowly parts around her. Gentle forward dolly camera movement, subtle parallax, dancers turning in coordinated arcs, long ribbon streamers swaying overhead, lantern light flickering across the ice, soft gusts lifting snow dust, distant skaters gliding across the background, breath visible in the cold air, moonlight mixing with warm lantern tones, refined realism, elegant motion, strong depth, polished cinematic atmosphere." \
  negativePrompt="low detail, blurry faces, warped anatomy, duplicated people, jittery motion, abrupt camera shake, oversaturated colors, flat lighting, text, watermark, logo" \
  width=1920 \
  height=1080 \
  duration=5 \
  CFGScale=0.8 \
  inputs.frameImages.0=https://assets.runware.ai/assets/inputs/d712a41a-1977-4041-b3c5-d9e1c8c620ef.jpg
{
  "taskType": "videoInference",
  "taskUUID": "8a19fe7d-6d42-4e88-888d-5234b8bb5a51",
  "model": "klingai:5@2",
  "positivePrompt": "A cinematic winter festival on a frozen river at night, beginning from the provided frame image. Keep the central standard-bearer consistent while the crowd slowly parts around her. Gentle forward dolly camera movement, subtle parallax, dancers turning in coordinated arcs, long ribbon streamers swaying overhead, lantern light flickering across the ice, soft gusts lifting snow dust, distant skaters gliding across the background, breath visible in the cold air, moonlight mixing with warm lantern tones, refined realism, elegant motion, strong depth, polished cinematic atmosphere.",
  "negativePrompt": "low detail, blurry faces, warped anatomy, duplicated people, jittery motion, abrupt camera shake, oversaturated colors, flat lighting, text, watermark, logo",
  "width": 1920,
  "height": 1080,
  "duration": 5,
  "CFGScale": 0.8,
  "inputs": {
    "frameImages": [
      "https://assets.runware.ai/assets/inputs/d712a41a-1977-4041-b3c5-d9e1c8c620ef.jpg"
    ]
  }
}
Response
{
  "taskType": "videoInference",
  "taskUUID": "8a19fe7d-6d42-4e88-888d-5234b8bb5a51",
  "videoUUID": "ed433049-b81c-4091-8ff0-93a45e7be7ee",
  "videoURL": "https://vm.runware.ai/video/os/a09dlim3/ws/5/vi/ed433049-b81c-4091-8ff0-93a45e7be7ee.mp4",
  "seed": 1627315502,
  "cost": 0.3234
}