guides

MAGI-2 API: What Is MAGI-2, Input Modes, Limits and Pricing

Poyo.ai Team
7 min read
Share:

MAGI-2 API on PoYo: 1080p video with synchronized audio

The MAGI-2 API on PoYo runs Sand AI's MAGI-2 video model behind one REST endpoint and one model ID, magi-2. It returns a 4–30 second 1080p MP4 with dialogue, sound effects and ambience generated together with the picture, at 16 credits ($0.08) per output second. Try it in the MAGI-2 playground or read on for what the API accepts.

This page is the overview. For request code, go to the MAGI-2 API guide; for cost math, the MAGI-2 API pricing post; for the audio side, MAGI-2 API video with sound.

What is MAGI-2?

MAGI-2 is the video generation model Sand AI released on November 24, 2026. Sand AI says it has about 480B total parameters with about 28B active, was pretrained on 4T tokens, and "generates synchronized video and audio natively within a single backbone", including dialogue with lip sync, foley, ambient sound and music. Sand AI lists up to 30 seconds of 1080p at 25 fps in one pass and six aspect ratios.

It follows MAGI-2 Preview (August 2026, about 114B total / 6B active), which Sand AI released as open weights. Sand AI says it plans to open-source the full MAGI-2 and publish a technical report later; at launch, MAGI-2 is available through APIs. Sand AI reports a 4-task average Elo of 1150.3 on Artificial Analysis Video Arena v2.1 (I2V, I2V-Silent, T2V-Silent and T2V), up from 998.5 for the Preview. Those are Sand AI's figures from its MAGI-2 announcement; PoYo has not run its own benchmark.

MAGI-2 API at a glance

ItemValue
Model IDmagi-2
Submit endpointPOST https://api.poyo.ai/api/generate/submit
Status endpointGET https://api.poyo.ai/api/generate/status/{task_id}
AuthAuthorization: Bearer $POYO_API_KEY
FlowAsynchronous: submit returns a task_id; poll or use callback_url
OutputOne MP4, H.264 at 25 fps, AAC stereo audio when generate_audio is true
Price16 credits ($0.08) per output second, 1080p
On PoYo sinceNovember 28, 2026
DocsMAGI-2 API reference

Input modes in the MAGI-2 API

One model ID covers three ways of starting a video. A task uses either frames or references, not both.

ModeFields inside inputNotes
Text to videopromptPut spoken lines in quotes; describe sound as well as picture
First frame / first and last framesprompt + image_urls (1 or 2 images)First image opens the clip, optional second image closes it; output follows the first frame's aspect ratio
Reference to videoprompt + any of reference_image_urls, reference_video_urls, reference_audio_urlsReference audio may be sent on its own; say in the prompt what each reference is for

A minimal text-to-video body looks like this:

{
  "model": "magi-2",
  "input": {
    "prompt": "In a rainy neon-lit Tokyo alley at night, an elderly street musician plays a slow saxophone melody. He lowers the saxophone, smiles at the camera and says: \"Thanks for staying till the last song.\" Rain patters on the wet pavement.",
    "duration": 5,
    "aspect_ratio": "16:9"
  }
}

Limits to validate before you call the API

FieldRule
promptRequired, 1–15,000 characters
durationInteger, 4–30 seconds, default 5
resolution1080p only (default)
aspect_ratio16:9 (default), 9:16, 1:1, 4:3, 3:4, 21:9; auto or empty with image_urls
image_urls1–2 images, JPG, PNG or WEBP
reference_image_urlsUp to 10 images
reference_video_urlsUp to 5 MP4 or MOV, each 2–30 s, 30 s total
reference_audio_urlsUp to 5 MP3 or WAV, each 2–30 s, 30 s total
generate_audiotrue (default) or false for a silent MP4
seedInteger 0–2147483647, optional

Frame size follows the aspect ratio: 1920×1080 at 16:9, 1080×1920 at 9:16 and 2182×950 at 21:9. All media URLs must be public and directly downloadable. The request schema does not accept extra fields, so do not carry over negative_prompt or other fields from another provider.

MAGI-2 API pricing on PoYo

DurationCreditsUSD
Per second16$0.08
5 seconds80$0.40
8 seconds128$0.64
10 seconds160$0.80
30 seconds480$2.40

The rate is the same for every input mode, aspect ratio and audio setting, and PoYo bills output seconds only (1 credit = $0.005). Failed tasks are refunded automatically. Sand AI did not show a public per-second MAGI-2 price we could read on November 28, 2026, so this post does not quote one. The pricing post compares MAGI-2 against other 1080p video APIs on PoYo.

Launch-day results on PoYo

The PoYo team ran three requests against the production MAGI-2 API on November 28, 2026. All three were submitted in parallel; times are submit-to-result as seen by a client polling about every 10 seconds, so they include queueing.

RequestDurationChargedWall time (polled)
Text to video: two-person dialogue on a ferry deck, seagulls, engine hum8 s128 credits ($0.64)finished within about 3.5 minutes
First frame to video: cyclist on a coastal road, via image_urls5 s80 credits ($0.40)finished within about 3 minutes
Text to video: rainy railway crossing, train passing, no dialogue6 s96 credits ($0.48)finished within about 3 minutes

Every output came back at 1920×1080, 25 fps, with an audio track, and each charge matched 16 credits times the requested seconds. Budget a few minutes per short clip and design your app around the asynchronous flow rather than a blocking HTTP call.

Which requests should go to the MAGI-2 API?

  • Clips that need sound in the same file. Dialogue, foley and ambience come back in one MP4, so there is no separate voice or sound pass to sync. See video with sound.
  • Long single takes. One request covers up to 30 seconds, and Sand AI says the model follows timed shot lists written in the prompt.
  • Recurring characters or music. Up to 10 images, 5 videos and 5 audio clips as references in one task.
  • Predictable 1080p budgets. One per-second rate regardless of references or audio.

If you need 4K output or a lower resolution for drafts, MAGI-2 only renders 1080p; models such as Seedance 2.5 offer other resolutions. For a related native-audio model, see the FLUX 3 Video native audio guide.

Frequently asked questions

What is the MAGI-2 API model ID? magi-2. Send it as model in the JSON body of POST /api/generate/submit.

How much does the MAGI-2 API cost? 16 credits ($0.08) per output second at 1080p, in every mode. A 10-second clip is 160 credits ($0.80); 30 seconds is 480 credits ($2.40).

How long can a MAGI-2 API video be? Any whole number of seconds from 4 to 30. The default is 5.

Does the MAGI-2 API generate audio? Yes, by default. Set generate_audio to false for a video-only MP4; the price per second does not change.

Is MAGI-2 open source? The open-weights release from Sand AI is MAGI-2 Preview. Sand AI says the full MAGI-2 will be open-sourced later; today you use it through an API.

How long does a MAGI-2 API request take? In PoYo's launch-day test, 5–8 second clips finished within about 3–3.5 minutes (polled), with three tasks running in parallel. Poll the status endpoint or use callback_url.

Share: