coming-soon
MODEL IDsandai:magi@2

MAGI-2

Sand AI
by

MAGI-2 is Sand AI's flagship video model, generating 1080p clips of 4 to 30 seconds with synchronized audio, including dialogue with lip sync, sound effects, ambience and music, in a single pass. It starts from a text prompt, from a first frame with an optional last frame, or from up to 10 reference images, 5 reference videos and 5 reference audio clips, in six aspect ratios from 21:9 to 9:16. It suits dialogue scenes, narrative shots and reference-driven work that needs consistent subjects and sound in one generation.

MAGI-2

text-to-video

Pneumatic Mail Documentary Teaser$0.40~1m 44s
Try in Playground
import { createClient } from '@runware/sdk'

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

const [result] = await client.run({
  model: 'sandai:magi@2',
  positivePrompt: 'Create a cinematic teaser for a postal museum documentary about the city\'s former pneumatic mail network. One continuous shot inside a restored underground sorting room. In the opening ultrawide composition, a row of cream enamel receiving stations recedes to the left; on the right, a brass delivery mouth hangs just above a shallow steel catch tray lined with worn plum felt. Warm bench light grazes the brass against cool lilac tile and deep shadows. Keep the room empty and the machinery still. Track slowly sideways along the bench until the delivery mouth and tray come into profile, both fully visible in the same frame. As the camera settles, a single brass mail capsule with a dark felt collar shoots out, strikes the tray\'s exposed steel lip, and rolls back onto the felt. Sync a short rush of air to the instant the capsule clears the mouth, one sharp metallic clack to visible contact with the lip, and a soft fabric scrape to the final roll. Let the clack echo briefly down the tiled room. Hold on the capsule at rest for a beat, then cut to black. No music, narration, or lettering.',
  width: 2206,
  height: 946
})
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": "sandai:magi@2",
            "positivePrompt": "Create a cinematic teaser for a postal museum documentary about the city's former pneumatic mail network. One continuous shot inside a restored underground sorting room. In the opening ultrawide composition, a row of cream enamel receiving stations recedes to the left; on the right, a brass delivery mouth hangs just above a shallow steel catch tray lined with worn plum felt. Warm bench light grazes the brass against cool lilac tile and deep shadows. Keep the room empty and the machinery still. Track slowly sideways along the bench until the delivery mouth and tray come into profile, both fully visible in the same frame. As the camera settles, a single brass mail capsule with a dark felt collar shoots out, strikes the tray's exposed steel lip, and rolls back onto the felt. Sync a short rush of air to the instant the capsule clears the mouth, one sharp metallic clack to visible contact with the lip, and a soft fabric scrape to the final roll. Let the clack echo briefly down the tiled room. Hold on the capsule at rest for a beat, then cut to black. No music, narration, or lettering.",
            "width": 2206,
            "height": 946
        })


asyncio.run(main())
curl https://api.runware.ai/v1 \
  -H "Authorization: Bearer $RUNWARE_API_KEY" \
  -H "Content-Type: application/json" \
  -d '[
    {
      "taskType": "videoInference",
      "taskUUID": "eebadd5b-5d1c-4fb1-8927-ae60f85b7af4",
      "model": "sandai:magi@2",
      "positivePrompt": "Create a cinematic teaser for a postal museum documentary about the city's former pneumatic mail network. One continuous shot inside a restored underground sorting room. In the opening ultrawide composition, a row of cream enamel receiving stations recedes to the left; on the right, a brass delivery mouth hangs just above a shallow steel catch tray lined with worn plum felt. Warm bench light grazes the brass against cool lilac tile and deep shadows. Keep the room empty and the machinery still. Track slowly sideways along the bench until the delivery mouth and tray come into profile, both fully visible in the same frame. As the camera settles, a single brass mail capsule with a dark felt collar shoots out, strikes the tray's exposed steel lip, and rolls back onto the felt. Sync a short rush of air to the instant the capsule clears the mouth, one sharp metallic clack to visible contact with the lip, and a soft fabric scrape to the final roll. Let the clack echo briefly down the tiled room. Hold on the capsule at rest for a beat, then cut to black. No music, narration, or lettering.",
      "width": 2206,
      "height": 946
    }
  ]'
runware run sandai:magi@2 \
  positivePrompt="Create a cinematic teaser for a postal museum documentary about the city's former pneumatic mail network. One continuous shot inside a restored underground sorting room. In the opening ultrawide composition, a row of cream enamel receiving stations recedes to the left; on the right, a brass delivery mouth hangs just above a shallow steel catch tray lined with worn plum felt. Warm bench light grazes the brass against cool lilac tile and deep shadows. Keep the room empty and the machinery still. Track slowly sideways along the bench until the delivery mouth and tray come into profile, both fully visible in the same frame. As the camera settles, a single brass mail capsule with a dark felt collar shoots out, strikes the tray's exposed steel lip, and rolls back onto the felt. Sync a short rush of air to the instant the capsule clears the mouth, one sharp metallic clack to visible contact with the lip, and a soft fabric scrape to the final roll. Let the clack echo briefly down the tiled room. Hold on the capsule at rest for a beat, then cut to black. No music, narration, or lettering." \
  width=2206 \
  height=946
{
  "taskType": "videoInference",
  "taskUUID": "eebadd5b-5d1c-4fb1-8927-ae60f85b7af4",
  "model": "sandai:magi@2",
  "positivePrompt": "Create a cinematic teaser for a postal museum documentary about the city's former pneumatic mail network. One continuous shot inside a restored underground sorting room. In the opening ultrawide composition, a row of cream enamel receiving stations recedes to the left; on the right, a brass delivery mouth hangs just above a shallow steel catch tray lined with worn plum felt. Warm bench light grazes the brass against cool lilac tile and deep shadows. Keep the room empty and the machinery still. Track slowly sideways along the bench until the delivery mouth and tray come into profile, both fully visible in the same frame. As the camera settles, a single brass mail capsule with a dark felt collar shoots out, strikes the tray's exposed steel lip, and rolls back onto the felt. Sync a short rush of air to the instant the capsule clears the mouth, one sharp metallic clack to visible contact with the lip, and a soft fabric scrape to the final roll. Let the clack echo briefly down the tiled room. Hold on the capsule at rest for a beat, then cut to black. No music, narration, or lettering.",
  "width": 2206,
  "height": 946
}
Response
{
  "taskType": "videoInference",
  "taskUUID": "eebadd5b-5d1c-4fb1-8927-ae60f85b7af4",
  "videoUUID": "ccbcd255-a02b-47b5-8ac9-39ac61a363d3",
  "videoURL": "https://vm.runware.ai/video/os/a01d21/ws/5/vi/ccbcd255-a02b-47b5-8ac9-39ac61a363d3.mp4",
  "seed": 627885214,
  "cost": 0.4
}

first-frame

Piano Tuning Service Reel$0.40~1m 59s
Try in Playground
import { createClient } from '@runware/sdk'

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

const [result] = await client.run({
  model: 'sandai:magi@2',
  positivePrompt: 'Create a vertical Instagram Reel for a local piano tuning service. Continue directly from the supplied first frame in one unbroken shot. Keep the same technician, hand positions, open walnut upright, apartment and lavender window light. The hovering index finger presses the white key. Sync the key strike to a single midrange piano note with an unmistakable wavering beat, like two pitches almost agreeing. As the note rings, the technician gives the tuning lever a tiny, controlled turn; the pulsing slows until the tone steadies. The technician releases and strikes the same key again. Let that clean note ring long enough for the contrast to land. A slow, subtle camera creep brings the hands closer without losing either the lever or the key. Over the decay, add a warm off-camera voice: "Book an in-home piano tuning." Keep the piano louder than the room tone, with no music bed, added text, graphics or end card.',
  width: 1080,
  height: 1920,
  inputs: {
    frameImages: [
      {
        image: 'https://assets.runware.ai/assets/inputs/3056d198-1f7a-4055-9c2a-faa3b9db7353.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": "sandai:magi@2",
            "positivePrompt": "Create a vertical Instagram Reel for a local piano tuning service. Continue directly from the supplied first frame in one unbroken shot. Keep the same technician, hand positions, open walnut upright, apartment and lavender window light. The hovering index finger presses the white key. Sync the key strike to a single midrange piano note with an unmistakable wavering beat, like two pitches almost agreeing. As the note rings, the technician gives the tuning lever a tiny, controlled turn; the pulsing slows until the tone steadies. The technician releases and strikes the same key again. Let that clean note ring long enough for the contrast to land. A slow, subtle camera creep brings the hands closer without losing either the lever or the key. Over the decay, add a warm off-camera voice: \"Book an in-home piano tuning.\" Keep the piano louder than the room tone, with no music bed, added text, graphics or end card.",
            "width": 1080,
            "height": 1920,
            "inputs": {
                "frameImages": [
                    {
                        "image": "https://assets.runware.ai/assets/inputs/3056d198-1f7a-4055-9c2a-faa3b9db7353.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": "2dd7a911-59d9-41f8-81f4-80b6115171ad",
      "model": "sandai:magi@2",
      "positivePrompt": "Create a vertical Instagram Reel for a local piano tuning service. Continue directly from the supplied first frame in one unbroken shot. Keep the same technician, hand positions, open walnut upright, apartment and lavender window light. The hovering index finger presses the white key. Sync the key strike to a single midrange piano note with an unmistakable wavering beat, like two pitches almost agreeing. As the note rings, the technician gives the tuning lever a tiny, controlled turn; the pulsing slows until the tone steadies. The technician releases and strikes the same key again. Let that clean note ring long enough for the contrast to land. A slow, subtle camera creep brings the hands closer without losing either the lever or the key. Over the decay, add a warm off-camera voice: \"Book an in-home piano tuning.\" Keep the piano louder than the room tone, with no music bed, added text, graphics or end card.",
      "width": 1080,
      "height": 1920,
      "inputs": {
        "frameImages": [
          {
            "image": "https://assets.runware.ai/assets/inputs/3056d198-1f7a-4055-9c2a-faa3b9db7353.jpg",
            "frame": "first"
          }
        ]
      }
    }
  ]'
runware run sandai:magi@2 \
  positivePrompt="Create a vertical Instagram Reel for a local piano tuning service. Continue directly from the supplied first frame in one unbroken shot. Keep the same technician, hand positions, open walnut upright, apartment and lavender window light. The hovering index finger presses the white key. Sync the key strike to a single midrange piano note with an unmistakable wavering beat, like two pitches almost agreeing. As the note rings, the technician gives the tuning lever a tiny, controlled turn; the pulsing slows until the tone steadies. The technician releases and strikes the same key again. Let that clean note ring long enough for the contrast to land. A slow, subtle camera creep brings the hands closer without losing either the lever or the key. Over the decay, add a warm off-camera voice: \"Book an in-home piano tuning.\" Keep the piano louder than the room tone, with no music bed, added text, graphics or end card." \
  width=1080 \
  height=1920 \
  inputs.frameImages.0.image=https://assets.runware.ai/assets/inputs/3056d198-1f7a-4055-9c2a-faa3b9db7353.jpg \
  inputs.frameImages.0.frame=first
{
  "taskType": "videoInference",
  "taskUUID": "2dd7a911-59d9-41f8-81f4-80b6115171ad",
  "model": "sandai:magi@2",
  "positivePrompt": "Create a vertical Instagram Reel for a local piano tuning service. Continue directly from the supplied first frame in one unbroken shot. Keep the same technician, hand positions, open walnut upright, apartment and lavender window light. The hovering index finger presses the white key. Sync the key strike to a single midrange piano note with an unmistakable wavering beat, like two pitches almost agreeing. As the note rings, the technician gives the tuning lever a tiny, controlled turn; the pulsing slows until the tone steadies. The technician releases and strikes the same key again. Let that clean note ring long enough for the contrast to land. A slow, subtle camera creep brings the hands closer without losing either the lever or the key. Over the decay, add a warm off-camera voice: \"Book an in-home piano tuning.\" Keep the piano louder than the room tone, with no music bed, added text, graphics or end card.",
  "width": 1080,
  "height": 1920,
  "inputs": {
    "frameImages": [
      {
        "image": "https://assets.runware.ai/assets/inputs/3056d198-1f7a-4055-9c2a-faa3b9db7353.jpg",
        "frame": "first"
      }
    ]
  }
}
Response
{
  "taskType": "videoInference",
  "taskUUID": "2dd7a911-59d9-41f8-81f4-80b6115171ad",
  "videoUUID": "dfc75052-8b58-4281-b6ee-21f4226a9b4e",
  "videoURL": "https://vm.runware.ai/video/os/a03d21/ws/5/vi/dfc75052-8b58-4281-b6ee-21f4226a9b4e.mp4",
  "seed": 73399041,
  "cost": 0.4
}

first-last-frame

Backstage Thunder Documentary Teaser$0.40~5m 3s
Try in Playground
import { createClient } from '@runware/sdk'

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

const [result] = await client.run({
  model: 'sandai:magi@2',
  positivePrompt: 'Create a cinematic festival teaser for a short documentary about handmade theater sound effects. Connect the supplied first and last frames in one continuous, locked-off take. Start with the technician\'s right hand resting at the corner of the flat steel thunder sheet. Give the room a quiet beat. She draws that corner toward her and lets it spring back in one practiced flick. A broad buckle travels up the steel, breaking the straight reflection into a bright, writhing line. The top stays attached to the rig. Let the oscillation diminish naturally as she leans in and lays both palms against the lower half of the sheet, arriving at the closing frame. Hold on her listening profile. Keep the camera, stage rig and curtain fixed throughout; no cuts or reframing. Sound is the reveal: close cloth rustle and quiet theater room tone, then a sharp metallic snap at the release that blooms into rolling thunder in the space. The metallic rattle stops when her palms make contact, leaving only a short room tail. No music, dialogue, literal storm imagery or on-screen text.',
  width: 1920,
  height: 1080,
  inputs: {
    frameImages: [
      {
        image: 'https://assets.runware.ai/assets/inputs/b128fd9c-3a8b-4743-bda5-b36c89d90fe8.jpg',
        frame: 'first'
      },
      {
        image: 'https://assets.runware.ai/assets/inputs/dcad3ae0-f12c-43f6-aa0d-562d59b4a6c8.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": "sandai:magi@2",
            "positivePrompt": "Create a cinematic festival teaser for a short documentary about handmade theater sound effects. Connect the supplied first and last frames in one continuous, locked-off take. Start with the technician's right hand resting at the corner of the flat steel thunder sheet. Give the room a quiet beat. She draws that corner toward her and lets it spring back in one practiced flick. A broad buckle travels up the steel, breaking the straight reflection into a bright, writhing line. The top stays attached to the rig. Let the oscillation diminish naturally as she leans in and lays both palms against the lower half of the sheet, arriving at the closing frame. Hold on her listening profile. Keep the camera, stage rig and curtain fixed throughout; no cuts or reframing. Sound is the reveal: close cloth rustle and quiet theater room tone, then a sharp metallic snap at the release that blooms into rolling thunder in the space. The metallic rattle stops when her palms make contact, leaving only a short room tail. No music, dialogue, literal storm imagery or on-screen text.",
            "width": 1920,
            "height": 1080,
            "inputs": {
                "frameImages": [
                    {
                        "image": "https://assets.runware.ai/assets/inputs/b128fd9c-3a8b-4743-bda5-b36c89d90fe8.jpg",
                        "frame": "first"
                    },
                    {
                        "image": "https://assets.runware.ai/assets/inputs/dcad3ae0-f12c-43f6-aa0d-562d59b4a6c8.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": "6257b9c8-ce5c-46da-808f-ed8b7201df81",
      "model": "sandai:magi@2",
      "positivePrompt": "Create a cinematic festival teaser for a short documentary about handmade theater sound effects. Connect the supplied first and last frames in one continuous, locked-off take. Start with the technician's right hand resting at the corner of the flat steel thunder sheet. Give the room a quiet beat. She draws that corner toward her and lets it spring back in one practiced flick. A broad buckle travels up the steel, breaking the straight reflection into a bright, writhing line. The top stays attached to the rig. Let the oscillation diminish naturally as she leans in and lays both palms against the lower half of the sheet, arriving at the closing frame. Hold on her listening profile. Keep the camera, stage rig and curtain fixed throughout; no cuts or reframing. Sound is the reveal: close cloth rustle and quiet theater room tone, then a sharp metallic snap at the release that blooms into rolling thunder in the space. The metallic rattle stops when her palms make contact, leaving only a short room tail. No music, dialogue, literal storm imagery or on-screen text.",
      "width": 1920,
      "height": 1080,
      "inputs": {
        "frameImages": [
          {
            "image": "https://assets.runware.ai/assets/inputs/b128fd9c-3a8b-4743-bda5-b36c89d90fe8.jpg",
            "frame": "first"
          },
          {
            "image": "https://assets.runware.ai/assets/inputs/dcad3ae0-f12c-43f6-aa0d-562d59b4a6c8.jpg",
            "frame": "last"
          }
        ]
      }
    }
  ]'
runware run sandai:magi@2 \
  positivePrompt="Create a cinematic festival teaser for a short documentary about handmade theater sound effects. Connect the supplied first and last frames in one continuous, locked-off take. Start with the technician's right hand resting at the corner of the flat steel thunder sheet. Give the room a quiet beat. She draws that corner toward her and lets it spring back in one practiced flick. A broad buckle travels up the steel, breaking the straight reflection into a bright, writhing line. The top stays attached to the rig. Let the oscillation diminish naturally as she leans in and lays both palms against the lower half of the sheet, arriving at the closing frame. Hold on her listening profile. Keep the camera, stage rig and curtain fixed throughout; no cuts or reframing. Sound is the reveal: close cloth rustle and quiet theater room tone, then a sharp metallic snap at the release that blooms into rolling thunder in the space. The metallic rattle stops when her palms make contact, leaving only a short room tail. No music, dialogue, literal storm imagery or on-screen text." \
  width=1920 \
  height=1080 \
  inputs.frameImages.0.image=https://assets.runware.ai/assets/inputs/b128fd9c-3a8b-4743-bda5-b36c89d90fe8.jpg \
  inputs.frameImages.0.frame=first \
  inputs.frameImages.1.image=https://assets.runware.ai/assets/inputs/dcad3ae0-f12c-43f6-aa0d-562d59b4a6c8.jpg \
  inputs.frameImages.1.frame=last
{
  "taskType": "videoInference",
  "taskUUID": "6257b9c8-ce5c-46da-808f-ed8b7201df81",
  "model": "sandai:magi@2",
  "positivePrompt": "Create a cinematic festival teaser for a short documentary about handmade theater sound effects. Connect the supplied first and last frames in one continuous, locked-off take. Start with the technician's right hand resting at the corner of the flat steel thunder sheet. Give the room a quiet beat. She draws that corner toward her and lets it spring back in one practiced flick. A broad buckle travels up the steel, breaking the straight reflection into a bright, writhing line. The top stays attached to the rig. Let the oscillation diminish naturally as she leans in and lays both palms against the lower half of the sheet, arriving at the closing frame. Hold on her listening profile. Keep the camera, stage rig and curtain fixed throughout; no cuts or reframing. Sound is the reveal: close cloth rustle and quiet theater room tone, then a sharp metallic snap at the release that blooms into rolling thunder in the space. The metallic rattle stops when her palms make contact, leaving only a short room tail. No music, dialogue, literal storm imagery or on-screen text.",
  "width": 1920,
  "height": 1080,
  "inputs": {
    "frameImages": [
      {
        "image": "https://assets.runware.ai/assets/inputs/b128fd9c-3a8b-4743-bda5-b36c89d90fe8.jpg",
        "frame": "first"
      },
      {
        "image": "https://assets.runware.ai/assets/inputs/dcad3ae0-f12c-43f6-aa0d-562d59b4a6c8.jpg",
        "frame": "last"
      }
    ]
  }
}
Response
{
  "taskType": "videoInference",
  "taskUUID": "6257b9c8-ce5c-46da-808f-ed8b7201df81",
  "videoUUID": "51621d4a-9e4d-49cb-9b76-20f7d19c9214",
  "videoURL": "https://vm.runware.ai/video/os/a09dlim3/ws/5/vi/51621d4a-9e4d-49cb-9b76-20f7d19c9214.mp4",
  "seed": 685480139,
  "cost": 0.4
}

reference-to-video

Bookbinder’s Paper Marbling B-Roll$0.40~3m 31s
Try in Playground
import { createClient } from '@runware/sdk'

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

const [result] = await client.run({
  model: 'sandai:magi@2',
  positivePrompt: 'Create a single square stock b-roll shot of a bookbinder combing floating pigment for handmade endpapers. Take the comb’s appearance from Image 1: the same dark walnut bar, rounded ends, and row of fine steel pins. Use Video 1 only as the motion reference for the steady, straight pull with the pin tips just under the liquid surface. Score the clip with the instrumental music from Audio 1, without speech. Set this new scene at a bookbinder’s bench: a shallow charcoal enamel tray of marbling bath, with loose bands of oxblood, slate gray, and warm ivory pigment floating on top. Frame straight down, tight enough for the pigment to fill the square, with a sliver of enamel rim at each side. Diffuse light from the left keeps the colors matte and gives the pins a fine glint. Start with the comb poised across the upper part of the tray, held by fingertips at the ends. In one unbroken pass, draw it toward the bottom of the frame. Show the pigment ahead of the teeth staying loose while crisp, repeating scallops form directly behind them. Keep the camera locked and hold on the finished pattern briefly. No titles, logos, or cuts.',
  width: 1440,
  height: 1440,
  inputs: {
    referenceImages: [
      'https://assets.runware.ai/assets/inputs/3de03ea5-781b-4069-8ef3-ce083b2d7a2e.jpg'
    ],
    referenceVideos: [
      'https://assets.runware.ai/assets/inputs/73c46266-96a8-4cfa-b9a7-5e695a5e8cbb.mp4'
    ],
    referenceAudios: [
      'https://assets.runware.ai/assets/inputs/f718806b-297d-4769-9b14-14a896ea4db7.mp3'
    ]
  }
})
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": "sandai:magi@2",
            "positivePrompt": "Create a single square stock b-roll shot of a bookbinder combing floating pigment for handmade endpapers. Take the comb’s appearance from Image 1: the same dark walnut bar, rounded ends, and row of fine steel pins. Use Video 1 only as the motion reference for the steady, straight pull with the pin tips just under the liquid surface. Score the clip with the instrumental music from Audio 1, without speech. Set this new scene at a bookbinder’s bench: a shallow charcoal enamel tray of marbling bath, with loose bands of oxblood, slate gray, and warm ivory pigment floating on top. Frame straight down, tight enough for the pigment to fill the square, with a sliver of enamel rim at each side. Diffuse light from the left keeps the colors matte and gives the pins a fine glint. Start with the comb poised across the upper part of the tray, held by fingertips at the ends. In one unbroken pass, draw it toward the bottom of the frame. Show the pigment ahead of the teeth staying loose while crisp, repeating scallops form directly behind them. Keep the camera locked and hold on the finished pattern briefly. No titles, logos, or cuts.",
            "width": 1440,
            "height": 1440,
            "inputs": {
                "referenceImages": [
                    "https://assets.runware.ai/assets/inputs/3de03ea5-781b-4069-8ef3-ce083b2d7a2e.jpg"
                ],
                "referenceVideos": [
                    "https://assets.runware.ai/assets/inputs/73c46266-96a8-4cfa-b9a7-5e695a5e8cbb.mp4"
                ],
                "referenceAudios": [
                    "https://assets.runware.ai/assets/inputs/f718806b-297d-4769-9b14-14a896ea4db7.mp3"
                ]
            }
        })


asyncio.run(main())
curl https://api.runware.ai/v1 \
  -H "Authorization: Bearer $RUNWARE_API_KEY" \
  -H "Content-Type: application/json" \
  -d '[
    {
      "taskType": "videoInference",
      "taskUUID": "893274f7-ba29-4dc0-86b2-c3c36198e80a",
      "model": "sandai:magi@2",
      "positivePrompt": "Create a single square stock b-roll shot of a bookbinder combing floating pigment for handmade endpapers. Take the comb’s appearance from Image 1: the same dark walnut bar, rounded ends, and row of fine steel pins. Use Video 1 only as the motion reference for the steady, straight pull with the pin tips just under the liquid surface. Score the clip with the instrumental music from Audio 1, without speech. Set this new scene at a bookbinder’s bench: a shallow charcoal enamel tray of marbling bath, with loose bands of oxblood, slate gray, and warm ivory pigment floating on top. Frame straight down, tight enough for the pigment to fill the square, with a sliver of enamel rim at each side. Diffuse light from the left keeps the colors matte and gives the pins a fine glint. Start with the comb poised across the upper part of the tray, held by fingertips at the ends. In one unbroken pass, draw it toward the bottom of the frame. Show the pigment ahead of the teeth staying loose while crisp, repeating scallops form directly behind them. Keep the camera locked and hold on the finished pattern briefly. No titles, logos, or cuts.",
      "width": 1440,
      "height": 1440,
      "inputs": {
        "referenceImages": [
          "https://assets.runware.ai/assets/inputs/3de03ea5-781b-4069-8ef3-ce083b2d7a2e.jpg"
        ],
        "referenceVideos": [
          "https://assets.runware.ai/assets/inputs/73c46266-96a8-4cfa-b9a7-5e695a5e8cbb.mp4"
        ],
        "referenceAudios": [
          "https://assets.runware.ai/assets/inputs/f718806b-297d-4769-9b14-14a896ea4db7.mp3"
        ]
      }
    }
  ]'
runware run sandai:magi@2 \
  positivePrompt="Create a single square stock b-roll shot of a bookbinder combing floating pigment for handmade endpapers. Take the comb’s appearance from Image 1: the same dark walnut bar, rounded ends, and row of fine steel pins. Use Video 1 only as the motion reference for the steady, straight pull with the pin tips just under the liquid surface. Score the clip with the instrumental music from Audio 1, without speech. Set this new scene at a bookbinder’s bench: a shallow charcoal enamel tray of marbling bath, with loose bands of oxblood, slate gray, and warm ivory pigment floating on top. Frame straight down, tight enough for the pigment to fill the square, with a sliver of enamel rim at each side. Diffuse light from the left keeps the colors matte and gives the pins a fine glint. Start with the comb poised across the upper part of the tray, held by fingertips at the ends. In one unbroken pass, draw it toward the bottom of the frame. Show the pigment ahead of the teeth staying loose while crisp, repeating scallops form directly behind them. Keep the camera locked and hold on the finished pattern briefly. No titles, logos, or cuts." \
  width=1440 \
  height=1440 \
  inputs.referenceImages.0=https://assets.runware.ai/assets/inputs/3de03ea5-781b-4069-8ef3-ce083b2d7a2e.jpg \
  inputs.referenceVideos.0=https://assets.runware.ai/assets/inputs/73c46266-96a8-4cfa-b9a7-5e695a5e8cbb.mp4 \
  inputs.referenceAudios.0=https://assets.runware.ai/assets/inputs/f718806b-297d-4769-9b14-14a896ea4db7.mp3
{
  "taskType": "videoInference",
  "taskUUID": "893274f7-ba29-4dc0-86b2-c3c36198e80a",
  "model": "sandai:magi@2",
  "positivePrompt": "Create a single square stock b-roll shot of a bookbinder combing floating pigment for handmade endpapers. Take the comb’s appearance from Image 1: the same dark walnut bar, rounded ends, and row of fine steel pins. Use Video 1 only as the motion reference for the steady, straight pull with the pin tips just under the liquid surface. Score the clip with the instrumental music from Audio 1, without speech. Set this new scene at a bookbinder’s bench: a shallow charcoal enamel tray of marbling bath, with loose bands of oxblood, slate gray, and warm ivory pigment floating on top. Frame straight down, tight enough for the pigment to fill the square, with a sliver of enamel rim at each side. Diffuse light from the left keeps the colors matte and gives the pins a fine glint. Start with the comb poised across the upper part of the tray, held by fingertips at the ends. In one unbroken pass, draw it toward the bottom of the frame. Show the pigment ahead of the teeth staying loose while crisp, repeating scallops form directly behind them. Keep the camera locked and hold on the finished pattern briefly. No titles, logos, or cuts.",
  "width": 1440,
  "height": 1440,
  "inputs": {
    "referenceImages": [
      "https://assets.runware.ai/assets/inputs/3de03ea5-781b-4069-8ef3-ce083b2d7a2e.jpg"
    ],
    "referenceVideos": [
      "https://assets.runware.ai/assets/inputs/73c46266-96a8-4cfa-b9a7-5e695a5e8cbb.mp4"
    ],
    "referenceAudios": [
      "https://assets.runware.ai/assets/inputs/f718806b-297d-4769-9b14-14a896ea4db7.mp3"
    ]
  }
}
Response
{
  "taskType": "videoInference",
  "taskUUID": "893274f7-ba29-4dc0-86b2-c3c36198e80a",
  "videoUUID": "dd61ea6b-ef82-4392-966b-27610c9b4ecb",
  "videoURL": "https://vm.runware.ai/video/os/a01d21/ws/5/vi/dd61ea6b-ef82-4392-966b-27610c9b4ecb.mp4",
  "seed": 1916762742,
  "cost": 0.4
}