MODEL IDvidu:4@2
live

Vidu Q3 Turbo

Vidu
by Vidu

Vidu Q3 Turbo is a speed-optimized multimodal video generation model that produces short video clips with synchronized audio directly from text or images. It prioritizes fast inference and responsive iteration while preserving stable motion, coherent composition, and reliable audio alignment, making it suitable for rapid prototyping and production workflows where latency is critical.

Vidu Q3 Turbo
text-to-video

Aquaculture Net Cleaner Product Demo

import { createClient } from '@runware/sdk'

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

const [result] = await client.run({
  model: 'vidu:4@2',
  positivePrompt: 'A polished industrial product demonstration inside a commercial offshore aquaculture pen. In one continuous six-second underwater tracking shot, an autonomous net-cleaning robot with a compact white pressure-rated body, coral-orange protective bumpers, four rubber guide wheels, and two visible rotating cylindrical brushes travels steadily from left to right along a vertical mesh net. Begin with a close three-quarter view as the brushes engage a thick layer of green algae and marine growth, then track beside the machine to reveal a crisp, visibly cleaned strip of net trailing behind it. Loose algae particles billow away naturally while streams of silver bubbles rise from the working mechanism. A few salmon glide calmly in the soft-focus background, establishing scale without obscuring the product. Clear mechanical operation, realistic hydrodynamics, stable robot geometry, precise wheel contact, convincing brush rotation. Cool aquamarine water, coral-orange accents, shafts of sunlight from the surface, premium documentary cinematography, high clarity, energetic but credible industrial mood. No text, logos, interface graphics, presenter, or narration. Synchronized environmental audio: muffled underwater electric-motor hum, rhythmic brush scrubbing matching rotation, small bursts of bubbles, gentle water movement, and a faint distant pen-chain creak; no music.',
  width: 1280,
  height: 720,
  duration: 6,
  providerSettings: {
    vidu: {
      audio: true
    }
  }
})
import asyncio
import os

from runware import Runware


async def main():
    async with Runware(api_key=os.environ["RUNWARE_API_KEY"]) as client:
        results = await client.run({
            "model": "vidu:4@2",
            "positivePrompt": "A polished industrial product demonstration inside a commercial offshore aquaculture pen. In one continuous six-second underwater tracking shot, an autonomous net-cleaning robot with a compact white pressure-rated body, coral-orange protective bumpers, four rubber guide wheels, and two visible rotating cylindrical brushes travels steadily from left to right along a vertical mesh net. Begin with a close three-quarter view as the brushes engage a thick layer of green algae and marine growth, then track beside the machine to reveal a crisp, visibly cleaned strip of net trailing behind it. Loose algae particles billow away naturally while streams of silver bubbles rise from the working mechanism. A few salmon glide calmly in the soft-focus background, establishing scale without obscuring the product. Clear mechanical operation, realistic hydrodynamics, stable robot geometry, precise wheel contact, convincing brush rotation. Cool aquamarine water, coral-orange accents, shafts of sunlight from the surface, premium documentary cinematography, high clarity, energetic but credible industrial mood. No text, logos, interface graphics, presenter, or narration. Synchronized environmental audio: muffled underwater electric-motor hum, rhythmic brush scrubbing matching rotation, small bursts of bubbles, gentle water movement, and a faint distant pen-chain creak; no music.",
            "width": 1280,
            "height": 720,
            "duration": 6,
            "providerSettings": {
                "vidu": {
                    "audio": True
                }
            }
        })


asyncio.run(main())
curl https://api.runware.ai/v1 \
  -H "Authorization: Bearer $RUNWARE_API_KEY" \
  -H "Content-Type: application/json" \
  -d '[
    {
      "taskType": "videoInference",
      "taskUUID": "8e01ea7c-0605-41b4-aa20-40abb91204fd",
      "model": "vidu:4@2",
      "positivePrompt": "A polished industrial product demonstration inside a commercial offshore aquaculture pen. In one continuous six-second underwater tracking shot, an autonomous net-cleaning robot with a compact white pressure-rated body, coral-orange protective bumpers, four rubber guide wheels, and two visible rotating cylindrical brushes travels steadily from left to right along a vertical mesh net. Begin with a close three-quarter view as the brushes engage a thick layer of green algae and marine growth, then track beside the machine to reveal a crisp, visibly cleaned strip of net trailing behind it. Loose algae particles billow away naturally while streams of silver bubbles rise from the working mechanism. A few salmon glide calmly in the soft-focus background, establishing scale without obscuring the product. Clear mechanical operation, realistic hydrodynamics, stable robot geometry, precise wheel contact, convincing brush rotation. Cool aquamarine water, coral-orange accents, shafts of sunlight from the surface, premium documentary cinematography, high clarity, energetic but credible industrial mood. No text, logos, interface graphics, presenter, or narration. Synchronized environmental audio: muffled underwater electric-motor hum, rhythmic brush scrubbing matching rotation, small bursts of bubbles, gentle water movement, and a faint distant pen-chain creak; no music.",
      "width": 1280,
      "height": 720,
      "duration": 6,
      "providerSettings": {
        "vidu": {
          "audio": true
        }
      }
    }
  ]'
runware run vidu:4@2 \
  positivePrompt="A polished industrial product demonstration inside a commercial offshore aquaculture pen. In one continuous six-second underwater tracking shot, an autonomous net-cleaning robot with a compact white pressure-rated body, coral-orange protective bumpers, four rubber guide wheels, and two visible rotating cylindrical brushes travels steadily from left to right along a vertical mesh net. Begin with a close three-quarter view as the brushes engage a thick layer of green algae and marine growth, then track beside the machine to reveal a crisp, visibly cleaned strip of net trailing behind it. Loose algae particles billow away naturally while streams of silver bubbles rise from the working mechanism. A few salmon glide calmly in the soft-focus background, establishing scale without obscuring the product. Clear mechanical operation, realistic hydrodynamics, stable robot geometry, precise wheel contact, convincing brush rotation. Cool aquamarine water, coral-orange accents, shafts of sunlight from the surface, premium documentary cinematography, high clarity, energetic but credible industrial mood. No text, logos, interface graphics, presenter, or narration. Synchronized environmental audio: muffled underwater electric-motor hum, rhythmic brush scrubbing matching rotation, small bursts of bubbles, gentle water movement, and a faint distant pen-chain creak; no music." \
  width=1280 \
  height=720 \
  duration=6 \
  providerSettings.vidu.audio=true
{
  "taskType": "videoInference",
  "taskUUID": "8e01ea7c-0605-41b4-aa20-40abb91204fd",
  "model": "vidu:4@2",
  "positivePrompt": "A polished industrial product demonstration inside a commercial offshore aquaculture pen. In one continuous six-second underwater tracking shot, an autonomous net-cleaning robot with a compact white pressure-rated body, coral-orange protective bumpers, four rubber guide wheels, and two visible rotating cylindrical brushes travels steadily from left to right along a vertical mesh net. Begin with a close three-quarter view as the brushes engage a thick layer of green algae and marine growth, then track beside the machine to reveal a crisp, visibly cleaned strip of net trailing behind it. Loose algae particles billow away naturally while streams of silver bubbles rise from the working mechanism. A few salmon glide calmly in the soft-focus background, establishing scale without obscuring the product. Clear mechanical operation, realistic hydrodynamics, stable robot geometry, precise wheel contact, convincing brush rotation. Cool aquamarine water, coral-orange accents, shafts of sunlight from the surface, premium documentary cinematography, high clarity, energetic but credible industrial mood. No text, logos, interface graphics, presenter, or narration. Synchronized environmental audio: muffled underwater electric-motor hum, rhythmic brush scrubbing matching rotation, small bursts of bubbles, gentle water movement, and a faint distant pen-chain creak; no music.",
  "width": 1280,
  "height": 720,
  "duration": 6,
  "providerSettings": {
    "vidu": {
      "audio": true
    }
  }
}
Response
{
  "taskType": "videoInference",
  "taskUUID": "8e01ea7c-0605-41b4-aa20-40abb91204fd",
  "videoUUID": "d5a8f3bc-4d50-42cf-bc4e-98791582298e",
  "videoURL": "https://vm.runware.ai/video/os/a08dlim3/ws/5/vi/d5a8f3bc-4d50-42cf-bc4e-98791582298e.mp4",
  "seed": 33844708,
  "cost": 0.2145
}
text-to-video

Precision Seed Meter Product Explainer

import { createClient } from '@runware/sdk'

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

const [result] = await client.run({
  model: 'vidu:4@2',
  positivePrompt: 'A polished product explainer clip for an agricultural equipment manufacturer, presented as a cinematic cutaway demonstration of a precision vacuum seed meter operating in dark loamy soil. In one continuous landscape shot, begin close on the partially transparent graphite-gray cartridge as a perforated brass disc rotates inside. Vacuum suction picks up individual striped sunflower seeds from the hopper, each seed snapping neatly onto one hole. Track smoothly to the right with the mechanism as a small cutoff wheel removes doubles, then show each seed releasing through the chute at evenly timed intervals into a freshly opened furrow. A rubber gauge wheel rolls past and gently closes the soil over the planted row. Crisp, mechanically accurate motion, visible airflow suggested by faint drifting dust, controlled studio lighting mixed with warm field sunlight, rich umber soil, brass and charcoal components, cyan edge highlights, premium industrial visualization with photoreal materials and shallow depth of field. Keep the seed path and singulation process clearly readable; no people, labels, logos, captions, diagrams, or interface elements. Synchronized environmental audio: compact electric motor whir, precise rhythmic seed clicks, soft pneumatic hiss, granular soil crunch, and subtle metal vibration; no speech and no music.',
  width: 1280,
  height: 720,
  duration: 6,
  providerSettings: {
    vidu: {
      audio: true
    }
  }
})
import asyncio
import os

from runware import Runware


async def main():
    async with Runware(api_key=os.environ["RUNWARE_API_KEY"]) as client:
        results = await client.run({
            "model": "vidu:4@2",
            "positivePrompt": "A polished product explainer clip for an agricultural equipment manufacturer, presented as a cinematic cutaway demonstration of a precision vacuum seed meter operating in dark loamy soil. In one continuous landscape shot, begin close on the partially transparent graphite-gray cartridge as a perforated brass disc rotates inside. Vacuum suction picks up individual striped sunflower seeds from the hopper, each seed snapping neatly onto one hole. Track smoothly to the right with the mechanism as a small cutoff wheel removes doubles, then show each seed releasing through the chute at evenly timed intervals into a freshly opened furrow. A rubber gauge wheel rolls past and gently closes the soil over the planted row. Crisp, mechanically accurate motion, visible airflow suggested by faint drifting dust, controlled studio lighting mixed with warm field sunlight, rich umber soil, brass and charcoal components, cyan edge highlights, premium industrial visualization with photoreal materials and shallow depth of field. Keep the seed path and singulation process clearly readable; no people, labels, logos, captions, diagrams, or interface elements. Synchronized environmental audio: compact electric motor whir, precise rhythmic seed clicks, soft pneumatic hiss, granular soil crunch, and subtle metal vibration; no speech and no music.",
            "width": 1280,
            "height": 720,
            "duration": 6,
            "providerSettings": {
                "vidu": {
                    "audio": True
                }
            }
        })


asyncio.run(main())
curl https://api.runware.ai/v1 \
  -H "Authorization: Bearer $RUNWARE_API_KEY" \
  -H "Content-Type: application/json" \
  -d '[
    {
      "taskType": "videoInference",
      "taskUUID": "5fc42f6b-ecc2-4497-b7c2-8de8f97ab0e4",
      "model": "vidu:4@2",
      "positivePrompt": "A polished product explainer clip for an agricultural equipment manufacturer, presented as a cinematic cutaway demonstration of a precision vacuum seed meter operating in dark loamy soil. In one continuous landscape shot, begin close on the partially transparent graphite-gray cartridge as a perforated brass disc rotates inside. Vacuum suction picks up individual striped sunflower seeds from the hopper, each seed snapping neatly onto one hole. Track smoothly to the right with the mechanism as a small cutoff wheel removes doubles, then show each seed releasing through the chute at evenly timed intervals into a freshly opened furrow. A rubber gauge wheel rolls past and gently closes the soil over the planted row. Crisp, mechanically accurate motion, visible airflow suggested by faint drifting dust, controlled studio lighting mixed with warm field sunlight, rich umber soil, brass and charcoal components, cyan edge highlights, premium industrial visualization with photoreal materials and shallow depth of field. Keep the seed path and singulation process clearly readable; no people, labels, logos, captions, diagrams, or interface elements. Synchronized environmental audio: compact electric motor whir, precise rhythmic seed clicks, soft pneumatic hiss, granular soil crunch, and subtle metal vibration; no speech and no music.",
      "width": 1280,
      "height": 720,
      "duration": 6,
      "providerSettings": {
        "vidu": {
          "audio": true
        }
      }
    }
  ]'
runware run vidu:4@2 \
  positivePrompt="A polished product explainer clip for an agricultural equipment manufacturer, presented as a cinematic cutaway demonstration of a precision vacuum seed meter operating in dark loamy soil. In one continuous landscape shot, begin close on the partially transparent graphite-gray cartridge as a perforated brass disc rotates inside. Vacuum suction picks up individual striped sunflower seeds from the hopper, each seed snapping neatly onto one hole. Track smoothly to the right with the mechanism as a small cutoff wheel removes doubles, then show each seed releasing through the chute at evenly timed intervals into a freshly opened furrow. A rubber gauge wheel rolls past and gently closes the soil over the planted row. Crisp, mechanically accurate motion, visible airflow suggested by faint drifting dust, controlled studio lighting mixed with warm field sunlight, rich umber soil, brass and charcoal components, cyan edge highlights, premium industrial visualization with photoreal materials and shallow depth of field. Keep the seed path and singulation process clearly readable; no people, labels, logos, captions, diagrams, or interface elements. Synchronized environmental audio: compact electric motor whir, precise rhythmic seed clicks, soft pneumatic hiss, granular soil crunch, and subtle metal vibration; no speech and no music." \
  width=1280 \
  height=720 \
  duration=6 \
  providerSettings.vidu.audio=true
{
  "taskType": "videoInference",
  "taskUUID": "5fc42f6b-ecc2-4497-b7c2-8de8f97ab0e4",
  "model": "vidu:4@2",
  "positivePrompt": "A polished product explainer clip for an agricultural equipment manufacturer, presented as a cinematic cutaway demonstration of a precision vacuum seed meter operating in dark loamy soil. In one continuous landscape shot, begin close on the partially transparent graphite-gray cartridge as a perforated brass disc rotates inside. Vacuum suction picks up individual striped sunflower seeds from the hopper, each seed snapping neatly onto one hole. Track smoothly to the right with the mechanism as a small cutoff wheel removes doubles, then show each seed releasing through the chute at evenly timed intervals into a freshly opened furrow. A rubber gauge wheel rolls past and gently closes the soil over the planted row. Crisp, mechanically accurate motion, visible airflow suggested by faint drifting dust, controlled studio lighting mixed with warm field sunlight, rich umber soil, brass and charcoal components, cyan edge highlights, premium industrial visualization with photoreal materials and shallow depth of field. Keep the seed path and singulation process clearly readable; no people, labels, logos, captions, diagrams, or interface elements. Synchronized environmental audio: compact electric motor whir, precise rhythmic seed clicks, soft pneumatic hiss, granular soil crunch, and subtle metal vibration; no speech and no music.",
  "width": 1280,
  "height": 720,
  "duration": 6,
  "providerSettings": {
    "vidu": {
      "audio": true
    }
  }
}
Response
{
  "taskType": "videoInference",
  "taskUUID": "5fc42f6b-ecc2-4497-b7c2-8de8f97ab0e4",
  "videoUUID": "51587f9d-8668-4556-b92e-d79378fe6921",
  "videoURL": "https://vm.runware.ai/video/os/a05d22/ws/5/vi/51587f9d-8668-4556-b92e-d79378fe6921.mp4",
  "seed": 346091600,
  "cost": 0.2145
}
first-frame

Vintage Pen Restoration Reel

import { createClient } from '@runware/sdk'

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

const [result] = await client.run({
  model: 'vidu:4@2',
  positivePrompt: 'The poised tweezers steadily lower the tarnished fountain pen nib into the ultrasonic bath. As it touches the liquid, tight rings ripple outward and a cloud of tiny cavitation bubbles blooms around the metal in a satisfying, time-compressed cleaning reaction. Tarnish visibly clears while warm brass highlights return. The gloved hand then lifts the nib from the bath, now polished and gleaming, with one droplet stretching and falling back into the liquid. Finish on a confident macro hero view of the restored nib held above the settling ripples. One continuous premium product-restoration shot, subtle slow camera push-in, controlled hand movement, realistic liquid physics, deep teal, ivory and antique brass palette, shallow depth of field. Synchronized ASMR audio: quiet ultrasonic hum, delicate fizzing bubbles, faint tweezer clink and a crisp final droplet. No speech, music, captions, logos or graphics.',
  width: 720,
  height: 1280,
  duration: 8,
  providerSettings: {
    vidu: {
      audio: true
    }
  },
  inputs: {
    frameImages: [
      {
        image: 'https://assets.runware.ai/assets/inputs/7afa5982-8121-474d-89bb-9da63d2234c1.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": "vidu:4@2",
            "positivePrompt": "The poised tweezers steadily lower the tarnished fountain pen nib into the ultrasonic bath. As it touches the liquid, tight rings ripple outward and a cloud of tiny cavitation bubbles blooms around the metal in a satisfying, time-compressed cleaning reaction. Tarnish visibly clears while warm brass highlights return. The gloved hand then lifts the nib from the bath, now polished and gleaming, with one droplet stretching and falling back into the liquid. Finish on a confident macro hero view of the restored nib held above the settling ripples. One continuous premium product-restoration shot, subtle slow camera push-in, controlled hand movement, realistic liquid physics, deep teal, ivory and antique brass palette, shallow depth of field. Synchronized ASMR audio: quiet ultrasonic hum, delicate fizzing bubbles, faint tweezer clink and a crisp final droplet. No speech, music, captions, logos or graphics.",
            "width": 720,
            "height": 1280,
            "duration": 8,
            "providerSettings": {
                "vidu": {
                    "audio": True
                }
            },
            "inputs": {
                "frameImages": [
                    {
                        "image": "https://assets.runware.ai/assets/inputs/7afa5982-8121-474d-89bb-9da63d2234c1.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": "76b1ed26-3ba1-4af7-b6c8-a530b46be911",
      "model": "vidu:4@2",
      "positivePrompt": "The poised tweezers steadily lower the tarnished fountain pen nib into the ultrasonic bath. As it touches the liquid, tight rings ripple outward and a cloud of tiny cavitation bubbles blooms around the metal in a satisfying, time-compressed cleaning reaction. Tarnish visibly clears while warm brass highlights return. The gloved hand then lifts the nib from the bath, now polished and gleaming, with one droplet stretching and falling back into the liquid. Finish on a confident macro hero view of the restored nib held above the settling ripples. One continuous premium product-restoration shot, subtle slow camera push-in, controlled hand movement, realistic liquid physics, deep teal, ivory and antique brass palette, shallow depth of field. Synchronized ASMR audio: quiet ultrasonic hum, delicate fizzing bubbles, faint tweezer clink and a crisp final droplet. No speech, music, captions, logos or graphics.",
      "width": 720,
      "height": 1280,
      "duration": 8,
      "providerSettings": {
        "vidu": {
          "audio": true
        }
      },
      "inputs": {
        "frameImages": [
          {
            "image": "https://assets.runware.ai/assets/inputs/7afa5982-8121-474d-89bb-9da63d2234c1.jpg",
            "frame": "first"
          }
        ]
      }
    }
  ]'
runware run vidu:4@2 \
  positivePrompt="The poised tweezers steadily lower the tarnished fountain pen nib into the ultrasonic bath. As it touches the liquid, tight rings ripple outward and a cloud of tiny cavitation bubbles blooms around the metal in a satisfying, time-compressed cleaning reaction. Tarnish visibly clears while warm brass highlights return. The gloved hand then lifts the nib from the bath, now polished and gleaming, with one droplet stretching and falling back into the liquid. Finish on a confident macro hero view of the restored nib held above the settling ripples. One continuous premium product-restoration shot, subtle slow camera push-in, controlled hand movement, realistic liquid physics, deep teal, ivory and antique brass palette, shallow depth of field. Synchronized ASMR audio: quiet ultrasonic hum, delicate fizzing bubbles, faint tweezer clink and a crisp final droplet. No speech, music, captions, logos or graphics." \
  width=720 \
  height=1280 \
  duration=8 \
  providerSettings.vidu.audio=true \
  inputs.frameImages.0.image=https://assets.runware.ai/assets/inputs/7afa5982-8121-474d-89bb-9da63d2234c1.jpg \
  inputs.frameImages.0.frame=first
{
  "taskType": "videoInference",
  "taskUUID": "76b1ed26-3ba1-4af7-b6c8-a530b46be911",
  "model": "vidu:4@2",
  "positivePrompt": "The poised tweezers steadily lower the tarnished fountain pen nib into the ultrasonic bath. As it touches the liquid, tight rings ripple outward and a cloud of tiny cavitation bubbles blooms around the metal in a satisfying, time-compressed cleaning reaction. Tarnish visibly clears while warm brass highlights return. The gloved hand then lifts the nib from the bath, now polished and gleaming, with one droplet stretching and falling back into the liquid. Finish on a confident macro hero view of the restored nib held above the settling ripples. One continuous premium product-restoration shot, subtle slow camera push-in, controlled hand movement, realistic liquid physics, deep teal, ivory and antique brass palette, shallow depth of field. Synchronized ASMR audio: quiet ultrasonic hum, delicate fizzing bubbles, faint tweezer clink and a crisp final droplet. No speech, music, captions, logos or graphics.",
  "width": 720,
  "height": 1280,
  "duration": 8,
  "providerSettings": {
    "vidu": {
      "audio": true
    }
  },
  "inputs": {
    "frameImages": [
      {
        "image": "https://assets.runware.ai/assets/inputs/7afa5982-8121-474d-89bb-9da63d2234c1.jpg",
        "frame": "first"
      }
    ]
  }
}
Response
{
  "taskType": "videoInference",
  "taskUUID": "76b1ed26-3ba1-4af7-b6c8-a530b46be911",
  "videoUUID": "320a573c-0ed0-47f9-b14f-2f661e233a23",
  "videoURL": "https://vm.runware.ai/video/os/a03d21/ws/5/vi/320a573c-0ed0-47f9-b14f-2f661e233a23.mp4",
  "seed": 1650335095,
  "cost": 0.286
}
first-last-frame

Pelagic Signal Logo Reveal

import { createClient } from '@runware/sdk'

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

const [result] = await client.run({
  model: 'vidu:4@2',
  positivePrompt: 'Create a polished five-second logo reveal connecting the supplied opening and closing frames. Keep the square composition and camera completely fixed. The separated fiber-optic arcs glide smoothly clockwise along curved paths, leaving brief cyan phosphor trails as they align and lock together into the nautilus spiral. A single restrained sonar pulse travels from the center outward, energizing each segment without changing the emblem’s geometry. As the final arc connects, the faint PELAGIC SIGNAL wordmark resolves cleanly from left to right into the exact lettering shown in the last frame. Use precise easing, stable line weight, subtle CRT bloom, and a few controlled micro-particles that collapse into the emblem. Finish exactly on the supplied completed logo and hold it cleanly. Premium broadcast identity motion, midnight navy, electric cyan, sonar green; no camera movement, no extra symbols, no additional words, no distortion, no interface elements.',
  width: 960,
  height: 960,
  duration: 5,
  inputs: {
    frameImages: [
      {
        image: 'https://assets.runware.ai/assets/inputs/73a41f3e-61ba-4afe-8f18-11f24a7f4a6e.jpg',
        frame: 'first'
      },
      {
        image: 'https://assets.runware.ai/assets/inputs/598cd3b7-e6df-406a-987d-92de4c19b67f.jpg',
        frame: 'last'
      }
    ]
  }
})
import asyncio
import os

from runware import Runware


async def main():
    async with Runware(api_key=os.environ["RUNWARE_API_KEY"]) as client:
        results = await client.run({
            "model": "vidu:4@2",
            "positivePrompt": "Create a polished five-second logo reveal connecting the supplied opening and closing frames. Keep the square composition and camera completely fixed. The separated fiber-optic arcs glide smoothly clockwise along curved paths, leaving brief cyan phosphor trails as they align and lock together into the nautilus spiral. A single restrained sonar pulse travels from the center outward, energizing each segment without changing the emblem’s geometry. As the final arc connects, the faint PELAGIC SIGNAL wordmark resolves cleanly from left to right into the exact lettering shown in the last frame. Use precise easing, stable line weight, subtle CRT bloom, and a few controlled micro-particles that collapse into the emblem. Finish exactly on the supplied completed logo and hold it cleanly. Premium broadcast identity motion, midnight navy, electric cyan, sonar green; no camera movement, no extra symbols, no additional words, no distortion, no interface elements.",
            "width": 960,
            "height": 960,
            "duration": 5,
            "inputs": {
                "frameImages": [
                    {
                        "image": "https://assets.runware.ai/assets/inputs/73a41f3e-61ba-4afe-8f18-11f24a7f4a6e.jpg",
                        "frame": "first"
                    },
                    {
                        "image": "https://assets.runware.ai/assets/inputs/598cd3b7-e6df-406a-987d-92de4c19b67f.jpg",
                        "frame": "last"
                    }
                ]
            }
        })


asyncio.run(main())
curl https://api.runware.ai/v1 \
  -H "Authorization: Bearer $RUNWARE_API_KEY" \
  -H "Content-Type: application/json" \
  -d '[
    {
      "taskType": "videoInference",
      "taskUUID": "5d749596-7ef7-40e9-bf77-7c5a9398d3d1",
      "model": "vidu:4@2",
      "positivePrompt": "Create a polished five-second logo reveal connecting the supplied opening and closing frames. Keep the square composition and camera completely fixed. The separated fiber-optic arcs glide smoothly clockwise along curved paths, leaving brief cyan phosphor trails as they align and lock together into the nautilus spiral. A single restrained sonar pulse travels from the center outward, energizing each segment without changing the emblem’s geometry. As the final arc connects, the faint PELAGIC SIGNAL wordmark resolves cleanly from left to right into the exact lettering shown in the last frame. Use precise easing, stable line weight, subtle CRT bloom, and a few controlled micro-particles that collapse into the emblem. Finish exactly on the supplied completed logo and hold it cleanly. Premium broadcast identity motion, midnight navy, electric cyan, sonar green; no camera movement, no extra symbols, no additional words, no distortion, no interface elements.",
      "width": 960,
      "height": 960,
      "duration": 5,
      "inputs": {
        "frameImages": [
          {
            "image": "https://assets.runware.ai/assets/inputs/73a41f3e-61ba-4afe-8f18-11f24a7f4a6e.jpg",
            "frame": "first"
          },
          {
            "image": "https://assets.runware.ai/assets/inputs/598cd3b7-e6df-406a-987d-92de4c19b67f.jpg",
            "frame": "last"
          }
        ]
      }
    }
  ]'
runware run vidu:4@2 \
  positivePrompt="Create a polished five-second logo reveal connecting the supplied opening and closing frames. Keep the square composition and camera completely fixed. The separated fiber-optic arcs glide smoothly clockwise along curved paths, leaving brief cyan phosphor trails as they align and lock together into the nautilus spiral. A single restrained sonar pulse travels from the center outward, energizing each segment without changing the emblem’s geometry. As the final arc connects, the faint PELAGIC SIGNAL wordmark resolves cleanly from left to right into the exact lettering shown in the last frame. Use precise easing, stable line weight, subtle CRT bloom, and a few controlled micro-particles that collapse into the emblem. Finish exactly on the supplied completed logo and hold it cleanly. Premium broadcast identity motion, midnight navy, electric cyan, sonar green; no camera movement, no extra symbols, no additional words, no distortion, no interface elements." \
  width=960 \
  height=960 \
  duration=5 \
  inputs.frameImages.0.image=https://assets.runware.ai/assets/inputs/73a41f3e-61ba-4afe-8f18-11f24a7f4a6e.jpg \
  inputs.frameImages.0.frame=first \
  inputs.frameImages.1.image=https://assets.runware.ai/assets/inputs/598cd3b7-e6df-406a-987d-92de4c19b67f.jpg \
  inputs.frameImages.1.frame=last
{
  "taskType": "videoInference",
  "taskUUID": "5d749596-7ef7-40e9-bf77-7c5a9398d3d1",
  "model": "vidu:4@2",
  "positivePrompt": "Create a polished five-second logo reveal connecting the supplied opening and closing frames. Keep the square composition and camera completely fixed. The separated fiber-optic arcs glide smoothly clockwise along curved paths, leaving brief cyan phosphor trails as they align and lock together into the nautilus spiral. A single restrained sonar pulse travels from the center outward, energizing each segment without changing the emblem’s geometry. As the final arc connects, the faint PELAGIC SIGNAL wordmark resolves cleanly from left to right into the exact lettering shown in the last frame. Use precise easing, stable line weight, subtle CRT bloom, and a few controlled micro-particles that collapse into the emblem. Finish exactly on the supplied completed logo and hold it cleanly. Premium broadcast identity motion, midnight navy, electric cyan, sonar green; no camera movement, no extra symbols, no additional words, no distortion, no interface elements.",
  "width": 960,
  "height": 960,
  "duration": 5,
  "inputs": {
    "frameImages": [
      {
        "image": "https://assets.runware.ai/assets/inputs/73a41f3e-61ba-4afe-8f18-11f24a7f4a6e.jpg",
        "frame": "first"
      },
      {
        "image": "https://assets.runware.ai/assets/inputs/598cd3b7-e6df-406a-987d-92de4c19b67f.jpg",
        "frame": "last"
      }
    ]
  }
}
Response
{
  "taskType": "videoInference",
  "taskUUID": "5d749596-7ef7-40e9-bf77-7c5a9398d3d1",
  "videoUUID": "d2f98392-d933-4b85-b979-39273f210651",
  "videoURL": "https://vm.runware.ai/video/os/a09dlim3/ws/5/vi/d2f98392-d933-4b85-b979-39273f210651.mp4",
  "seed": 642172863,
  "cost": 0.17875
}
Image to Video

Wind-Bent Cliffside Violinist

import { createClient } from '@runware/sdk'

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

const [result] = await client.run({
  model: 'vidu:4@2',
  positivePrompt: 'Animate a smooth cinematic progression between the guided first and last frames. A lone violinist performs on a rugged ocean cliff at sunset, with natural body motion, fluttering coat fabric, windswept hair, subtle camera drift, and increasingly dramatic wave movement. The distant kites gradually multiply and sweep across the sky as the music crescendos. Preserve character identity, cliff geography, and lighting continuity. Realistic motion, coherent composition, expressive atmosphere, synchronized natural audio with violin performance, wind gusts, surf, and faraway kite flutter.',
  width: 1280,
  height: 720,
  duration: 6,
  seed: 31360,
  providerSettings: {
    vidu: {
      audio: true
    }
  },
  inputs: {
    frameImages: [
      {
        image: 'https://assets.runware.ai/assets/inputs/c640b885-69fe-4b14-ab4e-b302e785c04f.jpg',
        frame: 'first'
      },
      {
        image: 'https://assets.runware.ai/assets/inputs/1a17da82-557d-49ae-87f7-8e6d0527e864.jpg',
        frame: 'last'
      }
    ]
  }
})
import asyncio
import os

from runware import Runware


async def main():
    async with Runware(api_key=os.environ["RUNWARE_API_KEY"]) as client:
        results = await client.run({
            "model": "vidu:4@2",
            "positivePrompt": "Animate a smooth cinematic progression between the guided first and last frames. A lone violinist performs on a rugged ocean cliff at sunset, with natural body motion, fluttering coat fabric, windswept hair, subtle camera drift, and increasingly dramatic wave movement. The distant kites gradually multiply and sweep across the sky as the music crescendos. Preserve character identity, cliff geography, and lighting continuity. Realistic motion, coherent composition, expressive atmosphere, synchronized natural audio with violin performance, wind gusts, surf, and faraway kite flutter.",
            "width": 1280,
            "height": 720,
            "duration": 6,
            "seed": 31360,
            "providerSettings": {
                "vidu": {
                    "audio": True
                }
            },
            "inputs": {
                "frameImages": [
                    {
                        "image": "https://assets.runware.ai/assets/inputs/c640b885-69fe-4b14-ab4e-b302e785c04f.jpg",
                        "frame": "first"
                    },
                    {
                        "image": "https://assets.runware.ai/assets/inputs/1a17da82-557d-49ae-87f7-8e6d0527e864.jpg",
                        "frame": "last"
                    }
                ]
            }
        })


asyncio.run(main())
curl https://api.runware.ai/v1 \
  -H "Authorization: Bearer $RUNWARE_API_KEY" \
  -H "Content-Type: application/json" \
  -d '[
    {
      "taskType": "videoInference",
      "taskUUID": "9264a9b8-8552-43c5-8bb1-3404ca34ccda",
      "model": "vidu:4@2",
      "positivePrompt": "Animate a smooth cinematic progression between the guided first and last frames. A lone violinist performs on a rugged ocean cliff at sunset, with natural body motion, fluttering coat fabric, windswept hair, subtle camera drift, and increasingly dramatic wave movement. The distant kites gradually multiply and sweep across the sky as the music crescendos. Preserve character identity, cliff geography, and lighting continuity. Realistic motion, coherent composition, expressive atmosphere, synchronized natural audio with violin performance, wind gusts, surf, and faraway kite flutter.",
      "width": 1280,
      "height": 720,
      "duration": 6,
      "seed": 31360,
      "providerSettings": {
        "vidu": {
          "audio": true
        }
      },
      "inputs": {
        "frameImages": [
          {
            "image": "https://assets.runware.ai/assets/inputs/c640b885-69fe-4b14-ab4e-b302e785c04f.jpg",
            "frame": "first"
          },
          {
            "image": "https://assets.runware.ai/assets/inputs/1a17da82-557d-49ae-87f7-8e6d0527e864.jpg",
            "frame": "last"
          }
        ]
      }
    }
  ]'
runware run vidu:4@2 \
  positivePrompt="Animate a smooth cinematic progression between the guided first and last frames. A lone violinist performs on a rugged ocean cliff at sunset, with natural body motion, fluttering coat fabric, windswept hair, subtle camera drift, and increasingly dramatic wave movement. The distant kites gradually multiply and sweep across the sky as the music crescendos. Preserve character identity, cliff geography, and lighting continuity. Realistic motion, coherent composition, expressive atmosphere, synchronized natural audio with violin performance, wind gusts, surf, and faraway kite flutter." \
  width=1280 \
  height=720 \
  duration=6 \
  seed=31360 \
  providerSettings.vidu.audio=true \
  inputs.frameImages.0.image=https://assets.runware.ai/assets/inputs/c640b885-69fe-4b14-ab4e-b302e785c04f.jpg \
  inputs.frameImages.0.frame=first \
  inputs.frameImages.1.image=https://assets.runware.ai/assets/inputs/1a17da82-557d-49ae-87f7-8e6d0527e864.jpg \
  inputs.frameImages.1.frame=last
{
  "taskType": "videoInference",
  "taskUUID": "9264a9b8-8552-43c5-8bb1-3404ca34ccda",
  "model": "vidu:4@2",
  "positivePrompt": "Animate a smooth cinematic progression between the guided first and last frames. A lone violinist performs on a rugged ocean cliff at sunset, with natural body motion, fluttering coat fabric, windswept hair, subtle camera drift, and increasingly dramatic wave movement. The distant kites gradually multiply and sweep across the sky as the music crescendos. Preserve character identity, cliff geography, and lighting continuity. Realistic motion, coherent composition, expressive atmosphere, synchronized natural audio with violin performance, wind gusts, surf, and faraway kite flutter.",
  "width": 1280,
  "height": 720,
  "duration": 6,
  "seed": 31360,
  "providerSettings": {
    "vidu": {
      "audio": true
    }
  },
  "inputs": {
    "frameImages": [
      {
        "image": "https://assets.runware.ai/assets/inputs/c640b885-69fe-4b14-ab4e-b302e785c04f.jpg",
        "frame": "first"
      },
      {
        "image": "https://assets.runware.ai/assets/inputs/1a17da82-557d-49ae-87f7-8e6d0527e864.jpg",
        "frame": "last"
      }
    ]
  }
}
Response
{
  "taskType": "videoInference",
  "taskUUID": "9264a9b8-8552-43c5-8bb1-3404ca34ccda",
  "videoUUID": "d6a24551-9bb0-4a82-8699-c6d5df69ac5a",
  "videoURL": "https://vm.runware.ai/video/os/a09d21/ws/5/vi/d6a24551-9bb0-4a82-8699-c6d5df69ac5a.mp4",
  "seed": 31360,
  "cost": 0.234
}
Text to Video

Windy Cliffside Kite Workshop

import { createClient } from '@runware/sdk'

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

const [result] = await client.run({
  model: 'vidu:4@2',
  positivePrompt: 'A lively hand-built kite workshop on a grassy cliff above a churning sea at golden afternoon, rows of bright paper kites hanging from wooden lines, a craftsperson in an indigo apron testing bamboo frames while two children run nearby with ribbon tails streaming in the strong wind. Camera starts with a medium-wide view and gently pushes forward as gusts ripple canvas awnings, loose sketches flutter across a worktable, and dozens of kites tug and sway overhead. A large octopus-shaped kite lifts suddenly into the air, drawing cheers and laughter. Natural synchronized audio: constant coastal wind, snapping fabric, creaking wood, distant gulls, footsteps on planks, excited voices, and the rising flap of kites catching air. Cinematic realism, stable motion, expressive atmosphere, detailed textures, vivid color contrast, responsive fast-action scene.',
  width: 1280,
  height: 720,
  duration: 6,
  seed: 81429,
  providerSettings: {
    vidu: {
      audio: true
    }
  }
})
import asyncio
import os

from runware import Runware


async def main():
    async with Runware(api_key=os.environ["RUNWARE_API_KEY"]) as client:
        results = await client.run({
            "model": "vidu:4@2",
            "positivePrompt": "A lively hand-built kite workshop on a grassy cliff above a churning sea at golden afternoon, rows of bright paper kites hanging from wooden lines, a craftsperson in an indigo apron testing bamboo frames while two children run nearby with ribbon tails streaming in the strong wind. Camera starts with a medium-wide view and gently pushes forward as gusts ripple canvas awnings, loose sketches flutter across a worktable, and dozens of kites tug and sway overhead. A large octopus-shaped kite lifts suddenly into the air, drawing cheers and laughter. Natural synchronized audio: constant coastal wind, snapping fabric, creaking wood, distant gulls, footsteps on planks, excited voices, and the rising flap of kites catching air. Cinematic realism, stable motion, expressive atmosphere, detailed textures, vivid color contrast, responsive fast-action scene.",
            "width": 1280,
            "height": 720,
            "duration": 6,
            "seed": 81429,
            "providerSettings": {
                "vidu": {
                    "audio": True
                }
            }
        })


asyncio.run(main())
curl https://api.runware.ai/v1 \
  -H "Authorization: Bearer $RUNWARE_API_KEY" \
  -H "Content-Type: application/json" \
  -d '[
    {
      "taskType": "videoInference",
      "taskUUID": "ac706707-3042-427e-8781-ee91a3705007",
      "model": "vidu:4@2",
      "positivePrompt": "A lively hand-built kite workshop on a grassy cliff above a churning sea at golden afternoon, rows of bright paper kites hanging from wooden lines, a craftsperson in an indigo apron testing bamboo frames while two children run nearby with ribbon tails streaming in the strong wind. Camera starts with a medium-wide view and gently pushes forward as gusts ripple canvas awnings, loose sketches flutter across a worktable, and dozens of kites tug and sway overhead. A large octopus-shaped kite lifts suddenly into the air, drawing cheers and laughter. Natural synchronized audio: constant coastal wind, snapping fabric, creaking wood, distant gulls, footsteps on planks, excited voices, and the rising flap of kites catching air. Cinematic realism, stable motion, expressive atmosphere, detailed textures, vivid color contrast, responsive fast-action scene.",
      "width": 1280,
      "height": 720,
      "duration": 6,
      "seed": 81429,
      "providerSettings": {
        "vidu": {
          "audio": true
        }
      }
    }
  ]'
runware run vidu:4@2 \
  positivePrompt="A lively hand-built kite workshop on a grassy cliff above a churning sea at golden afternoon, rows of bright paper kites hanging from wooden lines, a craftsperson in an indigo apron testing bamboo frames while two children run nearby with ribbon tails streaming in the strong wind. Camera starts with a medium-wide view and gently pushes forward as gusts ripple canvas awnings, loose sketches flutter across a worktable, and dozens of kites tug and sway overhead. A large octopus-shaped kite lifts suddenly into the air, drawing cheers and laughter. Natural synchronized audio: constant coastal wind, snapping fabric, creaking wood, distant gulls, footsteps on planks, excited voices, and the rising flap of kites catching air. Cinematic realism, stable motion, expressive atmosphere, detailed textures, vivid color contrast, responsive fast-action scene." \
  width=1280 \
  height=720 \
  duration=6 \
  seed=81429 \
  providerSettings.vidu.audio=true
{
  "taskType": "videoInference",
  "taskUUID": "ac706707-3042-427e-8781-ee91a3705007",
  "model": "vidu:4@2",
  "positivePrompt": "A lively hand-built kite workshop on a grassy cliff above a churning sea at golden afternoon, rows of bright paper kites hanging from wooden lines, a craftsperson in an indigo apron testing bamboo frames while two children run nearby with ribbon tails streaming in the strong wind. Camera starts with a medium-wide view and gently pushes forward as gusts ripple canvas awnings, loose sketches flutter across a worktable, and dozens of kites tug and sway overhead. A large octopus-shaped kite lifts suddenly into the air, drawing cheers and laughter. Natural synchronized audio: constant coastal wind, snapping fabric, creaking wood, distant gulls, footsteps on planks, excited voices, and the rising flap of kites catching air. Cinematic realism, stable motion, expressive atmosphere, detailed textures, vivid color contrast, responsive fast-action scene.",
  "width": 1280,
  "height": 720,
  "duration": 6,
  "seed": 81429,
  "providerSettings": {
    "vidu": {
      "audio": true
    }
  }
}
Response
{
  "taskType": "videoInference",
  "taskUUID": "ac706707-3042-427e-8781-ee91a3705007",
  "videoUUID": "172073a6-37fd-46bc-871a-0ea26971b1b8",
  "videoURL": "https://vm.runware.ai/video/os/a14d18/ws/5/vi/172073a6-37fd-46bc-871a-0ea26971b1b8.mp4",
  "seed": 81429,
  "cost": 0.234
}
Image to Video

Windblown Cliffside Violin Solo

import { createClient } from '@runware/sdk'

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

const [result] = await client.run({
  model: 'vidu:4@2',
  positivePrompt: 'Animate the supplied first-frame image into a dynamic cinematic shot: the violinist draws the bow with expressive arm motion, coat and scarf flutter continuously in the coastal wind, strands of hair move naturally, grass and wildflowers sway in layered gusts, distant waves roll and break against the rocks below, a few seabirds cross the horizon, subtle handheld camera drift with a gentle push-in, realistic motion continuity, synchronized audio of solo violin with airy coastal wind and surf ambience, emotionally uplifting and expansive mood',
  width: 1280,
  height: 720,
  duration: 5,
  seed: 8759,
  providerSettings: {
    vidu: {
      audio: true
    }
  },
  inputs: {
    frameImages: [
      {
        image: 'https://assets.runware.ai/assets/inputs/1a211b79-6f80-4696-9b4f-1bc68f9e50c6.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": "vidu:4@2",
            "positivePrompt": "Animate the supplied first-frame image into a dynamic cinematic shot: the violinist draws the bow with expressive arm motion, coat and scarf flutter continuously in the coastal wind, strands of hair move naturally, grass and wildflowers sway in layered gusts, distant waves roll and break against the rocks below, a few seabirds cross the horizon, subtle handheld camera drift with a gentle push-in, realistic motion continuity, synchronized audio of solo violin with airy coastal wind and surf ambience, emotionally uplifting and expansive mood",
            "width": 1280,
            "height": 720,
            "duration": 5,
            "seed": 8759,
            "providerSettings": {
                "vidu": {
                    "audio": True
                }
            },
            "inputs": {
                "frameImages": [
                    {
                        "image": "https://assets.runware.ai/assets/inputs/1a211b79-6f80-4696-9b4f-1bc68f9e50c6.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": "59ab7bed-d47a-45ae-ba55-91d5f0039821",
      "model": "vidu:4@2",
      "positivePrompt": "Animate the supplied first-frame image into a dynamic cinematic shot: the violinist draws the bow with expressive arm motion, coat and scarf flutter continuously in the coastal wind, strands of hair move naturally, grass and wildflowers sway in layered gusts, distant waves roll and break against the rocks below, a few seabirds cross the horizon, subtle handheld camera drift with a gentle push-in, realistic motion continuity, synchronized audio of solo violin with airy coastal wind and surf ambience, emotionally uplifting and expansive mood",
      "width": 1280,
      "height": 720,
      "duration": 5,
      "seed": 8759,
      "providerSettings": {
        "vidu": {
          "audio": true
        }
      },
      "inputs": {
        "frameImages": [
          {
            "image": "https://assets.runware.ai/assets/inputs/1a211b79-6f80-4696-9b4f-1bc68f9e50c6.jpg",
            "frame": "first"
          }
        ]
      }
    }
  ]'
runware run vidu:4@2 \
  positivePrompt="Animate the supplied first-frame image into a dynamic cinematic shot: the violinist draws the bow with expressive arm motion, coat and scarf flutter continuously in the coastal wind, strands of hair move naturally, grass and wildflowers sway in layered gusts, distant waves roll and break against the rocks below, a few seabirds cross the horizon, subtle handheld camera drift with a gentle push-in, realistic motion continuity, synchronized audio of solo violin with airy coastal wind and surf ambience, emotionally uplifting and expansive mood" \
  width=1280 \
  height=720 \
  duration=5 \
  seed=8759 \
  providerSettings.vidu.audio=true \
  inputs.frameImages.0.image=https://assets.runware.ai/assets/inputs/1a211b79-6f80-4696-9b4f-1bc68f9e50c6.jpg \
  inputs.frameImages.0.frame=first
{
  "taskType": "videoInference",
  "taskUUID": "59ab7bed-d47a-45ae-ba55-91d5f0039821",
  "model": "vidu:4@2",
  "positivePrompt": "Animate the supplied first-frame image into a dynamic cinematic shot: the violinist draws the bow with expressive arm motion, coat and scarf flutter continuously in the coastal wind, strands of hair move naturally, grass and wildflowers sway in layered gusts, distant waves roll and break against the rocks below, a few seabirds cross the horizon, subtle handheld camera drift with a gentle push-in, realistic motion continuity, synchronized audio of solo violin with airy coastal wind and surf ambience, emotionally uplifting and expansive mood",
  "width": 1280,
  "height": 720,
  "duration": 5,
  "seed": 8759,
  "providerSettings": {
    "vidu": {
      "audio": true
    }
  },
  "inputs": {
    "frameImages": [
      {
        "image": "https://assets.runware.ai/assets/inputs/1a211b79-6f80-4696-9b4f-1bc68f9e50c6.jpg",
        "frame": "first"
      }
    ]
  }
}
Response
{
  "taskType": "videoInference",
  "taskUUID": "59ab7bed-d47a-45ae-ba55-91d5f0039821",
  "videoUUID": "915ee78e-e759-4d8e-8344-dc74571dfaf3",
  "videoURL": "https://vm.runware.ai/video/os/a15d18/ws/5/vi/915ee78e-e759-4d8e-8344-dc74571dfaf3.mp4",
  "seed": 8759,
  "cost": 0.195
}
Image to Video

Windy Cliffside Violin Recital

import { createClient } from '@runware/sdk'

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

const [result] = await client.run({
  model: 'vidu:4@2',
  positivePrompt: 'Animate the single frame into a cinematic scene: the violinist draws the bow with expressive but natural movement, coat and hair whipping in strong coastal wind, grass bending in gusts, loose paper trembling at the feet, distant waves crashing against rocks below, seabirds circling far overhead, subtle camera drift forward, realistic lighting, coherent anatomy, grounded motion, synchronized audio of solo violin performance mixed with wind and surf',
  width: 1280,
  height: 720,
  duration: 5,
  seed: 12846,
  providerSettings: {
    vidu: {
      audio: true
    }
  },
  inputs: {
    frameImages: [
      {
        image: 'https://assets.runware.ai/assets/inputs/0c1db1bb-e2cd-40ab-9625-f9a2a6b7b467.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": "vidu:4@2",
            "positivePrompt": "Animate the single frame into a cinematic scene: the violinist draws the bow with expressive but natural movement, coat and hair whipping in strong coastal wind, grass bending in gusts, loose paper trembling at the feet, distant waves crashing against rocks below, seabirds circling far overhead, subtle camera drift forward, realistic lighting, coherent anatomy, grounded motion, synchronized audio of solo violin performance mixed with wind and surf",
            "width": 1280,
            "height": 720,
            "duration": 5,
            "seed": 12846,
            "providerSettings": {
                "vidu": {
                    "audio": True
                }
            },
            "inputs": {
                "frameImages": [
                    {
                        "image": "https://assets.runware.ai/assets/inputs/0c1db1bb-e2cd-40ab-9625-f9a2a6b7b467.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": "b1a7d04e-3dc4-447b-ae08-53a554b728fb",
      "model": "vidu:4@2",
      "positivePrompt": "Animate the single frame into a cinematic scene: the violinist draws the bow with expressive but natural movement, coat and hair whipping in strong coastal wind, grass bending in gusts, loose paper trembling at the feet, distant waves crashing against rocks below, seabirds circling far overhead, subtle camera drift forward, realistic lighting, coherent anatomy, grounded motion, synchronized audio of solo violin performance mixed with wind and surf",
      "width": 1280,
      "height": 720,
      "duration": 5,
      "seed": 12846,
      "providerSettings": {
        "vidu": {
          "audio": true
        }
      },
      "inputs": {
        "frameImages": [
          {
            "image": "https://assets.runware.ai/assets/inputs/0c1db1bb-e2cd-40ab-9625-f9a2a6b7b467.jpg"
          }
        ]
      }
    }
  ]'
runware run vidu:4@2 \
  positivePrompt="Animate the single frame into a cinematic scene: the violinist draws the bow with expressive but natural movement, coat and hair whipping in strong coastal wind, grass bending in gusts, loose paper trembling at the feet, distant waves crashing against rocks below, seabirds circling far overhead, subtle camera drift forward, realistic lighting, coherent anatomy, grounded motion, synchronized audio of solo violin performance mixed with wind and surf" \
  width=1280 \
  height=720 \
  duration=5 \
  seed=12846 \
  providerSettings.vidu.audio=true \
  inputs.frameImages.0.image=https://assets.runware.ai/assets/inputs/0c1db1bb-e2cd-40ab-9625-f9a2a6b7b467.jpg
{
  "taskType": "videoInference",
  "taskUUID": "b1a7d04e-3dc4-447b-ae08-53a554b728fb",
  "model": "vidu:4@2",
  "positivePrompt": "Animate the single frame into a cinematic scene: the violinist draws the bow with expressive but natural movement, coat and hair whipping in strong coastal wind, grass bending in gusts, loose paper trembling at the feet, distant waves crashing against rocks below, seabirds circling far overhead, subtle camera drift forward, realistic lighting, coherent anatomy, grounded motion, synchronized audio of solo violin performance mixed with wind and surf",
  "width": 1280,
  "height": 720,
  "duration": 5,
  "seed": 12846,
  "providerSettings": {
    "vidu": {
      "audio": true
    }
  },
  "inputs": {
    "frameImages": [
      {
        "image": "https://assets.runware.ai/assets/inputs/0c1db1bb-e2cd-40ab-9625-f9a2a6b7b467.jpg"
      }
    ]
  }
}
Response
{
  "taskType": "videoInference",
  "taskUUID": "b1a7d04e-3dc4-447b-ae08-53a554b728fb",
  "videoUUID": "e9d0715a-8f26-4b11-af56-b7e8ae010f24",
  "videoURL": "https://vm.runware.ai/video/os/a24d12/ws/5/vi/e9d0715a-8f26-4b11-af56-b7e8ae010f24.mp4",
  "seed": 12846,
  "cost": 0.195
}