deprecated
MODEL IDopenai:3@1

Sora 2

OpenAI
by

Sora 2 is OpenAI’s flagship generative model for video and audio. It accepts text prompts and generates visually rich clips with synchronized dialogue and sound. It improves physical realism and scene control. It also supports editing and extension of existing video inputs.

Sora 2

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

text-to-video

Ceramicist Hearing Protector Try-On$0.80~1m 48s
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: 'openai:3@1',
  positivePrompt: 'Create an 8-second landscape virtual try-on film for premium hearing protectors, presented as a polished product-detail video for a design-conscious occupational safety retailer. In a bright contemporary ceramics workshop, an adult woman ceramicist wears distinctive over-ear hearing protectors: matte cobalt-blue oval ear cups, slim brushed-aluminum arms, a sand-colored padded headband, and soft charcoal ear cushions. Keep the protector design, proportions, colors, and placement perfectly consistent throughout the clip. She wears practical cream canvas coveralls over a rust-red T-shirt, with her hair secured in a low bun so the complete headband and both ear cups remain easy to inspect.\n\nBegin with a clean medium close-up in three-quarter profile as she gently presses one ear cup inward to demonstrate its cushioned seal. She turns her head naturally toward the camera, offering a clear front and opposite-side view of the fit without posing theatrically. The camera executes one slow, smooth semicircular dolly from her left side toward a near-frontal angle, ending slightly tighter on the hearing protectors. In the background, a pottery wheel spins down, shelves hold simple unglazed terracotta vessels, and a colleague briefly operates a clay mixer far out of focus. Fine clay dust catches the sunlight, but the air remains clean and realistic. Her expression is calm, focused, and comfortable.\n\nArt direction: refined European industrial-design editorial, tactile materials, restrained geometry, warm sunlit cream and terracotta environment contrasted by the cobalt product. Soft late-morning window light with subtle bounce, natural skin texture, crisp product edges, shallow depth of field, restrained highlights on brushed metal, realistic lens behavior, premium but not glossy. The hearing protectors are always the visual priority. Realistic body mechanics and fabric movement; no warping, no duplicated accessories, no changing product details, no logos, captions, graphics, or on-screen text. Single continuous shot with deliberate, unhurried pacing. Synchronized natural sound only: low pottery-wheel hum, a muted clay-mixer rumble that becomes noticeably dampened when she presses the ear cup, soft fabric movement, and quiet workshop ambience; no music and no dialogue.',
  width: 1280,
  height: 720,
  duration: 8
})
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": "openai:3@1",
            "positivePrompt": "Create an 8-second landscape virtual try-on film for premium hearing protectors, presented as a polished product-detail video for a design-conscious occupational safety retailer. In a bright contemporary ceramics workshop, an adult woman ceramicist wears distinctive over-ear hearing protectors: matte cobalt-blue oval ear cups, slim brushed-aluminum arms, a sand-colored padded headband, and soft charcoal ear cushions. Keep the protector design, proportions, colors, and placement perfectly consistent throughout the clip. She wears practical cream canvas coveralls over a rust-red T-shirt, with her hair secured in a low bun so the complete headband and both ear cups remain easy to inspect.\n\nBegin with a clean medium close-up in three-quarter profile as she gently presses one ear cup inward to demonstrate its cushioned seal. She turns her head naturally toward the camera, offering a clear front and opposite-side view of the fit without posing theatrically. The camera executes one slow, smooth semicircular dolly from her left side toward a near-frontal angle, ending slightly tighter on the hearing protectors. In the background, a pottery wheel spins down, shelves hold simple unglazed terracotta vessels, and a colleague briefly operates a clay mixer far out of focus. Fine clay dust catches the sunlight, but the air remains clean and realistic. Her expression is calm, focused, and comfortable.\n\nArt direction: refined European industrial-design editorial, tactile materials, restrained geometry, warm sunlit cream and terracotta environment contrasted by the cobalt product. Soft late-morning window light with subtle bounce, natural skin texture, crisp product edges, shallow depth of field, restrained highlights on brushed metal, realistic lens behavior, premium but not glossy. The hearing protectors are always the visual priority. Realistic body mechanics and fabric movement; no warping, no duplicated accessories, no changing product details, no logos, captions, graphics, or on-screen text. Single continuous shot with deliberate, unhurried pacing. Synchronized natural sound only: low pottery-wheel hum, a muted clay-mixer rumble that becomes noticeably dampened when she presses the ear cup, soft fabric movement, and quiet workshop ambience; no music and no dialogue.",
            "width": 1280,
            "height": 720,
            "duration": 8
        })


asyncio.run(main())
curl https://api.runware.ai/v1 \
  -H "Authorization: Bearer $RUNWARE_API_KEY" \
  -H "Content-Type: application/json" \
  -d '[
    {
      "taskType": "videoInference",
      "taskUUID": "276543fa-ceb8-4ade-b98b-63e5f3b44971",
      "model": "openai:3@1",
      "positivePrompt": "Create an 8-second landscape virtual try-on film for premium hearing protectors, presented as a polished product-detail video for a design-conscious occupational safety retailer. In a bright contemporary ceramics workshop, an adult woman ceramicist wears distinctive over-ear hearing protectors: matte cobalt-blue oval ear cups, slim brushed-aluminum arms, a sand-colored padded headband, and soft charcoal ear cushions. Keep the protector design, proportions, colors, and placement perfectly consistent throughout the clip. She wears practical cream canvas coveralls over a rust-red T-shirt, with her hair secured in a low bun so the complete headband and both ear cups remain easy to inspect.\n\nBegin with a clean medium close-up in three-quarter profile as she gently presses one ear cup inward to demonstrate its cushioned seal. She turns her head naturally toward the camera, offering a clear front and opposite-side view of the fit without posing theatrically. The camera executes one slow, smooth semicircular dolly from her left side toward a near-frontal angle, ending slightly tighter on the hearing protectors. In the background, a pottery wheel spins down, shelves hold simple unglazed terracotta vessels, and a colleague briefly operates a clay mixer far out of focus. Fine clay dust catches the sunlight, but the air remains clean and realistic. Her expression is calm, focused, and comfortable.\n\nArt direction: refined European industrial-design editorial, tactile materials, restrained geometry, warm sunlit cream and terracotta environment contrasted by the cobalt product. Soft late-morning window light with subtle bounce, natural skin texture, crisp product edges, shallow depth of field, restrained highlights on brushed metal, realistic lens behavior, premium but not glossy. The hearing protectors are always the visual priority. Realistic body mechanics and fabric movement; no warping, no duplicated accessories, no changing product details, no logos, captions, graphics, or on-screen text. Single continuous shot with deliberate, unhurried pacing. Synchronized natural sound only: low pottery-wheel hum, a muted clay-mixer rumble that becomes noticeably dampened when she presses the ear cup, soft fabric movement, and quiet workshop ambience; no music and no dialogue.",
      "width": 1280,
      "height": 720,
      "duration": 8
    }
  ]'
runware run openai:3@1 \
  positivePrompt="Create an 8-second landscape virtual try-on film for premium hearing protectors, presented as a polished product-detail video for a design-conscious occupational safety retailer. In a bright contemporary ceramics workshop, an adult woman ceramicist wears distinctive over-ear hearing protectors: matte cobalt-blue oval ear cups, slim brushed-aluminum arms, a sand-colored padded headband, and soft charcoal ear cushions. Keep the protector design, proportions, colors, and placement perfectly consistent throughout the clip. She wears practical cream canvas coveralls over a rust-red T-shirt, with her hair secured in a low bun so the complete headband and both ear cups remain easy to inspect.

Begin with a clean medium close-up in three-quarter profile as she gently presses one ear cup inward to demonstrate its cushioned seal. She turns her head naturally toward the camera, offering a clear front and opposite-side view of the fit without posing theatrically. The camera executes one slow, smooth semicircular dolly from her left side toward a near-frontal angle, ending slightly tighter on the hearing protectors. In the background, a pottery wheel spins down, shelves hold simple unglazed terracotta vessels, and a colleague briefly operates a clay mixer far out of focus. Fine clay dust catches the sunlight, but the air remains clean and realistic. Her expression is calm, focused, and comfortable.

Art direction: refined European industrial-design editorial, tactile materials, restrained geometry, warm sunlit cream and terracotta environment contrasted by the cobalt product. Soft late-morning window light with subtle bounce, natural skin texture, crisp product edges, shallow depth of field, restrained highlights on brushed metal, realistic lens behavior, premium but not glossy. The hearing protectors are always the visual priority. Realistic body mechanics and fabric movement; no warping, no duplicated accessories, no changing product details, no logos, captions, graphics, or on-screen text. Single continuous shot with deliberate, unhurried pacing. Synchronized natural sound only: low pottery-wheel hum, a muted clay-mixer rumble that becomes noticeably dampened when she presses the ear cup, soft fabric movement, and quiet workshop ambience; no music and no dialogue." \
  width=1280 \
  height=720 \
  duration=8
{
  "taskType": "videoInference",
  "taskUUID": "276543fa-ceb8-4ade-b98b-63e5f3b44971",
  "model": "openai:3@1",
  "positivePrompt": "Create an 8-second landscape virtual try-on film for premium hearing protectors, presented as a polished product-detail video for a design-conscious occupational safety retailer. In a bright contemporary ceramics workshop, an adult woman ceramicist wears distinctive over-ear hearing protectors: matte cobalt-blue oval ear cups, slim brushed-aluminum arms, a sand-colored padded headband, and soft charcoal ear cushions. Keep the protector design, proportions, colors, and placement perfectly consistent throughout the clip. She wears practical cream canvas coveralls over a rust-red T-shirt, with her hair secured in a low bun so the complete headband and both ear cups remain easy to inspect.\n\nBegin with a clean medium close-up in three-quarter profile as she gently presses one ear cup inward to demonstrate its cushioned seal. She turns her head naturally toward the camera, offering a clear front and opposite-side view of the fit without posing theatrically. The camera executes one slow, smooth semicircular dolly from her left side toward a near-frontal angle, ending slightly tighter on the hearing protectors. In the background, a pottery wheel spins down, shelves hold simple unglazed terracotta vessels, and a colleague briefly operates a clay mixer far out of focus. Fine clay dust catches the sunlight, but the air remains clean and realistic. Her expression is calm, focused, and comfortable.\n\nArt direction: refined European industrial-design editorial, tactile materials, restrained geometry, warm sunlit cream and terracotta environment contrasted by the cobalt product. Soft late-morning window light with subtle bounce, natural skin texture, crisp product edges, shallow depth of field, restrained highlights on brushed metal, realistic lens behavior, premium but not glossy. The hearing protectors are always the visual priority. Realistic body mechanics and fabric movement; no warping, no duplicated accessories, no changing product details, no logos, captions, graphics, or on-screen text. Single continuous shot with deliberate, unhurried pacing. Synchronized natural sound only: low pottery-wheel hum, a muted clay-mixer rumble that becomes noticeably dampened when she presses the ear cup, soft fabric movement, and quiet workshop ambience; no music and no dialogue.",
  "width": 1280,
  "height": 720,
  "duration": 8
}
Response
{
  "taskType": "videoInference",
  "taskUUID": "276543fa-ceb8-4ade-b98b-63e5f3b44971",
  "videoUUID": "15d9a0bc-dea4-46e7-826e-aa21410be478",
  "videoURL": "https://vm.runware.ai/video/os/a07dlim3/ws/5/vi/15d9a0bc-dea4-46e7-826e-aa21410be478.mp4",
  "seed": 315359012,
  "cost": 0.8,
  "outputs": {
    "videoId": "video_6a9600a1b03881919f9eff9b6ee7bfc205ca7a2132f342ae"
  }
}

text-to-video

Apollo Seamstress Background Replacement$0.80~1m 52s
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: 'openai:3@1',
  positivePrompt: 'Create a finished, seamless VFX background-replacement shot for a space museum documentary trailer. The foreground subject is a skilled female textile technician in her early 40s, wearing a period-accurate 1968 cream short-sleeve work smock, pale trousers, practical loafers, a neat bouffant hairstyle, and a paper identification badge with no readable text. She carries a bundled section of white spacecraft parachute silk in both arms. Preserve her as the clear hero subject throughout the shot, with natural proportions, stable clothing details, clean edges, realistic contact shadows, and lighting that convincingly integrates her into the new environment.\n\nReplace the unseen original studio background with a vast late-1960s aerospace parachute fabrication floor in bright daytime: long cutting tables, immense panels of ivory ripstop nylon draped in soft folds, orderly suspension lines, cream-painted steel roof trusses, clerestory windows, muted teal industrial sewing machines, and a few technicians working quietly in the deep background. No green screen, studio walls, modern equipment, logos, captions, or readable signage. The palette is warm ivory, faded teal, brushed aluminum, and restrained safety orange.\n\nOne continuous eight-second landscape shot. Begin in a medium-wide three-quarter view as the technician walks slowly from left to right between two cutting tables. The camera performs a gentle parallel dolly, keeping her near the left third while revealing the scale of the fabrication hall. Around the midpoint she stops, lays the bundled silk onto a table, and carefully spreads one translucent panel with both hands; the lightweight fabric lifts briefly in the ventilation breeze and settles with believable cloth physics. End on a composed medium shot of her inspecting a stitched seam while background workers remain subtle and unhurried. Calm, deliberate pacing with no cuts, zooms, or abrupt movement.\n\nVisual treatment: premium historical reenactment, understated observational cinematography, softly diffused window light, fine 16mm film grain, restrained contrast, gentle highlight bloom, authentic period production design, and shallow-to-moderate depth of field. Synchronized diegetic audio only: soft industrial ventilation, distant sewing machines, quiet footsteps, and crisp rustling parachute silk; no dialogue, narration, or music.',
  width: 1280,
  height: 720,
  duration: 8
})
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": "openai:3@1",
            "positivePrompt": "Create a finished, seamless VFX background-replacement shot for a space museum documentary trailer. The foreground subject is a skilled female textile technician in her early 40s, wearing a period-accurate 1968 cream short-sleeve work smock, pale trousers, practical loafers, a neat bouffant hairstyle, and a paper identification badge with no readable text. She carries a bundled section of white spacecraft parachute silk in both arms. Preserve her as the clear hero subject throughout the shot, with natural proportions, stable clothing details, clean edges, realistic contact shadows, and lighting that convincingly integrates her into the new environment.\n\nReplace the unseen original studio background with a vast late-1960s aerospace parachute fabrication floor in bright daytime: long cutting tables, immense panels of ivory ripstop nylon draped in soft folds, orderly suspension lines, cream-painted steel roof trusses, clerestory windows, muted teal industrial sewing machines, and a few technicians working quietly in the deep background. No green screen, studio walls, modern equipment, logos, captions, or readable signage. The palette is warm ivory, faded teal, brushed aluminum, and restrained safety orange.\n\nOne continuous eight-second landscape shot. Begin in a medium-wide three-quarter view as the technician walks slowly from left to right between two cutting tables. The camera performs a gentle parallel dolly, keeping her near the left third while revealing the scale of the fabrication hall. Around the midpoint she stops, lays the bundled silk onto a table, and carefully spreads one translucent panel with both hands; the lightweight fabric lifts briefly in the ventilation breeze and settles with believable cloth physics. End on a composed medium shot of her inspecting a stitched seam while background workers remain subtle and unhurried. Calm, deliberate pacing with no cuts, zooms, or abrupt movement.\n\nVisual treatment: premium historical reenactment, understated observational cinematography, softly diffused window light, fine 16mm film grain, restrained contrast, gentle highlight bloom, authentic period production design, and shallow-to-moderate depth of field. Synchronized diegetic audio only: soft industrial ventilation, distant sewing machines, quiet footsteps, and crisp rustling parachute silk; no dialogue, narration, or music.",
            "width": 1280,
            "height": 720,
            "duration": 8
        })


asyncio.run(main())
curl https://api.runware.ai/v1 \
  -H "Authorization: Bearer $RUNWARE_API_KEY" \
  -H "Content-Type: application/json" \
  -d '[
    {
      "taskType": "videoInference",
      "taskUUID": "0f4c66d3-2b4f-42ce-8e5a-33979ae11ef1",
      "model": "openai:3@1",
      "positivePrompt": "Create a finished, seamless VFX background-replacement shot for a space museum documentary trailer. The foreground subject is a skilled female textile technician in her early 40s, wearing a period-accurate 1968 cream short-sleeve work smock, pale trousers, practical loafers, a neat bouffant hairstyle, and a paper identification badge with no readable text. She carries a bundled section of white spacecraft parachute silk in both arms. Preserve her as the clear hero subject throughout the shot, with natural proportions, stable clothing details, clean edges, realistic contact shadows, and lighting that convincingly integrates her into the new environment.\n\nReplace the unseen original studio background with a vast late-1960s aerospace parachute fabrication floor in bright daytime: long cutting tables, immense panels of ivory ripstop nylon draped in soft folds, orderly suspension lines, cream-painted steel roof trusses, clerestory windows, muted teal industrial sewing machines, and a few technicians working quietly in the deep background. No green screen, studio walls, modern equipment, logos, captions, or readable signage. The palette is warm ivory, faded teal, brushed aluminum, and restrained safety orange.\n\nOne continuous eight-second landscape shot. Begin in a medium-wide three-quarter view as the technician walks slowly from left to right between two cutting tables. The camera performs a gentle parallel dolly, keeping her near the left third while revealing the scale of the fabrication hall. Around the midpoint she stops, lays the bundled silk onto a table, and carefully spreads one translucent panel with both hands; the lightweight fabric lifts briefly in the ventilation breeze and settles with believable cloth physics. End on a composed medium shot of her inspecting a stitched seam while background workers remain subtle and unhurried. Calm, deliberate pacing with no cuts, zooms, or abrupt movement.\n\nVisual treatment: premium historical reenactment, understated observational cinematography, softly diffused window light, fine 16mm film grain, restrained contrast, gentle highlight bloom, authentic period production design, and shallow-to-moderate depth of field. Synchronized diegetic audio only: soft industrial ventilation, distant sewing machines, quiet footsteps, and crisp rustling parachute silk; no dialogue, narration, or music.",
      "width": 1280,
      "height": 720,
      "duration": 8
    }
  ]'
runware run openai:3@1 \
  positivePrompt="Create a finished, seamless VFX background-replacement shot for a space museum documentary trailer. The foreground subject is a skilled female textile technician in her early 40s, wearing a period-accurate 1968 cream short-sleeve work smock, pale trousers, practical loafers, a neat bouffant hairstyle, and a paper identification badge with no readable text. She carries a bundled section of white spacecraft parachute silk in both arms. Preserve her as the clear hero subject throughout the shot, with natural proportions, stable clothing details, clean edges, realistic contact shadows, and lighting that convincingly integrates her into the new environment.

Replace the unseen original studio background with a vast late-1960s aerospace parachute fabrication floor in bright daytime: long cutting tables, immense panels of ivory ripstop nylon draped in soft folds, orderly suspension lines, cream-painted steel roof trusses, clerestory windows, muted teal industrial sewing machines, and a few technicians working quietly in the deep background. No green screen, studio walls, modern equipment, logos, captions, or readable signage. The palette is warm ivory, faded teal, brushed aluminum, and restrained safety orange.

One continuous eight-second landscape shot. Begin in a medium-wide three-quarter view as the technician walks slowly from left to right between two cutting tables. The camera performs a gentle parallel dolly, keeping her near the left third while revealing the scale of the fabrication hall. Around the midpoint she stops, lays the bundled silk onto a table, and carefully spreads one translucent panel with both hands; the lightweight fabric lifts briefly in the ventilation breeze and settles with believable cloth physics. End on a composed medium shot of her inspecting a stitched seam while background workers remain subtle and unhurried. Calm, deliberate pacing with no cuts, zooms, or abrupt movement.

Visual treatment: premium historical reenactment, understated observational cinematography, softly diffused window light, fine 16mm film grain, restrained contrast, gentle highlight bloom, authentic period production design, and shallow-to-moderate depth of field. Synchronized diegetic audio only: soft industrial ventilation, distant sewing machines, quiet footsteps, and crisp rustling parachute silk; no dialogue, narration, or music." \
  width=1280 \
  height=720 \
  duration=8
{
  "taskType": "videoInference",
  "taskUUID": "0f4c66d3-2b4f-42ce-8e5a-33979ae11ef1",
  "model": "openai:3@1",
  "positivePrompt": "Create a finished, seamless VFX background-replacement shot for a space museum documentary trailer. The foreground subject is a skilled female textile technician in her early 40s, wearing a period-accurate 1968 cream short-sleeve work smock, pale trousers, practical loafers, a neat bouffant hairstyle, and a paper identification badge with no readable text. She carries a bundled section of white spacecraft parachute silk in both arms. Preserve her as the clear hero subject throughout the shot, with natural proportions, stable clothing details, clean edges, realistic contact shadows, and lighting that convincingly integrates her into the new environment.\n\nReplace the unseen original studio background with a vast late-1960s aerospace parachute fabrication floor in bright daytime: long cutting tables, immense panels of ivory ripstop nylon draped in soft folds, orderly suspension lines, cream-painted steel roof trusses, clerestory windows, muted teal industrial sewing machines, and a few technicians working quietly in the deep background. No green screen, studio walls, modern equipment, logos, captions, or readable signage. The palette is warm ivory, faded teal, brushed aluminum, and restrained safety orange.\n\nOne continuous eight-second landscape shot. Begin in a medium-wide three-quarter view as the technician walks slowly from left to right between two cutting tables. The camera performs a gentle parallel dolly, keeping her near the left third while revealing the scale of the fabrication hall. Around the midpoint she stops, lays the bundled silk onto a table, and carefully spreads one translucent panel with both hands; the lightweight fabric lifts briefly in the ventilation breeze and settles with believable cloth physics. End on a composed medium shot of her inspecting a stitched seam while background workers remain subtle and unhurried. Calm, deliberate pacing with no cuts, zooms, or abrupt movement.\n\nVisual treatment: premium historical reenactment, understated observational cinematography, softly diffused window light, fine 16mm film grain, restrained contrast, gentle highlight bloom, authentic period production design, and shallow-to-moderate depth of field. Synchronized diegetic audio only: soft industrial ventilation, distant sewing machines, quiet footsteps, and crisp rustling parachute silk; no dialogue, narration, or music.",
  "width": 1280,
  "height": 720,
  "duration": 8
}
Response
{
  "taskType": "videoInference",
  "taskUUID": "0f4c66d3-2b4f-42ce-8e5a-33979ae11ef1",
  "videoUUID": "ba4f8c74-ccde-42a4-8469-9756fdba2a3b",
  "videoURL": "https://vm.runware.ai/video/os/a01d21/ws/5/vi/ba4f8c74-ccde-42a4-8469-9756fdba2a3b.mp4",
  "seed": 663498814,
  "cost": 0.8,
  "outputs": {
    "videoId": "video_6a9601329dbc8193bde34aabff99ca960fb4256095de51e2"
  }
}

first-frame

Avalanche Dog Unit Recruitment Clip$0.40~1m 24s
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: 'openai:3@1',
  positivePrompt: 'The posed avalanche-rescue team holds naturally for the camera as a black Labrador wearing an orange rescue harness trots into view from offscreen right, crossing the open patch of snow toward the waiting handler. Its paws kick up small flecks of powder and its lead bounces against the harness. The handler reaches out, catches the lead and gives the dog one affectionate pat; the Labrador turns neatly and sits in the empty place, completing the group. Several teammates glance over and break into genuine smiles while the other dogs remain mostly seated with subtle ear, breath and tail movement. Finish on a complete, balanced team portrait. Maintain the grounded winter documentary look, consistent identities, uniforms, dogs, hut and mountain background. Gentle stabilized push-in while keeping every person and dog visible. Natural synchronized sound only: soft wind, distant ski-lift machinery, boots shifting in snow, quick paw crunches and a light harness jingle; no dialogue, music or text.',
  width: 1280,
  height: 720,
  duration: 4,
  inputs: {
    frameImages: [
      'https://assets.runware.ai/assets/inputs/6043313c-d98d-4ee0-8c60-f43fcc20f92d.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": "openai:3@1",
            "positivePrompt": "The posed avalanche-rescue team holds naturally for the camera as a black Labrador wearing an orange rescue harness trots into view from offscreen right, crossing the open patch of snow toward the waiting handler. Its paws kick up small flecks of powder and its lead bounces against the harness. The handler reaches out, catches the lead and gives the dog one affectionate pat; the Labrador turns neatly and sits in the empty place, completing the group. Several teammates glance over and break into genuine smiles while the other dogs remain mostly seated with subtle ear, breath and tail movement. Finish on a complete, balanced team portrait. Maintain the grounded winter documentary look, consistent identities, uniforms, dogs, hut and mountain background. Gentle stabilized push-in while keeping every person and dog visible. Natural synchronized sound only: soft wind, distant ski-lift machinery, boots shifting in snow, quick paw crunches and a light harness jingle; no dialogue, music or text.",
            "width": 1280,
            "height": 720,
            "duration": 4,
            "inputs": {
                "frameImages": [
                    "https://assets.runware.ai/assets/inputs/6043313c-d98d-4ee0-8c60-f43fcc20f92d.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": "ba947c6f-8739-45d3-9cac-e06b66786128",
      "model": "openai:3@1",
      "positivePrompt": "The posed avalanche-rescue team holds naturally for the camera as a black Labrador wearing an orange rescue harness trots into view from offscreen right, crossing the open patch of snow toward the waiting handler. Its paws kick up small flecks of powder and its lead bounces against the harness. The handler reaches out, catches the lead and gives the dog one affectionate pat; the Labrador turns neatly and sits in the empty place, completing the group. Several teammates glance over and break into genuine smiles while the other dogs remain mostly seated with subtle ear, breath and tail movement. Finish on a complete, balanced team portrait. Maintain the grounded winter documentary look, consistent identities, uniforms, dogs, hut and mountain background. Gentle stabilized push-in while keeping every person and dog visible. Natural synchronized sound only: soft wind, distant ski-lift machinery, boots shifting in snow, quick paw crunches and a light harness jingle; no dialogue, music or text.",
      "width": 1280,
      "height": 720,
      "duration": 4,
      "inputs": {
        "frameImages": [
          "https://assets.runware.ai/assets/inputs/6043313c-d98d-4ee0-8c60-f43fcc20f92d.jpg"
        ]
      }
    }
  ]'
runware run openai:3@1 \
  positivePrompt="The posed avalanche-rescue team holds naturally for the camera as a black Labrador wearing an orange rescue harness trots into view from offscreen right, crossing the open patch of snow toward the waiting handler. Its paws kick up small flecks of powder and its lead bounces against the harness. The handler reaches out, catches the lead and gives the dog one affectionate pat; the Labrador turns neatly and sits in the empty place, completing the group. Several teammates glance over and break into genuine smiles while the other dogs remain mostly seated with subtle ear, breath and tail movement. Finish on a complete, balanced team portrait. Maintain the grounded winter documentary look, consistent identities, uniforms, dogs, hut and mountain background. Gentle stabilized push-in while keeping every person and dog visible. Natural synchronized sound only: soft wind, distant ski-lift machinery, boots shifting in snow, quick paw crunches and a light harness jingle; no dialogue, music or text." \
  width=1280 \
  height=720 \
  duration=4 \
  inputs.frameImages.0=https://assets.runware.ai/assets/inputs/6043313c-d98d-4ee0-8c60-f43fcc20f92d.jpg
{
  "taskType": "videoInference",
  "taskUUID": "ba947c6f-8739-45d3-9cac-e06b66786128",
  "model": "openai:3@1",
  "positivePrompt": "The posed avalanche-rescue team holds naturally for the camera as a black Labrador wearing an orange rescue harness trots into view from offscreen right, crossing the open patch of snow toward the waiting handler. Its paws kick up small flecks of powder and its lead bounces against the harness. The handler reaches out, catches the lead and gives the dog one affectionate pat; the Labrador turns neatly and sits in the empty place, completing the group. Several teammates glance over and break into genuine smiles while the other dogs remain mostly seated with subtle ear, breath and tail movement. Finish on a complete, balanced team portrait. Maintain the grounded winter documentary look, consistent identities, uniforms, dogs, hut and mountain background. Gentle stabilized push-in while keeping every person and dog visible. Natural synchronized sound only: soft wind, distant ski-lift machinery, boots shifting in snow, quick paw crunches and a light harness jingle; no dialogue, music or text.",
  "width": 1280,
  "height": 720,
  "duration": 4,
  "inputs": {
    "frameImages": [
      "https://assets.runware.ai/assets/inputs/6043313c-d98d-4ee0-8c60-f43fcc20f92d.jpg"
    ]
  }
}
Response
{
  "taskType": "videoInference",
  "taskUUID": "ba947c6f-8739-45d3-9cac-e06b66786128",
  "videoUUID": "61f12a15-67b8-4070-9d41-929fb1c74015",
  "videoURL": "https://vm.runware.ai/video/os/a07dlim3/ws/5/vi/61f12a15-67b8-4070-9d41-929fb1c74015.mp4",
  "seed": 575733070,
  "cost": 0.4,
  "outputs": {
    "videoId": "video_6a9601d36e388193ad62a7091f7a5d5102cafe86a3d9303a"
  }
}

first-frame

Offshore Technician Background Replacement$0.40~1m 20s
Try in Playground
import { createClient } from '@runware/sdk'

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

const [result] = await client.run({
  model: 'openai:3@1',
  positivePrompt: 'A rope-access wind turbine technician hangs beside the immense white tower of an offshore turbine, high above a cold steel-blue sea. Match the supplied technician exactly: same face, clothing, helmet, harness, ropes, tools, body proportions and three-quarter orientation. The medium-wide camera remains steady with subtle documentary handheld movement while preserving the technician\'s full body and generous surrounding space. The technician gently swings outward a few inches, then steadies against the curved tower with one boot and raises the ultrasonic probe toward a weld seam. Wind ripples the coverall and high-visibility vest; loose rope ends sway with convincing weight. Far below, waves break around the turbine foundation, and two distant turbines recede into pale morning haze, creating strong depth and slow parallax. Cool overcast North Sea light, restrained slate-blue and safety-orange palette, realistic industrial safety-training cinematography, seamless subject edges, physically accurate scale, no dialogue, no titles, no logos.',
  width: 1280,
  height: 720,
  duration: 4,
  inputs: {
    frameImages: [
      'https://assets.runware.ai/assets/inputs/7f697c65-3d16-4f7f-8118-9eaefeda602e.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": "openai:3@1",
            "positivePrompt": "A rope-access wind turbine technician hangs beside the immense white tower of an offshore turbine, high above a cold steel-blue sea. Match the supplied technician exactly: same face, clothing, helmet, harness, ropes, tools, body proportions and three-quarter orientation. The medium-wide camera remains steady with subtle documentary handheld movement while preserving the technician's full body and generous surrounding space. The technician gently swings outward a few inches, then steadies against the curved tower with one boot and raises the ultrasonic probe toward a weld seam. Wind ripples the coverall and high-visibility vest; loose rope ends sway with convincing weight. Far below, waves break around the turbine foundation, and two distant turbines recede into pale morning haze, creating strong depth and slow parallax. Cool overcast North Sea light, restrained slate-blue and safety-orange palette, realistic industrial safety-training cinematography, seamless subject edges, physically accurate scale, no dialogue, no titles, no logos.",
            "width": 1280,
            "height": 720,
            "duration": 4,
            "inputs": {
                "frameImages": [
                    "https://assets.runware.ai/assets/inputs/7f697c65-3d16-4f7f-8118-9eaefeda602e.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": "df5e4b5c-ad64-4ebd-bbc4-231c7865f0cf",
      "model": "openai:3@1",
      "positivePrompt": "A rope-access wind turbine technician hangs beside the immense white tower of an offshore turbine, high above a cold steel-blue sea. Match the supplied technician exactly: same face, clothing, helmet, harness, ropes, tools, body proportions and three-quarter orientation. The medium-wide camera remains steady with subtle documentary handheld movement while preserving the technician's full body and generous surrounding space. The technician gently swings outward a few inches, then steadies against the curved tower with one boot and raises the ultrasonic probe toward a weld seam. Wind ripples the coverall and high-visibility vest; loose rope ends sway with convincing weight. Far below, waves break around the turbine foundation, and two distant turbines recede into pale morning haze, creating strong depth and slow parallax. Cool overcast North Sea light, restrained slate-blue and safety-orange palette, realistic industrial safety-training cinematography, seamless subject edges, physically accurate scale, no dialogue, no titles, no logos.",
      "width": 1280,
      "height": 720,
      "duration": 4,
      "inputs": {
        "frameImages": [
          "https://assets.runware.ai/assets/inputs/7f697c65-3d16-4f7f-8118-9eaefeda602e.jpg"
        ]
      }
    }
  ]'
runware run openai:3@1 \
  positivePrompt="A rope-access wind turbine technician hangs beside the immense white tower of an offshore turbine, high above a cold steel-blue sea. Match the supplied technician exactly: same face, clothing, helmet, harness, ropes, tools, body proportions and three-quarter orientation. The medium-wide camera remains steady with subtle documentary handheld movement while preserving the technician's full body and generous surrounding space. The technician gently swings outward a few inches, then steadies against the curved tower with one boot and raises the ultrasonic probe toward a weld seam. Wind ripples the coverall and high-visibility vest; loose rope ends sway with convincing weight. Far below, waves break around the turbine foundation, and two distant turbines recede into pale morning haze, creating strong depth and slow parallax. Cool overcast North Sea light, restrained slate-blue and safety-orange palette, realistic industrial safety-training cinematography, seamless subject edges, physically accurate scale, no dialogue, no titles, no logos." \
  width=1280 \
  height=720 \
  duration=4 \
  inputs.frameImages.0=https://assets.runware.ai/assets/inputs/7f697c65-3d16-4f7f-8118-9eaefeda602e.jpg
{
  "taskType": "videoInference",
  "taskUUID": "df5e4b5c-ad64-4ebd-bbc4-231c7865f0cf",
  "model": "openai:3@1",
  "positivePrompt": "A rope-access wind turbine technician hangs beside the immense white tower of an offshore turbine, high above a cold steel-blue sea. Match the supplied technician exactly: same face, clothing, helmet, harness, ropes, tools, body proportions and three-quarter orientation. The medium-wide camera remains steady with subtle documentary handheld movement while preserving the technician's full body and generous surrounding space. The technician gently swings outward a few inches, then steadies against the curved tower with one boot and raises the ultrasonic probe toward a weld seam. Wind ripples the coverall and high-visibility vest; loose rope ends sway with convincing weight. Far below, waves break around the turbine foundation, and two distant turbines recede into pale morning haze, creating strong depth and slow parallax. Cool overcast North Sea light, restrained slate-blue and safety-orange palette, realistic industrial safety-training cinematography, seamless subject edges, physically accurate scale, no dialogue, no titles, no logos.",
  "width": 1280,
  "height": 720,
  "duration": 4,
  "inputs": {
    "frameImages": [
      "https://assets.runware.ai/assets/inputs/7f697c65-3d16-4f7f-8118-9eaefeda602e.jpg"
    ]
  }
}
Response
{
  "taskType": "videoInference",
  "taskUUID": "df5e4b5c-ad64-4ebd-bbc4-231c7865f0cf",
  "videoUUID": "8d012b01-e960-452d-bf2e-0f51df48e350",
  "videoURL": "https://vm.runware.ai/video/os/a03d21/ws/5/vi/8d012b01-e960-452d-bf2e-0f51df48e350.mp4",
  "seed": 220516357,
  "cost": 0.4,
  "outputs": {
    "videoId": "video_6a960245622c8191a0cdf3bf6f6cfc8e0f91f4986f46343c"
  }
}