MAGI-2 generates video with sound from written scenes, animates supplied frames, and uses image, video, and audio references to guide subjects and motion.
Model overview
- Model ID
sand-ai/magi-2- Output Type
- Video
- Pricing
- $0.08 / output second
- Provider
- Sand AI
- Hosting
- External
MAGI-2 Text to Video API example
curl -X POST https://api.protoface.com/v1/run/sand-ai/magi-2 \
-H "Authorization: Bearer $PROTOFACE_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"operation": "video.generate",
"duration": 5,
"aspect_ratio": "16:9",
"generate_audio": true,
"prompt": "A bright emerald hummingbird hovers beside one orange flower against a soft cream background. The entire bird stays in the central area of the frame, with generous space around its wings. Gentle natural wing sounds and quiet garden ambience. A steady close-up, bright daylight, no text."
}'Replace example input URLs with your own public URLs or uploaded asset IDs. This request uses the selected mode and settings.
MAGI-2 Animate API example
curl -X POST https://api.protoface.com/v1/run/sand-ai/magi-2 \
-H "Authorization: Bearer $PROTOFACE_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"operation": "video.animate",
"image": "https://example.com/your-image.png",
"prompt": "A red fox resting beside a woodland stream, soft morning light.",
"duration": 5,
"generate_audio": true
}'Replace example input URLs with your own public URLs or uploaded asset IDs. This request uses the selected mode and settings.
MAGI-2 Reference API example
curl -X POST https://api.protoface.com/v1/run/sand-ai/magi-2 \
-H "Authorization: Bearer $PROTOFACE_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"operation": "video.reference",
"prompt": "A red fox resting beside a woodland stream, soft morning light.",
"aspect_ratio": "16:9",
"duration": 5,
"generate_audio": true
}'Replace example input URLs with your own public URLs or uploaded asset IDs. This request uses the selected mode and settings.
Supported modes
Text to Video
Written direction establishes the scene, action, camera treatment, and sound.
video.generateAnimate
An opening image anchors the shot; an optional ending image guides its destination.
video.animateReference
Images, video clips, and audio references guide the appearance, motion, and sound of the generated scene.
video.referenceWhat you can create
Scenes with sound
Develop a written scene into footage with dialogue, effects, and ambience directed by the prompt.
Frame-directed animation
Animate a designed opening composition and use an ending frame to establish the destination of the movement.
Reference-guided sequences
Combine subject images, motion references, and audio context when developing related shots.
Pricing
Image to video
Based on requested output duration.
| Offering | Price (USD) |
|---|---|
| Usage rate | $0.08 / output second |
- Round the total charge up to the next $0.01.
Text to video
Based on requested output duration.
| Offering | Price (USD) |
|---|---|
| Usage rate | $0.08 / output second |
- Round the total charge up to the next $0.01.
Reference to video
Based on requested output duration.
| Offering | Price (USD) |
|---|---|
| Usage rate | $0.08 / output second |
- Round the total charge up to the next $0.01.
Text to Video options
Animate options
Reference options
Run MAGI-2 on Protoface
Use MAGI-2 in Protoface Studio without writing code. Choose your inputs and generation settings, then generate with affordable, usage-based pricing. For your own AI app or workflow, use the Protoface API to submit generations and retrieve their outputs.

About Sand AI
Sand AI develops the MAGI family of video generation models. Its published MAGI research describes autoregressive generation of video segments with text and image conditioning. The family also includes models that combine written direction with visual and audio references for scene creation.
- Video generation
- Autoregressive modeling
- Multimodal references










