Skip to content

Sand AI

MAGI-2 Reference to Video

Guide a 1080p scene with reference images, video clips or audio. Numbered references in the prompt identify which character, movement or sound to use.

API pricing · $0.10/requested sec
API model IDsand-ai/magi-2-reference-to-video
Into the Giant Flower WorldSand AI follows the same woman through giant irises, roses and lilies. The author’s board shows the costume and three settings used as references.1920 × 1080 · 30 fpsProvider example

Best for

API reference

Read the model documentation
API model ID
sand-ai/magi-2-reference-to-video
Model developer
Sand AI
Modality
Video
Input
Text prompt · Images
Output
Video
Endpoint
POST /v2/jobs
Workflow
Reference to video
Aspect ratios
16:9 · 9:16 · 1:1 · 4:3 · 3:4 · 21:9
Duration
4–30 seconds

Request parameters

  • promptstring · Required

    Describe the scene, action, camera motion and desired sound.

    Up to 15000 characters

  • durationinteger · Default: 5

    Selected output duration in whole seconds, from 4 to 30. Billing uses this duration.

    • 4
    • 5
    • 6
    • 7
    • 8
    • 9
    • 10
    • 11
    • 12
    • 13
    • 14
    • 15
    • 16
    • 17
    • 18
    • 19
    • 20
    • 21
    • 22
    • 23
    • 24
    • 25
    • 26
    • 27
    • 28
    • 29
    • 30

    4–30

  • aspect_ratiostring · Default: 16:9

    Aspect ratio of the output video.

    • 16:9
    • 9:16
    • 1:1
    • 4:3
    • 3:4
    • 21:9
  • generate_audioboolean · Default: true

    Generate synchronized audio for the video.

  • audiosarray

    Up to five reference audio clips, 2–30 seconds each and up to 30 seconds together. Longer clips may be trimmed.

    Up to 5 items

  • imagesarray

    Up to ten reference images.

    Up to 10 items

  • seedinteger

    Random seed. Omit to let the model select it.

    0–2147483647

  • videosarray

    Up to five reference video clips, 2–30 seconds each and up to 30 seconds together. Longer clips may be trimmed.

    Up to 5 items

Pricing

Billable unit and optionsRate (USD)
Per second of video requested$0.10

Billing notes

  • Request 4 to 30 whole seconds. The default is 5 seconds. Audio is included.

Catalogue rates on 26 Nov 2026. Prices exclude VAT.

View in pricing catalogue