live
MODEL IDklingai:kling@o1-standard

Kling VIDEO O1 Standard

Kling AI
by

Kling VIDEO O1 Standard is a unified multimodal video model for controllable generation and instruction-based editing. It supports text prompts, image references, and video input to enable precise control over motion, transitions, object changes, and visual adjustments within short-form video workflows.

Kling VIDEO O1 Standard

text-to-video

Archaeological Site Night-Lighting Study$0.42~55s
Try in Playground
import { createClient } from '@runware/sdk'

const client = await createClient({ apiKey: process.env.RUNWARE_API_KEY })
await client.connect()

const [result] = await client.run({
  model: 'klingai:kling@o1-standard',
  positivePrompt: 'Landscape architectural visualization for a heritage-lighting proposal at a coastal Roman bath excavation. A preserved limestone bathing pool, low ruined walls, weathered columns and a narrow timber visitor walkway fill the wide composition, with silver-green coastal scrub beyond. Begin in soft, overcast late-afternoon daylight, every stone clearly legible in neutral natural color. Over five seconds, transition continuously and realistically into deep blue hour: the sky cools to indigo, ambient daylight falls, and discreet conservation-grade lighting activates in sequence. Narrow warm-white grazing lights reveal the wall textures, recessed walkway markers form a restrained line through the ruins, and a subtle underwater glow outlines the empty tiled pool without becoming theatrical. Maintain identical architecture and spatial layout throughout the relight. A very slow stabilized dolly forward creates gentle parallax; grasses move lightly in the sea breeze while the structures remain still. Photorealistic high-end architectural film, natural exposure adaptation, accurate stone texture, controlled highlights, cool blue surroundings balanced with soft ivory illumination, quiet museum-grade atmosphere, no people, no signage, no text, no logos.',
  width: 1280,
  height: 720,
  duration: 5
})
import asyncio
import os

from runware import Runware


async def main():
    async with Runware(api_key=os.environ["RUNWARE_API_KEY"]) as client:
        results = await client.run({
            "model": "klingai:kling@o1-standard",
            "positivePrompt": "Landscape architectural visualization for a heritage-lighting proposal at a coastal Roman bath excavation. A preserved limestone bathing pool, low ruined walls, weathered columns and a narrow timber visitor walkway fill the wide composition, with silver-green coastal scrub beyond. Begin in soft, overcast late-afternoon daylight, every stone clearly legible in neutral natural color. Over five seconds, transition continuously and realistically into deep blue hour: the sky cools to indigo, ambient daylight falls, and discreet conservation-grade lighting activates in sequence. Narrow warm-white grazing lights reveal the wall textures, recessed walkway markers form a restrained line through the ruins, and a subtle underwater glow outlines the empty tiled pool without becoming theatrical. Maintain identical architecture and spatial layout throughout the relight. A very slow stabilized dolly forward creates gentle parallax; grasses move lightly in the sea breeze while the structures remain still. Photorealistic high-end architectural film, natural exposure adaptation, accurate stone texture, controlled highlights, cool blue surroundings balanced with soft ivory illumination, quiet museum-grade atmosphere, no people, no signage, no text, no logos.",
            "width": 1280,
            "height": 720,
            "duration": 5
        })


asyncio.run(main())
curl https://api.runware.ai/v1 \
  -H "Authorization: Bearer $RUNWARE_API_KEY" \
  -H "Content-Type: application/json" \
  -d '[
    {
      "taskType": "videoInference",
      "taskUUID": "a207c154-592c-4fed-a1ad-ed2a54c6058d",
      "model": "klingai:kling@o1-standard",
      "positivePrompt": "Landscape architectural visualization for a heritage-lighting proposal at a coastal Roman bath excavation. A preserved limestone bathing pool, low ruined walls, weathered columns and a narrow timber visitor walkway fill the wide composition, with silver-green coastal scrub beyond. Begin in soft, overcast late-afternoon daylight, every stone clearly legible in neutral natural color. Over five seconds, transition continuously and realistically into deep blue hour: the sky cools to indigo, ambient daylight falls, and discreet conservation-grade lighting activates in sequence. Narrow warm-white grazing lights reveal the wall textures, recessed walkway markers form a restrained line through the ruins, and a subtle underwater glow outlines the empty tiled pool without becoming theatrical. Maintain identical architecture and spatial layout throughout the relight. A very slow stabilized dolly forward creates gentle parallax; grasses move lightly in the sea breeze while the structures remain still. Photorealistic high-end architectural film, natural exposure adaptation, accurate stone texture, controlled highlights, cool blue surroundings balanced with soft ivory illumination, quiet museum-grade atmosphere, no people, no signage, no text, no logos.",
      "width": 1280,
      "height": 720,
      "duration": 5
    }
  ]'
runware run klingai:kling@o1-standard \
  positivePrompt="Landscape architectural visualization for a heritage-lighting proposal at a coastal Roman bath excavation. A preserved limestone bathing pool, low ruined walls, weathered columns and a narrow timber visitor walkway fill the wide composition, with silver-green coastal scrub beyond. Begin in soft, overcast late-afternoon daylight, every stone clearly legible in neutral natural color. Over five seconds, transition continuously and realistically into deep blue hour: the sky cools to indigo, ambient daylight falls, and discreet conservation-grade lighting activates in sequence. Narrow warm-white grazing lights reveal the wall textures, recessed walkway markers form a restrained line through the ruins, and a subtle underwater glow outlines the empty tiled pool without becoming theatrical. Maintain identical architecture and spatial layout throughout the relight. A very slow stabilized dolly forward creates gentle parallax; grasses move lightly in the sea breeze while the structures remain still. Photorealistic high-end architectural film, natural exposure adaptation, accurate stone texture, controlled highlights, cool blue surroundings balanced with soft ivory illumination, quiet museum-grade atmosphere, no people, no signage, no text, no logos." \
  width=1280 \
  height=720 \
  duration=5
{
  "taskType": "videoInference",
  "taskUUID": "a207c154-592c-4fed-a1ad-ed2a54c6058d",
  "model": "klingai:kling@o1-standard",
  "positivePrompt": "Landscape architectural visualization for a heritage-lighting proposal at a coastal Roman bath excavation. A preserved limestone bathing pool, low ruined walls, weathered columns and a narrow timber visitor walkway fill the wide composition, with silver-green coastal scrub beyond. Begin in soft, overcast late-afternoon daylight, every stone clearly legible in neutral natural color. Over five seconds, transition continuously and realistically into deep blue hour: the sky cools to indigo, ambient daylight falls, and discreet conservation-grade lighting activates in sequence. Narrow warm-white grazing lights reveal the wall textures, recessed walkway markers form a restrained line through the ruins, and a subtle underwater glow outlines the empty tiled pool without becoming theatrical. Maintain identical architecture and spatial layout throughout the relight. A very slow stabilized dolly forward creates gentle parallax; grasses move lightly in the sea breeze while the structures remain still. Photorealistic high-end architectural film, natural exposure adaptation, accurate stone texture, controlled highlights, cool blue surroundings balanced with soft ivory illumination, quiet museum-grade atmosphere, no people, no signage, no text, no logos.",
  "width": 1280,
  "height": 720,
  "duration": 5
}
Response
{
  "taskType": "videoInference",
  "taskUUID": "a207c154-592c-4fed-a1ad-ed2a54c6058d",
  "videoUUID": "b66c43b5-c997-4a80-b48b-44480a16443a",
  "videoURL": "https://vm.runware.ai/video/os/a09dlim3/ws/5/vi/b66c43b5-c997-4a80-b48b-44480a16443a.mp4",
  "cost": 0.42
}

first-frame

Submarine Cable Drama Title Sequence$0.84~1m 4s
Try in Playground
import { createClient } from '@runware/sdk'

const client = await createClient({ apiKey: process.env.RUNWARE_API_KEY })
await client.connect()

const [result] = await client.run({
  model: 'klingai:kling@o1-standard',
  positivePrompt: 'Continue naturally from the supplied first frame as a single elegant ten-second historical-drama title shot. The camera begins a slow, steady push toward the exposed copper core while a narrow band of cold light travels across the blueprint like a scanning beam. Fine copper filaments loosen from the cable and glide outward with controlled mechanical tension, tracing a transatlantic route across the paper. Subtle water-caustic shadows pass over the table, the blueprint edges lift in a faint draft, brass dividers tremble, and tiny graphite dust catches the light. The camera lowers from overhead into a shallow raking angle and tracks beside the moving copper line. During the final three seconds, the filaments settle into refined, widely spaced serif capitals reading “THE SILENT LINE,” physically formed from copper wire on the blueprint. Hold briefly on the complete, clearly legible title. Cold cyanotype blue, oxidized copper, charcoal black, tactile practical effects, restrained film grain, precise period detail, ominous prestige-miniseries mood, smooth cinematic motion, no cuts, no people, no additional words, logos, subtitles, or modern objects.',
  duration: 10,
  inputs: {
    frameImages: [
      {
        image: 'https://assets.runware.ai/assets/inputs/7ce1a9a3-6cc1-4b24-919e-7e08f527c118.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@o1-standard",
            "positivePrompt": "Continue naturally from the supplied first frame as a single elegant ten-second historical-drama title shot. The camera begins a slow, steady push toward the exposed copper core while a narrow band of cold light travels across the blueprint like a scanning beam. Fine copper filaments loosen from the cable and glide outward with controlled mechanical tension, tracing a transatlantic route across the paper. Subtle water-caustic shadows pass over the table, the blueprint edges lift in a faint draft, brass dividers tremble, and tiny graphite dust catches the light. The camera lowers from overhead into a shallow raking angle and tracks beside the moving copper line. During the final three seconds, the filaments settle into refined, widely spaced serif capitals reading “THE SILENT LINE,” physically formed from copper wire on the blueprint. Hold briefly on the complete, clearly legible title. Cold cyanotype blue, oxidized copper, charcoal black, tactile practical effects, restrained film grain, precise period detail, ominous prestige-miniseries mood, smooth cinematic motion, no cuts, no people, no additional words, logos, subtitles, or modern objects.",
            "duration": 10,
            "inputs": {
                "frameImages": [
                    {
                        "image": "https://assets.runware.ai/assets/inputs/7ce1a9a3-6cc1-4b24-919e-7e08f527c118.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": "58cbd9ac-9859-4bc6-93b9-7ef24eef50a7",
      "model": "klingai:kling@o1-standard",
      "positivePrompt": "Continue naturally from the supplied first frame as a single elegant ten-second historical-drama title shot. The camera begins a slow, steady push toward the exposed copper core while a narrow band of cold light travels across the blueprint like a scanning beam. Fine copper filaments loosen from the cable and glide outward with controlled mechanical tension, tracing a transatlantic route across the paper. Subtle water-caustic shadows pass over the table, the blueprint edges lift in a faint draft, brass dividers tremble, and tiny graphite dust catches the light. The camera lowers from overhead into a shallow raking angle and tracks beside the moving copper line. During the final three seconds, the filaments settle into refined, widely spaced serif capitals reading “THE SILENT LINE,” physically formed from copper wire on the blueprint. Hold briefly on the complete, clearly legible title. Cold cyanotype blue, oxidized copper, charcoal black, tactile practical effects, restrained film grain, precise period detail, ominous prestige-miniseries mood, smooth cinematic motion, no cuts, no people, no additional words, logos, subtitles, or modern objects.",
      "duration": 10,
      "inputs": {
        "frameImages": [
          {
            "image": "https://assets.runware.ai/assets/inputs/7ce1a9a3-6cc1-4b24-919e-7e08f527c118.jpg",
            "frame": "first"
          }
        ]
      }
    }
  ]'
runware run klingai:kling@o1-standard \
  positivePrompt="Continue naturally from the supplied first frame as a single elegant ten-second historical-drama title shot. The camera begins a slow, steady push toward the exposed copper core while a narrow band of cold light travels across the blueprint like a scanning beam. Fine copper filaments loosen from the cable and glide outward with controlled mechanical tension, tracing a transatlantic route across the paper. Subtle water-caustic shadows pass over the table, the blueprint edges lift in a faint draft, brass dividers tremble, and tiny graphite dust catches the light. The camera lowers from overhead into a shallow raking angle and tracks beside the moving copper line. During the final three seconds, the filaments settle into refined, widely spaced serif capitals reading “THE SILENT LINE,” physically formed from copper wire on the blueprint. Hold briefly on the complete, clearly legible title. Cold cyanotype blue, oxidized copper, charcoal black, tactile practical effects, restrained film grain, precise period detail, ominous prestige-miniseries mood, smooth cinematic motion, no cuts, no people, no additional words, logos, subtitles, or modern objects." \
  duration=10 \
  inputs.frameImages.0.image=https://assets.runware.ai/assets/inputs/7ce1a9a3-6cc1-4b24-919e-7e08f527c118.jpg \
  inputs.frameImages.0.frame=first
{
  "taskType": "videoInference",
  "taskUUID": "58cbd9ac-9859-4bc6-93b9-7ef24eef50a7",
  "model": "klingai:kling@o1-standard",
  "positivePrompt": "Continue naturally from the supplied first frame as a single elegant ten-second historical-drama title shot. The camera begins a slow, steady push toward the exposed copper core while a narrow band of cold light travels across the blueprint like a scanning beam. Fine copper filaments loosen from the cable and glide outward with controlled mechanical tension, tracing a transatlantic route across the paper. Subtle water-caustic shadows pass over the table, the blueprint edges lift in a faint draft, brass dividers tremble, and tiny graphite dust catches the light. The camera lowers from overhead into a shallow raking angle and tracks beside the moving copper line. During the final three seconds, the filaments settle into refined, widely spaced serif capitals reading “THE SILENT LINE,” physically formed from copper wire on the blueprint. Hold briefly on the complete, clearly legible title. Cold cyanotype blue, oxidized copper, charcoal black, tactile practical effects, restrained film grain, precise period detail, ominous prestige-miniseries mood, smooth cinematic motion, no cuts, no people, no additional words, logos, subtitles, or modern objects.",
  "duration": 10,
  "inputs": {
    "frameImages": [
      {
        "image": "https://assets.runware.ai/assets/inputs/7ce1a9a3-6cc1-4b24-919e-7e08f527c118.jpg",
        "frame": "first"
      }
    ]
  }
}
Response
{
  "taskType": "videoInference",
  "taskUUID": "58cbd9ac-9859-4bc6-93b9-7ef24eef50a7",
  "videoUUID": "d0d9adf4-7f8c-4be7-9555-bcc6668622cc",
  "videoURL": "https://vm.runware.ai/video/os/a01d21/ws/5/vi/d0d9adf4-7f8c-4be7-9555-bcc6668622cc.mp4",
  "cost": 0.84
}

first-last-frame

Wildfire Crew Roster Update$0.42~2m 1s
Try in Playground
import { createClient } from '@runware/sdk'

const client = await createClient({ apiKey: process.env.RUNWARE_API_KEY })
await client.connect()

const [result] = await client.run({
  model: 'klingai:kling@o1-standard',
  positivePrompt: 'Create a seamless five-second, single-take transition from the opening crew portrait to the final expanded group portrait. Preserve the same seven crew members, faces, uniforms, helicopter, mountain airfield, composition, weather and morning light throughout. A black-and-white border collie in an orange search-and-rescue vest trots naturally into frame from camera right toward the intentional gap in the front row. The kneeling handler gives one small welcoming hand signal; nearby crew members glance down and shift only slightly while keeping their group formation. The dog slows, turns toward camera and sits neatly beside the handler. She rests one hand on its shoulder, and the full crew settles into the confident final portrait with subtle smiles. Use a gentle stabilized camera push-in with minimal handheld documentary texture, physically accurate footsteps, fabric and fur motion, consistent scale and perspective. No cuts, dissolves, duplicated people, extra animals, wardrobe changes, helicopter movement, text or logos.',
  duration: 5,
  inputs: {
    frameImages: [
      {
        image: 'https://assets.runware.ai/assets/inputs/f4536d22-033b-4b26-8c50-bb8b0abb370d.jpg',
        frame: 'first'
      },
      {
        image: 'https://assets.runware.ai/assets/inputs/6bb59323-6d24-438d-9c92-ae94a702bd9f.jpg',
        frame: 'last'
      }
    ]
  }
})
import asyncio
import os

from runware import Runware


async def main():
    async with Runware(api_key=os.environ["RUNWARE_API_KEY"]) as client:
        results = await client.run({
            "model": "klingai:kling@o1-standard",
            "positivePrompt": "Create a seamless five-second, single-take transition from the opening crew portrait to the final expanded group portrait. Preserve the same seven crew members, faces, uniforms, helicopter, mountain airfield, composition, weather and morning light throughout. A black-and-white border collie in an orange search-and-rescue vest trots naturally into frame from camera right toward the intentional gap in the front row. The kneeling handler gives one small welcoming hand signal; nearby crew members glance down and shift only slightly while keeping their group formation. The dog slows, turns toward camera and sits neatly beside the handler. She rests one hand on its shoulder, and the full crew settles into the confident final portrait with subtle smiles. Use a gentle stabilized camera push-in with minimal handheld documentary texture, physically accurate footsteps, fabric and fur motion, consistent scale and perspective. No cuts, dissolves, duplicated people, extra animals, wardrobe changes, helicopter movement, text or logos.",
            "duration": 5,
            "inputs": {
                "frameImages": [
                    {
                        "image": "https://assets.runware.ai/assets/inputs/f4536d22-033b-4b26-8c50-bb8b0abb370d.jpg",
                        "frame": "first"
                    },
                    {
                        "image": "https://assets.runware.ai/assets/inputs/6bb59323-6d24-438d-9c92-ae94a702bd9f.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": "9c6085ac-0b75-4baf-a9a3-0d597c667550",
      "model": "klingai:kling@o1-standard",
      "positivePrompt": "Create a seamless five-second, single-take transition from the opening crew portrait to the final expanded group portrait. Preserve the same seven crew members, faces, uniforms, helicopter, mountain airfield, composition, weather and morning light throughout. A black-and-white border collie in an orange search-and-rescue vest trots naturally into frame from camera right toward the intentional gap in the front row. The kneeling handler gives one small welcoming hand signal; nearby crew members glance down and shift only slightly while keeping their group formation. The dog slows, turns toward camera and sits neatly beside the handler. She rests one hand on its shoulder, and the full crew settles into the confident final portrait with subtle smiles. Use a gentle stabilized camera push-in with minimal handheld documentary texture, physically accurate footsteps, fabric and fur motion, consistent scale and perspective. No cuts, dissolves, duplicated people, extra animals, wardrobe changes, helicopter movement, text or logos.",
      "duration": 5,
      "inputs": {
        "frameImages": [
          {
            "image": "https://assets.runware.ai/assets/inputs/f4536d22-033b-4b26-8c50-bb8b0abb370d.jpg",
            "frame": "first"
          },
          {
            "image": "https://assets.runware.ai/assets/inputs/6bb59323-6d24-438d-9c92-ae94a702bd9f.jpg",
            "frame": "last"
          }
        ]
      }
    }
  ]'
runware run klingai:kling@o1-standard \
  positivePrompt="Create a seamless five-second, single-take transition from the opening crew portrait to the final expanded group portrait. Preserve the same seven crew members, faces, uniforms, helicopter, mountain airfield, composition, weather and morning light throughout. A black-and-white border collie in an orange search-and-rescue vest trots naturally into frame from camera right toward the intentional gap in the front row. The kneeling handler gives one small welcoming hand signal; nearby crew members glance down and shift only slightly while keeping their group formation. The dog slows, turns toward camera and sits neatly beside the handler. She rests one hand on its shoulder, and the full crew settles into the confident final portrait with subtle smiles. Use a gentle stabilized camera push-in with minimal handheld documentary texture, physically accurate footsteps, fabric and fur motion, consistent scale and perspective. No cuts, dissolves, duplicated people, extra animals, wardrobe changes, helicopter movement, text or logos." \
  duration=5 \
  inputs.frameImages.0.image=https://assets.runware.ai/assets/inputs/f4536d22-033b-4b26-8c50-bb8b0abb370d.jpg \
  inputs.frameImages.0.frame=first \
  inputs.frameImages.1.image=https://assets.runware.ai/assets/inputs/6bb59323-6d24-438d-9c92-ae94a702bd9f.jpg \
  inputs.frameImages.1.frame=last
{
  "taskType": "videoInference",
  "taskUUID": "9c6085ac-0b75-4baf-a9a3-0d597c667550",
  "model": "klingai:kling@o1-standard",
  "positivePrompt": "Create a seamless five-second, single-take transition from the opening crew portrait to the final expanded group portrait. Preserve the same seven crew members, faces, uniforms, helicopter, mountain airfield, composition, weather and morning light throughout. A black-and-white border collie in an orange search-and-rescue vest trots naturally into frame from camera right toward the intentional gap in the front row. The kneeling handler gives one small welcoming hand signal; nearby crew members glance down and shift only slightly while keeping their group formation. The dog slows, turns toward camera and sits neatly beside the handler. She rests one hand on its shoulder, and the full crew settles into the confident final portrait with subtle smiles. Use a gentle stabilized camera push-in with minimal handheld documentary texture, physically accurate footsteps, fabric and fur motion, consistent scale and perspective. No cuts, dissolves, duplicated people, extra animals, wardrobe changes, helicopter movement, text or logos.",
  "duration": 5,
  "inputs": {
    "frameImages": [
      {
        "image": "https://assets.runware.ai/assets/inputs/f4536d22-033b-4b26-8c50-bb8b0abb370d.jpg",
        "frame": "first"
      },
      {
        "image": "https://assets.runware.ai/assets/inputs/6bb59323-6d24-438d-9c92-ae94a702bd9f.jpg",
        "frame": "last"
      }
    ]
  }
}
Response
{
  "taskType": "videoInference",
  "taskUUID": "9c6085ac-0b75-4baf-a9a3-0d597c667550",
  "videoUUID": "409d31e3-030b-43c5-8c63-5ea689ce8261",
  "videoURL": "https://vm.runware.ai/video/os/a06dlim3/ws/5/vi/409d31e3-030b-43c5-8c63-5ea689ce8261.mp4",
  "cost": 0.42
}

reference-to-video

Museum Conservation Vertical Outpaint$0.882~5m 21s
Try in Playground
import { createClient } from '@runware/sdk'

const client = await createClient({ apiKey: process.env.RUNWARE_API_KEY })
await client.connect()

const [result] = await client.run({
  model: 'klingai:kling@o1-standard',
  positivePrompt: 'Create a seamless 9:16 portrait outpaint of the reference video for a natural-history museum conservation social reel. Preserve the reference video as the exact central horizontal band: retain every original subject, pixel-level composition, timing, hand movement, butterfly anatomy, microscope position, lighting direction and documentary realism. Do not crop, stretch, zoom or replace the source action. Extend the canvas substantially above and below it. Use reference image 1 to construct the upper extension: continue the conservator\'s white lab coat and posture naturally upward, with the stereo microscope, pale cyan task light, white specimen cabinets and archival drawers aligned in correct perspective. Use reference image 2 to construct the lower extension: continue the work surface downward with bone-white archival board, stainless forceps, sable brush, glass weights, tissue and specimen tags arranged with museum-lab precision. Generated hands, sleeves, table edges and microscope supports must join the source band invisibly with consistent scale, lens depth, shadows and color. Motion outside the original frame should remain subtle and physically connected: slight sleeve movement from the brushing action, minute task-light shimmer and barely moving tissue from ventilation. Carry forward the reference video\'s quiet clinical atmosphere and delicate conservation foley. Cool cyan, white, silver and electric Morpho blue palette; observational science documentary style; no captions, logos, borders, split screens or visible seams.',
  width: 720,
  height: 1280,
  duration: 7,
  providerSettings: {
    klingai: {
      keepOriginalSound: true
    }
  },
  inputs: {
    referenceImages: [
      'https://assets.runware.ai/assets/inputs/13fae6c9-5b0d-4619-9db9-c0a10ead74a7.jpg',
      'https://assets.runware.ai/assets/inputs/5e1dfa7f-e8e9-47f0-98a8-227c5babfd77.jpg'
    ],
    referenceVideos: [
      'https://assets.runware.ai/assets/inputs/e4349347-6379-4ae2-9ed0-732c2b65796d.mp4'
    ]
  }
})
import asyncio
import os

from runware import Runware


async def main():
    async with Runware(api_key=os.environ["RUNWARE_API_KEY"]) as client:
        results = await client.run({
            "model": "klingai:kling@o1-standard",
            "positivePrompt": "Create a seamless 9:16 portrait outpaint of the reference video for a natural-history museum conservation social reel. Preserve the reference video as the exact central horizontal band: retain every original subject, pixel-level composition, timing, hand movement, butterfly anatomy, microscope position, lighting direction and documentary realism. Do not crop, stretch, zoom or replace the source action. Extend the canvas substantially above and below it. Use reference image 1 to construct the upper extension: continue the conservator's white lab coat and posture naturally upward, with the stereo microscope, pale cyan task light, white specimen cabinets and archival drawers aligned in correct perspective. Use reference image 2 to construct the lower extension: continue the work surface downward with bone-white archival board, stainless forceps, sable brush, glass weights, tissue and specimen tags arranged with museum-lab precision. Generated hands, sleeves, table edges and microscope supports must join the source band invisibly with consistent scale, lens depth, shadows and color. Motion outside the original frame should remain subtle and physically connected: slight sleeve movement from the brushing action, minute task-light shimmer and barely moving tissue from ventilation. Carry forward the reference video's quiet clinical atmosphere and delicate conservation foley. Cool cyan, white, silver and electric Morpho blue palette; observational science documentary style; no captions, logos, borders, split screens or visible seams.",
            "width": 720,
            "height": 1280,
            "duration": 7,
            "providerSettings": {
                "klingai": {
                    "keepOriginalSound": True
                }
            },
            "inputs": {
                "referenceImages": [
                    "https://assets.runware.ai/assets/inputs/13fae6c9-5b0d-4619-9db9-c0a10ead74a7.jpg",
                    "https://assets.runware.ai/assets/inputs/5e1dfa7f-e8e9-47f0-98a8-227c5babfd77.jpg"
                ],
                "referenceVideos": [
                    "https://assets.runware.ai/assets/inputs/e4349347-6379-4ae2-9ed0-732c2b65796d.mp4"
                ]
            }
        })


asyncio.run(main())
curl https://api.runware.ai/v1 \
  -H "Authorization: Bearer $RUNWARE_API_KEY" \
  -H "Content-Type: application/json" \
  -d '[
    {
      "taskType": "videoInference",
      "taskUUID": "9ade81ec-b762-4d33-a8b2-72275156f862",
      "model": "klingai:kling@o1-standard",
      "positivePrompt": "Create a seamless 9:16 portrait outpaint of the reference video for a natural-history museum conservation social reel. Preserve the reference video as the exact central horizontal band: retain every original subject, pixel-level composition, timing, hand movement, butterfly anatomy, microscope position, lighting direction and documentary realism. Do not crop, stretch, zoom or replace the source action. Extend the canvas substantially above and below it. Use reference image 1 to construct the upper extension: continue the conservator's white lab coat and posture naturally upward, with the stereo microscope, pale cyan task light, white specimen cabinets and archival drawers aligned in correct perspective. Use reference image 2 to construct the lower extension: continue the work surface downward with bone-white archival board, stainless forceps, sable brush, glass weights, tissue and specimen tags arranged with museum-lab precision. Generated hands, sleeves, table edges and microscope supports must join the source band invisibly with consistent scale, lens depth, shadows and color. Motion outside the original frame should remain subtle and physically connected: slight sleeve movement from the brushing action, minute task-light shimmer and barely moving tissue from ventilation. Carry forward the reference video's quiet clinical atmosphere and delicate conservation foley. Cool cyan, white, silver and electric Morpho blue palette; observational science documentary style; no captions, logos, borders, split screens or visible seams.",
      "width": 720,
      "height": 1280,
      "duration": 7,
      "providerSettings": {
        "klingai": {
          "keepOriginalSound": true
        }
      },
      "inputs": {
        "referenceImages": [
          "https://assets.runware.ai/assets/inputs/13fae6c9-5b0d-4619-9db9-c0a10ead74a7.jpg",
          "https://assets.runware.ai/assets/inputs/5e1dfa7f-e8e9-47f0-98a8-227c5babfd77.jpg"
        ],
        "referenceVideos": [
          "https://assets.runware.ai/assets/inputs/e4349347-6379-4ae2-9ed0-732c2b65796d.mp4"
        ]
      }
    }
  ]'
runware run klingai:kling@o1-standard \
  positivePrompt="Create a seamless 9:16 portrait outpaint of the reference video for a natural-history museum conservation social reel. Preserve the reference video as the exact central horizontal band: retain every original subject, pixel-level composition, timing, hand movement, butterfly anatomy, microscope position, lighting direction and documentary realism. Do not crop, stretch, zoom or replace the source action. Extend the canvas substantially above and below it. Use reference image 1 to construct the upper extension: continue the conservator's white lab coat and posture naturally upward, with the stereo microscope, pale cyan task light, white specimen cabinets and archival drawers aligned in correct perspective. Use reference image 2 to construct the lower extension: continue the work surface downward with bone-white archival board, stainless forceps, sable brush, glass weights, tissue and specimen tags arranged with museum-lab precision. Generated hands, sleeves, table edges and microscope supports must join the source band invisibly with consistent scale, lens depth, shadows and color. Motion outside the original frame should remain subtle and physically connected: slight sleeve movement from the brushing action, minute task-light shimmer and barely moving tissue from ventilation. Carry forward the reference video's quiet clinical atmosphere and delicate conservation foley. Cool cyan, white, silver and electric Morpho blue palette; observational science documentary style; no captions, logos, borders, split screens or visible seams." \
  width=720 \
  height=1280 \
  duration=7 \
  providerSettings.klingai.keepOriginalSound=true \
  inputs.referenceImages.0=https://assets.runware.ai/assets/inputs/13fae6c9-5b0d-4619-9db9-c0a10ead74a7.jpg \
  inputs.referenceImages.1=https://assets.runware.ai/assets/inputs/5e1dfa7f-e8e9-47f0-98a8-227c5babfd77.jpg \
  inputs.referenceVideos.0=https://assets.runware.ai/assets/inputs/e4349347-6379-4ae2-9ed0-732c2b65796d.mp4
{
  "taskType": "videoInference",
  "taskUUID": "9ade81ec-b762-4d33-a8b2-72275156f862",
  "model": "klingai:kling@o1-standard",
  "positivePrompt": "Create a seamless 9:16 portrait outpaint of the reference video for a natural-history museum conservation social reel. Preserve the reference video as the exact central horizontal band: retain every original subject, pixel-level composition, timing, hand movement, butterfly anatomy, microscope position, lighting direction and documentary realism. Do not crop, stretch, zoom or replace the source action. Extend the canvas substantially above and below it. Use reference image 1 to construct the upper extension: continue the conservator's white lab coat and posture naturally upward, with the stereo microscope, pale cyan task light, white specimen cabinets and archival drawers aligned in correct perspective. Use reference image 2 to construct the lower extension: continue the work surface downward with bone-white archival board, stainless forceps, sable brush, glass weights, tissue and specimen tags arranged with museum-lab precision. Generated hands, sleeves, table edges and microscope supports must join the source band invisibly with consistent scale, lens depth, shadows and color. Motion outside the original frame should remain subtle and physically connected: slight sleeve movement from the brushing action, minute task-light shimmer and barely moving tissue from ventilation. Carry forward the reference video's quiet clinical atmosphere and delicate conservation foley. Cool cyan, white, silver and electric Morpho blue palette; observational science documentary style; no captions, logos, borders, split screens or visible seams.",
  "width": 720,
  "height": 1280,
  "duration": 7,
  "providerSettings": {
    "klingai": {
      "keepOriginalSound": true
    }
  },
  "inputs": {
    "referenceImages": [
      "https://assets.runware.ai/assets/inputs/13fae6c9-5b0d-4619-9db9-c0a10ead74a7.jpg",
      "https://assets.runware.ai/assets/inputs/5e1dfa7f-e8e9-47f0-98a8-227c5babfd77.jpg"
    ],
    "referenceVideos": [
      "https://assets.runware.ai/assets/inputs/e4349347-6379-4ae2-9ed0-732c2b65796d.mp4"
    ]
  }
}
Response
{
  "taskType": "videoInference",
  "taskUUID": "9ade81ec-b762-4d33-a8b2-72275156f862",
  "videoUUID": "e85694f8-c9fd-49b8-a964-fccfb68c98ff",
  "videoURL": "https://vm.runware.ai/video/os/a09dlim3/ws/5/vi/e85694f8-c9fd-49b8-a964-fccfb68c98ff.mp4",
  "cost": 0.882
}

video-edit

Rotoscoped Table Tennis Music Insert$0.756~3m 31s
Try in Playground
import { createClient } from '@runware/sdk'

const client = await createClient({ apiKey: process.env.RUNWARE_API_KEY })
await client.connect()

const [result] = await client.run({
  model: 'klingai:kling@o1-standard',
  positivePrompt: 'Transform the source footage into a polished rotoscoped music-video segment for an experimental breakbeat single. Preserve the exact camera position, rally choreography, player timing, ball trajectory, paddle contacts, body proportions, and uninterrupted temporal continuity of the original video. Replace the ordinary sports hall with a deep matte-black screen-print environment built from coarse paper grain, acid-green court markings, electric-violet shadows, and small white halftone highlights. Render both players as recognizable, consistently dressed graphic silhouettes with expressive hand-inked contour lines that follow their real motion precisely. Every audible paddle strike triggers a brief concentric ink burst at the true contact point; the ball leaves a thin acid-green trail that accurately follows its path and immediately dissipates. Shoe squeaks produce subtle violet scuffs beneath the correct foot without changing the action. Use energetic frame-by-frame texture variation while keeping faces, limbs, paddles, table geometry, and ball placement coherent with no morphing, duplicated equipment, missed contacts, added cuts, or camera movement. Retain the useful original sound of impacts, bounces, shoes, and exertion unchanged so it functions as the percussive backbone of the finished music-video insert. No captions, logos, titles, or interface graphics.',
  providerSettings: {
    klingai: {
      keepOriginalSound: true
    }
  },
  inputs: {
    video: 'https://assets.runware.ai/assets/inputs/7baf9957-dfc8-4bd0-ada5-da83be58d623.mp4'
  }
})
import asyncio
import os

from runware import Runware


async def main():
    async with Runware(api_key=os.environ["RUNWARE_API_KEY"]) as client:
        results = await client.run({
            "model": "klingai:kling@o1-standard",
            "positivePrompt": "Transform the source footage into a polished rotoscoped music-video segment for an experimental breakbeat single. Preserve the exact camera position, rally choreography, player timing, ball trajectory, paddle contacts, body proportions, and uninterrupted temporal continuity of the original video. Replace the ordinary sports hall with a deep matte-black screen-print environment built from coarse paper grain, acid-green court markings, electric-violet shadows, and small white halftone highlights. Render both players as recognizable, consistently dressed graphic silhouettes with expressive hand-inked contour lines that follow their real motion precisely. Every audible paddle strike triggers a brief concentric ink burst at the true contact point; the ball leaves a thin acid-green trail that accurately follows its path and immediately dissipates. Shoe squeaks produce subtle violet scuffs beneath the correct foot without changing the action. Use energetic frame-by-frame texture variation while keeping faces, limbs, paddles, table geometry, and ball placement coherent with no morphing, duplicated equipment, missed contacts, added cuts, or camera movement. Retain the useful original sound of impacts, bounces, shoes, and exertion unchanged so it functions as the percussive backbone of the finished music-video insert. No captions, logos, titles, or interface graphics.",
            "providerSettings": {
                "klingai": {
                    "keepOriginalSound": True
                }
            },
            "inputs": {
                "video": "https://assets.runware.ai/assets/inputs/7baf9957-dfc8-4bd0-ada5-da83be58d623.mp4"
            }
        })


asyncio.run(main())
curl https://api.runware.ai/v1 \
  -H "Authorization: Bearer $RUNWARE_API_KEY" \
  -H "Content-Type: application/json" \
  -d '[
    {
      "taskType": "videoInference",
      "taskUUID": "3e0a823f-05d4-4fab-9d82-27348b480bbc",
      "model": "klingai:kling@o1-standard",
      "positivePrompt": "Transform the source footage into a polished rotoscoped music-video segment for an experimental breakbeat single. Preserve the exact camera position, rally choreography, player timing, ball trajectory, paddle contacts, body proportions, and uninterrupted temporal continuity of the original video. Replace the ordinary sports hall with a deep matte-black screen-print environment built from coarse paper grain, acid-green court markings, electric-violet shadows, and small white halftone highlights. Render both players as recognizable, consistently dressed graphic silhouettes with expressive hand-inked contour lines that follow their real motion precisely. Every audible paddle strike triggers a brief concentric ink burst at the true contact point; the ball leaves a thin acid-green trail that accurately follows its path and immediately dissipates. Shoe squeaks produce subtle violet scuffs beneath the correct foot without changing the action. Use energetic frame-by-frame texture variation while keeping faces, limbs, paddles, table geometry, and ball placement coherent with no morphing, duplicated equipment, missed contacts, added cuts, or camera movement. Retain the useful original sound of impacts, bounces, shoes, and exertion unchanged so it functions as the percussive backbone of the finished music-video insert. No captions, logos, titles, or interface graphics.",
      "providerSettings": {
        "klingai": {
          "keepOriginalSound": true
        }
      },
      "inputs": {
        "video": "https://assets.runware.ai/assets/inputs/7baf9957-dfc8-4bd0-ada5-da83be58d623.mp4"
      }
    }
  ]'
runware run klingai:kling@o1-standard \
  positivePrompt="Transform the source footage into a polished rotoscoped music-video segment for an experimental breakbeat single. Preserve the exact camera position, rally choreography, player timing, ball trajectory, paddle contacts, body proportions, and uninterrupted temporal continuity of the original video. Replace the ordinary sports hall with a deep matte-black screen-print environment built from coarse paper grain, acid-green court markings, electric-violet shadows, and small white halftone highlights. Render both players as recognizable, consistently dressed graphic silhouettes with expressive hand-inked contour lines that follow their real motion precisely. Every audible paddle strike triggers a brief concentric ink burst at the true contact point; the ball leaves a thin acid-green trail that accurately follows its path and immediately dissipates. Shoe squeaks produce subtle violet scuffs beneath the correct foot without changing the action. Use energetic frame-by-frame texture variation while keeping faces, limbs, paddles, table geometry, and ball placement coherent with no morphing, duplicated equipment, missed contacts, added cuts, or camera movement. Retain the useful original sound of impacts, bounces, shoes, and exertion unchanged so it functions as the percussive backbone of the finished music-video insert. No captions, logos, titles, or interface graphics." \
  providerSettings.klingai.keepOriginalSound=true \
  inputs.video=https://assets.runware.ai/assets/inputs/7baf9957-dfc8-4bd0-ada5-da83be58d623.mp4
{
  "taskType": "videoInference",
  "taskUUID": "3e0a823f-05d4-4fab-9d82-27348b480bbc",
  "model": "klingai:kling@o1-standard",
  "positivePrompt": "Transform the source footage into a polished rotoscoped music-video segment for an experimental breakbeat single. Preserve the exact camera position, rally choreography, player timing, ball trajectory, paddle contacts, body proportions, and uninterrupted temporal continuity of the original video. Replace the ordinary sports hall with a deep matte-black screen-print environment built from coarse paper grain, acid-green court markings, electric-violet shadows, and small white halftone highlights. Render both players as recognizable, consistently dressed graphic silhouettes with expressive hand-inked contour lines that follow their real motion precisely. Every audible paddle strike triggers a brief concentric ink burst at the true contact point; the ball leaves a thin acid-green trail that accurately follows its path and immediately dissipates. Shoe squeaks produce subtle violet scuffs beneath the correct foot without changing the action. Use energetic frame-by-frame texture variation while keeping faces, limbs, paddles, table geometry, and ball placement coherent with no morphing, duplicated equipment, missed contacts, added cuts, or camera movement. Retain the useful original sound of impacts, bounces, shoes, and exertion unchanged so it functions as the percussive backbone of the finished music-video insert. No captions, logos, titles, or interface graphics.",
  "providerSettings": {
    "klingai": {
      "keepOriginalSound": true
    }
  },
  "inputs": {
    "video": "https://assets.runware.ai/assets/inputs/7baf9957-dfc8-4bd0-ada5-da83be58d623.mp4"
  }
}
Response
{
  "taskType": "videoInference",
  "taskUUID": "3e0a823f-05d4-4fab-9d82-27348b480bbc",
  "videoUUID": "0712325a-7218-45f7-9d1e-ba470c5e301f",
  "videoURL": "https://vm.runware.ai/video/os/a09dlim3/ws/5/vi/0712325a-7218-45f7-9d1e-ba470c5e301f.mp4",
  "cost": 0.756
}