MODEL IDopenai:3@1
deprecated

Sora 2

OpenAI
by OpenAI

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

Apollo Seamstress Background Replacement

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"
  }
}
text-to-video

Ceramicist Hearing Protector Try-On

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"
  }
}
first-frame

Avalanche Dog Unit Recruitment 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: '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

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"
  }
}
Text to Video

Bioluminescent Monsoon Market Night

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 cinematic nighttime market in a flooded tropical megacity, lit by hanging lanterns and glowing bioluminescent fruit. Warm rain falls in sheets, splashing into shallow water that mirrors neon signs in an invented script. A young street cartographer in a translucent jade rain cape stands beneath a patched umbrella, unrolling a luminous map that pulses softly with living ink. Around them, vendors sell glass eels in tanks, steaming dumplings, and tiny mechanical birds; woven awnings ripple in the storm wind. The camera begins with a low tracking shot through puddles and drifting flower petals, then rises into a medium orbit around the cartographer as passing cyclists send arcs of water through frame. Naturalistic motion, convincing wet surfaces, layered depth, subtle handheld feel, atmospheric steam, expressive faces, realistic cloth and hair behavior, highly detailed reflections. Sound design: steady monsoon rain, distant thunder, market chatter, bicycle bells, sizzling food stalls, water sloshing underfoot, soft electrical hum from signs, and a brief whispered line from the cartographer: "The old canals still remember the stars." Moody, lush, dreamlike, premium cinematic quality.',
  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": "A cinematic nighttime market in a flooded tropical megacity, lit by hanging lanterns and glowing bioluminescent fruit. Warm rain falls in sheets, splashing into shallow water that mirrors neon signs in an invented script. A young street cartographer in a translucent jade rain cape stands beneath a patched umbrella, unrolling a luminous map that pulses softly with living ink. Around them, vendors sell glass eels in tanks, steaming dumplings, and tiny mechanical birds; woven awnings ripple in the storm wind. The camera begins with a low tracking shot through puddles and drifting flower petals, then rises into a medium orbit around the cartographer as passing cyclists send arcs of water through frame. Naturalistic motion, convincing wet surfaces, layered depth, subtle handheld feel, atmospheric steam, expressive faces, realistic cloth and hair behavior, highly detailed reflections. Sound design: steady monsoon rain, distant thunder, market chatter, bicycle bells, sizzling food stalls, water sloshing underfoot, soft electrical hum from signs, and a brief whispered line from the cartographer: \"The old canals still remember the stars.\" Moody, lush, dreamlike, premium cinematic quality.",
            "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": "29ac7910-ce46-402c-b27b-4557b3297cdb",
      "model": "openai:3@1",
      "positivePrompt": "A cinematic nighttime market in a flooded tropical megacity, lit by hanging lanterns and glowing bioluminescent fruit. Warm rain falls in sheets, splashing into shallow water that mirrors neon signs in an invented script. A young street cartographer in a translucent jade rain cape stands beneath a patched umbrella, unrolling a luminous map that pulses softly with living ink. Around them, vendors sell glass eels in tanks, steaming dumplings, and tiny mechanical birds; woven awnings ripple in the storm wind. The camera begins with a low tracking shot through puddles and drifting flower petals, then rises into a medium orbit around the cartographer as passing cyclists send arcs of water through frame. Naturalistic motion, convincing wet surfaces, layered depth, subtle handheld feel, atmospheric steam, expressive faces, realistic cloth and hair behavior, highly detailed reflections. Sound design: steady monsoon rain, distant thunder, market chatter, bicycle bells, sizzling food stalls, water sloshing underfoot, soft electrical hum from signs, and a brief whispered line from the cartographer: \"The old canals still remember the stars.\" Moody, lush, dreamlike, premium cinematic quality.",
      "width": 1280,
      "height": 720,
      "duration": 8
    }
  ]'
runware run openai:3@1 \
  positivePrompt="A cinematic nighttime market in a flooded tropical megacity, lit by hanging lanterns and glowing bioluminescent fruit. Warm rain falls in sheets, splashing into shallow water that mirrors neon signs in an invented script. A young street cartographer in a translucent jade rain cape stands beneath a patched umbrella, unrolling a luminous map that pulses softly with living ink. Around them, vendors sell glass eels in tanks, steaming dumplings, and tiny mechanical birds; woven awnings ripple in the storm wind. The camera begins with a low tracking shot through puddles and drifting flower petals, then rises into a medium orbit around the cartographer as passing cyclists send arcs of water through frame. Naturalistic motion, convincing wet surfaces, layered depth, subtle handheld feel, atmospheric steam, expressive faces, realistic cloth and hair behavior, highly detailed reflections. Sound design: steady monsoon rain, distant thunder, market chatter, bicycle bells, sizzling food stalls, water sloshing underfoot, soft electrical hum from signs, and a brief whispered line from the cartographer: \"The old canals still remember the stars.\" Moody, lush, dreamlike, premium cinematic quality." \
  width=1280 \
  height=720 \
  duration=8
{
  "taskType": "videoInference",
  "taskUUID": "29ac7910-ce46-402c-b27b-4557b3297cdb",
  "model": "openai:3@1",
  "positivePrompt": "A cinematic nighttime market in a flooded tropical megacity, lit by hanging lanterns and glowing bioluminescent fruit. Warm rain falls in sheets, splashing into shallow water that mirrors neon signs in an invented script. A young street cartographer in a translucent jade rain cape stands beneath a patched umbrella, unrolling a luminous map that pulses softly with living ink. Around them, vendors sell glass eels in tanks, steaming dumplings, and tiny mechanical birds; woven awnings ripple in the storm wind. The camera begins with a low tracking shot through puddles and drifting flower petals, then rises into a medium orbit around the cartographer as passing cyclists send arcs of water through frame. Naturalistic motion, convincing wet surfaces, layered depth, subtle handheld feel, atmospheric steam, expressive faces, realistic cloth and hair behavior, highly detailed reflections. Sound design: steady monsoon rain, distant thunder, market chatter, bicycle bells, sizzling food stalls, water sloshing underfoot, soft electrical hum from signs, and a brief whispered line from the cartographer: \"The old canals still remember the stars.\" Moody, lush, dreamlike, premium cinematic quality.",
  "width": 1280,
  "height": 720,
  "duration": 8
}
Response
{
  "taskType": "videoInference",
  "taskUUID": "29ac7910-ce46-402c-b27b-4557b3297cdb",
  "videoUUID": "df343c44-b6a2-4218-ac27-ec0e497f2b15",
  "videoURL": "https://vm.runware.ai/video/os/a10d08/ws/5/vi/df343c44-b6a2-4218-ac27-ec0e497f2b15.mp4",
  "seed": 2034548508,
  "cost": 0.8,
  "outputs": {
    "videoId": "video_69c583cdfc108198b5e6f4412b049a8e0b518c415f2be692"
  }
}
Image to Video

Moonlit Desert Observatory Caravan

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: 'Using the provided first-frame image as the opening composition, create an elegant cinematic nighttime sequence in a moonlit desert. The observatory caravan lanterns flicker warmly against cool blue sand and sky. A light wind moves fabric canopies and loose pages of star charts. One stargazer adjusts the brass telescope while another quietly says, \'There, near Orion,\' with natural synchronized dialogue. Include soft footsteps on sand, faint metal creaks from the wagon, gentle fabric rustle, and expansive desert ambience. The camera begins on the established wide frame, then slowly pushes in with subtle parallax, preserving the identity and layout of the frame image while adding lifelike motion, atmospheric depth, and realistic lighting.',
  width: 1280,
  height: 720,
  duration: 8,
  inputs: {
    frameImages: [
      {
        image: 'https://assets.runware.ai/assets/inputs/79b3290f-376d-4375-97bb-5bc63c5ac27b.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": "openai:3@1",
            "positivePrompt": "Using the provided first-frame image as the opening composition, create an elegant cinematic nighttime sequence in a moonlit desert. The observatory caravan lanterns flicker warmly against cool blue sand and sky. A light wind moves fabric canopies and loose pages of star charts. One stargazer adjusts the brass telescope while another quietly says, 'There, near Orion,' with natural synchronized dialogue. Include soft footsteps on sand, faint metal creaks from the wagon, gentle fabric rustle, and expansive desert ambience. The camera begins on the established wide frame, then slowly pushes in with subtle parallax, preserving the identity and layout of the frame image while adding lifelike motion, atmospheric depth, and realistic lighting.",
            "width": 1280,
            "height": 720,
            "duration": 8,
            "inputs": {
                "frameImages": [
                    {
                        "image": "https://assets.runware.ai/assets/inputs/79b3290f-376d-4375-97bb-5bc63c5ac27b.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": "a1f16825-3b03-4586-9aa5-60cd668d2708",
      "model": "openai:3@1",
      "positivePrompt": "Using the provided first-frame image as the opening composition, create an elegant cinematic nighttime sequence in a moonlit desert. The observatory caravan lanterns flicker warmly against cool blue sand and sky. A light wind moves fabric canopies and loose pages of star charts. One stargazer adjusts the brass telescope while another quietly says, 'There, near Orion,' with natural synchronized dialogue. Include soft footsteps on sand, faint metal creaks from the wagon, gentle fabric rustle, and expansive desert ambience. The camera begins on the established wide frame, then slowly pushes in with subtle parallax, preserving the identity and layout of the frame image while adding lifelike motion, atmospheric depth, and realistic lighting.",
      "width": 1280,
      "height": 720,
      "duration": 8,
      "inputs": {
        "frameImages": [
          {
            "image": "https://assets.runware.ai/assets/inputs/79b3290f-376d-4375-97bb-5bc63c5ac27b.jpg",
            "frame": "first"
          }
        ]
      }
    }
  ]'
runware run openai:3@1 \
  positivePrompt="Using the provided first-frame image as the opening composition, create an elegant cinematic nighttime sequence in a moonlit desert. The observatory caravan lanterns flicker warmly against cool blue sand and sky. A light wind moves fabric canopies and loose pages of star charts. One stargazer adjusts the brass telescope while another quietly says, 'There, near Orion,' with natural synchronized dialogue. Include soft footsteps on sand, faint metal creaks from the wagon, gentle fabric rustle, and expansive desert ambience. The camera begins on the established wide frame, then slowly pushes in with subtle parallax, preserving the identity and layout of the frame image while adding lifelike motion, atmospheric depth, and realistic lighting." \
  width=1280 \
  height=720 \
  duration=8 \
  inputs.frameImages.0.image=https://assets.runware.ai/assets/inputs/79b3290f-376d-4375-97bb-5bc63c5ac27b.jpg \
  inputs.frameImages.0.frame=first
{
  "taskType": "videoInference",
  "taskUUID": "a1f16825-3b03-4586-9aa5-60cd668d2708",
  "model": "openai:3@1",
  "positivePrompt": "Using the provided first-frame image as the opening composition, create an elegant cinematic nighttime sequence in a moonlit desert. The observatory caravan lanterns flicker warmly against cool blue sand and sky. A light wind moves fabric canopies and loose pages of star charts. One stargazer adjusts the brass telescope while another quietly says, 'There, near Orion,' with natural synchronized dialogue. Include soft footsteps on sand, faint metal creaks from the wagon, gentle fabric rustle, and expansive desert ambience. The camera begins on the established wide frame, then slowly pushes in with subtle parallax, preserving the identity and layout of the frame image while adding lifelike motion, atmospheric depth, and realistic lighting.",
  "width": 1280,
  "height": 720,
  "duration": 8,
  "inputs": {
    "frameImages": [
      {
        "image": "https://assets.runware.ai/assets/inputs/79b3290f-376d-4375-97bb-5bc63c5ac27b.jpg",
        "frame": "first"
      }
    ]
  }
}
Response
{
  "taskType": "videoInference",
  "taskUUID": "a1f16825-3b03-4586-9aa5-60cd668d2708",
  "videoUUID": "86d42e0f-2a8e-4529-a853-3c0d5579d7c4",
  "videoURL": "https://vm.runware.ai/video/os/a02d21/ws/5/vi/86d42e0f-2a8e-4529-a853-3c0d5579d7c4.mp4",
  "seed": 1416485965,
  "cost": 0.8,
  "outputs": {
    "videoId": "video_69c583d6b9548191a95376266987a99a09d872992f4c9d27"
  }
}
Text to Video

Bioluminescent Mangrove Monsoon Chase

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 cinematic nighttime monsoon in a bioluminescent mangrove forest on a distant tropical world. A narrow rescue skiff glides fast through shallow floodwater between twisted roots glowing electric teal and amber. Rain lashes the surface, creating dense ripples and spray illuminated by flashes of lightning. The camera begins low over the water, tracking beside the boat, then arcs forward to reveal a teenage navigator in a translucent hooded rain cloak steering with intense focus while a hovering lantern drone flickers nearby. In the background, stilt houses sway gently and paper wind charms clatter in the storm. Realistic water physics, believable boat motion, wet fabric behavior, detailed reflections, cinematic depth, moody contrast, subtle handheld energy. Natural synchronized soundscape: heavy rain, distant thunder, motor hum, water slaps against the hull, rattling wood, breath and gear movement. The navigator shouts over the storm: \'Hold the beacon steady—we\'re almost there!\' End on a wide shot as the skiff emerges into an open lagoon filled with glowing pollen mist and towering mangrove silhouettes.',
  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": "A cinematic nighttime monsoon in a bioluminescent mangrove forest on a distant tropical world. A narrow rescue skiff glides fast through shallow floodwater between twisted roots glowing electric teal and amber. Rain lashes the surface, creating dense ripples and spray illuminated by flashes of lightning. The camera begins low over the water, tracking beside the boat, then arcs forward to reveal a teenage navigator in a translucent hooded rain cloak steering with intense focus while a hovering lantern drone flickers nearby. In the background, stilt houses sway gently and paper wind charms clatter in the storm. Realistic water physics, believable boat motion, wet fabric behavior, detailed reflections, cinematic depth, moody contrast, subtle handheld energy. Natural synchronized soundscape: heavy rain, distant thunder, motor hum, water slaps against the hull, rattling wood, breath and gear movement. The navigator shouts over the storm: 'Hold the beacon steady—we're almost there!' End on a wide shot as the skiff emerges into an open lagoon filled with glowing pollen mist and towering mangrove silhouettes.",
            "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": "7ad611c9-522d-4c20-a6bf-445ee57ae6d3",
      "model": "openai:3@1",
      "positivePrompt": "A cinematic nighttime monsoon in a bioluminescent mangrove forest on a distant tropical world. A narrow rescue skiff glides fast through shallow floodwater between twisted roots glowing electric teal and amber. Rain lashes the surface, creating dense ripples and spray illuminated by flashes of lightning. The camera begins low over the water, tracking beside the boat, then arcs forward to reveal a teenage navigator in a translucent hooded rain cloak steering with intense focus while a hovering lantern drone flickers nearby. In the background, stilt houses sway gently and paper wind charms clatter in the storm. Realistic water physics, believable boat motion, wet fabric behavior, detailed reflections, cinematic depth, moody contrast, subtle handheld energy. Natural synchronized soundscape: heavy rain, distant thunder, motor hum, water slaps against the hull, rattling wood, breath and gear movement. The navigator shouts over the storm: 'Hold the beacon steady—we're almost there!' End on a wide shot as the skiff emerges into an open lagoon filled with glowing pollen mist and towering mangrove silhouettes.",
      "width": 1280,
      "height": 720,
      "duration": 8
    }
  ]'
runware run openai:3@1 \
  positivePrompt="A cinematic nighttime monsoon in a bioluminescent mangrove forest on a distant tropical world. A narrow rescue skiff glides fast through shallow floodwater between twisted roots glowing electric teal and amber. Rain lashes the surface, creating dense ripples and spray illuminated by flashes of lightning. The camera begins low over the water, tracking beside the boat, then arcs forward to reveal a teenage navigator in a translucent hooded rain cloak steering with intense focus while a hovering lantern drone flickers nearby. In the background, stilt houses sway gently and paper wind charms clatter in the storm. Realistic water physics, believable boat motion, wet fabric behavior, detailed reflections, cinematic depth, moody contrast, subtle handheld energy. Natural synchronized soundscape: heavy rain, distant thunder, motor hum, water slaps against the hull, rattling wood, breath and gear movement. The navigator shouts over the storm: 'Hold the beacon steady—we're almost there!' End on a wide shot as the skiff emerges into an open lagoon filled with glowing pollen mist and towering mangrove silhouettes." \
  width=1280 \
  height=720 \
  duration=8
{
  "taskType": "videoInference",
  "taskUUID": "7ad611c9-522d-4c20-a6bf-445ee57ae6d3",
  "model": "openai:3@1",
  "positivePrompt": "A cinematic nighttime monsoon in a bioluminescent mangrove forest on a distant tropical world. A narrow rescue skiff glides fast through shallow floodwater between twisted roots glowing electric teal and amber. Rain lashes the surface, creating dense ripples and spray illuminated by flashes of lightning. The camera begins low over the water, tracking beside the boat, then arcs forward to reveal a teenage navigator in a translucent hooded rain cloak steering with intense focus while a hovering lantern drone flickers nearby. In the background, stilt houses sway gently and paper wind charms clatter in the storm. Realistic water physics, believable boat motion, wet fabric behavior, detailed reflections, cinematic depth, moody contrast, subtle handheld energy. Natural synchronized soundscape: heavy rain, distant thunder, motor hum, water slaps against the hull, rattling wood, breath and gear movement. The navigator shouts over the storm: 'Hold the beacon steady—we're almost there!' End on a wide shot as the skiff emerges into an open lagoon filled with glowing pollen mist and towering mangrove silhouettes.",
  "width": 1280,
  "height": 720,
  "duration": 8
}
Response
{
  "taskType": "videoInference",
  "taskUUID": "7ad611c9-522d-4c20-a6bf-445ee57ae6d3",
  "videoUUID": "27ed1df2-bd31-4251-87d4-6f5aae5b64c9",
  "videoURL": "https://vm.runware.ai/video/os/a23d05/ws/5/vi/27ed1df2-bd31-4251-87d4-6f5aae5b64c9.mp4",
  "seed": 1169552849,
  "cost": 0.8,
  "outputs": {
    "videoId": "video_69c5823ad9a88190a42162eca23ab5b2064fad7b92467aaa"
  }
}
Text to Video

Bioluminescent Tidepool Research Station

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 cinematic night scene at a remote research station built into black volcanic cliffs above a bioluminescent tidepool. A young marine biologist in a translucent rain cape kneels beside the glowing water, scanning drifting organisms with a handheld instrument that emits soft amber light. Waves roll in below with realistic splashes and foam, illuminating the rocks in electric blue pulses. In the background, slender wind turbines turn slowly through sea mist, red safety beacons blinking faintly. The camera begins with a wide establishing shot, then glides closer in a smooth low tracking move, revealing glass sample vials, wet metal railings, and ripples spreading across the pool. The scientist quietly says, \'It blooms earlier every year,\' while distant thunder rumbles, gulls cry overhead, light rain taps on the cape, and the ocean breathes with layered surf ambience. Moody, photoreal, atmospheric, precise reflections, natural motion, believable physics, fine environmental detail, restrained color palette with vivid bioluminescent highlights.',
  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": "A cinematic night scene at a remote research station built into black volcanic cliffs above a bioluminescent tidepool. A young marine biologist in a translucent rain cape kneels beside the glowing water, scanning drifting organisms with a handheld instrument that emits soft amber light. Waves roll in below with realistic splashes and foam, illuminating the rocks in electric blue pulses. In the background, slender wind turbines turn slowly through sea mist, red safety beacons blinking faintly. The camera begins with a wide establishing shot, then glides closer in a smooth low tracking move, revealing glass sample vials, wet metal railings, and ripples spreading across the pool. The scientist quietly says, 'It blooms earlier every year,' while distant thunder rumbles, gulls cry overhead, light rain taps on the cape, and the ocean breathes with layered surf ambience. Moody, photoreal, atmospheric, precise reflections, natural motion, believable physics, fine environmental detail, restrained color palette with vivid bioluminescent highlights.",
            "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": "21c5f6fe-f7ad-45d5-8e55-09a261816398",
      "model": "openai:3@1",
      "positivePrompt": "A cinematic night scene at a remote research station built into black volcanic cliffs above a bioluminescent tidepool. A young marine biologist in a translucent rain cape kneels beside the glowing water, scanning drifting organisms with a handheld instrument that emits soft amber light. Waves roll in below with realistic splashes and foam, illuminating the rocks in electric blue pulses. In the background, slender wind turbines turn slowly through sea mist, red safety beacons blinking faintly. The camera begins with a wide establishing shot, then glides closer in a smooth low tracking move, revealing glass sample vials, wet metal railings, and ripples spreading across the pool. The scientist quietly says, 'It blooms earlier every year,' while distant thunder rumbles, gulls cry overhead, light rain taps on the cape, and the ocean breathes with layered surf ambience. Moody, photoreal, atmospheric, precise reflections, natural motion, believable physics, fine environmental detail, restrained color palette with vivid bioluminescent highlights.",
      "width": 1280,
      "height": 720,
      "duration": 8
    }
  ]'
runware run openai:3@1 \
  positivePrompt="A cinematic night scene at a remote research station built into black volcanic cliffs above a bioluminescent tidepool. A young marine biologist in a translucent rain cape kneels beside the glowing water, scanning drifting organisms with a handheld instrument that emits soft amber light. Waves roll in below with realistic splashes and foam, illuminating the rocks in electric blue pulses. In the background, slender wind turbines turn slowly through sea mist, red safety beacons blinking faintly. The camera begins with a wide establishing shot, then glides closer in a smooth low tracking move, revealing glass sample vials, wet metal railings, and ripples spreading across the pool. The scientist quietly says, 'It blooms earlier every year,' while distant thunder rumbles, gulls cry overhead, light rain taps on the cape, and the ocean breathes with layered surf ambience. Moody, photoreal, atmospheric, precise reflections, natural motion, believable physics, fine environmental detail, restrained color palette with vivid bioluminescent highlights." \
  width=1280 \
  height=720 \
  duration=8
{
  "taskType": "videoInference",
  "taskUUID": "21c5f6fe-f7ad-45d5-8e55-09a261816398",
  "model": "openai:3@1",
  "positivePrompt": "A cinematic night scene at a remote research station built into black volcanic cliffs above a bioluminescent tidepool. A young marine biologist in a translucent rain cape kneels beside the glowing water, scanning drifting organisms with a handheld instrument that emits soft amber light. Waves roll in below with realistic splashes and foam, illuminating the rocks in electric blue pulses. In the background, slender wind turbines turn slowly through sea mist, red safety beacons blinking faintly. The camera begins with a wide establishing shot, then glides closer in a smooth low tracking move, revealing glass sample vials, wet metal railings, and ripples spreading across the pool. The scientist quietly says, 'It blooms earlier every year,' while distant thunder rumbles, gulls cry overhead, light rain taps on the cape, and the ocean breathes with layered surf ambience. Moody, photoreal, atmospheric, precise reflections, natural motion, believable physics, fine environmental detail, restrained color palette with vivid bioluminescent highlights.",
  "width": 1280,
  "height": 720,
  "duration": 8
}
Response
{
  "taskType": "videoInference",
  "taskUUID": "21c5f6fe-f7ad-45d5-8e55-09a261816398",
  "videoUUID": "207e4f92-913f-4fd5-ad63-82bb78a1190a",
  "videoURL": "https://vm.runware.ai/video/os/a04d20/ws/5/vi/207e4f92-913f-4fd5-ad63-82bb78a1190a.mp4",
  "seed": 1146755284,
  "cost": 0.8,
  "outputs": {
    "videoId": "video_69c581b6fefc8190a3e97983013919f30610bb14c4e5f04b"
  }
}