MAGI-2 API
Generate up to 30 seconds of video with synchronized sound
Try MAGI-2
Runs on your balance at the price shown on the button. Results are saved to your account.
Output frame shape.
The 1080p tier. Pixel dimensions depend on the output aspect ratio.
Length of the generated clip in seconds (4–30s). You pay per second.
Create a free account with Google or email — pay only for what you generate.
Your video will appear here
Write a prompt, pick your settings and hit Run. You only pay for successful generations.
What is MAGI-2?
Sand.ai MAGI-2 generates video with sound in the 1080p tier from text, first and last frames, or multimodal references.
Generate video with synchronized sound
Choose a 4–30 second clip and describe the action, dialogue, ambience or sound effects.
MAGI-2 pricing
Pay per second of video as you go, with no subscription required (monthly plans are optional). Failed generations are refunded automatically.
| Tier | Official price | CheaperGen | You save |
|---|---|---|---|
1080p | $0.08/s | $0.08/s | — |
- Official price: Sand.ai API list price (platform.sand.ai/docs/model-pricing): $0.08 per second at 1080p.. Prices verified November 25, 2026.
- All three modes cost $0.08 per requested second. Audio and reference inputs are included.
Specifications
- Resolution
- 1080p
- Duration
- 4–30 seconds
- Released
- Nov 24, 2026
Use MAGI-2 via API
One request to start a job, one to fetch the result. Same shape for every model.
const API = "https://cheapergen.com/api/v1";
const headers = {
Authorization: `Bearer ${process.env.CHEAPERGEN_API_KEY}`,
"Content-Type": "application/json",
};
// 1. Submit the job
let job = await fetch(`${API}/run/sand-ai/magi-2/text-to-video`, {
method: "POST",
headers,
body: JSON.stringify({
"prompt": "A paper boat drifts across a pond as rain taps against the surface.",
"aspect_ratio": "16:9",
"resolution": "1080p",
"duration": 5
}),
}).then((r) => r.json());
// 2. Poll until it finishes (or pass webhook_url and skip polling)
while (job.status === "queued" || job.status === "running") {
await new Promise((r) => setTimeout(r, 3000));
job = await fetch(`${API}/generations/${job.id}`, { headers }).then((r) => r.json());
}
console.log(job.status === "succeeded" ? job.output.video.url : job.error);Example prompts
Hit “Try it” to load a prompt into the playground above.
- Text to Video
A paper boat drifts across a pond as rain taps against the surface.
MAGI-2 FAQ
Similar video models
Popular text-to-video models from other developers.

Seedance2.5
Text to Video · Image to Video · Reference to Video · Video Edit
ByteDance's newest video model — longer, sharper, more controllable

MiniMaxH3
Text · Image · Reference → Video
Hailuo H3 — expressive motion and physics, up to 2K

Seedance2.0 Fast
Text · Image · Reference → Video
Seedance 2.0 quality at lower latency and cost

MiniMaxH3 Fast
Text · Image · Reference → Video
MiniMax H3 in seconds, not minutes — an accelerated build of the open weights
MAGI-2 is developed by Sand.ai. CheaperGen provides API access and does not own the model. Trademarks belong to their respective owners. · Markdown · OpenAPI