🔥 Black Friday AI API deals are live· 🎬 Seedance 2.5 — 20% off, up to 42% below market, until Nov 30Ends in--d --:--:--See deals →

Sand AI Magi 2 Reference-to-Video: Image-to-Video

Run Sand AI Magi 2 Reference-to-Video on Muapi: 1080p video with native audio, 4-30s clips, $0.10 per second via one API. Magi 2 Reference-to-Video generates 1080p video with synchronized audio guided by up to 10 reference images, 5 reference videos and 5 reference audio clips, in 4-30 second clips.

Interactive model controls

Magi 2 Reference-to-Video generates 1080p video with synchronized audio guided by up to 10 reference images, 5 reference videos and 5 reference audio clips, in 4-30 second clips.

📝

Overview

About this model

Magi 2 Reference-to-Video from Sand AI generates 1080p video with synchronized audio guided by up to 10 reference images, 5 reference videos and 5 reference audio clips. Explain in the prompt what each reference contributes; clips run 4 to 30 seconds. Output is delivered as an MP4 you can fetch by polling or webhook, billed at a flat $0.10 per second.

1Character-consistent scenes from reference images
2Reference-guided motion using video clips
3Audio-led concepts using speech or sound references
💰

Pricing & Value

Cost analysis

muapiapp$0.10 per second

Flat per-second pricing for 4-30 second clips, with permanent storage, webhooks and unified credits.

Fal.aiNot available

Magi 2 is not listed.

ReplicateNot available

Magi 2 is not listed.

** Competitor pricing is estimated based on similar model architectures and usage tiers.

⚙️

Technical Details

Configuration schema

Promptstring

Describe the scene, action, camera movement and desired sound. Put dialogue in quotation marks and identify the speaker.

Default ValueThe kitten from @image_1 trots down the snowy lantern-lit street from @image_2, leaving tiny paw prints, snowflakes drifting, soft wind chimes and crunching snow.
Reference Imagesarray

Reference image URLs. Up to 10 images.

Default Valueundefined
Reference Videosarray

Reference video URLs. Up to 5 clips, 2-30 seconds each and 30 seconds combined; longer clips are trimmed.

Default Valueundefined
Reference Audioarray

Reference audio URLs. Up to 5 clips, 2-30 seconds each and 30 seconds combined; longer clips are trimmed.

Default Valueundefined
Aspect RatioEnum (6 options)

Aspect ratio of the generated video.

Default Value16:9
Durationint

Video duration in whole seconds (4-30). Price is $0.10 per second.

Default Value5
Generate Audioboolean

Generate synchronized audio (dialogue, sound effects, music). Does not change the price.

Default Valuetrue
Seedint

Random seed (0-2147483647). Leave empty for a random seed.

Default Value-
📖

Implementation Guide

Developer documentation

How to Use Magi 2 Reference-to-Video

  1. Prepare inputs: write a prompt describing the scene and the role of each reference, then supply images_list, videos_list and/or audios_list.
  2. Set parameters: choose aspect_ratio, duration (4-30 seconds) and generate_audio.
  3. Submit: POST to /api/v1/magi-2-reference-to-video with your x-api-key, then poll /api/v1/predictions/{request_id}/result or pass a webhook URL.
curl -X POST https://api.muapi.ai/api/v1/magi-2-reference-to-video \
  -H "x-api-key: $MUAPI_KEY" -H "Content-Type: application/json" \
  -d '{"prompt": "The kitten from @image_1 trots down the snowy street from @image_2, soft wind chimes.", "images_list": ["https://example.com/kitten.jpg", "https://example.com/street.jpg"], "duration": 8}'
  1. Collect the result: the finished video URL is returned in outputs.
❓

Common Questions

Frequently asked

What is Magi 2 Reference-to-Video?

Magi 2 Reference-to-Video from Sand AI generates 1080p video with synchronized audio guided by up to 10 reference images, 5 reference videos and 5 reference audio clips. Explain in the prompt what each reference contributes; clips run 4 to 30 seconds. Output is delivered as an MP4 you can fetch by polling or webhook, billed at a flat $0.10 per second.

How is it priced?

$0.10 per second of requested video duration, e.g. $0.50 for a 5-second clip and $3.00 for 30 seconds. Aspect ratio, audio and references do not change the price.

Does it generate audio?

Yes. Dialogue, sound effects and music are generated together with the video. Set generate_audio to false for a silent clip; the price stays the same.

How long can the videos be?

Any whole number of seconds from 4 to 30 (default 5), at 1080p.

Which aspect ratios are supported?

16:9, 9:16, 1:1, 4:3, 3:4 and 21:9.

What are the reference limits?

Up to 10 images, 5 videos and 5 audio clips. Video and audio clips should be 2-30 seconds each and 30 seconds combined; longer clips are trimmed.