Magi 2 — 1080p video with sound, up to 30 seconds
Magi 2 API pricing: Sand.ai's Magi 2 costs $0.10 per output second on Makernice (price list v18, December 3, 2026). Call it with model id magi-2 for 4–30 second 1080p clips from text, a still image, first and last frames or up to 10 reference images; audio is on by default.
Highlights
4–30 s · 1080p (single tier) · Text to video · Image to video · First and last frame · Reference to video
Best for
Developers who want 1080p clips of up to 30 seconds with generated sound, without choosing a resolution tier.
Input
Text, first frame, last frame, up to 10 reference images
Output
Video with audio (can be turned off)
Checking your session…
Pricing
Prepaid in US dollars. The hold is converted to a charge when the run completes. If a run fails or times out, the hold is released in full.*
Prices as of December 3, 2026 (price list v18).
Note: if a finished output is blocked by output moderation for a policy violation, the run is still charged. You can contact support for a manual review.
Cost of your first test
$0.40
One 4-second clip at the 1080p tier.
What your top-up buys
Top up$15
≈ 37 test runs
$50
≈ 125 test runs
$100
≈ 250 test runs
Top-ups are $15–$1,000. No free tier, no subscription.
How much does a 5, 10, 15 or 30-second Magi 2 clip cost?
A 10-second Magi 2 clip costs $1.00 at 1080p (price list v18, December 3, 2026). Each total below is the per-second price × seconds, the same in every mode.
| Resolution | Per second | 5 s | 10 s | 15 s | 30 s |
|---|---|---|---|---|---|
| 1080p (fixed) | $0.10 | $0.50 | $1.00 | $1.50 | $3.00 |
Totals are rounded to the cent; your quote shows the exact amount before you run anything. Live rates: Pricing · GET /v1/pricing.
| Model | Mode | Resolution | Our price | Official | You save |
|---|---|---|---|---|---|
Magi 2 Sand.ai | Text to video1080p | 1080p | $0.10/s | ||
Magi 2 Sand.ai | Image to video1080p | 1080p | $0.10/s | ||
Magi 2 Sand.ai | First and last frame1080p | 1080p | $0.10/s | ||
Magi 2 Sand.ai | Reference to video1080p | 1080p | $0.10/s |
This model has one fixed resolution, so every request is priced the same tier.
What is the Magi 2 API?
The Magi 2 API gives you Sand.ai's Magi 2 (written MAGI-2 by Sand.ai) with one Makernice API key and a prepaid balance. Output is always 1080p, so the request has no resolution field. Clips run 4 to 30 seconds in four modes: text-to-video, image-to-video, first and last frame, and reference-to-video with up to 10 images. Text-to-video and reference-to-video take six aspect ratios (16:9, 9:16, 1:1, 4:3, 3:4, 21:9); image-to-video and first and last frame take five (no 21:9). Audio is on by default; set `generate_audio` to false for a silent clip at the same price. You create a job, poll its status, and download the finished file.
Spec sheet
Parameters, limits and billing rules to check before you call it.
Model id
magi-2 · Sand.ai
Modes
t2v Text to video · i2v Image to video · flf First and last frame · r2v Reference to video
Duration
4–30 seconds (default 5)
Resolution
1080p (single tier)
Aspect ratio (t2v, r2v)
16:9 · 9:16 · 1:1 · 4:3 · 3:4 · 21:9
Aspect ratio (i2v, flf)
16:9 · 9:16 · 1:1 · 4:3 · 3:4
Reference images
Up to 10, in reference_images
Audio
On by default (generate_audio, can be turned off)
Image input
JPEG / PNG / WebP, up to 10 MB each, or an https link. Uploaded images can be used for 6 days.
Image size
16–10000 px per side, up to 16 MP in total, aspect ratio 1:100–100:1
Output
Video with audio (can be turned off). Files are kept about 30 days, so download them promptly.
Price
From $0.10/s · Quotes are locked for 12 minutes. Per-resolution prices are in the table above.
Failed runs
Failed, timed-out or canceled-while-queued runs release the hold in full.
4 ways to generate, one endpoint
Set mode, send the inputs it needs — that's it.
Text to video
mode: "t2v" · prompt
Just a prompt — the model builds the shot from scratch.
Image to video
mode: "i2v" · image_url
Send an image in image_url and it becomes the opening frame.
First and last frame
mode: "flf" · image_url + last_image_url
Set the first and last frame; the model animates everything in between.
Reference to video
mode: "r2v" · reference_images (≤ 10)
Add up to 10 reference images to lock in characters, products and style.
What you can build with this model
Workflows this model is a good fit for.
Clips up to 30 seconds
Generate a single clip of up to 30 seconds, soundtrack included, instead of stitching several short ones.
Try it in the playgroundA series from one reference set
Pass up to 10 reference images (characters, products, settings, style frames) to keep a run of clips consistent.
Try it in the playgroundSet start and end frames
Give a first frame and a last frame to fix where the clip starts and where it lands.
Try it in the playgroundWhy run Magi 2 on Makernice
Quote before you pay
Every run gets an exact quote first, locked for 12 minutes. You're charged that amount — never more.
Failed runs are free
The hold is converted to a charge when the run completes. If a run fails or times out, the hold is released in full, and so does canceling while it's queued. Note: if a finished output is blocked by output moderation for a policy violation, the run is still charged. You can contact support for a manual review.
Switch models with one field
Same request, key, balance and console for all 20 models. Not happy with the result? Change model and run it again.
Prepaid, no subscription
Top up a US-dollar balance and pay per run. No monthly fee, no subscription.
Your balance never expires
Topped-up balance stays in your account indefinitely. No inactivity fees, no decay.
Automatic failover
If an upstream channel goes down, your request is routed to a backup channel automatically — no code changes on your side.
Integrate Magi 2 in three steps
Quote, hold, charge or release — each step shows how billing works.
Create an API key
Sign in, top up and create a key in the console. Set a spend limit per key so nothing runs away.
// Console → API keys
Quote and create
POST the input to /v1/generations/quote with the model field set to magi-2. The price is locked for 12 minutes; creating the generation with the quote id holds that amount from your balance.
// POST /v1/generations/quote// POST /v1/generations
Poll the result
GET /v1/generations/{id} until the status is succeeded, then download the output. You're charged the quoted amount on success; failed, timed-out or canceled-while-queued runs release the hold in full.
// GET /v1/generations/{id}
Retrying with the same Idempotency-Key returns the same generation instead of charging twice.
Run Magi 2 from Claude Code or Cursor
Connect the Makernice MCP server to your coding agent and ask for Magi 2 in plain language. The agent checks the price with estimate_cost, then calls generate with a max_cost_usd cap you approve; a job that would cost more is refused. When the job finishes, check_job returns a link to the result.
Example request
Use Makernice to quote a 5-second 1080p Magi 2 clip of a paper boat drifting down a rainy street, tell me the price, and generate it after I approve.
Setup guides: Claude Code · Cursor · All MCP clients
Docs/API/MAGI-2
API reference
Copy-paste requests for this model. The full parameter reference is in the docs.
curl https://api.makernice.com/v1/generations/quote \
-H "Authorization: Bearer $MAKERNICE_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"model": "magi-2",
"mode": "t2v",
"prompt": "A young woman in a pale yellow linen dress and a straw hat walks up a hillside of giant purple irises taller than she is, low-angle shot through the stems, petals brushing past the lens, soft late-afternoon light, wind in the grass and birdsong.",
"duration": 5
}'Invalid request
400 invalid_request names each failing field. Fields the mode doesn't use are rejected too. Nothing is held.
Key or balance
401 means a missing or invalid key; 402 means the balance or the key's spend limit isn't enough.
Quote problems
A changed price-affecting field returns 422 quote_mismatch; an expired quote 410; a used one 409. Get a new quote.
Failed generation
A failed generation is never charged — the hold is released in full. Note: if a finished output is blocked by output moderation for a policy violation, the run is still charged. You can contact support for a manual review. Keep the generation id and retry when you're ready.
Frequently asked questions
Common questions about this model.
What is Magi 2?
How long can Magi 2 videos be?
How many reference images does Magi 2 support?
How much does Magi 2 cost per second?
Magi 2 vs Seedance 2.5: which should I use?
Am I charged if a Magi 2 generation fails?
Is Magi 2 free?
How do I make a Magi 2 video longer than the 30-second limit?
How do I get a Magi 2 API key? Do I need a Chinese phone number?
Does Magi 2 add a watermark?
Which resolutions does Magi 2 support?
Which aspect ratios does Magi 2 support?
Can Magi 2 lip-sync to my own audio?
Can Magi 2 edit an existing video?
Is Magi 2 open source?
Do I need an invitation to use the Magi 2 API?
magi-2. Sand.ai's own platform lists MAGI-2 as an invite-only beta and does not support top-up yet (checked December 2, 2026).Does the Magi 2 API take reference video, audio or editing requests?
Is Magi 2 free to use?
More Posts
Related models
Compare all modelsSimilar models worth comparing.
VideoSeedance 2.5
ByteDance's flagship for long takes: up to 30 seconds, 480p to 4K, and up to 16 reference images to keep every shot on-model. Audio is on by default.
VideoSeedance 2.0
The all-rounder for ads and social: 4–15 s clips at 720p or 1080p from text, an image, first and last frames, or 9 references. Audio is on by default.
VideoSeedance 2.0 Fast
-15%Seedance 2.0 at one 720p tier and a lower per-second price: same modes, same 4–15 seconds. Audio is on by default. Draft here, finish on 2.0 or 2.5.
VideoSeedance 2.5 Flash
The lower-priced Seedance 2.5 tier: 480p or 720p, clips of 4–30 seconds, four input modes, up to 10 reference images. Audio is on by default.
● Start building
See what it does with your prompt
Test it in the playground, or grab an API key and ship it today.
- Quote before you pay
- Failed runs are free
- Prepaid, no subscription
- Balance never expires