MAGI-2 API: Official Sand.ai Pricing, API Keys, Third-Party Hosts and Cost per Clip

MG-2 Editorial TeamMG-2 Editorial Team
Nov 29, 2026
A laptop with blurred code sending a trail of light into a floating video frame of a sunset skyline

Short answer: one official API, several resellers, all near $0.08/s

As of November 29, 2026, Sand.ai sells MAGI-2 through its own API platform (platform.sand.ai) as model magi-2 at 0.08 USD per output second, 1080p only, 4–30 s per clip. The catch is that its pricing page says top-up is "not supported for the time being". Third-party hosts (WaveSpeedAI, APIMart, BeatAPI and Higgsfield's API) resell the same model for roughly $0.072–0.088/s.

Official price
$0.08/s
Sand.ai, model magi-2, 1080p
Clip length
4–30 s
Integer seconds, 25 fps, six ratios
Default limits
5 jobs
Concurrent per org; 20 requests per 60 s
Vendor range
$0.072–0.088
Per second on APIMart, WaveSpeed, BeatAPI

If you just want to make videos without writing code, MG-2 runs the same model in the browser. MG-2 does not offer a public API, so the rest of this guide covers the developer options. For background on the model itself, see What is MAGI-2.


The official Sand.ai API: model id, price and limits

Sand.ai's API platform exposes MAGI-2 as magi-2 at $0.08 per second of 1080p output, with two base URLs: a native API and an Ark-compatible one. The platform is linked from sand.ai as "API Platform". Everything below comes from its public docs as read on November 29, 2026.

ItemValue
Model idmagi-2
Price0.08 USD per output second
Resolution1080p only ("Only 1080p is supported")
Duration4–30 s, integer seconds
Aspect ratios21:9, 16:9, 4:3, 1:1, 3:4, 9:16
Native base URLhttps://api.sand.ai
Ark-compatible base URLhttps://api.sand.ai/compatible/ark/api/v3
AuthAuthorization: Bearer followed by your SAND_API_KEY
Prompt limitOne text item of up to 15,000 Unicode code points
ReferencesUp to 20 per request: 10 images, 5 videos, 5 audio
Rate limits20 requests per 60 s per operation; 5 concurrent generations per organization
Output URLsExpire after 60 minutes
Top-up"Not supported for the time being"; launch date to be announced on X at @SandAI_HQ

Media limits for references are images under 30 MB (16–10,000 px per side), MP4 or MOV video up to 200 MB and 2–30 s long, and WAV or MP3 audio up to 15 MB and 2–30 s long. Video references must total 30 s or less, and so must audio references.

A few details trip people up. The watermark field must be left out entirely, because any value returns a 400 error. Creation requests are not idempotent, so a blind retry can start (and bill) a second job. First and last frames use the Ark roles first_frame and last_frame, and those cannot be combined with general references in the same request.

About the API key and top-up

The docs authenticate with a SAND_API_KEY Bearer token, but the pricing page says top-up is paused, so check your account status before you build on it. Until Sand.ai announces top-up, the practical route for most teams that need to pay per second today is a third-party host, each of which issues its own key.


Third-party MAGI-2 API hosts and their prices

At least four vendors resell MAGI-2 API access, and their published prices sit between about $0.072 and $0.088 per second. These are vendors selling access, not Sand.ai. Prices are as listed on their pages between November 26 and November 29, 2026.

VendorModel id / endpointListed priceNotes
Higgsfield API (vendor)models/sand/magi-2/text-to-video, plus image-to-video and reference-to-video$0.08/s at 1080pListed as released 11/24/2026
WaveSpeedAI (vendor)sand-ai/magi-2/text-to-video, plus image-to-video and reference-to-video$0.08/sTurning audio off does not change the price
APIMart (vendor)magi-2 via POST /v1/videos/generations, poll GET /v1/tasks/{task_id}~$0.080 (Gold), ~$0.076 (Platinum), ~$0.072 (Diamond)Failed tasks refunded; no edit or extend
BeatAPI (vendor)magi-2 via POST /v1/videos/tasks$0.088/s (self-reported)Prompt limit 5,000 characters

Some parameters differ between hosts. Sand.ai, WaveSpeedAI and APIMart accept 15,000-code-point prompts, while BeatAPI caps prompts at 5,000 characters. Seeds run 0–4294967295 on Sand.ai but 0–2147483647 on WaveSpeedAI and APIMart. A review site also lists Creaa, YouArt, Renoise and Topview with lower quotes, but those figures were not checked on the hosts' own pages.

Where MAGI-2 is not listed (as of November 29, 2026): fal.ai hosts only MAGI-1 (fal-ai/magi-2 returns 404), and no listing was found on Replicate or kie.ai. Pixazo sells a "Magi 2.0" at $0.10/s at 720p. MAGI-2 only outputs 1080p, so it is unclear which model that listing is. MAGI-2 Preview has no hosted API at all, because Hugging Face shows it is not deployed by any inference provider.


How a MAGI-2 API request works: create, poll, download

Every MAGI-2 API, official or resold, is asynchronous: you create a task, poll its status, then download the file before the link expires. Sand.ai documents the endpoint names and top-level fields, but its public docs page does not spell out every item schema, so here is the flow in steps rather than a copy-paste script.

  1. Upload media (optional). For image, video or audio references, upload them first through POST /v1/assets on the native API.
  2. Create the generation. Send POST /v2/generations with your Bearer key. The documented fields are model (magi-2), parts[] (1–21 items: the prompt text plus any media references, which keep their array order), duration, aspectRatio, resolution, enhancePrompt, generateAudio (default true) and seed (0–4294967295). Leave watermark out.
  3. Store the id and don't blindly retry. Creation is not idempotent, so if a call times out, check for an existing task before you send another.
  4. Poll. Call GET /v2/generations/{id} about every 10 seconds. The processing status includes content moderation.
  5. Handle failures. Documented failure codes include content_policy_violation and generation_timeout. Later moderation can also remove access to a finished output.
  6. Download right away. Output URLs expire after 60 minutes, so copy the MP4 to your own storage as soon as the task succeeds.

The Ark-compatible route uses POST /compatible/ark/api/v3/contents/generations/tasks and also accepts prompt suffixes such as --rt 16:9 --dur 5 --rs 1080p. Vendor APIs follow the same create-then-poll pattern with their own paths, shown in the table above.

Plan for wait time. WaveSpeedAI estimates about 310 seconds per request, and APIMart says jobs "usually take several minutes". In one vendor test with six jobs queued together, an 8 s clip took 15–16 minutes and a 30 s clip took 39 minutes.


MAGI-2 API cost for 5 s, 10 s and 30 s clips

At Sand.ai's $0.08/s, a 5 s clip costs $0.40, a 10 s clip $0.80 and a 30 s clip $2.40; vendor prices move those totals by only a few cents. MAGI-2 has no draft tier, so the cheapest possible test is 4 s at 1080p, or $0.32.

Provider (price per second)5 s10 s30 s
Sand.ai API ($0.08)$0.40$0.80$2.40
Higgsfield API or WaveSpeedAI ($0.08)$0.40$0.80$2.40
APIMart Platinum (~$0.076)~$0.38~$0.76~$2.28
APIMart Diamond (~$0.072)~$0.36~$0.72~$2.16
BeatAPI ($0.088, self-reported)$0.44$0.88$2.64
MG-2 browser studio (2.8 credits/s)14 credits28 credits84 credits

In dollars, MG-2 credits work out to about $0.28/s on one-time packs, about $0.23–0.28/s on monthly plans and about $0.12–0.14/s on yearly plans during the Black Friday sale. That makes a 10 s clip about $2.80 on a pack or $1.20–1.40 on a yearly plan. The raw API is cheaper per second, and you pay for that saving in engineering time.

The sticker price is not the real cost. Higgsfield's prompt guide says its test videos took about 7 attempts each. At $0.80 per 10 s attempt, seven tries is $5.60 for one usable clip. Test at 4–6 s first, then scale up to the full length.


When to use the API and when to use a browser studio like MG-2

Use an API when MAGI-2 is one step inside software you are building, and use a browser studio when a person is writing prompts and judging takes by eye. The model is the same either way, and what differs is the work around it.

You needBetter fit
Batch jobs, an app feature or an automated pipelineAPI (Sand.ai or a vendor)
Lowest price per second at volumeAPI
No code, no polling, no storage to manageMG-2
Uploading references and tagging them by handMG-2
A place where finished clips stay savedMG-2 (My Creations), versus API URLs that expire in 60 minutes
Buying today without waiting for Sand.ai top-upA vendor API or MG-2
Trying the model before payingMG-2 (free credits on sign-up, no card)

On MG-2 you get the same 1080p output at 4–30 s in six ratios, with native audio you can switch on or off, plus text-to-video, image-to-video (first frame or first and last frame) and reference-to-video with up to 10 images, 5 video clips and 5 audio clips. Paid outputs are watermark-free MP4s with commercial use. Credit packs are one-time and do not expire. See pricing for the plans.

Some limits apply everywhere. The full 480B weights are not public yet (see MAGI-2 open source status), Sand.ai itself notes artifacts in extreme high-speed motion, and Seedance 2.5 is close to or ahead of MAGI-2 on several arena boards.


FAQ

Is there an official MAGI-2 API?

Yes. Sand.ai's platform lists magi-2 at 1080p for $0.08 per second, with a native endpoint (POST /v2/generations) and an Ark-compatible one.

How do I get a MAGI-2 API key?

Sand.ai's docs use a SAND_API_KEY Bearer token, but top-up is paused as of November 29, 2026. Vendors such as WaveSpeedAI, APIMart and BeatAPI issue their own keys.

What are the rate limits?

By default you get 20 requests per 60 s per operation and 5 concurrent generations per organization. Poll every 10 s and save outputs within 60 minutes.

Is MAGI-2 on fal.ai or Replicate?

No listing was found on either as of November 29, 2026. fal.ai hosts MAGI-1 only.

Does MG-2 have an API?

No. MG-2 is a browser studio. To make clips without code, open the AI video generator. For prompt ideas, see the MAGI-2 prompt library.

MAGI-2 API Pricing, API Key & Hosts (Nov 2026) | MAGI-2