Magi2 AI

MAGI-2 API: Where to Get Access and What It Costs

ThomasThomas9 min readPublished on Nov 28, 2026
Share on X

Direct answer: Sand.ai, the company that built MAGI-2, runs the model's API on its own developer platform at platform.sand.ai. The model ID is magi-2, output is 1080p, and the listed price is $0.08 per second of video, so a 5-second clip costs $0.40 and a 30-second take $2.40. You sign in, create an API key, and send jobs to https://api.sand.ai, either through Sand.ai's native endpoint or an Ark-compatible one that adds first and last frames. Each organization can run 5 generations at once. One thing to check first: Sand.ai's pricing page says balance top-up is not supported yet. As of November 28, 2026, we could not verify any third-party API that resells MAGI-2 against Sand.ai's docs.

Last verified: November 28, 2026.

Is there an official MAGI-2 API?

Yes. Sand.ai launched MAGI-2 on November 24, 2026, and its launch post links to the Sand.ai API Platform. The platform docs cover four things: a quickstart, an API reference, model pricing, and balance and billing.

What the API gives you, per Sand.ai's docs:

  • Model: magi-2, which must be enabled for your organization.
  • Output: 1080p only. Sand.ai's launch post describes native 1080p at 25 fps with synchronized audio.
  • Length: up to 30 seconds per generation, in whole seconds. The Ark-compatible endpoint states a range of 4 to 30 seconds.
  • Inputs: one text prompt of up to 15,000 characters, plus up to 10 reference images, 5 reference videos (2 to 30 seconds each, 30 seconds combined) and 5 audio clips (30 seconds combined).
  • Sound: generateAudio is on by default.
  • Seed: fixed seeds from 0 to 4,294,967,295, or random.

Video editing, which Sand.ai's launch post lists as a MAGI-2 feature, has no documented request type in the native API reference as of November 28, 2026.

MAGI-2 API pricing: what each clip length costs

Sand.ai lists one price for MAGI-2: $0.08 per second at 1080p. Its model pricing page shows no separate rate for sound, references or aspect ratio. Here is what that means per clip and per batch:

Clip length One clip 10 clips 100 clips
4 s (shortest on the Ark-compatible endpoint) $0.32 $3.20 $32
5 s $0.40 $4.00 $40
10 s $0.80 $8.00 $80
15 s $1.20 $12.00 $120
30 s $2.40 $24.00 $240

These are list prices before tax. Sand.ai does not publish a minimum top-up; amounts show on the Top up page in the console. Its billing guide says the global site takes payment through Stripe checkout, while the China site takes Alipay or, after business verification, bank transfer.

Can I add balance to a Sand.ai API account yet?

Possibly not. On November 28, 2026, Sand.ai's model pricing page said top-up "is not supported for the time being" and pointed to its X account for a launch date, while the billing guide already describes the top-up flow. If your console shows no way to pay, that note is the reason. Sand.ai's docs also don't mention free credits for new accounts. For larger volume or custom terms, Sand.ai has a contact sales form.

How to get a MAGI-2 API key

Step What to do Note
1 Sign in at platform.sand.ai Email code, Google or Discord
2 Open API keys and choose Create API key The full key is shown once; copy it before closing the dialog
3 Store it on your server, for example as SAND_API_KEY Sand.ai says not to put it in browser or mobile code
4 Add balance on the Top up page See the top-up note above
5 Send POST /v2/generations with Authorization: Bearer Returns HTTP 202 and a generation ID
6 Poll GET /v2/generations/{id} about every 10 seconds Stop on succeeded, failed or canceled

A minimal text-to-video request body, following the quickstart:

{
  "model": "magi-2",
  "parts": [
    { "type": "text", "text": "At dawn, waves break gently against the rocks as the camera slowly moves forward." }
  ],
  "duration": 5,
  "aspectRatio": "16:9",
  "generateAudio": true
}

When a job succeeds, download the file from output.videoUrl. Creation is not idempotent, so if a request times out, look the job up before you send it again. Otherwise you may pay twice.

Native API or Ark-compatible endpoint: which one to call

Sand.ai offers two ways to call the same model. They differ in what inputs they accept.

Native API (/v2/generations) Ark-compatible (/compatible/ark/api/v3)
Text prompt Yes, one part, up to 15,000 characters Yes, one item, up to 15,000 characters
First and last frame Not accepted first_frame and last_frame roles
References Up to 10 images, 5 videos, 5 audio clips Same limits; can't be mixed with frame roles
Duration Whole seconds; no range stated 4 to 30 seconds
Aspect ratios Any width:height string 21:9, 16:9, 4:3, 1:1, 3:4, 9:16
Media sources Uploaded asset ID or HTTPS URL Asset ID, HTTPS URL, or base64 for images and audio
Client Any HTTP client Plain HTTP or the Ark Python SDK with a changed base_url

Native API. Best for: text and reference-driven jobs in a new integration. Not for: animating a still image as the opening frame, since the native API has no frame role.

Ark-compatible endpoint. Best for: image-to-video with a fixed first or last frame, and teams whose code already uses the Ark SDK. Not for: anyone who needs output links to last. Sand.ai says the video links expire after one hour, so download right away.

MAGI-2 API rate limits and concurrency

Limit Value
Create a generation 20 requests per 60 seconds
Retrieve a generation 20 requests per 60 seconds
Upload an asset 20 requests per 60 seconds
Concurrent generations 5 per organization by default

Limits apply per organization and are shared by all its API keys, so adding keys does not add capacity. Jobs above the concurrency limit wait in a queue instead of failing. Sand.ai raises limits on request.

Which third-party APIs include MAGI-2?

Some API resellers have started listing a MAGI-2 or "Magi 2.0" model. We could not match any of them to Sand.ai's docs as of November 28, 2026, so we don't list them here. Before you build on one, check three things against Sand.ai's pages: that it serves 1080p (Sand.ai's only resolution), that clips run up to 30 seconds, and that its per-second price is close to Sand.ai's $0.08.

Don't confuse MAGI-2 with MAGI-1, Sand.ai's earlier model that some inference platforms already host, or with MAGI-2 Preview. Preview is an open-weight model Sand.ai published on Hugging Face in August 2026 under Apache 2.0. It makes 10-second clips and needs eight data-center GPUs to run yourself.

Does the Magi2 AI API include MAGI-2?

No. The Magi2 AI API serves Seedance models only: seedance-1.0-pro-fast, seedance-2.0, seedance-2.0-fast, seedance-2.0-mini and seedance-2.5, under https://magi2ai.io/v1. On Magi2 AI, MAGI-2 runs in the browser workspace only.

In the browser, MAGI-2 costs 3 credits per second at 1080p, sound on or off, and any plan or credit pack unlocks it. Here is how that compares with the API for the same clips:

Clip length Sand.ai API Magi2 AI, Starter pack Magi2 AI, Pro monthly
4 s $0.32 12 credits, about $1.79 8 credits, about $1.16
5 s $0.40 15 credits, about $2.24 11 credits, about $1.60
15 s $1.20 45 credits, about $6.73 31 credits, about $4.50
30 s $2.40 90 credits, about $13.46 63 credits, about $9.14

The API is far cheaper per second. Magi2 AI charges more because it buys every render through a third-party API and adds a margin. What you get is a workspace with no code, a single credit balance across MAGI-2, Seedance, Kling and Veo, and no charge for failed renders. Full plan details are on the pricing page, and our MAGI-2 free and trial guide shows the cheapest first test on each route.

API or browser: which route fits you

Sand.ai API. Best for: developers building MAGI-2 into a product or a batch pipeline, at the lowest per-second price. Not for: people who want to write a prompt and watch the result without code, or anyone who needs to pay today if top-up is still off.

VidMuse. Sand.ai links to it as its "Official Partner" for trying MAGI-2. Best for: a credit-based app with music video and ad templates. Not for: programmatic access; it is an app, not an API.

Magi2 AI in the browser. Best for: creators who want MAGI-2 next to other video models and don't want to manage keys, polling and storage. Not for: high-volume automated jobs, since MAGI-2 is not in the Magi2 AI API.

For background on the model itself, read what MAGI-2 is and what it can do. More pricing breakdowns are collected under pricing and cost data.

FAQ

Is there a MAGI-2 API?

Yes. Sand.ai offers it on platform.sand.ai under the model ID magi-2, with a native REST endpoint and an Ark-compatible endpoint.

How much does the MAGI-2 API cost?

$0.08 per second of 1080p output on Sand.ai's pricing page: $0.40 for 5 seconds and $2.40 for 30 seconds. No separate price is listed for sound or references.

Where are the MAGI-2 API docs?

At platform.sand.ai/docs: a quickstart, the API reference with generation and asset endpoints, rate limits, errors, model pricing, and balance and billing.

Is the MAGI-2 API free?

No. Sand.ai's docs don't mention free credits, and the pricing page says top-up is not supported yet, as of November 28, 2026.

Can I call MAGI-2 through the Magi2 AI API?

Not at the moment. The Magi2 AI API serves Seedance models. MAGI-2 on Magi2 AI runs in the browser after any purchase.

How many MAGI-2 jobs can run at once?

Five per organization by default, shared across all of its API keys. Sand.ai raises the limit on request.

Try MAGI-2 without writing code

If you would rather skip keys and polling, open the MAGI-2 video generator on Magi2 AI, set a 4-second clip, and run your prompt after any purchase. Magi2 AI is an independent site and is not affiliated with Sand.ai. Billing questions go to thomas@magi2ai.io.

Sources, checked November 28, 2026: Sand.ai MAGI-2 launch post, Sand.ai API docs, quickstart, create a generation, Ark-compatible generations, rate limits, model pricing, balance and billing, MAGI-2 Preview on Hugging Face.