MAGI-2 Reference to Video API
MAGI-2 Reference to Video API costs $0.0809 / sec on MartLLM (as of November 30, 2026), 8.1% below the official $0.088. Make videos with MAGI-2 Reference to Video through MartLLM.
Show more
Made by magi. MartLLM does not run this model. Here, sellers serve it through their own provider accounts.
MAGI-2 Reference to Video pricing
| Official price | % off list | Price |
|---|---|---|
| $0.088 / sec | 8.1% | $0.0809 / sec |
Request
curl https://api.martllm.com/v1/video/generations \
-H "Authorization: Bearer $MARTLLM_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"model": "sand-ai/magi-2-reference-to-video",
"prompt": "Bring the photo to life: a slow camera push-in, hair and clothes move gently in the wind, the person blinks and smiles slightly; keep the face, outfit and background unchanged",
"resolution": "1080p",
"duration_seconds": 5,
"aspect_ratio": "16:9",
"image_url": "https://example.com/photo.jpg"
}'
# → {"id": "<job id>", "status": "queued", "poll_url": "/v1/video/generations/<job id>"}Set MARTLLM_API_KEY to your key. Ask /v1/video/generations/<job id> every 5 seconds until status is "succeeded", then download the file with your key. A job that fails says why and costs nothing. Full API guide
Options
- Tasks
- Image to video, Reference pictures
- Resolutions
- 1080p
- Lengths
- 4 s, 5 s, 6 s, 7 s, 8 s, 9 s, 10 s, 11 s, 12 s, 13 s, 14 s, 15 s, 16 s, 17 s, 18 s, 19 s, 20 s, 21 s, 22 s, 23 s, 24 s, 25 s, 26 s, 27 s, 28 s, 29 s, 30 s
- Shapes
- 16:9, 9:16, 1:1, 4:3, 3:4, 21:9
- Sound
- Supported
- Input pictures
- Up to 10
- Billing unit
- per second of video
- Model id
sand-ai/magi-2-reference-to-video
Try MAGI-2 Reference to Video
Settings
Start picture
About $0.404 Before it starts you see the most it can cost. If it fails, you pay nothing.
The same request as the settings on the left, ready to copy.
curl https://api.martllm.com/v1/video/generations \
-H "Authorization: Bearer $MARTLLM_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"model": "sand-ai/magi-2-reference-to-video",
"prompt": "",
"resolution": "1080p",
"duration_seconds": 5,
"aspect_ratio": "16:9"
}'
# → {"id": "<job id>", "status": "queued", "poll_url": "/v1/video/generations/<job id>"}What the MAGI-2 Reference to Video API is good at
- Clips up to 30 seconds long in one request.
- Sound made with the video, in the same request.
- An exact first frame from your picture.
- Up to 10 reference pictures for characters, products or places.
- Shapes: 16:9, 9:16, 1:1, 4:3, 3:4, 21:9.
Examples to start from
01
Bring a photo to life
Bring the photo to life: a slow camera push-in, hair and clothes move gently in the wind, the person blinks and smiles slightly; keep the face, outfit and background unchanged
With your picture · 5 s
02
Turn a product photo
The product in the photo turns slowly on a turntable, soft studio light, the label stays sharp and readable, clean white background
With your picture · 5 s
03
Make a still scene move
The scene in the photo starts moving: leaves sway, light shifts across the ground, a gentle handheld drift; nothing new appears in the frame
With your picture · 6 s
MAGI-2 Reference to Video API parameters
| Parameter | Type | What it does |
|---|---|---|
| model | sand-ai/magi-2-reference-to-video | Required |
| prompt | string | Required. What to make. |
| image_url | string | One of these. The first frame: an https:// link or a data: URI. |
| input_images | array<string>, Up to 10 | One of these. Several pictures (https:// links or data: URIs). |
| resolution | 1080p | Optional |
| duration_seconds | 4 to 30 | Optional. Length in seconds. Left out: the model's shortest. |
| aspect_ratio | 16:9, 9:16, 1:1, 4:3, 3:4, 21:9 | Optional · 16:9. Shape of the video. The seller needs one: left out, 16:9 is sent. |
| audio | boolean | Optional. Add a sound track. |
Read from GET https://api.martllm.com/v1/models/sand-ai/magi-2-reference-to-video: the same rules the API checks every request against.
MAGI-2 models compared
| Model | Model id | From, a second | Up to | Longest |
|---|---|---|---|---|
| MAGI-2 Reference to Video | sand-ai/magi-2-reference-to-video | $0.0809 | 1080p | 30 s |
| MAGI-2 | sand-ai/magi-2 | $0.0809 | 1080p | 30 s |
MAGI-2 Reference to Video API FAQ
How much does MAGI-2 Reference to Video cost per second?
On November 30, 2026, MAGI-2 Reference to Video costs from $0.0809 per second of video through MartLLM, 8.1% below its list price of $0.088 per second. The rate rises with resolution and with sound, and the reply to a request states the most it can cost. A video that fails costs nothing, and MartLLM adds no fee.
How do I make a video with MAGI-2 Reference to Video?
Send a POST to https://api.martllm.com/v1/video/generations with your MartLLM key, model "sand-ai/magi-2-reference-to-video" and a prompt. You get a job id back; ask https://api.martllm.com/v1/video/generations/<job id> until it says "succeeded", then download it from https://api.martllm.com/v1/media/artifacts/<job id>/0.
Are there other fees?
MartLLM adds no fee to model prices. A card fee of 5.5% + $0.50 is added when you buy credit, and a request that fails is not billed.
Guides
Compare with similar models
Embed this price
Show these prices on your own site. The table reads the current prices from MartLLM, so it stays up to date.
Script: the table sets its own height
<script async src="https://martllm.com/embed.js" data-models="sand-ai/magi-2-reference-to-video"></script>Plain iframe, for sites that allow no scripts
<iframe src="https://martllm.com/embed/prices?models=sand-ai/magi-2-reference-to-video" title="AI model API prices" width="100%" height="127" loading="lazy" style="border:0;max-width:720px"></iframe>Price badge for a README (Markdown)
[](https://martllm.com/models/sand-ai/magi-2-reference-to-video?utm_source=embed&utm_medium=referral&utm_campaign=price-badge)Every option is in the embed docs.