MODEL IDklingai:5@1
deprecated

KlingAI 2.1 Standard

Kling AI
by Kling AI

KlingAI 2.1 Standard targets efficient video generation with improved visual quality and faster output. It suits users who need reliable text driven video creation at scale. Ideal for applications that prioritize speed with solid quality.

KlingAI 2.1 Standard

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

first-frame

Self-Rising Flood Barrier 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@1',
  positivePrompt: 'Continue the scene as a clear single-take industrial product demonstration. Incoming floodwater flows steadily toward the warehouse threshold, forming realistic ripples, reflections, and small eddies around the yellow side pivots. As the water enters the recessed channel, buoyancy smoothly raises the silver-gray barrier panel from flush with the floor to a firm upright sealed position. The side hinges rotate naturally and the black gasket compresses against the frame. Water gathers and swirls against the exterior face while the interior concrete immediately behind the barrier stays completely dry. Keep the entire mechanism visible and mechanically coherent. Use a subtle slow lateral camera slide at the same low three-quarter angle, with stable framing and sharp focus on the rising panel. Cool cyan daylight reflects across the moving water, contrasted by yellow safety hardware and neutral gray concrete. Photorealistic engineering explainer footage, calm precise motion, no cuts, no people, no text, no logos.',
  width: 1280,
  height: 720,
  duration: 5,
  inputs: {
    frameImages: [
      {
        image: 'https://assets.runware.ai/assets/inputs/f1c1ab52-3d69-4744-87ca-74e77678495a.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@1",
            "positivePrompt": "Continue the scene as a clear single-take industrial product demonstration. Incoming floodwater flows steadily toward the warehouse threshold, forming realistic ripples, reflections, and small eddies around the yellow side pivots. As the water enters the recessed channel, buoyancy smoothly raises the silver-gray barrier panel from flush with the floor to a firm upright sealed position. The side hinges rotate naturally and the black gasket compresses against the frame. Water gathers and swirls against the exterior face while the interior concrete immediately behind the barrier stays completely dry. Keep the entire mechanism visible and mechanically coherent. Use a subtle slow lateral camera slide at the same low three-quarter angle, with stable framing and sharp focus on the rising panel. Cool cyan daylight reflects across the moving water, contrasted by yellow safety hardware and neutral gray concrete. Photorealistic engineering explainer footage, calm precise motion, no cuts, no people, no text, no logos.",
            "width": 1280,
            "height": 720,
            "duration": 5,
            "inputs": {
                "frameImages": [
                    {
                        "image": "https://assets.runware.ai/assets/inputs/f1c1ab52-3d69-4744-87ca-74e77678495a.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": "5fcbe5bd-6c72-4838-a946-d5be28bd62e2",
      "model": "klingai:5@1",
      "positivePrompt": "Continue the scene as a clear single-take industrial product demonstration. Incoming floodwater flows steadily toward the warehouse threshold, forming realistic ripples, reflections, and small eddies around the yellow side pivots. As the water enters the recessed channel, buoyancy smoothly raises the silver-gray barrier panel from flush with the floor to a firm upright sealed position. The side hinges rotate naturally and the black gasket compresses against the frame. Water gathers and swirls against the exterior face while the interior concrete immediately behind the barrier stays completely dry. Keep the entire mechanism visible and mechanically coherent. Use a subtle slow lateral camera slide at the same low three-quarter angle, with stable framing and sharp focus on the rising panel. Cool cyan daylight reflects across the moving water, contrasted by yellow safety hardware and neutral gray concrete. Photorealistic engineering explainer footage, calm precise motion, no cuts, no people, no text, no logos.",
      "width": 1280,
      "height": 720,
      "duration": 5,
      "inputs": {
        "frameImages": [
          {
            "image": "https://assets.runware.ai/assets/inputs/f1c1ab52-3d69-4744-87ca-74e77678495a.jpg",
            "frame": "first"
          }
        ]
      }
    }
  ]'
runware run klingai:5@1 \
  positivePrompt="Continue the scene as a clear single-take industrial product demonstration. Incoming floodwater flows steadily toward the warehouse threshold, forming realistic ripples, reflections, and small eddies around the yellow side pivots. As the water enters the recessed channel, buoyancy smoothly raises the silver-gray barrier panel from flush with the floor to a firm upright sealed position. The side hinges rotate naturally and the black gasket compresses against the frame. Water gathers and swirls against the exterior face while the interior concrete immediately behind the barrier stays completely dry. Keep the entire mechanism visible and mechanically coherent. Use a subtle slow lateral camera slide at the same low three-quarter angle, with stable framing and sharp focus on the rising panel. Cool cyan daylight reflects across the moving water, contrasted by yellow safety hardware and neutral gray concrete. Photorealistic engineering explainer footage, calm precise motion, no cuts, no people, no text, no logos." \
  width=1280 \
  height=720 \
  duration=5 \
  inputs.frameImages.0.image=https://assets.runware.ai/assets/inputs/f1c1ab52-3d69-4744-87ca-74e77678495a.jpg \
  inputs.frameImages.0.frame=first
{
  "taskType": "videoInference",
  "taskUUID": "5fcbe5bd-6c72-4838-a946-d5be28bd62e2",
  "model": "klingai:5@1",
  "positivePrompt": "Continue the scene as a clear single-take industrial product demonstration. Incoming floodwater flows steadily toward the warehouse threshold, forming realistic ripples, reflections, and small eddies around the yellow side pivots. As the water enters the recessed channel, buoyancy smoothly raises the silver-gray barrier panel from flush with the floor to a firm upright sealed position. The side hinges rotate naturally and the black gasket compresses against the frame. Water gathers and swirls against the exterior face while the interior concrete immediately behind the barrier stays completely dry. Keep the entire mechanism visible and mechanically coherent. Use a subtle slow lateral camera slide at the same low three-quarter angle, with stable framing and sharp focus on the rising panel. Cool cyan daylight reflects across the moving water, contrasted by yellow safety hardware and neutral gray concrete. Photorealistic engineering explainer footage, calm precise motion, no cuts, no people, no text, no logos.",
  "width": 1280,
  "height": 720,
  "duration": 5,
  "inputs": {
    "frameImages": [
      {
        "image": "https://assets.runware.ai/assets/inputs/f1c1ab52-3d69-4744-87ca-74e77678495a.jpg",
        "frame": "first"
      }
    ]
  }
}
Response
{
  "taskType": "videoInference",
  "taskUUID": "5fcbe5bd-6c72-4838-a946-d5be28bd62e2",
  "videoUUID": "abb05e2c-78f5-4015-8933-60aee32ef508",
  "videoURL": "https://vm.runware.ai/video/os/a04d20/ws/5/vi/abb05e2c-78f5-4015-8933-60aee32ef508.mp4",
  "seed": 854859362,
  "cost": 0.1848
}
first-frame

HyphaForm Biomaterial Logo Motion Ident

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@1',
  positivePrompt: 'Continue directly from the supplied logo frame as a refined five-second motion ident. Keep the HYPHAFORM emblem centered and preserve the exact wordmark, letter shapes, spacing, proportions, and clean graphite background. Fine mycelium filaments within the cream emblem slowly extend along its existing geometry like living fibers, branching delicately without changing the logo silhouette. A soft mint bioluminescent pulse travels through those internal strands from lower left to upper right, followed by a restrained electric-violet rim shimmer. A few tiny pale spores lift naturally from the emblem, drift through the studio light, and fade before reaching the wordmark. The fibrous surface makes one subtle organic breathing motion, then settles back close to its opening state for a smooth loop. The wordmark remains completely still, crisp, and readable throughout. Camera is perfectly locked off and front-facing; no zoom, orbit, shake, cut, transition, extra objects, or new text. Premium minimalist biomaterials brand motion, tactile macro realism, calm scientific precision.',
  width: 1280,
  height: 720,
  duration: 5,
  inputs: {
    frameImages: [
      {
        image: 'https://assets.runware.ai/assets/inputs/93333d33-a432-4345-8525-593d8f399317.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@1",
            "positivePrompt": "Continue directly from the supplied logo frame as a refined five-second motion ident. Keep the HYPHAFORM emblem centered and preserve the exact wordmark, letter shapes, spacing, proportions, and clean graphite background. Fine mycelium filaments within the cream emblem slowly extend along its existing geometry like living fibers, branching delicately without changing the logo silhouette. A soft mint bioluminescent pulse travels through those internal strands from lower left to upper right, followed by a restrained electric-violet rim shimmer. A few tiny pale spores lift naturally from the emblem, drift through the studio light, and fade before reaching the wordmark. The fibrous surface makes one subtle organic breathing motion, then settles back close to its opening state for a smooth loop. The wordmark remains completely still, crisp, and readable throughout. Camera is perfectly locked off and front-facing; no zoom, orbit, shake, cut, transition, extra objects, or new text. Premium minimalist biomaterials brand motion, tactile macro realism, calm scientific precision.",
            "width": 1280,
            "height": 720,
            "duration": 5,
            "inputs": {
                "frameImages": [
                    {
                        "image": "https://assets.runware.ai/assets/inputs/93333d33-a432-4345-8525-593d8f399317.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": "06058466-90d2-4b78-9818-1633512f302b",
      "model": "klingai:5@1",
      "positivePrompt": "Continue directly from the supplied logo frame as a refined five-second motion ident. Keep the HYPHAFORM emblem centered and preserve the exact wordmark, letter shapes, spacing, proportions, and clean graphite background. Fine mycelium filaments within the cream emblem slowly extend along its existing geometry like living fibers, branching delicately without changing the logo silhouette. A soft mint bioluminescent pulse travels through those internal strands from lower left to upper right, followed by a restrained electric-violet rim shimmer. A few tiny pale spores lift naturally from the emblem, drift through the studio light, and fade before reaching the wordmark. The fibrous surface makes one subtle organic breathing motion, then settles back close to its opening state for a smooth loop. The wordmark remains completely still, crisp, and readable throughout. Camera is perfectly locked off and front-facing; no zoom, orbit, shake, cut, transition, extra objects, or new text. Premium minimalist biomaterials brand motion, tactile macro realism, calm scientific precision.",
      "width": 1280,
      "height": 720,
      "duration": 5,
      "inputs": {
        "frameImages": [
          {
            "image": "https://assets.runware.ai/assets/inputs/93333d33-a432-4345-8525-593d8f399317.jpg",
            "frame": "first"
          }
        ]
      }
    }
  ]'
runware run klingai:5@1 \
  positivePrompt="Continue directly from the supplied logo frame as a refined five-second motion ident. Keep the HYPHAFORM emblem centered and preserve the exact wordmark, letter shapes, spacing, proportions, and clean graphite background. Fine mycelium filaments within the cream emblem slowly extend along its existing geometry like living fibers, branching delicately without changing the logo silhouette. A soft mint bioluminescent pulse travels through those internal strands from lower left to upper right, followed by a restrained electric-violet rim shimmer. A few tiny pale spores lift naturally from the emblem, drift through the studio light, and fade before reaching the wordmark. The fibrous surface makes one subtle organic breathing motion, then settles back close to its opening state for a smooth loop. The wordmark remains completely still, crisp, and readable throughout. Camera is perfectly locked off and front-facing; no zoom, orbit, shake, cut, transition, extra objects, or new text. Premium minimalist biomaterials brand motion, tactile macro realism, calm scientific precision." \
  width=1280 \
  height=720 \
  duration=5 \
  inputs.frameImages.0.image=https://assets.runware.ai/assets/inputs/93333d33-a432-4345-8525-593d8f399317.jpg \
  inputs.frameImages.0.frame=first
{
  "taskType": "videoInference",
  "taskUUID": "06058466-90d2-4b78-9818-1633512f302b",
  "model": "klingai:5@1",
  "positivePrompt": "Continue directly from the supplied logo frame as a refined five-second motion ident. Keep the HYPHAFORM emblem centered and preserve the exact wordmark, letter shapes, spacing, proportions, and clean graphite background. Fine mycelium filaments within the cream emblem slowly extend along its existing geometry like living fibers, branching delicately without changing the logo silhouette. A soft mint bioluminescent pulse travels through those internal strands from lower left to upper right, followed by a restrained electric-violet rim shimmer. A few tiny pale spores lift naturally from the emblem, drift through the studio light, and fade before reaching the wordmark. The fibrous surface makes one subtle organic breathing motion, then settles back close to its opening state for a smooth loop. The wordmark remains completely still, crisp, and readable throughout. Camera is perfectly locked off and front-facing; no zoom, orbit, shake, cut, transition, extra objects, or new text. Premium minimalist biomaterials brand motion, tactile macro realism, calm scientific precision.",
  "width": 1280,
  "height": 720,
  "duration": 5,
  "inputs": {
    "frameImages": [
      {
        "image": "https://assets.runware.ai/assets/inputs/93333d33-a432-4345-8525-593d8f399317.jpg",
        "frame": "first"
      }
    ]
  }
}
Response
{
  "taskType": "videoInference",
  "taskUUID": "06058466-90d2-4b78-9818-1633512f302b",
  "videoUUID": "356dcdec-73f0-430b-a796-97ffade11706",
  "videoURL": "https://vm.runware.ai/video/os/a06dlim3/ws/5/vi/356dcdec-73f0-430b-a796-97ffade11706.mp4",
  "seed": 980302145,
  "cost": 0.1848
}
first-frame

Portable eDNA Sampler Demo Clip

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@1',
  positivePrompt: 'Continue this scene as one uninterrupted product demonstration shot. The ecologist presses the physical start button once, then keeps their hand clear so the instrument remains visible. The pump starts with a subtle vibration. Stream water and tiny air bubbles travel naturally through the clear intake tube toward the transparent filter cartridge, where the liquid visibly circulates without leaking. The stream continues rushing around the submerged tube, sunlight flickers across the ripples, and nearby grasses sway lightly in the breeze. Use a very slow, stable slider push toward the sampler and cartridge while maintaining the three-quarter product view and keeping the whole device sharply recognizable. Realistic hand motion, fluid behavior, reflections, scale, and outdoor commercial cinematography. Single continuous take with no cuts, graphics, captions, logos, or interface overlays.',
  width: 1280,
  height: 720,
  duration: 5,
  inputs: {
    frameImages: [
      'https://assets.runware.ai/assets/inputs/1195b9e9-6b6e-4bb8-b2cf-2d7ef503084f.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@1",
            "positivePrompt": "Continue this scene as one uninterrupted product demonstration shot. The ecologist presses the physical start button once, then keeps their hand clear so the instrument remains visible. The pump starts with a subtle vibration. Stream water and tiny air bubbles travel naturally through the clear intake tube toward the transparent filter cartridge, where the liquid visibly circulates without leaking. The stream continues rushing around the submerged tube, sunlight flickers across the ripples, and nearby grasses sway lightly in the breeze. Use a very slow, stable slider push toward the sampler and cartridge while maintaining the three-quarter product view and keeping the whole device sharply recognizable. Realistic hand motion, fluid behavior, reflections, scale, and outdoor commercial cinematography. Single continuous take with no cuts, graphics, captions, logos, or interface overlays.",
            "width": 1280,
            "height": 720,
            "duration": 5,
            "inputs": {
                "frameImages": [
                    "https://assets.runware.ai/assets/inputs/1195b9e9-6b6e-4bb8-b2cf-2d7ef503084f.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": "41e4760d-84b5-40c5-a7ce-218aeee32fd5",
      "model": "klingai:5@1",
      "positivePrompt": "Continue this scene as one uninterrupted product demonstration shot. The ecologist presses the physical start button once, then keeps their hand clear so the instrument remains visible. The pump starts with a subtle vibration. Stream water and tiny air bubbles travel naturally through the clear intake tube toward the transparent filter cartridge, where the liquid visibly circulates without leaking. The stream continues rushing around the submerged tube, sunlight flickers across the ripples, and nearby grasses sway lightly in the breeze. Use a very slow, stable slider push toward the sampler and cartridge while maintaining the three-quarter product view and keeping the whole device sharply recognizable. Realistic hand motion, fluid behavior, reflections, scale, and outdoor commercial cinematography. Single continuous take with no cuts, graphics, captions, logos, or interface overlays.",
      "width": 1280,
      "height": 720,
      "duration": 5,
      "inputs": {
        "frameImages": [
          "https://assets.runware.ai/assets/inputs/1195b9e9-6b6e-4bb8-b2cf-2d7ef503084f.jpg"
        ]
      }
    }
  ]'
runware run klingai:5@1 \
  positivePrompt="Continue this scene as one uninterrupted product demonstration shot. The ecologist presses the physical start button once, then keeps their hand clear so the instrument remains visible. The pump starts with a subtle vibration. Stream water and tiny air bubbles travel naturally through the clear intake tube toward the transparent filter cartridge, where the liquid visibly circulates without leaking. The stream continues rushing around the submerged tube, sunlight flickers across the ripples, and nearby grasses sway lightly in the breeze. Use a very slow, stable slider push toward the sampler and cartridge while maintaining the three-quarter product view and keeping the whole device sharply recognizable. Realistic hand motion, fluid behavior, reflections, scale, and outdoor commercial cinematography. Single continuous take with no cuts, graphics, captions, logos, or interface overlays." \
  width=1280 \
  height=720 \
  duration=5 \
  inputs.frameImages.0=https://assets.runware.ai/assets/inputs/1195b9e9-6b6e-4bb8-b2cf-2d7ef503084f.jpg
{
  "taskType": "videoInference",
  "taskUUID": "41e4760d-84b5-40c5-a7ce-218aeee32fd5",
  "model": "klingai:5@1",
  "positivePrompt": "Continue this scene as one uninterrupted product demonstration shot. The ecologist presses the physical start button once, then keeps their hand clear so the instrument remains visible. The pump starts with a subtle vibration. Stream water and tiny air bubbles travel naturally through the clear intake tube toward the transparent filter cartridge, where the liquid visibly circulates without leaking. The stream continues rushing around the submerged tube, sunlight flickers across the ripples, and nearby grasses sway lightly in the breeze. Use a very slow, stable slider push toward the sampler and cartridge while maintaining the three-quarter product view and keeping the whole device sharply recognizable. Realistic hand motion, fluid behavior, reflections, scale, and outdoor commercial cinematography. Single continuous take with no cuts, graphics, captions, logos, or interface overlays.",
  "width": 1280,
  "height": 720,
  "duration": 5,
  "inputs": {
    "frameImages": [
      "https://assets.runware.ai/assets/inputs/1195b9e9-6b6e-4bb8-b2cf-2d7ef503084f.jpg"
    ]
  }
}
Response
{
  "taskType": "videoInference",
  "taskUUID": "41e4760d-84b5-40c5-a7ce-218aeee32fd5",
  "videoUUID": "69526f11-aaab-499f-b41b-3a542d643cd0",
  "videoURL": "https://vm.runware.ai/video/os/a10dlim3/ws/5/vi/69526f11-aaab-499f-b41b-3a542d643cd0.mp4",
  "seed": 571742666,
  "cost": 0.1848
}
first-frame

Industrial Laundry Music Video Segment

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@1',
  positivePrompt: 'Continue seamlessly from the starting scene as a single cinematic music-video take. The dancer snaps her shoulders to an implied electronic beat, steps forward, then sweeps one arm across the frame while pivoting sharply; her red coveralls crease and trail naturally with the movement. Behind her, the washer drums begin rotating in synchronized alternating directions, white laundry tumbling visibly through the round glass doors. Thin steam drifts across the wet floor and fluorescent reflections shimmer beneath her boots. The camera performs a smooth lateral dolly to the right with a subtle push inward, preserving the symmetrical industrial depth while creating strong parallax across the machines. Cool mint light and saturated cherry red remain clean and graphic, with realistic human motion, grounded physics, stable facial features, and no cuts, titles, or overlays.',
  width: 1280,
  height: 720,
  duration: 5,
  inputs: {
    frameImages: [
      'https://assets.runware.ai/assets/inputs/bcbb3b2b-2600-4d71-a92a-c30edbf4dc89.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@1",
            "positivePrompt": "Continue seamlessly from the starting scene as a single cinematic music-video take. The dancer snaps her shoulders to an implied electronic beat, steps forward, then sweeps one arm across the frame while pivoting sharply; her red coveralls crease and trail naturally with the movement. Behind her, the washer drums begin rotating in synchronized alternating directions, white laundry tumbling visibly through the round glass doors. Thin steam drifts across the wet floor and fluorescent reflections shimmer beneath her boots. The camera performs a smooth lateral dolly to the right with a subtle push inward, preserving the symmetrical industrial depth while creating strong parallax across the machines. Cool mint light and saturated cherry red remain clean and graphic, with realistic human motion, grounded physics, stable facial features, and no cuts, titles, or overlays.",
            "width": 1280,
            "height": 720,
            "duration": 5,
            "inputs": {
                "frameImages": [
                    "https://assets.runware.ai/assets/inputs/bcbb3b2b-2600-4d71-a92a-c30edbf4dc89.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": "7e91ca75-218e-4c91-a8a2-40340fcb6506",
      "model": "klingai:5@1",
      "positivePrompt": "Continue seamlessly from the starting scene as a single cinematic music-video take. The dancer snaps her shoulders to an implied electronic beat, steps forward, then sweeps one arm across the frame while pivoting sharply; her red coveralls crease and trail naturally with the movement. Behind her, the washer drums begin rotating in synchronized alternating directions, white laundry tumbling visibly through the round glass doors. Thin steam drifts across the wet floor and fluorescent reflections shimmer beneath her boots. The camera performs a smooth lateral dolly to the right with a subtle push inward, preserving the symmetrical industrial depth while creating strong parallax across the machines. Cool mint light and saturated cherry red remain clean and graphic, with realistic human motion, grounded physics, stable facial features, and no cuts, titles, or overlays.",
      "width": 1280,
      "height": 720,
      "duration": 5,
      "inputs": {
        "frameImages": [
          "https://assets.runware.ai/assets/inputs/bcbb3b2b-2600-4d71-a92a-c30edbf4dc89.jpg"
        ]
      }
    }
  ]'
runware run klingai:5@1 \
  positivePrompt="Continue seamlessly from the starting scene as a single cinematic music-video take. The dancer snaps her shoulders to an implied electronic beat, steps forward, then sweeps one arm across the frame while pivoting sharply; her red coveralls crease and trail naturally with the movement. Behind her, the washer drums begin rotating in synchronized alternating directions, white laundry tumbling visibly through the round glass doors. Thin steam drifts across the wet floor and fluorescent reflections shimmer beneath her boots. The camera performs a smooth lateral dolly to the right with a subtle push inward, preserving the symmetrical industrial depth while creating strong parallax across the machines. Cool mint light and saturated cherry red remain clean and graphic, with realistic human motion, grounded physics, stable facial features, and no cuts, titles, or overlays." \
  width=1280 \
  height=720 \
  duration=5 \
  inputs.frameImages.0=https://assets.runware.ai/assets/inputs/bcbb3b2b-2600-4d71-a92a-c30edbf4dc89.jpg
{
  "taskType": "videoInference",
  "taskUUID": "7e91ca75-218e-4c91-a8a2-40340fcb6506",
  "model": "klingai:5@1",
  "positivePrompt": "Continue seamlessly from the starting scene as a single cinematic music-video take. The dancer snaps her shoulders to an implied electronic beat, steps forward, then sweeps one arm across the frame while pivoting sharply; her red coveralls crease and trail naturally with the movement. Behind her, the washer drums begin rotating in synchronized alternating directions, white laundry tumbling visibly through the round glass doors. Thin steam drifts across the wet floor and fluorescent reflections shimmer beneath her boots. The camera performs a smooth lateral dolly to the right with a subtle push inward, preserving the symmetrical industrial depth while creating strong parallax across the machines. Cool mint light and saturated cherry red remain clean and graphic, with realistic human motion, grounded physics, stable facial features, and no cuts, titles, or overlays.",
  "width": 1280,
  "height": 720,
  "duration": 5,
  "inputs": {
    "frameImages": [
      "https://assets.runware.ai/assets/inputs/bcbb3b2b-2600-4d71-a92a-c30edbf4dc89.jpg"
    ]
  }
}
Response
{
  "taskType": "videoInference",
  "taskUUID": "7e91ca75-218e-4c91-a8a2-40340fcb6506",
  "videoUUID": "1938a76d-0d14-452a-af6d-e3915d80da8c",
  "videoURL": "https://vm.runware.ai/video/os/a03d21/ws/5/vi/1938a76d-0d14-452a-af6d-e3915d80da8c.mp4",
  "seed": 1770293682,
  "cost": 0.1848
}
Text to Video

Amber Marsh Airboat Passage

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@1',
  positivePrompt: 'Using the provided first frame as the opening composition, create a cinematic aerial drift forward through an amber marsh at sunrise. The wooden airboat moves smoothly between dense copper reeds and reflective pools while flocks of pale birds lift into the air. Ripples spread behind the boat, mist curls over the water, and warm sunlight gradually intensifies, revealing layered wetland textures and distant stilt huts. Natural camera motion, immersive depth, realistic water behavior, subtle environmental movement, cohesive color grading, high visual fidelity, atmospheric adventure tone.',
  width: 1280,
  height: 720,
  duration: 5,
  CFGScale: 0.66,
  inputs: {
    frameImages: [
      {
        image: 'https://assets.runware.ai/assets/inputs/bb674d11-ffba-46af-8c5b-f2ed779908b5.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@1",
            "positivePrompt": "Using the provided first frame as the opening composition, create a cinematic aerial drift forward through an amber marsh at sunrise. The wooden airboat moves smoothly between dense copper reeds and reflective pools while flocks of pale birds lift into the air. Ripples spread behind the boat, mist curls over the water, and warm sunlight gradually intensifies, revealing layered wetland textures and distant stilt huts. Natural camera motion, immersive depth, realistic water behavior, subtle environmental movement, cohesive color grading, high visual fidelity, atmospheric adventure tone.",
            "width": 1280,
            "height": 720,
            "duration": 5,
            "CFGScale": 0.66,
            "inputs": {
                "frameImages": [
                    {
                        "image": "https://assets.runware.ai/assets/inputs/bb674d11-ffba-46af-8c5b-f2ed779908b5.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": "c9779c22-09a6-4447-bd90-a403bb34e32a",
      "model": "klingai:5@1",
      "positivePrompt": "Using the provided first frame as the opening composition, create a cinematic aerial drift forward through an amber marsh at sunrise. The wooden airboat moves smoothly between dense copper reeds and reflective pools while flocks of pale birds lift into the air. Ripples spread behind the boat, mist curls over the water, and warm sunlight gradually intensifies, revealing layered wetland textures and distant stilt huts. Natural camera motion, immersive depth, realistic water behavior, subtle environmental movement, cohesive color grading, high visual fidelity, atmospheric adventure tone.",
      "width": 1280,
      "height": 720,
      "duration": 5,
      "CFGScale": 0.66,
      "inputs": {
        "frameImages": [
          {
            "image": "https://assets.runware.ai/assets/inputs/bb674d11-ffba-46af-8c5b-f2ed779908b5.jpg",
            "frame": "first"
          }
        ]
      }
    }
  ]'
runware run klingai:5@1 \
  positivePrompt="Using the provided first frame as the opening composition, create a cinematic aerial drift forward through an amber marsh at sunrise. The wooden airboat moves smoothly between dense copper reeds and reflective pools while flocks of pale birds lift into the air. Ripples spread behind the boat, mist curls over the water, and warm sunlight gradually intensifies, revealing layered wetland textures and distant stilt huts. Natural camera motion, immersive depth, realistic water behavior, subtle environmental movement, cohesive color grading, high visual fidelity, atmospheric adventure tone." \
  width=1280 \
  height=720 \
  duration=5 \
  CFGScale=0.66 \
  inputs.frameImages.0.image=https://assets.runware.ai/assets/inputs/bb674d11-ffba-46af-8c5b-f2ed779908b5.jpg \
  inputs.frameImages.0.frame=first
{
  "taskType": "videoInference",
  "taskUUID": "c9779c22-09a6-4447-bd90-a403bb34e32a",
  "model": "klingai:5@1",
  "positivePrompt": "Using the provided first frame as the opening composition, create a cinematic aerial drift forward through an amber marsh at sunrise. The wooden airboat moves smoothly between dense copper reeds and reflective pools while flocks of pale birds lift into the air. Ripples spread behind the boat, mist curls over the water, and warm sunlight gradually intensifies, revealing layered wetland textures and distant stilt huts. Natural camera motion, immersive depth, realistic water behavior, subtle environmental movement, cohesive color grading, high visual fidelity, atmospheric adventure tone.",
  "width": 1280,
  "height": 720,
  "duration": 5,
  "CFGScale": 0.66,
  "inputs": {
    "frameImages": [
      {
        "image": "https://assets.runware.ai/assets/inputs/bb674d11-ffba-46af-8c5b-f2ed779908b5.jpg",
        "frame": "first"
      }
    ]
  }
}
Response
{
  "taskType": "videoInference",
  "taskUUID": "c9779c22-09a6-4447-bd90-a403bb34e32a",
  "videoUUID": "cbd8036c-07ad-4966-82e2-30bce60d9a1d",
  "videoURL": "https://vm.runware.ai/video/os/a03d21/ws/5/vi/cbd8036c-07ad-4966-82e2-30bce60d9a1d.mp4",
  "seed": 16265050,
  "cost": 0.1848
}
Text to Video

Tidal Salt Cathedral Ruins

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@1',
  positivePrompt: 'Using the provided first-frame image as the opening composition, generate a cinematic video drifting slowly forward through monumental salt-crusted ruins beside a calm sea. Hairline streams of water weave through the white ground, shimmering reflections ripple softly, distant fish flash beneath the clear channels, seabirds wheel far above, and the saffron-cloaked traveler takes a few careful steps toward the vast arches. Fine salt dust lifts in gentle gusts, fabric edges flutter, light grows warmer across the carved stone and giant shell details, and the camera movement remains smooth, elegant, and grounded in realistic motion. Surreal coastal majesty, luminous atmosphere, high visual fidelity, coherent geometry, rich texture, polished cinematic fantasy.',
  duration: 5,
  CFGScale: 0.61,
  inputs: {
    frameImages: [
      {
        image: 'https://assets.runware.ai/assets/inputs/4cac0aaf-d7da-443a-a196-f88626f62e87.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@1",
            "positivePrompt": "Using the provided first-frame image as the opening composition, generate a cinematic video drifting slowly forward through monumental salt-crusted ruins beside a calm sea. Hairline streams of water weave through the white ground, shimmering reflections ripple softly, distant fish flash beneath the clear channels, seabirds wheel far above, and the saffron-cloaked traveler takes a few careful steps toward the vast arches. Fine salt dust lifts in gentle gusts, fabric edges flutter, light grows warmer across the carved stone and giant shell details, and the camera movement remains smooth, elegant, and grounded in realistic motion. Surreal coastal majesty, luminous atmosphere, high visual fidelity, coherent geometry, rich texture, polished cinematic fantasy.",
            "duration": 5,
            "CFGScale": 0.61,
            "inputs": {
                "frameImages": [
                    {
                        "image": "https://assets.runware.ai/assets/inputs/4cac0aaf-d7da-443a-a196-f88626f62e87.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": "4923cad8-a610-4604-9846-08e843a33e8d",
      "model": "klingai:5@1",
      "positivePrompt": "Using the provided first-frame image as the opening composition, generate a cinematic video drifting slowly forward through monumental salt-crusted ruins beside a calm sea. Hairline streams of water weave through the white ground, shimmering reflections ripple softly, distant fish flash beneath the clear channels, seabirds wheel far above, and the saffron-cloaked traveler takes a few careful steps toward the vast arches. Fine salt dust lifts in gentle gusts, fabric edges flutter, light grows warmer across the carved stone and giant shell details, and the camera movement remains smooth, elegant, and grounded in realistic motion. Surreal coastal majesty, luminous atmosphere, high visual fidelity, coherent geometry, rich texture, polished cinematic fantasy.",
      "duration": 5,
      "CFGScale": 0.61,
      "inputs": {
        "frameImages": [
          {
            "image": "https://assets.runware.ai/assets/inputs/4cac0aaf-d7da-443a-a196-f88626f62e87.jpg",
            "frame": "first"
          }
        ]
      }
    }
  ]'
runware run klingai:5@1 \
  positivePrompt="Using the provided first-frame image as the opening composition, generate a cinematic video drifting slowly forward through monumental salt-crusted ruins beside a calm sea. Hairline streams of water weave through the white ground, shimmering reflections ripple softly, distant fish flash beneath the clear channels, seabirds wheel far above, and the saffron-cloaked traveler takes a few careful steps toward the vast arches. Fine salt dust lifts in gentle gusts, fabric edges flutter, light grows warmer across the carved stone and giant shell details, and the camera movement remains smooth, elegant, and grounded in realistic motion. Surreal coastal majesty, luminous atmosphere, high visual fidelity, coherent geometry, rich texture, polished cinematic fantasy." \
  duration=5 \
  CFGScale=0.61 \
  inputs.frameImages.0.image=https://assets.runware.ai/assets/inputs/4cac0aaf-d7da-443a-a196-f88626f62e87.jpg \
  inputs.frameImages.0.frame=first
{
  "taskType": "videoInference",
  "taskUUID": "4923cad8-a610-4604-9846-08e843a33e8d",
  "model": "klingai:5@1",
  "positivePrompt": "Using the provided first-frame image as the opening composition, generate a cinematic video drifting slowly forward through monumental salt-crusted ruins beside a calm sea. Hairline streams of water weave through the white ground, shimmering reflections ripple softly, distant fish flash beneath the clear channels, seabirds wheel far above, and the saffron-cloaked traveler takes a few careful steps toward the vast arches. Fine salt dust lifts in gentle gusts, fabric edges flutter, light grows warmer across the carved stone and giant shell details, and the camera movement remains smooth, elegant, and grounded in realistic motion. Surreal coastal majesty, luminous atmosphere, high visual fidelity, coherent geometry, rich texture, polished cinematic fantasy.",
  "duration": 5,
  "CFGScale": 0.61,
  "inputs": {
    "frameImages": [
      {
        "image": "https://assets.runware.ai/assets/inputs/4cac0aaf-d7da-443a-a196-f88626f62e87.jpg",
        "frame": "first"
      }
    ]
  }
}
Response
{
  "taskType": "videoInference",
  "taskUUID": "4923cad8-a610-4604-9846-08e843a33e8d",
  "videoUUID": "0f8ab0bc-270f-44e7-af72-9aede76fbfbb",
  "videoURL": "https://vm.runware.ai/video/os/a21d05/ws/5/vi/0f8ab0bc-270f-44e7-af72-9aede76fbfbb.mp4",
  "seed": 451885574,
  "cost": 0.1848
}
Text to Video

Lantern-Filled Bamboo 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@1',
  positivePrompt: 'A poetic cinematic sequence traveling forward through a bamboo pathway illuminated by hundreds of glowing paper lanterns. A small procession of masked performers in layered silk costumes moves elegantly through the scene, carrying long embroidered banners and small hand drums. The camera glides smoothly at eye level, lantern light flickers across polished masks, thin mist curls around the path, bamboo leaves sway gently overhead, and fabric trails ripple with subtle motion. Rich amber and crimson highlights against cool blue evening tones, detailed foliage, atmospheric depth, graceful choreography, refined realism, stable composition, premium cinematic look.',
  width: 1280,
  height: 720,
  duration: 5,
  CFGScale: 0.62,
  inputs: {
    frameImages: [
      {
        image: 'https://assets.runware.ai/assets/inputs/993eb973-80af-4522-a06b-d03a152d4baa.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@1",
            "positivePrompt": "A poetic cinematic sequence traveling forward through a bamboo pathway illuminated by hundreds of glowing paper lanterns. A small procession of masked performers in layered silk costumes moves elegantly through the scene, carrying long embroidered banners and small hand drums. The camera glides smoothly at eye level, lantern light flickers across polished masks, thin mist curls around the path, bamboo leaves sway gently overhead, and fabric trails ripple with subtle motion. Rich amber and crimson highlights against cool blue evening tones, detailed foliage, atmospheric depth, graceful choreography, refined realism, stable composition, premium cinematic look.",
            "width": 1280,
            "height": 720,
            "duration": 5,
            "CFGScale": 0.62,
            "inputs": {
                "frameImages": [
                    {
                        "image": "https://assets.runware.ai/assets/inputs/993eb973-80af-4522-a06b-d03a152d4baa.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": "70951123-6277-4553-ba15-39f97c630782",
      "model": "klingai:5@1",
      "positivePrompt": "A poetic cinematic sequence traveling forward through a bamboo pathway illuminated by hundreds of glowing paper lanterns. A small procession of masked performers in layered silk costumes moves elegantly through the scene, carrying long embroidered banners and small hand drums. The camera glides smoothly at eye level, lantern light flickers across polished masks, thin mist curls around the path, bamboo leaves sway gently overhead, and fabric trails ripple with subtle motion. Rich amber and crimson highlights against cool blue evening tones, detailed foliage, atmospheric depth, graceful choreography, refined realism, stable composition, premium cinematic look.",
      "width": 1280,
      "height": 720,
      "duration": 5,
      "CFGScale": 0.62,
      "inputs": {
        "frameImages": [
          {
            "image": "https://assets.runware.ai/assets/inputs/993eb973-80af-4522-a06b-d03a152d4baa.jpg",
            "frame": "first"
          }
        ]
      }
    }
  ]'
runware run klingai:5@1 \
  positivePrompt="A poetic cinematic sequence traveling forward through a bamboo pathway illuminated by hundreds of glowing paper lanterns. A small procession of masked performers in layered silk costumes moves elegantly through the scene, carrying long embroidered banners and small hand drums. The camera glides smoothly at eye level, lantern light flickers across polished masks, thin mist curls around the path, bamboo leaves sway gently overhead, and fabric trails ripple with subtle motion. Rich amber and crimson highlights against cool blue evening tones, detailed foliage, atmospheric depth, graceful choreography, refined realism, stable composition, premium cinematic look." \
  width=1280 \
  height=720 \
  duration=5 \
  CFGScale=0.62 \
  inputs.frameImages.0.image=https://assets.runware.ai/assets/inputs/993eb973-80af-4522-a06b-d03a152d4baa.jpg \
  inputs.frameImages.0.frame=first
{
  "taskType": "videoInference",
  "taskUUID": "70951123-6277-4553-ba15-39f97c630782",
  "model": "klingai:5@1",
  "positivePrompt": "A poetic cinematic sequence traveling forward through a bamboo pathway illuminated by hundreds of glowing paper lanterns. A small procession of masked performers in layered silk costumes moves elegantly through the scene, carrying long embroidered banners and small hand drums. The camera glides smoothly at eye level, lantern light flickers across polished masks, thin mist curls around the path, bamboo leaves sway gently overhead, and fabric trails ripple with subtle motion. Rich amber and crimson highlights against cool blue evening tones, detailed foliage, atmospheric depth, graceful choreography, refined realism, stable composition, premium cinematic look.",
  "width": 1280,
  "height": 720,
  "duration": 5,
  "CFGScale": 0.62,
  "inputs": {
    "frameImages": [
      {
        "image": "https://assets.runware.ai/assets/inputs/993eb973-80af-4522-a06b-d03a152d4baa.jpg",
        "frame": "first"
      }
    ]
  }
}
Response
{
  "taskType": "videoInference",
  "taskUUID": "70951123-6277-4553-ba15-39f97c630782",
  "videoUUID": "2e876fa6-c68e-4175-bf66-4edcc94fc31b",
  "videoURL": "https://vm.runware.ai/video/os/a09d21/ws/5/vi/2e876fa6-c68e-4175-bf66-4edcc94fc31b.mp4",
  "seed": 380669567,
  "cost": 0.1848
}
Text to Video

Lantern Marsh Heron Passage

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@1',
  positivePrompt: 'A tranquil marsh at blue hour seen in a wide cinematic view, a small wooden skiff glides slowly between reed-lined channels while warm hanging lanterns sway gently from thin poles. A white heron rides near the bow, occasionally shifting posture as the boat moves forward through pale mist. Ripples spread softly across reflective water, lantern reflections shimmer, reeds bend with a light breeze, distant cypress shapes fade into haze. Atmospheric, lyrical, richly detailed, elegant camera motion, realistic lighting, smooth temporal coherence, high visual quality.',
  width: 1280,
  height: 720,
  duration: 5,
  CFGScale: 0.61,
  inputs: {
    frameImages: [
      {
        image: 'https://assets.runware.ai/assets/inputs/33607573-643e-4132-87fe-3ea8fee0fe22.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@1",
            "positivePrompt": "A tranquil marsh at blue hour seen in a wide cinematic view, a small wooden skiff glides slowly between reed-lined channels while warm hanging lanterns sway gently from thin poles. A white heron rides near the bow, occasionally shifting posture as the boat moves forward through pale mist. Ripples spread softly across reflective water, lantern reflections shimmer, reeds bend with a light breeze, distant cypress shapes fade into haze. Atmospheric, lyrical, richly detailed, elegant camera motion, realistic lighting, smooth temporal coherence, high visual quality.",
            "width": 1280,
            "height": 720,
            "duration": 5,
            "CFGScale": 0.61,
            "inputs": {
                "frameImages": [
                    {
                        "image": "https://assets.runware.ai/assets/inputs/33607573-643e-4132-87fe-3ea8fee0fe22.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": "f006c221-158b-4407-889b-fa3932b6ebf8",
      "model": "klingai:5@1",
      "positivePrompt": "A tranquil marsh at blue hour seen in a wide cinematic view, a small wooden skiff glides slowly between reed-lined channels while warm hanging lanterns sway gently from thin poles. A white heron rides near the bow, occasionally shifting posture as the boat moves forward through pale mist. Ripples spread softly across reflective water, lantern reflections shimmer, reeds bend with a light breeze, distant cypress shapes fade into haze. Atmospheric, lyrical, richly detailed, elegant camera motion, realistic lighting, smooth temporal coherence, high visual quality.",
      "width": 1280,
      "height": 720,
      "duration": 5,
      "CFGScale": 0.61,
      "inputs": {
        "frameImages": [
          {
            "image": "https://assets.runware.ai/assets/inputs/33607573-643e-4132-87fe-3ea8fee0fe22.jpg",
            "frame": "first"
          }
        ]
      }
    }
  ]'
runware run klingai:5@1 \
  positivePrompt="A tranquil marsh at blue hour seen in a wide cinematic view, a small wooden skiff glides slowly between reed-lined channels while warm hanging lanterns sway gently from thin poles. A white heron rides near the bow, occasionally shifting posture as the boat moves forward through pale mist. Ripples spread softly across reflective water, lantern reflections shimmer, reeds bend with a light breeze, distant cypress shapes fade into haze. Atmospheric, lyrical, richly detailed, elegant camera motion, realistic lighting, smooth temporal coherence, high visual quality." \
  width=1280 \
  height=720 \
  duration=5 \
  CFGScale=0.61 \
  inputs.frameImages.0.image=https://assets.runware.ai/assets/inputs/33607573-643e-4132-87fe-3ea8fee0fe22.jpg \
  inputs.frameImages.0.frame=first
{
  "taskType": "videoInference",
  "taskUUID": "f006c221-158b-4407-889b-fa3932b6ebf8",
  "model": "klingai:5@1",
  "positivePrompt": "A tranquil marsh at blue hour seen in a wide cinematic view, a small wooden skiff glides slowly between reed-lined channels while warm hanging lanterns sway gently from thin poles. A white heron rides near the bow, occasionally shifting posture as the boat moves forward through pale mist. Ripples spread softly across reflective water, lantern reflections shimmer, reeds bend with a light breeze, distant cypress shapes fade into haze. Atmospheric, lyrical, richly detailed, elegant camera motion, realistic lighting, smooth temporal coherence, high visual quality.",
  "width": 1280,
  "height": 720,
  "duration": 5,
  "CFGScale": 0.61,
  "inputs": {
    "frameImages": [
      {
        "image": "https://assets.runware.ai/assets/inputs/33607573-643e-4132-87fe-3ea8fee0fe22.jpg",
        "frame": "first"
      }
    ]
  }
}
Response
{
  "taskType": "videoInference",
  "taskUUID": "f006c221-158b-4407-889b-fa3932b6ebf8",
  "videoUUID": "2be1a435-644c-43b5-91f9-25b980bc1727",
  "videoURL": "https://vm.runware.ai/video/os/a22d05/ws/5/vi/2be1a435-644c-43b5-91f9-25b980bc1727.mp4",
  "seed": 926896567,
  "cost": 0.1848
}
Text to Video

Lantern Marsh Heron Flight

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@1',
  positivePrompt: 'A graceful white heron lifts off from a still marsh at twilight as floating paper lanterns drift across the water. The camera begins low near the reflective surface, then gently glides forward through reeds while the bird rises and arcs across the scene. Ripples spread outward, lantern reflections shimmer, faint mist curls above the water, and distant cypress silhouettes fade into blue-green haze. Rich cinematic lighting, elegant natural motion, detailed feathers, atmospheric depth, refined realism, smooth camera movement, visually coherent 5-second sequence.',
  width: 1280,
  height: 720,
  duration: 5,
  CFGScale: 0.6,
  inputs: {
    frameImages: [
      {
        image: 'https://assets.runware.ai/assets/inputs/bb483b52-bd3a-4bd0-90c2-b2789c6d37d4.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@1",
            "positivePrompt": "A graceful white heron lifts off from a still marsh at twilight as floating paper lanterns drift across the water. The camera begins low near the reflective surface, then gently glides forward through reeds while the bird rises and arcs across the scene. Ripples spread outward, lantern reflections shimmer, faint mist curls above the water, and distant cypress silhouettes fade into blue-green haze. Rich cinematic lighting, elegant natural motion, detailed feathers, atmospheric depth, refined realism, smooth camera movement, visually coherent 5-second sequence.",
            "width": 1280,
            "height": 720,
            "duration": 5,
            "CFGScale": 0.6,
            "inputs": {
                "frameImages": [
                    {
                        "image": "https://assets.runware.ai/assets/inputs/bb483b52-bd3a-4bd0-90c2-b2789c6d37d4.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": "989cc15d-2b29-49ef-9b3a-d75d5d8b6495",
      "model": "klingai:5@1",
      "positivePrompt": "A graceful white heron lifts off from a still marsh at twilight as floating paper lanterns drift across the water. The camera begins low near the reflective surface, then gently glides forward through reeds while the bird rises and arcs across the scene. Ripples spread outward, lantern reflections shimmer, faint mist curls above the water, and distant cypress silhouettes fade into blue-green haze. Rich cinematic lighting, elegant natural motion, detailed feathers, atmospheric depth, refined realism, smooth camera movement, visually coherent 5-second sequence.",
      "width": 1280,
      "height": 720,
      "duration": 5,
      "CFGScale": 0.6,
      "inputs": {
        "frameImages": [
          {
            "image": "https://assets.runware.ai/assets/inputs/bb483b52-bd3a-4bd0-90c2-b2789c6d37d4.jpg",
            "frame": "first"
          }
        ]
      }
    }
  ]'
runware run klingai:5@1 \
  positivePrompt="A graceful white heron lifts off from a still marsh at twilight as floating paper lanterns drift across the water. The camera begins low near the reflective surface, then gently glides forward through reeds while the bird rises and arcs across the scene. Ripples spread outward, lantern reflections shimmer, faint mist curls above the water, and distant cypress silhouettes fade into blue-green haze. Rich cinematic lighting, elegant natural motion, detailed feathers, atmospheric depth, refined realism, smooth camera movement, visually coherent 5-second sequence." \
  width=1280 \
  height=720 \
  duration=5 \
  CFGScale=0.6 \
  inputs.frameImages.0.image=https://assets.runware.ai/assets/inputs/bb483b52-bd3a-4bd0-90c2-b2789c6d37d4.jpg \
  inputs.frameImages.0.frame=first
{
  "taskType": "videoInference",
  "taskUUID": "989cc15d-2b29-49ef-9b3a-d75d5d8b6495",
  "model": "klingai:5@1",
  "positivePrompt": "A graceful white heron lifts off from a still marsh at twilight as floating paper lanterns drift across the water. The camera begins low near the reflective surface, then gently glides forward through reeds while the bird rises and arcs across the scene. Ripples spread outward, lantern reflections shimmer, faint mist curls above the water, and distant cypress silhouettes fade into blue-green haze. Rich cinematic lighting, elegant natural motion, detailed feathers, atmospheric depth, refined realism, smooth camera movement, visually coherent 5-second sequence.",
  "width": 1280,
  "height": 720,
  "duration": 5,
  "CFGScale": 0.6,
  "inputs": {
    "frameImages": [
      {
        "image": "https://assets.runware.ai/assets/inputs/bb483b52-bd3a-4bd0-90c2-b2789c6d37d4.jpg",
        "frame": "first"
      }
    ]
  }
}
Response
{
  "taskType": "videoInference",
  "taskUUID": "989cc15d-2b29-49ef-9b3a-d75d5d8b6495",
  "videoUUID": "91735550-9bc6-484c-bfc1-68a39c40a16e",
  "videoURL": "https://vm.runware.ai/video/os/a25d05/ws/5/vi/91735550-9bc6-484c-bfc1-68a39c40a16e.mp4",
  "seed": 169817798,
  "cost": 0.1848
}