MODEL IDklingai:kling-video@2.6-pro
live

Kling VIDEO 2.6 Pro

Kling AI
by Kling AI

Kling VIDEO 2.6 Pro is a full audio-visual AI video model that combines cinematic-quality video generation with native audio (dialogue, sound effects, ambience). It supports flexible workflows from text or image input, delivering synchronized video and sound in one pass with strong consistency and creative control. Via the API, Motion Control enables creators to guide character movement using a reference video for more realistic and physically grounded motion.

Kling VIDEO 2.6 Pro
text-to-video

Heritage Seed Documentary Title Sequence

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@2.6-pro',
  positivePrompt: 'Create a polished 10-second cinematic title sequence for a premium documentary series about heritage seed keepers. Compose every shot for 16:9 landscape. Begin on an extreme macro of a dry sunflower head under hard amber dawn light; the camera slowly corkscrews toward its geometric center as papery husks tremble and fine dust hangs in the air. A sudden warm gust releases several seeds. Follow one seed with a fast lateral tracking move through shallow focus, then use its dark oval shape as a seamless match cut to the brass handle of a century-old wooden seed-catalog drawer opening in a dim agricultural archive. Cream specimen labels flutter while rows of glass jars catch narrow shafts of sunlight. Whip-pan into an overhead shot of weathered farmer\'s hands pouring richly colored beans—rust red, mottled cream, ochre, sage green—across a black light table. The camera descends as the beans stream into precise furrow-like lines. In the final two seconds, those rows settle into a restrained graphic composition and reveal the centered title THE SEEDKEEPERS in crisp, elegant cream serif capitals, with A DOCUMENTARY SERIES smaller beneath it. Hold the final title long enough to read. Tactile photorealism, practical macro cinematography, natural seed physics, controlled motion blur, subtle 35mm grain, deep blacks, sun-baked earth palette, intimate and quietly urgent rather than sentimental. Native audio synchronized to the visuals: brittle husk crackle, a sweeping stereo seed rattle, dry field wind, wooden drawer clack, paper rustle, then one low cello pulse and a soft resonant title sting. No narration or dialogue.',
  negativePrompt: 'Illegible or misspelled title, extra text, logos, watermarks, modern laboratory equipment, fantasy imagery, neon colors, rain, glossy commercial product styling, duplicated hands, malformed fingers, floating jars, chaotic camera shake, abrupt exposure changes, cartoon rendering, gore',
  width: 1920,
  height: 1080,
  duration: 10,
  providerSettings: {
    klingai: {
      sound: true
    }
  }
})
import asyncio
import os

from runware import Runware


async def main():
    async with Runware(api_key=os.environ["RUNWARE_API_KEY"]) as client:
        results = await client.run({
            "model": "klingai:kling-video@2.6-pro",
            "positivePrompt": "Create a polished 10-second cinematic title sequence for a premium documentary series about heritage seed keepers. Compose every shot for 16:9 landscape. Begin on an extreme macro of a dry sunflower head under hard amber dawn light; the camera slowly corkscrews toward its geometric center as papery husks tremble and fine dust hangs in the air. A sudden warm gust releases several seeds. Follow one seed with a fast lateral tracking move through shallow focus, then use its dark oval shape as a seamless match cut to the brass handle of a century-old wooden seed-catalog drawer opening in a dim agricultural archive. Cream specimen labels flutter while rows of glass jars catch narrow shafts of sunlight. Whip-pan into an overhead shot of weathered farmer's hands pouring richly colored beans—rust red, mottled cream, ochre, sage green—across a black light table. The camera descends as the beans stream into precise furrow-like lines. In the final two seconds, those rows settle into a restrained graphic composition and reveal the centered title THE SEEDKEEPERS in crisp, elegant cream serif capitals, with A DOCUMENTARY SERIES smaller beneath it. Hold the final title long enough to read. Tactile photorealism, practical macro cinematography, natural seed physics, controlled motion blur, subtle 35mm grain, deep blacks, sun-baked earth palette, intimate and quietly urgent rather than sentimental. Native audio synchronized to the visuals: brittle husk crackle, a sweeping stereo seed rattle, dry field wind, wooden drawer clack, paper rustle, then one low cello pulse and a soft resonant title sting. No narration or dialogue.",
            "negativePrompt": "Illegible or misspelled title, extra text, logos, watermarks, modern laboratory equipment, fantasy imagery, neon colors, rain, glossy commercial product styling, duplicated hands, malformed fingers, floating jars, chaotic camera shake, abrupt exposure changes, cartoon rendering, gore",
            "width": 1920,
            "height": 1080,
            "duration": 10,
            "providerSettings": {
                "klingai": {
                    "sound": True
                }
            }
        })


asyncio.run(main())
curl https://api.runware.ai/v1 \
  -H "Authorization: Bearer $RUNWARE_API_KEY" \
  -H "Content-Type: application/json" \
  -d '[
    {
      "taskType": "videoInference",
      "taskUUID": "323a098e-16de-47e8-8d6c-5d0e8ad2a1a4",
      "model": "klingai:kling-video@2.6-pro",
      "positivePrompt": "Create a polished 10-second cinematic title sequence for a premium documentary series about heritage seed keepers. Compose every shot for 16:9 landscape. Begin on an extreme macro of a dry sunflower head under hard amber dawn light; the camera slowly corkscrews toward its geometric center as papery husks tremble and fine dust hangs in the air. A sudden warm gust releases several seeds. Follow one seed with a fast lateral tracking move through shallow focus, then use its dark oval shape as a seamless match cut to the brass handle of a century-old wooden seed-catalog drawer opening in a dim agricultural archive. Cream specimen labels flutter while rows of glass jars catch narrow shafts of sunlight. Whip-pan into an overhead shot of weathered farmer's hands pouring richly colored beans—rust red, mottled cream, ochre, sage green—across a black light table. The camera descends as the beans stream into precise furrow-like lines. In the final two seconds, those rows settle into a restrained graphic composition and reveal the centered title THE SEEDKEEPERS in crisp, elegant cream serif capitals, with A DOCUMENTARY SERIES smaller beneath it. Hold the final title long enough to read. Tactile photorealism, practical macro cinematography, natural seed physics, controlled motion blur, subtle 35mm grain, deep blacks, sun-baked earth palette, intimate and quietly urgent rather than sentimental. Native audio synchronized to the visuals: brittle husk crackle, a sweeping stereo seed rattle, dry field wind, wooden drawer clack, paper rustle, then one low cello pulse and a soft resonant title sting. No narration or dialogue.",
      "negativePrompt": "Illegible or misspelled title, extra text, logos, watermarks, modern laboratory equipment, fantasy imagery, neon colors, rain, glossy commercial product styling, duplicated hands, malformed fingers, floating jars, chaotic camera shake, abrupt exposure changes, cartoon rendering, gore",
      "width": 1920,
      "height": 1080,
      "duration": 10,
      "providerSettings": {
        "klingai": {
          "sound": true
        }
      }
    }
  ]'
runware run klingai:kling-video@2.6-pro \
  positivePrompt="Create a polished 10-second cinematic title sequence for a premium documentary series about heritage seed keepers. Compose every shot for 16:9 landscape. Begin on an extreme macro of a dry sunflower head under hard amber dawn light; the camera slowly corkscrews toward its geometric center as papery husks tremble and fine dust hangs in the air. A sudden warm gust releases several seeds. Follow one seed with a fast lateral tracking move through shallow focus, then use its dark oval shape as a seamless match cut to the brass handle of a century-old wooden seed-catalog drawer opening in a dim agricultural archive. Cream specimen labels flutter while rows of glass jars catch narrow shafts of sunlight. Whip-pan into an overhead shot of weathered farmer's hands pouring richly colored beans—rust red, mottled cream, ochre, sage green—across a black light table. The camera descends as the beans stream into precise furrow-like lines. In the final two seconds, those rows settle into a restrained graphic composition and reveal the centered title THE SEEDKEEPERS in crisp, elegant cream serif capitals, with A DOCUMENTARY SERIES smaller beneath it. Hold the final title long enough to read. Tactile photorealism, practical macro cinematography, natural seed physics, controlled motion blur, subtle 35mm grain, deep blacks, sun-baked earth palette, intimate and quietly urgent rather than sentimental. Native audio synchronized to the visuals: brittle husk crackle, a sweeping stereo seed rattle, dry field wind, wooden drawer clack, paper rustle, then one low cello pulse and a soft resonant title sting. No narration or dialogue." \
  negativePrompt="Illegible or misspelled title, extra text, logos, watermarks, modern laboratory equipment, fantasy imagery, neon colors, rain, glossy commercial product styling, duplicated hands, malformed fingers, floating jars, chaotic camera shake, abrupt exposure changes, cartoon rendering, gore" \
  width=1920 \
  height=1080 \
  duration=10 \
  providerSettings.klingai.sound=true
{
  "taskType": "videoInference",
  "taskUUID": "323a098e-16de-47e8-8d6c-5d0e8ad2a1a4",
  "model": "klingai:kling-video@2.6-pro",
  "positivePrompt": "Create a polished 10-second cinematic title sequence for a premium documentary series about heritage seed keepers. Compose every shot for 16:9 landscape. Begin on an extreme macro of a dry sunflower head under hard amber dawn light; the camera slowly corkscrews toward its geometric center as papery husks tremble and fine dust hangs in the air. A sudden warm gust releases several seeds. Follow one seed with a fast lateral tracking move through shallow focus, then use its dark oval shape as a seamless match cut to the brass handle of a century-old wooden seed-catalog drawer opening in a dim agricultural archive. Cream specimen labels flutter while rows of glass jars catch narrow shafts of sunlight. Whip-pan into an overhead shot of weathered farmer's hands pouring richly colored beans—rust red, mottled cream, ochre, sage green—across a black light table. The camera descends as the beans stream into precise furrow-like lines. In the final two seconds, those rows settle into a restrained graphic composition and reveal the centered title THE SEEDKEEPERS in crisp, elegant cream serif capitals, with A DOCUMENTARY SERIES smaller beneath it. Hold the final title long enough to read. Tactile photorealism, practical macro cinematography, natural seed physics, controlled motion blur, subtle 35mm grain, deep blacks, sun-baked earth palette, intimate and quietly urgent rather than sentimental. Native audio synchronized to the visuals: brittle husk crackle, a sweeping stereo seed rattle, dry field wind, wooden drawer clack, paper rustle, then one low cello pulse and a soft resonant title sting. No narration or dialogue.",
  "negativePrompt": "Illegible or misspelled title, extra text, logos, watermarks, modern laboratory equipment, fantasy imagery, neon colors, rain, glossy commercial product styling, duplicated hands, malformed fingers, floating jars, chaotic camera shake, abrupt exposure changes, cartoon rendering, gore",
  "width": 1920,
  "height": 1080,
  "duration": 10,
  "providerSettings": {
    "klingai": {
      "sound": true
    }
  }
}
Response
{
  "taskType": "videoInference",
  "taskUUID": "323a098e-16de-47e8-8d6c-5d0e8ad2a1a4",
  "videoUUID": "87e7921f-aece-4f29-b33c-701889f4361d",
  "videoURL": "https://vm.runware.ai/video/os/a10dlim3/ws/5/vi/87e7921f-aece-4f29-b33c-701889f4361d.mp4",
  "cost": 1.4
}
first-frame

Greenhouse Dry-Break Coupler 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:kling-video@2.6-pro',
  positivePrompt: 'A single continuous five-second industrial product demonstration begins from the poised macro composition. The technician firmly rotates the knurled collar a quarter turn and pulls the two hose halves apart horizontally. Track the coupling with a subtle forward camera push. Through the transparent housings, both stainless-steel spring poppet valves snap shut at the exact moment the halves separate; the blue-tinted water columns stop cleanly behind each valve with no spray or stream, only one tiny residual bead catching the sunlight. Hold briefly on the separated sealed ends so the mechanism and benefit are unmistakable. Preserve the precise coupler design, hose colors, gloves, workbench, bright greenhouse daylight, shallow depth of field, and physically accurate hand movement. Premium agricultural engineering explainer, satisfying precision, realistic water pressure and material reflections, no cuts, no slow motion, no on-screen text. Native synchronized audio: low greenhouse ventilation ambience, subtle pressurized-water hum, rubber grip squeak, collar ratchet, and a crisp paired mechanical click as both valves close. Calm female technical voice-over says, "Twist, separate, and twin valves seal both lines instantly." No music.',
  negativePrompt: 'Water spray, leaking hoses, flooding, deformed coupling, changing product geometry, extra fingers, warped hands, disconnected shadows, floating parts, visible brand names, labels, subtitles, captions, interface graphics, camera shake, dramatic rain, neon lighting, music',
  duration: 5,
  providerSettings: {
    klingai: {
      sound: true
    }
  },
  inputs: {
    frameImages: [
      {
        image: 'https://assets.runware.ai/assets/inputs/ccaf50cd-ddad-4310-a7e1-d30443cee3b3.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@2.6-pro",
            "positivePrompt": "A single continuous five-second industrial product demonstration begins from the poised macro composition. The technician firmly rotates the knurled collar a quarter turn and pulls the two hose halves apart horizontally. Track the coupling with a subtle forward camera push. Through the transparent housings, both stainless-steel spring poppet valves snap shut at the exact moment the halves separate; the blue-tinted water columns stop cleanly behind each valve with no spray or stream, only one tiny residual bead catching the sunlight. Hold briefly on the separated sealed ends so the mechanism and benefit are unmistakable. Preserve the precise coupler design, hose colors, gloves, workbench, bright greenhouse daylight, shallow depth of field, and physically accurate hand movement. Premium agricultural engineering explainer, satisfying precision, realistic water pressure and material reflections, no cuts, no slow motion, no on-screen text. Native synchronized audio: low greenhouse ventilation ambience, subtle pressurized-water hum, rubber grip squeak, collar ratchet, and a crisp paired mechanical click as both valves close. Calm female technical voice-over says, \"Twist, separate, and twin valves seal both lines instantly.\" No music.",
            "negativePrompt": "Water spray, leaking hoses, flooding, deformed coupling, changing product geometry, extra fingers, warped hands, disconnected shadows, floating parts, visible brand names, labels, subtitles, captions, interface graphics, camera shake, dramatic rain, neon lighting, music",
            "duration": 5,
            "providerSettings": {
                "klingai": {
                    "sound": True
                }
            },
            "inputs": {
                "frameImages": [
                    {
                        "image": "https://assets.runware.ai/assets/inputs/ccaf50cd-ddad-4310-a7e1-d30443cee3b3.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": "1c6753d5-e070-4a68-80eb-0c1403abdddd",
      "model": "klingai:kling-video@2.6-pro",
      "positivePrompt": "A single continuous five-second industrial product demonstration begins from the poised macro composition. The technician firmly rotates the knurled collar a quarter turn and pulls the two hose halves apart horizontally. Track the coupling with a subtle forward camera push. Through the transparent housings, both stainless-steel spring poppet valves snap shut at the exact moment the halves separate; the blue-tinted water columns stop cleanly behind each valve with no spray or stream, only one tiny residual bead catching the sunlight. Hold briefly on the separated sealed ends so the mechanism and benefit are unmistakable. Preserve the precise coupler design, hose colors, gloves, workbench, bright greenhouse daylight, shallow depth of field, and physically accurate hand movement. Premium agricultural engineering explainer, satisfying precision, realistic water pressure and material reflections, no cuts, no slow motion, no on-screen text. Native synchronized audio: low greenhouse ventilation ambience, subtle pressurized-water hum, rubber grip squeak, collar ratchet, and a crisp paired mechanical click as both valves close. Calm female technical voice-over says, \"Twist, separate, and twin valves seal both lines instantly.\" No music.",
      "negativePrompt": "Water spray, leaking hoses, flooding, deformed coupling, changing product geometry, extra fingers, warped hands, disconnected shadows, floating parts, visible brand names, labels, subtitles, captions, interface graphics, camera shake, dramatic rain, neon lighting, music",
      "duration": 5,
      "providerSettings": {
        "klingai": {
          "sound": true
        }
      },
      "inputs": {
        "frameImages": [
          {
            "image": "https://assets.runware.ai/assets/inputs/ccaf50cd-ddad-4310-a7e1-d30443cee3b3.jpg",
            "frame": "first"
          }
        ]
      }
    }
  ]'
runware run klingai:kling-video@2.6-pro \
  positivePrompt="A single continuous five-second industrial product demonstration begins from the poised macro composition. The technician firmly rotates the knurled collar a quarter turn and pulls the two hose halves apart horizontally. Track the coupling with a subtle forward camera push. Through the transparent housings, both stainless-steel spring poppet valves snap shut at the exact moment the halves separate; the blue-tinted water columns stop cleanly behind each valve with no spray or stream, only one tiny residual bead catching the sunlight. Hold briefly on the separated sealed ends so the mechanism and benefit are unmistakable. Preserve the precise coupler design, hose colors, gloves, workbench, bright greenhouse daylight, shallow depth of field, and physically accurate hand movement. Premium agricultural engineering explainer, satisfying precision, realistic water pressure and material reflections, no cuts, no slow motion, no on-screen text. Native synchronized audio: low greenhouse ventilation ambience, subtle pressurized-water hum, rubber grip squeak, collar ratchet, and a crisp paired mechanical click as both valves close. Calm female technical voice-over says, \"Twist, separate, and twin valves seal both lines instantly.\" No music." \
  negativePrompt="Water spray, leaking hoses, flooding, deformed coupling, changing product geometry, extra fingers, warped hands, disconnected shadows, floating parts, visible brand names, labels, subtitles, captions, interface graphics, camera shake, dramatic rain, neon lighting, music" \
  duration=5 \
  providerSettings.klingai.sound=true \
  inputs.frameImages.0.image=https://assets.runware.ai/assets/inputs/ccaf50cd-ddad-4310-a7e1-d30443cee3b3.jpg \
  inputs.frameImages.0.frame=first
{
  "taskType": "videoInference",
  "taskUUID": "1c6753d5-e070-4a68-80eb-0c1403abdddd",
  "model": "klingai:kling-video@2.6-pro",
  "positivePrompt": "A single continuous five-second industrial product demonstration begins from the poised macro composition. The technician firmly rotates the knurled collar a quarter turn and pulls the two hose halves apart horizontally. Track the coupling with a subtle forward camera push. Through the transparent housings, both stainless-steel spring poppet valves snap shut at the exact moment the halves separate; the blue-tinted water columns stop cleanly behind each valve with no spray or stream, only one tiny residual bead catching the sunlight. Hold briefly on the separated sealed ends so the mechanism and benefit are unmistakable. Preserve the precise coupler design, hose colors, gloves, workbench, bright greenhouse daylight, shallow depth of field, and physically accurate hand movement. Premium agricultural engineering explainer, satisfying precision, realistic water pressure and material reflections, no cuts, no slow motion, no on-screen text. Native synchronized audio: low greenhouse ventilation ambience, subtle pressurized-water hum, rubber grip squeak, collar ratchet, and a crisp paired mechanical click as both valves close. Calm female technical voice-over says, \"Twist, separate, and twin valves seal both lines instantly.\" No music.",
  "negativePrompt": "Water spray, leaking hoses, flooding, deformed coupling, changing product geometry, extra fingers, warped hands, disconnected shadows, floating parts, visible brand names, labels, subtitles, captions, interface graphics, camera shake, dramatic rain, neon lighting, music",
  "duration": 5,
  "providerSettings": {
    "klingai": {
      "sound": true
    }
  },
  "inputs": {
    "frameImages": [
      {
        "image": "https://assets.runware.ai/assets/inputs/ccaf50cd-ddad-4310-a7e1-d30443cee3b3.jpg",
        "frame": "first"
      }
    ]
  }
}
Response
{
  "taskType": "videoInference",
  "taskUUID": "1c6753d5-e070-4a68-80eb-0c1403abdddd",
  "videoUUID": "b6bcbb47-0ac8-4f7e-8cc8-454eeccd99c9",
  "videoURL": "https://vm.runware.ai/video/os/a09dlim3/ws/5/vi/b6bcbb47-0ac8-4f7e-8cc8-454eeccd99c9.mp4",
  "cost": 0.7
}
first-last-frame

Archaeological Thriller Opening Title

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@2.6-pro',
  positivePrompt: 'Create a single continuous 10-second opening-title shot connecting the supplied first and last frames. Preserve the exact overhead conservation-table layout, tablet geometry, props, warm raking light and restrained umber, chalk and oxidized-copper palette. Begin nearly still on the dust-covered tablet. After one second, a conservator\'s hand in a fitted charcoal cotton glove enters slowly from the lower left, lifts the bone-handled brush and makes three deliberate, physically believable passes across the clay. Fine dust rolls ahead of the bristles, spills into cracks and drifts through the amber light; the surrounding fragments and tools remain undisturbed. Each pass uncovers more cuneiform and fragments of engraved Roman capitals. Add an almost imperceptible controlled camera push-in without changing the overhead angle. By second eight, the final sweep reveals the exact title THE DUST LEDGER, centered and fully legible as deep incisions in the ancient clay. The hand withdraws with the brush and the camera holds on the completed title for the final two seconds. Prestige archaeological conspiracy thriller, tactile practical effects, measured suspense, realistic hand and brush contact, no cuts, no dissolves, no magical transformation. Native synchronized audio only: close dry brush bristles, granular sand trickling over wood, faint museum ventilation, one low frame-drum pulse as the full title appears, then tense silence.',
  negativePrompt: 'Extra text, misspelled title, changing props, moving fragments, modern screens, rain, neon, fantasy glow, supernatural particles, jump cuts, camera shake, warped hands, extra fingers, floating brush, liquid dust, logos, subtitles, credits, dialogue.',
  duration: 10,
  inputs: {
    frameImages: [
      {
        image: 'https://assets.runware.ai/assets/inputs/d578121b-6e56-4588-9209-ec0cd06c4132.jpg'
      },
      {
        image: 'https://assets.runware.ai/assets/inputs/fbfa0e62-9c45-46d4-9cf3-195440519140.jpg'
      }
    ]
  }
})
import asyncio
import os

from runware import Runware


async def main():
    async with Runware(api_key=os.environ["RUNWARE_API_KEY"]) as client:
        results = await client.run({
            "model": "klingai:kling-video@2.6-pro",
            "positivePrompt": "Create a single continuous 10-second opening-title shot connecting the supplied first and last frames. Preserve the exact overhead conservation-table layout, tablet geometry, props, warm raking light and restrained umber, chalk and oxidized-copper palette. Begin nearly still on the dust-covered tablet. After one second, a conservator's hand in a fitted charcoal cotton glove enters slowly from the lower left, lifts the bone-handled brush and makes three deliberate, physically believable passes across the clay. Fine dust rolls ahead of the bristles, spills into cracks and drifts through the amber light; the surrounding fragments and tools remain undisturbed. Each pass uncovers more cuneiform and fragments of engraved Roman capitals. Add an almost imperceptible controlled camera push-in without changing the overhead angle. By second eight, the final sweep reveals the exact title THE DUST LEDGER, centered and fully legible as deep incisions in the ancient clay. The hand withdraws with the brush and the camera holds on the completed title for the final two seconds. Prestige archaeological conspiracy thriller, tactile practical effects, measured suspense, realistic hand and brush contact, no cuts, no dissolves, no magical transformation. Native synchronized audio only: close dry brush bristles, granular sand trickling over wood, faint museum ventilation, one low frame-drum pulse as the full title appears, then tense silence.",
            "negativePrompt": "Extra text, misspelled title, changing props, moving fragments, modern screens, rain, neon, fantasy glow, supernatural particles, jump cuts, camera shake, warped hands, extra fingers, floating brush, liquid dust, logos, subtitles, credits, dialogue.",
            "duration": 10,
            "inputs": {
                "frameImages": [
                    {
                        "image": "https://assets.runware.ai/assets/inputs/d578121b-6e56-4588-9209-ec0cd06c4132.jpg"
                    },
                    {
                        "image": "https://assets.runware.ai/assets/inputs/fbfa0e62-9c45-46d4-9cf3-195440519140.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": "286e3ed3-950f-4f3d-a719-d5e6538a537f",
      "model": "klingai:kling-video@2.6-pro",
      "positivePrompt": "Create a single continuous 10-second opening-title shot connecting the supplied first and last frames. Preserve the exact overhead conservation-table layout, tablet geometry, props, warm raking light and restrained umber, chalk and oxidized-copper palette. Begin nearly still on the dust-covered tablet. After one second, a conservator's hand in a fitted charcoal cotton glove enters slowly from the lower left, lifts the bone-handled brush and makes three deliberate, physically believable passes across the clay. Fine dust rolls ahead of the bristles, spills into cracks and drifts through the amber light; the surrounding fragments and tools remain undisturbed. Each pass uncovers more cuneiform and fragments of engraved Roman capitals. Add an almost imperceptible controlled camera push-in without changing the overhead angle. By second eight, the final sweep reveals the exact title THE DUST LEDGER, centered and fully legible as deep incisions in the ancient clay. The hand withdraws with the brush and the camera holds on the completed title for the final two seconds. Prestige archaeological conspiracy thriller, tactile practical effects, measured suspense, realistic hand and brush contact, no cuts, no dissolves, no magical transformation. Native synchronized audio only: close dry brush bristles, granular sand trickling over wood, faint museum ventilation, one low frame-drum pulse as the full title appears, then tense silence.",
      "negativePrompt": "Extra text, misspelled title, changing props, moving fragments, modern screens, rain, neon, fantasy glow, supernatural particles, jump cuts, camera shake, warped hands, extra fingers, floating brush, liquid dust, logos, subtitles, credits, dialogue.",
      "duration": 10,
      "inputs": {
        "frameImages": [
          {
            "image": "https://assets.runware.ai/assets/inputs/d578121b-6e56-4588-9209-ec0cd06c4132.jpg"
          },
          {
            "image": "https://assets.runware.ai/assets/inputs/fbfa0e62-9c45-46d4-9cf3-195440519140.jpg"
          }
        ]
      }
    }
  ]'
runware run klingai:kling-video@2.6-pro \
  positivePrompt="Create a single continuous 10-second opening-title shot connecting the supplied first and last frames. Preserve the exact overhead conservation-table layout, tablet geometry, props, warm raking light and restrained umber, chalk and oxidized-copper palette. Begin nearly still on the dust-covered tablet. After one second, a conservator's hand in a fitted charcoal cotton glove enters slowly from the lower left, lifts the bone-handled brush and makes three deliberate, physically believable passes across the clay. Fine dust rolls ahead of the bristles, spills into cracks and drifts through the amber light; the surrounding fragments and tools remain undisturbed. Each pass uncovers more cuneiform and fragments of engraved Roman capitals. Add an almost imperceptible controlled camera push-in without changing the overhead angle. By second eight, the final sweep reveals the exact title THE DUST LEDGER, centered and fully legible as deep incisions in the ancient clay. The hand withdraws with the brush and the camera holds on the completed title for the final two seconds. Prestige archaeological conspiracy thriller, tactile practical effects, measured suspense, realistic hand and brush contact, no cuts, no dissolves, no magical transformation. Native synchronized audio only: close dry brush bristles, granular sand trickling over wood, faint museum ventilation, one low frame-drum pulse as the full title appears, then tense silence." \
  negativePrompt="Extra text, misspelled title, changing props, moving fragments, modern screens, rain, neon, fantasy glow, supernatural particles, jump cuts, camera shake, warped hands, extra fingers, floating brush, liquid dust, logos, subtitles, credits, dialogue." \
  duration=10 \
  inputs.frameImages.0.image=https://assets.runware.ai/assets/inputs/d578121b-6e56-4588-9209-ec0cd06c4132.jpg \
  inputs.frameImages.1.image=https://assets.runware.ai/assets/inputs/fbfa0e62-9c45-46d4-9cf3-195440519140.jpg
{
  "taskType": "videoInference",
  "taskUUID": "286e3ed3-950f-4f3d-a719-d5e6538a537f",
  "model": "klingai:kling-video@2.6-pro",
  "positivePrompt": "Create a single continuous 10-second opening-title shot connecting the supplied first and last frames. Preserve the exact overhead conservation-table layout, tablet geometry, props, warm raking light and restrained umber, chalk and oxidized-copper palette. Begin nearly still on the dust-covered tablet. After one second, a conservator's hand in a fitted charcoal cotton glove enters slowly from the lower left, lifts the bone-handled brush and makes three deliberate, physically believable passes across the clay. Fine dust rolls ahead of the bristles, spills into cracks and drifts through the amber light; the surrounding fragments and tools remain undisturbed. Each pass uncovers more cuneiform and fragments of engraved Roman capitals. Add an almost imperceptible controlled camera push-in without changing the overhead angle. By second eight, the final sweep reveals the exact title THE DUST LEDGER, centered and fully legible as deep incisions in the ancient clay. The hand withdraws with the brush and the camera holds on the completed title for the final two seconds. Prestige archaeological conspiracy thriller, tactile practical effects, measured suspense, realistic hand and brush contact, no cuts, no dissolves, no magical transformation. Native synchronized audio only: close dry brush bristles, granular sand trickling over wood, faint museum ventilation, one low frame-drum pulse as the full title appears, then tense silence.",
  "negativePrompt": "Extra text, misspelled title, changing props, moving fragments, modern screens, rain, neon, fantasy glow, supernatural particles, jump cuts, camera shake, warped hands, extra fingers, floating brush, liquid dust, logos, subtitles, credits, dialogue.",
  "duration": 10,
  "inputs": {
    "frameImages": [
      {
        "image": "https://assets.runware.ai/assets/inputs/d578121b-6e56-4588-9209-ec0cd06c4132.jpg"
      },
      {
        "image": "https://assets.runware.ai/assets/inputs/fbfa0e62-9c45-46d4-9cf3-195440519140.jpg"
      }
    ]
  }
}
Response
{
  "taskType": "videoInference",
  "taskUUID": "286e3ed3-950f-4f3d-a719-d5e6538a537f",
  "videoUUID": "ed4a1324-53cd-4663-b67b-370e595943c7",
  "videoURL": "https://vm.runware.ai/video/os/a04d20/ws/5/vi/ed4a1324-53cd-4663-b67b-370e595943c7.mp4",
  "cost": 0.7
}
Text to Video

Rain-Soaked Tram Depot Reverie

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@2.6-pro',
  positivePrompt: 'A cinematic early-morning tram depot in an old coastal metropolis after a storm, wide shot shifting into intimate detail, wet steel tracks reflecting amber signal lamps, a cream-and-crimson tram gliding in with sparks humming overhead, commuters in tailored rain capes and folded umbrellas, a street violinist under the station awning playing a wistful melody, puddles rippling from light drizzle, gulls circling beyond distant warehouses and harbor cranes, steam rising from vents, realistic human motion, subtle camera drift, layered depth, expressive faces, polished filmic lighting, natural ambience with tram brakes, electrical buzz, footsteps on wet pavement, soft conversation, violin music blending with rain and harbor sounds, emotionally resonant, elegant, contemporary cinematic realism',
  negativePrompt: 'low resolution, blurry faces, distorted anatomy, extra limbs, frozen motion, flicker, text overlays, subtitles, watermark, logo, oversaturated colors, cartoon style, chaotic crowding, broken tram geometry, duplicated people, harsh strobe lighting, silent scene',
  width: 1920,
  height: 1080,
  duration: 10,
  CFGScale: 0.7,
  providerSettings: {
    klingai: {
      sound: true
    }
  }
})
import asyncio
import os

from runware import Runware


async def main():
    async with Runware(api_key=os.environ["RUNWARE_API_KEY"]) as client:
        results = await client.run({
            "model": "klingai:kling-video@2.6-pro",
            "positivePrompt": "A cinematic early-morning tram depot in an old coastal metropolis after a storm, wide shot shifting into intimate detail, wet steel tracks reflecting amber signal lamps, a cream-and-crimson tram gliding in with sparks humming overhead, commuters in tailored rain capes and folded umbrellas, a street violinist under the station awning playing a wistful melody, puddles rippling from light drizzle, gulls circling beyond distant warehouses and harbor cranes, steam rising from vents, realistic human motion, subtle camera drift, layered depth, expressive faces, polished filmic lighting, natural ambience with tram brakes, electrical buzz, footsteps on wet pavement, soft conversation, violin music blending with rain and harbor sounds, emotionally resonant, elegant, contemporary cinematic realism",
            "negativePrompt": "low resolution, blurry faces, distorted anatomy, extra limbs, frozen motion, flicker, text overlays, subtitles, watermark, logo, oversaturated colors, cartoon style, chaotic crowding, broken tram geometry, duplicated people, harsh strobe lighting, silent scene",
            "width": 1920,
            "height": 1080,
            "duration": 10,
            "CFGScale": 0.7,
            "providerSettings": {
                "klingai": {
                    "sound": True
                }
            }
        })


asyncio.run(main())
curl https://api.runware.ai/v1 \
  -H "Authorization: Bearer $RUNWARE_API_KEY" \
  -H "Content-Type: application/json" \
  -d '[
    {
      "taskType": "videoInference",
      "taskUUID": "4df4c7a0-d468-444a-b63e-6823dd3f6f80",
      "model": "klingai:kling-video@2.6-pro",
      "positivePrompt": "A cinematic early-morning tram depot in an old coastal metropolis after a storm, wide shot shifting into intimate detail, wet steel tracks reflecting amber signal lamps, a cream-and-crimson tram gliding in with sparks humming overhead, commuters in tailored rain capes and folded umbrellas, a street violinist under the station awning playing a wistful melody, puddles rippling from light drizzle, gulls circling beyond distant warehouses and harbor cranes, steam rising from vents, realistic human motion, subtle camera drift, layered depth, expressive faces, polished filmic lighting, natural ambience with tram brakes, electrical buzz, footsteps on wet pavement, soft conversation, violin music blending with rain and harbor sounds, emotionally resonant, elegant, contemporary cinematic realism",
      "negativePrompt": "low resolution, blurry faces, distorted anatomy, extra limbs, frozen motion, flicker, text overlays, subtitles, watermark, logo, oversaturated colors, cartoon style, chaotic crowding, broken tram geometry, duplicated people, harsh strobe lighting, silent scene",
      "width": 1920,
      "height": 1080,
      "duration": 10,
      "CFGScale": 0.7,
      "providerSettings": {
        "klingai": {
          "sound": true
        }
      }
    }
  ]'
runware run klingai:kling-video@2.6-pro \
  positivePrompt="A cinematic early-morning tram depot in an old coastal metropolis after a storm, wide shot shifting into intimate detail, wet steel tracks reflecting amber signal lamps, a cream-and-crimson tram gliding in with sparks humming overhead, commuters in tailored rain capes and folded umbrellas, a street violinist under the station awning playing a wistful melody, puddles rippling from light drizzle, gulls circling beyond distant warehouses and harbor cranes, steam rising from vents, realistic human motion, subtle camera drift, layered depth, expressive faces, polished filmic lighting, natural ambience with tram brakes, electrical buzz, footsteps on wet pavement, soft conversation, violin music blending with rain and harbor sounds, emotionally resonant, elegant, contemporary cinematic realism" \
  negativePrompt="low resolution, blurry faces, distorted anatomy, extra limbs, frozen motion, flicker, text overlays, subtitles, watermark, logo, oversaturated colors, cartoon style, chaotic crowding, broken tram geometry, duplicated people, harsh strobe lighting, silent scene" \
  width=1920 \
  height=1080 \
  duration=10 \
  CFGScale=0.7 \
  providerSettings.klingai.sound=true
{
  "taskType": "videoInference",
  "taskUUID": "4df4c7a0-d468-444a-b63e-6823dd3f6f80",
  "model": "klingai:kling-video@2.6-pro",
  "positivePrompt": "A cinematic early-morning tram depot in an old coastal metropolis after a storm, wide shot shifting into intimate detail, wet steel tracks reflecting amber signal lamps, a cream-and-crimson tram gliding in with sparks humming overhead, commuters in tailored rain capes and folded umbrellas, a street violinist under the station awning playing a wistful melody, puddles rippling from light drizzle, gulls circling beyond distant warehouses and harbor cranes, steam rising from vents, realistic human motion, subtle camera drift, layered depth, expressive faces, polished filmic lighting, natural ambience with tram brakes, electrical buzz, footsteps on wet pavement, soft conversation, violin music blending with rain and harbor sounds, emotionally resonant, elegant, contemporary cinematic realism",
  "negativePrompt": "low resolution, blurry faces, distorted anatomy, extra limbs, frozen motion, flicker, text overlays, subtitles, watermark, logo, oversaturated colors, cartoon style, chaotic crowding, broken tram geometry, duplicated people, harsh strobe lighting, silent scene",
  "width": 1920,
  "height": 1080,
  "duration": 10,
  "CFGScale": 0.7,
  "providerSettings": {
    "klingai": {
      "sound": true
    }
  }
}
Response
{
  "taskType": "videoInference",
  "taskUUID": "4df4c7a0-d468-444a-b63e-6823dd3f6f80",
  "videoUUID": "c8b3cdfe-935c-44c2-9f6b-398c43a62d09",
  "videoURL": "https://vm.runware.ai/video/os/a19d05/ws/5/vi/c8b3cdfe-935c-44c2-9f6b-398c43a62d09.mp4",
  "cost": 1.4
}
Image to Video

Rain-Glossed Tram Terminal Reverie

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@2.6-pro',
  positivePrompt: 'Transform the first frame into the last frame with elegant cinematic motion and strong scene consistency. The camera slowly glides forward through a vast rain-swept tram terminal with reflective stone floors and a vaulted glass canopy. A solitary violinist in a cobalt coat becomes the emotional anchor of the scene as sparse travelers drift past in soft focus. Ripples spread through puddles, amber lamps shimmer in reflections, hanging signs sway slightly, and fine rain at the entrance gradually softens into luminous dawn mist. As the sequence progresses, folded paper swans appear and drift across the shallow water, leading the eye toward a vintage tram preparing to depart. End with the violinist stepping onto the tram as warm early light replaces the cooler tones. Naturalistic motion, physically believable transitions, rich atmosphere, detailed reflections, subtle fabric movement, restrained cinematic drama.',
  negativePrompt: 'low detail, flicker, jitter, warped anatomy, duplicate people, extra limbs, deformed hands, broken reflections, chaotic motion, abrupt cuts, heavy motion blur, oversaturated colors, text, logos, watermark',
  duration: 10,
  CFGScale: 0.5,
  inputs: {
    frameImages: [
      {
        image: 'https://assets.runware.ai/assets/inputs/a2d8c3cf-69b5-4b15-9926-50ce4a9c3f9b.jpg',
        frame: 'first'
      },
      {
        image: 'https://assets.runware.ai/assets/inputs/ad9d7952-2f80-4c21-8627-b5061eb89183.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@2.6-pro",
            "positivePrompt": "Transform the first frame into the last frame with elegant cinematic motion and strong scene consistency. The camera slowly glides forward through a vast rain-swept tram terminal with reflective stone floors and a vaulted glass canopy. A solitary violinist in a cobalt coat becomes the emotional anchor of the scene as sparse travelers drift past in soft focus. Ripples spread through puddles, amber lamps shimmer in reflections, hanging signs sway slightly, and fine rain at the entrance gradually softens into luminous dawn mist. As the sequence progresses, folded paper swans appear and drift across the shallow water, leading the eye toward a vintage tram preparing to depart. End with the violinist stepping onto the tram as warm early light replaces the cooler tones. Naturalistic motion, physically believable transitions, rich atmosphere, detailed reflections, subtle fabric movement, restrained cinematic drama.",
            "negativePrompt": "low detail, flicker, jitter, warped anatomy, duplicate people, extra limbs, deformed hands, broken reflections, chaotic motion, abrupt cuts, heavy motion blur, oversaturated colors, text, logos, watermark",
            "duration": 10,
            "CFGScale": 0.5,
            "inputs": {
                "frameImages": [
                    {
                        "image": "https://assets.runware.ai/assets/inputs/a2d8c3cf-69b5-4b15-9926-50ce4a9c3f9b.jpg",
                        "frame": "first"
                    },
                    {
                        "image": "https://assets.runware.ai/assets/inputs/ad9d7952-2f80-4c21-8627-b5061eb89183.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": "ca762297-e35c-4ccb-b4a0-5c49faf1a5b3",
      "model": "klingai:kling-video@2.6-pro",
      "positivePrompt": "Transform the first frame into the last frame with elegant cinematic motion and strong scene consistency. The camera slowly glides forward through a vast rain-swept tram terminal with reflective stone floors and a vaulted glass canopy. A solitary violinist in a cobalt coat becomes the emotional anchor of the scene as sparse travelers drift past in soft focus. Ripples spread through puddles, amber lamps shimmer in reflections, hanging signs sway slightly, and fine rain at the entrance gradually softens into luminous dawn mist. As the sequence progresses, folded paper swans appear and drift across the shallow water, leading the eye toward a vintage tram preparing to depart. End with the violinist stepping onto the tram as warm early light replaces the cooler tones. Naturalistic motion, physically believable transitions, rich atmosphere, detailed reflections, subtle fabric movement, restrained cinematic drama.",
      "negativePrompt": "low detail, flicker, jitter, warped anatomy, duplicate people, extra limbs, deformed hands, broken reflections, chaotic motion, abrupt cuts, heavy motion blur, oversaturated colors, text, logos, watermark",
      "duration": 10,
      "CFGScale": 0.5,
      "inputs": {
        "frameImages": [
          {
            "image": "https://assets.runware.ai/assets/inputs/a2d8c3cf-69b5-4b15-9926-50ce4a9c3f9b.jpg",
            "frame": "first"
          },
          {
            "image": "https://assets.runware.ai/assets/inputs/ad9d7952-2f80-4c21-8627-b5061eb89183.jpg",
            "frame": "last"
          }
        ]
      }
    }
  ]'
runware run klingai:kling-video@2.6-pro \
  positivePrompt="Transform the first frame into the last frame with elegant cinematic motion and strong scene consistency. The camera slowly glides forward through a vast rain-swept tram terminal with reflective stone floors and a vaulted glass canopy. A solitary violinist in a cobalt coat becomes the emotional anchor of the scene as sparse travelers drift past in soft focus. Ripples spread through puddles, amber lamps shimmer in reflections, hanging signs sway slightly, and fine rain at the entrance gradually softens into luminous dawn mist. As the sequence progresses, folded paper swans appear and drift across the shallow water, leading the eye toward a vintage tram preparing to depart. End with the violinist stepping onto the tram as warm early light replaces the cooler tones. Naturalistic motion, physically believable transitions, rich atmosphere, detailed reflections, subtle fabric movement, restrained cinematic drama." \
  negativePrompt="low detail, flicker, jitter, warped anatomy, duplicate people, extra limbs, deformed hands, broken reflections, chaotic motion, abrupt cuts, heavy motion blur, oversaturated colors, text, logos, watermark" \
  duration=10 \
  CFGScale=0.5 \
  inputs.frameImages.0.image=https://assets.runware.ai/assets/inputs/a2d8c3cf-69b5-4b15-9926-50ce4a9c3f9b.jpg \
  inputs.frameImages.0.frame=first \
  inputs.frameImages.1.image=https://assets.runware.ai/assets/inputs/ad9d7952-2f80-4c21-8627-b5061eb89183.jpg \
  inputs.frameImages.1.frame=last
{
  "taskType": "videoInference",
  "taskUUID": "ca762297-e35c-4ccb-b4a0-5c49faf1a5b3",
  "model": "klingai:kling-video@2.6-pro",
  "positivePrompt": "Transform the first frame into the last frame with elegant cinematic motion and strong scene consistency. The camera slowly glides forward through a vast rain-swept tram terminal with reflective stone floors and a vaulted glass canopy. A solitary violinist in a cobalt coat becomes the emotional anchor of the scene as sparse travelers drift past in soft focus. Ripples spread through puddles, amber lamps shimmer in reflections, hanging signs sway slightly, and fine rain at the entrance gradually softens into luminous dawn mist. As the sequence progresses, folded paper swans appear and drift across the shallow water, leading the eye toward a vintage tram preparing to depart. End with the violinist stepping onto the tram as warm early light replaces the cooler tones. Naturalistic motion, physically believable transitions, rich atmosphere, detailed reflections, subtle fabric movement, restrained cinematic drama.",
  "negativePrompt": "low detail, flicker, jitter, warped anatomy, duplicate people, extra limbs, deformed hands, broken reflections, chaotic motion, abrupt cuts, heavy motion blur, oversaturated colors, text, logos, watermark",
  "duration": 10,
  "CFGScale": 0.5,
  "inputs": {
    "frameImages": [
      {
        "image": "https://assets.runware.ai/assets/inputs/a2d8c3cf-69b5-4b15-9926-50ce4a9c3f9b.jpg",
        "frame": "first"
      },
      {
        "image": "https://assets.runware.ai/assets/inputs/ad9d7952-2f80-4c21-8627-b5061eb89183.jpg",
        "frame": "last"
      }
    ]
  }
}
Response
{
  "taskType": "videoInference",
  "taskUUID": "ca762297-e35c-4ccb-b4a0-5c49faf1a5b3",
  "videoUUID": "cfd59960-2880-42a9-a56d-6c2482e19de0",
  "videoURL": "https://vm.runware.ai/video/os/a24d12/ws/5/vi/cfd59960-2880-42a9-a56d-6c2482e19de0.mp4",
  "cost": 0.7
}
Image to Video

Rainy Neon Underpass Duet

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@2.6-pro',
  positivePrompt: 'Transform the provided first-frame image into a 10-second cinematic scene. A lone violinist performs beneath a futuristic transit underpass during a rainy night, with passing trains sending pulses of colored light across wet pavement. The camera begins close and slowly arcs sideways, revealing depth in the tunnel, distant commuters, rippling reflections, drifting mist, and vibrating violin strings. Her performance becomes more intense, and the environment responds subtly: footsteps echo, droplets fall from overhead beams, a train rushes by with a metallic roar, and the underpass ambience surrounds the scene. Native audio should feature emotional solo violin in sync with bow movement, soft station announcements muffled in the distance, rain drips, electrical hum, train movement, and realistic urban reverberation. Maintain photoreal detail, stable character identity, coherent hand motion, natural body mechanics, cinematic contrast, and immersive atmosphere.',
  negativePrompt: 'low resolution, blurry face, distorted hands, extra limbs, duplicate person, flickering anatomy, unrealistic bow motion, cartoon, text overlay, watermark, subtitles, oversaturated glow, chaotic camera shake, broken reflections, deformed instrument, crowd blocking subject',
  duration: 10,
  CFGScale: 0.5,
  providerSettings: {
    klingai: {
      sound: true
    }
  },
  inputs: {
    frameImages: [
      {
        image: 'https://assets.runware.ai/assets/inputs/7b390e88-10fc-402a-92de-55d9d5fca28f.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@2.6-pro",
            "positivePrompt": "Transform the provided first-frame image into a 10-second cinematic scene. A lone violinist performs beneath a futuristic transit underpass during a rainy night, with passing trains sending pulses of colored light across wet pavement. The camera begins close and slowly arcs sideways, revealing depth in the tunnel, distant commuters, rippling reflections, drifting mist, and vibrating violin strings. Her performance becomes more intense, and the environment responds subtly: footsteps echo, droplets fall from overhead beams, a train rushes by with a metallic roar, and the underpass ambience surrounds the scene. Native audio should feature emotional solo violin in sync with bow movement, soft station announcements muffled in the distance, rain drips, electrical hum, train movement, and realistic urban reverberation. Maintain photoreal detail, stable character identity, coherent hand motion, natural body mechanics, cinematic contrast, and immersive atmosphere.",
            "negativePrompt": "low resolution, blurry face, distorted hands, extra limbs, duplicate person, flickering anatomy, unrealistic bow motion, cartoon, text overlay, watermark, subtitles, oversaturated glow, chaotic camera shake, broken reflections, deformed instrument, crowd blocking subject",
            "duration": 10,
            "CFGScale": 0.5,
            "providerSettings": {
                "klingai": {
                    "sound": True
                }
            },
            "inputs": {
                "frameImages": [
                    {
                        "image": "https://assets.runware.ai/assets/inputs/7b390e88-10fc-402a-92de-55d9d5fca28f.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": "80bc2705-9b70-45cc-92cd-b8792ec2e387",
      "model": "klingai:kling-video@2.6-pro",
      "positivePrompt": "Transform the provided first-frame image into a 10-second cinematic scene. A lone violinist performs beneath a futuristic transit underpass during a rainy night, with passing trains sending pulses of colored light across wet pavement. The camera begins close and slowly arcs sideways, revealing depth in the tunnel, distant commuters, rippling reflections, drifting mist, and vibrating violin strings. Her performance becomes more intense, and the environment responds subtly: footsteps echo, droplets fall from overhead beams, a train rushes by with a metallic roar, and the underpass ambience surrounds the scene. Native audio should feature emotional solo violin in sync with bow movement, soft station announcements muffled in the distance, rain drips, electrical hum, train movement, and realistic urban reverberation. Maintain photoreal detail, stable character identity, coherent hand motion, natural body mechanics, cinematic contrast, and immersive atmosphere.",
      "negativePrompt": "low resolution, blurry face, distorted hands, extra limbs, duplicate person, flickering anatomy, unrealistic bow motion, cartoon, text overlay, watermark, subtitles, oversaturated glow, chaotic camera shake, broken reflections, deformed instrument, crowd blocking subject",
      "duration": 10,
      "CFGScale": 0.5,
      "providerSettings": {
        "klingai": {
          "sound": true
        }
      },
      "inputs": {
        "frameImages": [
          {
            "image": "https://assets.runware.ai/assets/inputs/7b390e88-10fc-402a-92de-55d9d5fca28f.jpg",
            "frame": "first"
          }
        ]
      }
    }
  ]'
runware run klingai:kling-video@2.6-pro \
  positivePrompt="Transform the provided first-frame image into a 10-second cinematic scene. A lone violinist performs beneath a futuristic transit underpass during a rainy night, with passing trains sending pulses of colored light across wet pavement. The camera begins close and slowly arcs sideways, revealing depth in the tunnel, distant commuters, rippling reflections, drifting mist, and vibrating violin strings. Her performance becomes more intense, and the environment responds subtly: footsteps echo, droplets fall from overhead beams, a train rushes by with a metallic roar, and the underpass ambience surrounds the scene. Native audio should feature emotional solo violin in sync with bow movement, soft station announcements muffled in the distance, rain drips, electrical hum, train movement, and realistic urban reverberation. Maintain photoreal detail, stable character identity, coherent hand motion, natural body mechanics, cinematic contrast, and immersive atmosphere." \
  negativePrompt="low resolution, blurry face, distorted hands, extra limbs, duplicate person, flickering anatomy, unrealistic bow motion, cartoon, text overlay, watermark, subtitles, oversaturated glow, chaotic camera shake, broken reflections, deformed instrument, crowd blocking subject" \
  duration=10 \
  CFGScale=0.5 \
  providerSettings.klingai.sound=true \
  inputs.frameImages.0.image=https://assets.runware.ai/assets/inputs/7b390e88-10fc-402a-92de-55d9d5fca28f.jpg \
  inputs.frameImages.0.frame=first
{
  "taskType": "videoInference",
  "taskUUID": "80bc2705-9b70-45cc-92cd-b8792ec2e387",
  "model": "klingai:kling-video@2.6-pro",
  "positivePrompt": "Transform the provided first-frame image into a 10-second cinematic scene. A lone violinist performs beneath a futuristic transit underpass during a rainy night, with passing trains sending pulses of colored light across wet pavement. The camera begins close and slowly arcs sideways, revealing depth in the tunnel, distant commuters, rippling reflections, drifting mist, and vibrating violin strings. Her performance becomes more intense, and the environment responds subtly: footsteps echo, droplets fall from overhead beams, a train rushes by with a metallic roar, and the underpass ambience surrounds the scene. Native audio should feature emotional solo violin in sync with bow movement, soft station announcements muffled in the distance, rain drips, electrical hum, train movement, and realistic urban reverberation. Maintain photoreal detail, stable character identity, coherent hand motion, natural body mechanics, cinematic contrast, and immersive atmosphere.",
  "negativePrompt": "low resolution, blurry face, distorted hands, extra limbs, duplicate person, flickering anatomy, unrealistic bow motion, cartoon, text overlay, watermark, subtitles, oversaturated glow, chaotic camera shake, broken reflections, deformed instrument, crowd blocking subject",
  "duration": 10,
  "CFGScale": 0.5,
  "providerSettings": {
    "klingai": {
      "sound": true
    }
  },
  "inputs": {
    "frameImages": [
      {
        "image": "https://assets.runware.ai/assets/inputs/7b390e88-10fc-402a-92de-55d9d5fca28f.jpg",
        "frame": "first"
      }
    ]
  }
}
Response
{
  "taskType": "videoInference",
  "taskUUID": "80bc2705-9b70-45cc-92cd-b8792ec2e387",
  "videoUUID": "dcc390ae-66c7-4f26-bca3-b048b9b204e4",
  "videoURL": "https://vm.runware.ai/video/os/a07d11/ws/5/vi/dcc390ae-66c7-4f26-bca3-b048b9b204e4.mp4",
  "cost": 1.4
}
Image to Video

Luminous Ice Cavern Pilgrimage

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@2.6-pro',
  positivePrompt: 'A solitary pilgrim advances deeper into an immense crystal ice cavern, robes brushing the frozen path, tiny lantern in hand casting warm amber flickers against towering translucent formations. The camera begins near the traveler and glides forward into the chamber, revealing refracted turquoise light, drifting frost motes, subtle crunching footsteps, soft fabric movement, echoing droplets, low cavern resonance, and a distant humming choir-like wind. The scene feels sacred, majestic, and immersive, with cinematic realism, strong depth, volumetric light, natural motion, and synchronized environmental audio.',
  negativePrompt: 'low detail, blurry textures, jittery motion, duplicated limbs, deformed hands, cartoon style, flat lighting, abrupt camera shake, crowded scene, modern objects, text, watermark',
  duration: 10,
  CFGScale: 0.6,
  providerSettings: {
    klingai: {
      sound: true
    }
  },
  inputs: {
    frameImages: [
      {
        image: 'https://assets.runware.ai/assets/inputs/33a9e037-dd42-405c-9172-30d4fdf64f7e.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@2.6-pro",
            "positivePrompt": "A solitary pilgrim advances deeper into an immense crystal ice cavern, robes brushing the frozen path, tiny lantern in hand casting warm amber flickers against towering translucent formations. The camera begins near the traveler and glides forward into the chamber, revealing refracted turquoise light, drifting frost motes, subtle crunching footsteps, soft fabric movement, echoing droplets, low cavern resonance, and a distant humming choir-like wind. The scene feels sacred, majestic, and immersive, with cinematic realism, strong depth, volumetric light, natural motion, and synchronized environmental audio.",
            "negativePrompt": "low detail, blurry textures, jittery motion, duplicated limbs, deformed hands, cartoon style, flat lighting, abrupt camera shake, crowded scene, modern objects, text, watermark",
            "duration": 10,
            "CFGScale": 0.6,
            "providerSettings": {
                "klingai": {
                    "sound": True
                }
            },
            "inputs": {
                "frameImages": [
                    {
                        "image": "https://assets.runware.ai/assets/inputs/33a9e037-dd42-405c-9172-30d4fdf64f7e.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": "b13b5e2e-5ee4-4fd6-a59e-2759ac18ad37",
      "model": "klingai:kling-video@2.6-pro",
      "positivePrompt": "A solitary pilgrim advances deeper into an immense crystal ice cavern, robes brushing the frozen path, tiny lantern in hand casting warm amber flickers against towering translucent formations. The camera begins near the traveler and glides forward into the chamber, revealing refracted turquoise light, drifting frost motes, subtle crunching footsteps, soft fabric movement, echoing droplets, low cavern resonance, and a distant humming choir-like wind. The scene feels sacred, majestic, and immersive, with cinematic realism, strong depth, volumetric light, natural motion, and synchronized environmental audio.",
      "negativePrompt": "low detail, blurry textures, jittery motion, duplicated limbs, deformed hands, cartoon style, flat lighting, abrupt camera shake, crowded scene, modern objects, text, watermark",
      "duration": 10,
      "CFGScale": 0.6,
      "providerSettings": {
        "klingai": {
          "sound": true
        }
      },
      "inputs": {
        "frameImages": [
          {
            "image": "https://assets.runware.ai/assets/inputs/33a9e037-dd42-405c-9172-30d4fdf64f7e.jpg",
            "frame": "first"
          }
        ]
      }
    }
  ]'
runware run klingai:kling-video@2.6-pro \
  positivePrompt="A solitary pilgrim advances deeper into an immense crystal ice cavern, robes brushing the frozen path, tiny lantern in hand casting warm amber flickers against towering translucent formations. The camera begins near the traveler and glides forward into the chamber, revealing refracted turquoise light, drifting frost motes, subtle crunching footsteps, soft fabric movement, echoing droplets, low cavern resonance, and a distant humming choir-like wind. The scene feels sacred, majestic, and immersive, with cinematic realism, strong depth, volumetric light, natural motion, and synchronized environmental audio." \
  negativePrompt="low detail, blurry textures, jittery motion, duplicated limbs, deformed hands, cartoon style, flat lighting, abrupt camera shake, crowded scene, modern objects, text, watermark" \
  duration=10 \
  CFGScale=0.6 \
  providerSettings.klingai.sound=true \
  inputs.frameImages.0.image=https://assets.runware.ai/assets/inputs/33a9e037-dd42-405c-9172-30d4fdf64f7e.jpg \
  inputs.frameImages.0.frame=first
{
  "taskType": "videoInference",
  "taskUUID": "b13b5e2e-5ee4-4fd6-a59e-2759ac18ad37",
  "model": "klingai:kling-video@2.6-pro",
  "positivePrompt": "A solitary pilgrim advances deeper into an immense crystal ice cavern, robes brushing the frozen path, tiny lantern in hand casting warm amber flickers against towering translucent formations. The camera begins near the traveler and glides forward into the chamber, revealing refracted turquoise light, drifting frost motes, subtle crunching footsteps, soft fabric movement, echoing droplets, low cavern resonance, and a distant humming choir-like wind. The scene feels sacred, majestic, and immersive, with cinematic realism, strong depth, volumetric light, natural motion, and synchronized environmental audio.",
  "negativePrompt": "low detail, blurry textures, jittery motion, duplicated limbs, deformed hands, cartoon style, flat lighting, abrupt camera shake, crowded scene, modern objects, text, watermark",
  "duration": 10,
  "CFGScale": 0.6,
  "providerSettings": {
    "klingai": {
      "sound": true
    }
  },
  "inputs": {
    "frameImages": [
      {
        "image": "https://assets.runware.ai/assets/inputs/33a9e037-dd42-405c-9172-30d4fdf64f7e.jpg",
        "frame": "first"
      }
    ]
  }
}
Response
{
  "taskType": "videoInference",
  "taskUUID": "b13b5e2e-5ee4-4fd6-a59e-2759ac18ad37",
  "videoUUID": "722c22e5-c587-4ede-b050-9728e4704749",
  "videoURL": "https://vm.runware.ai/video/os/a02d21/ws/5/vi/722c22e5-c587-4ede-b050-9728e4704749.mp4",
  "cost": 1.4
}
Text to Video

Marble Observatory Sprint Sequence

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@2.6-pro',
  positivePrompt: 'A cinematic wide-shot sequence in a vast open-air marble observatory above a sea of clouds at sunrise, concentric celestial map floors, towering brass armillary structures, fluttering measurement banners, and long warm shadows. A young courier in a cobalt coat sprints along the circular gallery carrying a glowing sealed message tube, then slows near the central platform as giant rings rotate overhead. The camera begins with a sweeping lateral track, transitions into a low-angle follow shot behind the runner, then arcs upward into a majestic reveal of the entire observatory. Hyper-detailed stone textures, elegant fabric motion, realistic human movement, dynamic depth, atmospheric haze, expressive lighting, cinematic composition. Native audio: echoing footsteps on polished marble, rushing wind through the arches, distant metallic chimes from rotating instruments, soft cloth flaps, the courier\'s breathing, and a brief whispered line: \'I\'m not too late.\'',
  negativePrompt: 'low resolution, blurry details, warped anatomy, extra limbs, duplicate person, stiff motion, jittery camera, flat lighting, overexposed highlights, muddy shadows, distorted architecture, text, watermark, logo, subtitle, frame glitches, compression artifacts, cropped subject, deformed hands, unnatural face, chaotic background, unrelated vehicles, modern city skyline, heavy fog obscuring scene',
  width: 1920,
  height: 1080,
  duration: 10,
  CFGScale: 0.76,
  providerSettings: {
    klingai: {
      sound: true
    }
  }
})
import asyncio
import os

from runware import Runware


async def main():
    async with Runware(api_key=os.environ["RUNWARE_API_KEY"]) as client:
        results = await client.run({
            "model": "klingai:kling-video@2.6-pro",
            "positivePrompt": "A cinematic wide-shot sequence in a vast open-air marble observatory above a sea of clouds at sunrise, concentric celestial map floors, towering brass armillary structures, fluttering measurement banners, and long warm shadows. A young courier in a cobalt coat sprints along the circular gallery carrying a glowing sealed message tube, then slows near the central platform as giant rings rotate overhead. The camera begins with a sweeping lateral track, transitions into a low-angle follow shot behind the runner, then arcs upward into a majestic reveal of the entire observatory. Hyper-detailed stone textures, elegant fabric motion, realistic human movement, dynamic depth, atmospheric haze, expressive lighting, cinematic composition. Native audio: echoing footsteps on polished marble, rushing wind through the arches, distant metallic chimes from rotating instruments, soft cloth flaps, the courier's breathing, and a brief whispered line: 'I'm not too late.'",
            "negativePrompt": "low resolution, blurry details, warped anatomy, extra limbs, duplicate person, stiff motion, jittery camera, flat lighting, overexposed highlights, muddy shadows, distorted architecture, text, watermark, logo, subtitle, frame glitches, compression artifacts, cropped subject, deformed hands, unnatural face, chaotic background, unrelated vehicles, modern city skyline, heavy fog obscuring scene",
            "width": 1920,
            "height": 1080,
            "duration": 10,
            "CFGScale": 0.76,
            "providerSettings": {
                "klingai": {
                    "sound": True
                }
            }
        })


asyncio.run(main())
curl https://api.runware.ai/v1 \
  -H "Authorization: Bearer $RUNWARE_API_KEY" \
  -H "Content-Type: application/json" \
  -d '[
    {
      "taskType": "videoInference",
      "taskUUID": "dfa0301c-f40a-4337-84d2-2e3c5cabb6c3",
      "model": "klingai:kling-video@2.6-pro",
      "positivePrompt": "A cinematic wide-shot sequence in a vast open-air marble observatory above a sea of clouds at sunrise, concentric celestial map floors, towering brass armillary structures, fluttering measurement banners, and long warm shadows. A young courier in a cobalt coat sprints along the circular gallery carrying a glowing sealed message tube, then slows near the central platform as giant rings rotate overhead. The camera begins with a sweeping lateral track, transitions into a low-angle follow shot behind the runner, then arcs upward into a majestic reveal of the entire observatory. Hyper-detailed stone textures, elegant fabric motion, realistic human movement, dynamic depth, atmospheric haze, expressive lighting, cinematic composition. Native audio: echoing footsteps on polished marble, rushing wind through the arches, distant metallic chimes from rotating instruments, soft cloth flaps, the courier's breathing, and a brief whispered line: 'I'm not too late.'",
      "negativePrompt": "low resolution, blurry details, warped anatomy, extra limbs, duplicate person, stiff motion, jittery camera, flat lighting, overexposed highlights, muddy shadows, distorted architecture, text, watermark, logo, subtitle, frame glitches, compression artifacts, cropped subject, deformed hands, unnatural face, chaotic background, unrelated vehicles, modern city skyline, heavy fog obscuring scene",
      "width": 1920,
      "height": 1080,
      "duration": 10,
      "CFGScale": 0.76,
      "providerSettings": {
        "klingai": {
          "sound": true
        }
      }
    }
  ]'
runware run klingai:kling-video@2.6-pro \
  positivePrompt="A cinematic wide-shot sequence in a vast open-air marble observatory above a sea of clouds at sunrise, concentric celestial map floors, towering brass armillary structures, fluttering measurement banners, and long warm shadows. A young courier in a cobalt coat sprints along the circular gallery carrying a glowing sealed message tube, then slows near the central platform as giant rings rotate overhead. The camera begins with a sweeping lateral track, transitions into a low-angle follow shot behind the runner, then arcs upward into a majestic reveal of the entire observatory. Hyper-detailed stone textures, elegant fabric motion, realistic human movement, dynamic depth, atmospheric haze, expressive lighting, cinematic composition. Native audio: echoing footsteps on polished marble, rushing wind through the arches, distant metallic chimes from rotating instruments, soft cloth flaps, the courier's breathing, and a brief whispered line: 'I'm not too late.'" \
  negativePrompt="low resolution, blurry details, warped anatomy, extra limbs, duplicate person, stiff motion, jittery camera, flat lighting, overexposed highlights, muddy shadows, distorted architecture, text, watermark, logo, subtitle, frame glitches, compression artifacts, cropped subject, deformed hands, unnatural face, chaotic background, unrelated vehicles, modern city skyline, heavy fog obscuring scene" \
  width=1920 \
  height=1080 \
  duration=10 \
  CFGScale=0.76 \
  providerSettings.klingai.sound=true
{
  "taskType": "videoInference",
  "taskUUID": "dfa0301c-f40a-4337-84d2-2e3c5cabb6c3",
  "model": "klingai:kling-video@2.6-pro",
  "positivePrompt": "A cinematic wide-shot sequence in a vast open-air marble observatory above a sea of clouds at sunrise, concentric celestial map floors, towering brass armillary structures, fluttering measurement banners, and long warm shadows. A young courier in a cobalt coat sprints along the circular gallery carrying a glowing sealed message tube, then slows near the central platform as giant rings rotate overhead. The camera begins with a sweeping lateral track, transitions into a low-angle follow shot behind the runner, then arcs upward into a majestic reveal of the entire observatory. Hyper-detailed stone textures, elegant fabric motion, realistic human movement, dynamic depth, atmospheric haze, expressive lighting, cinematic composition. Native audio: echoing footsteps on polished marble, rushing wind through the arches, distant metallic chimes from rotating instruments, soft cloth flaps, the courier's breathing, and a brief whispered line: 'I'm not too late.'",
  "negativePrompt": "low resolution, blurry details, warped anatomy, extra limbs, duplicate person, stiff motion, jittery camera, flat lighting, overexposed highlights, muddy shadows, distorted architecture, text, watermark, logo, subtitle, frame glitches, compression artifacts, cropped subject, deformed hands, unnatural face, chaotic background, unrelated vehicles, modern city skyline, heavy fog obscuring scene",
  "width": 1920,
  "height": 1080,
  "duration": 10,
  "CFGScale": 0.76,
  "providerSettings": {
    "klingai": {
      "sound": true
    }
  }
}
Response
{
  "taskType": "videoInference",
  "taskUUID": "dfa0301c-f40a-4337-84d2-2e3c5cabb6c3",
  "videoUUID": "a22de691-0470-4d6e-9105-d8afdcce0a3b",
  "videoURL": "https://vm.runware.ai/video/os/a14d18/ws/5/vi/a22de691-0470-4d6e-9105-d8afdcce0a3b.mp4",
  "cost": 1.4
}