Magi 2 API for Developers

Building on MAGI-2, the audio-video model Sand.ai shipped on November 24, 2026? Call it here with one API key and pay $0.20 for each second of video. Below: what a request takes in and returns, sample outputs, and a playground for trying prompts first.

  • 30 s per request
  • 1080p · 25 fps
  • Picture and audio from one model
  • 20 reference files
  • 6 aspect ratios

Sexually explicit (NSFW) content is strictly prohibited.

The playground runs Magi 2 in the browser, so a prompt can be checked before it goes into code.

MAGI-2 sample outputs

Launch-day clips shared by Sand.ai and Higgsfield, so you can judge motion, cuts and audio before you plan around the model. Unmute the ones marked with an audio track.

Audio track

Point-of-view walk across painting styles

One continuous shot that drifts from Van Gogh into Monet, Hokusai and Klimt while a generated score plays underneath.

MAGI-2 output · source: Sand.ai

Audio track

Two actors, one generated soundtrack

A costume-drama exchange on a boat where the speech, the mouth movement and the room tone all come out of one request.

MAGI-2 output · source: Sand.ai

Audio track

Painted subject on a photoreal set

Vermeer’s pearl-earring girl walks among oversized blossoms as the camera keeps re-framing her.

MAGI-2 output · source: Sand.ai

Audio track

Fifteen cuts planned on a timeline

Sand.ai’s timeline demo: a snowboarder chased through New York, split into fifteen planned shots inside 30 seconds.

MAGI-2 output · source: Sand.ai

Shared without audio

Stylized fight in the dunes

Blowing sand and a lit-up blade carried through a full 30-second action sequence.

MAGI-2 output · source: Higgsfield

Shared without audio

Robots on a salt flat

Two giant machines exchange hits while the edit alternates between tight close-ups and wide framing.

MAGI-2 output · source: Higgsfield

MAGI-2 spec sheet

What Sand.ai and Higgsfield state about inputs and outputs, with the source of every line. Where the two disagree, both versions are listed.

SpecMAGI-2Stated by
Longest clip30 seconds per generationSand.ai, Higgsfield
Shortest clip4 seconds (Sand.ai gives no minimum)Higgsfield
Output resolution1080p. Sand.ai says the base output is enlarged by an upscaler; Higgsfield calls it native 1080pSand.ai, Higgsfield
Frame rate25 fpsSand.ai
Aspect ratios6 (the ratios themselves are not listed)Sand.ai
AudioMade with the picture: lip-synced speech, foley, ambience and musicSand.ai
Reference files per requestUp to 20: 10 images, 5 videos, 5 audio clipsSand.ai
ControlTimeline placement, shot-cut control, targeted edits to an existing clipSand.ai
Entry points on Higgsfield’s APIText-to-video, image-to-video, reference-to-videoHiggsfield
Model sizeAbout 480B parameters with about 28B active (Higgsfield’s announcement says 400B)Sand.ai
Training dataAbout 4T tokensSand.ai
Artificial Analysis Video ArenaElo 1150.3, 4-task average on v2.1Sand.ai
WeightsNot published; Sand.ai says open-source releases will followSand.ai

Read on November 24, 2026 from sand.ai/blog/magi-2, higgsfield.ai/announcing-magi-2, higgsfield.ai/magi-2-intro and Higgsfield’s MAGI-2 API playground.

What MAGI-2 can generate

Text to video

Describe the shot, the action and what should be heard; the model answers with up to 30 seconds of picture and sound.

Image to video

Start from a still. Higgsfield lists image-to-video as its own entry point, with support for start and end frames.

Reference to video

Attach up to 10 images, 5 videos and 5 audio clips in one request to steer characters, movement and voices.

Targeted edits

Sand.ai describes changing one part of footage you already have, rather than rendering the whole clip again.

Timeline and shot cuts

Decide where each shot starts and where the cut lands; the launch demo fits fifteen shots into half a minute.

Audio in the same request

Dialogue with matching lip movement, effects, ambience and music arrive with the frames, so there is no separate sound pass to line up.

Where MAGI-2 can be called today

Sand.ai announced MAGI-2 on November 24, 2026. Its launch post covers the model, its benchmarks and its known weak spots, but says nothing about a public API, a price or a distribution partner.

Higgsfield introduced the model the same day as available only on its own platform, both inside its app and through its own API, which exposes text-to-video, image-to-video and reference-to-video.

There are no downloadable weights yet. The open release from the same family is MAGI-2 Preview (August 5, 2026): 114B parameters, 10-second clips, Apache 2.0, with an inference setup built around eight NVIDIA Hopper GPUs.

Magi2API serves MAGI-2 through its own REST API: text, image and reference to video at 20 credits ($0.20) per second, with the endpoints, fields and error codes on the API docs page.

Call MAGI-2 from your code

One key, one POST, one poll. Every second of video costs 20 credits ($0.20), whether it starts from text, a still or reference files.

  1. 1

    Buy credits, create a key

    Any credit pack opens the API. Keys live under Settings → API keys and start with magi2api_.

  2. 2

    POST /api/v1/videos

    Send a prompt, a duration from 4 to 30 seconds and, if you like, image or reference links. You get a job id straight back.

  3. 3

    Poll for the MP4

    GET the job until it reads completed, then download video_url. A failed job hands its credits back.

curl -X POST https://magi2api.app/api/v1/videos \
  -H "Authorization: Bearer $MAGI2API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"prompt": "Rain on a neon street, a cyclist rings her bell", "duration": 5}'

Test a prompt in the playground

  1. 1

    Draft the shot

    Write who is in frame, what happens, how the camera moves and what we should hear. Attach an image if the clip should open on it.

  2. 2

    Choose a model and format

    Pick one of the live video models, set the aspect ratio and the duration, and read the credit cost before you run it.

  3. 3

    Compare and download

    Each result is kept in your history. Compare takes, hold on to the prompt that works and save the MP4.

Plan for these before you integrate

  • Very fast motion can occasionally break continuity, according to Sand.ai. Test early if your product leans on sports or action footage.
  • In medium and wide 2D-animation shots, small movements can come out over-smoothed.
  • Busy soundscapes can have fewer layers than you expect; leave room to mix extra sound on top.
  • Six aspect ratios are announced but not named, so confirm the exact ratios a provider accepts before hard-coding a layout.

Magi 2 API FAQ

What is the Magi 2 API?

It means calling MAGI-2, the audio-video model Sand.ai released on November 24, 2026, from your own code: you send a prompt and optional reference files, and you get back a clip of up to 30 seconds at 1080p with sound.

What is Magi2API?

Magi2API (magi2api.app) is an independent Magi 2 API service for developers. It sells pay-per-second access to MAGI-2, Sand.ai’s audio-video model, through a REST API at $0.20 per second of video, keeps a sourced spec sheet for the model, and runs a browser playground for testing prompts.

Does Sand.ai offer an official Magi 2 API?

Sand.ai’s launch post does not describe a public API or a price. At launch, Higgsfield says MAGI-2 is available only on its platform, including through its API.

How much does the Magi 2 API cost?

On Magi2API it is 20 credits per second of video, which is $0.20 a second: $1.00 for a 5-second clip, sound included, the same rate for every mode. Credits come in one-time packs from $10. Sand.ai has not published a price of its own.

Can I call MAGI-2 through Magi2API?

Yes. Buy any credit pack, create a key under Settings → API keys, and POST your prompt to /api/v1/videos; the job id comes back at once and you poll it for the MP4. The API docs page lists every field and error code.

How long and how sharp are MAGI-2 clips?

Up to 30 seconds per generation at 1080p and 25 fps, in 6 aspect ratios. Higgsfield lists a 4-second minimum, and Sand.ai says the 1080p picture comes out of an upscaler stage.

Does MAGI-2 return audio with the video?

Yes. One model produces both: speech with lip-sync, sound effects, ambient sound and music. Higgsfield also offers a switch for silent output.

What inputs does MAGI-2 accept?

A text prompt plus up to 20 references in one request: at most 10 images, 5 videos and 5 audio clips. Sand.ai also describes timeline and shot-cut control and targeted edits to existing footage.

Can I self-host MAGI-2?

Not yet: the weights have not been published, though Sand.ai says open-source releases will follow. The model you can host today is MAGI-2 Preview, released under Apache 2.0 with 10-second clips, and it expects eight NVIDIA Hopper GPUs.

How is MAGI-2 different from MAGI-2 Preview?

MAGI-2 Preview (August 5, 2026) has 114B parameters and makes 10-second clips. MAGI-2 is roughly four times its size at 480B, runs up to 30 seconds, takes up to 20 references, adds timeline control and editing, and scores an Elo of 1150.3 on Artificial Analysis Video Arena against 998.5.

Why do some pages say MAGI-2 has 400B parameters?

Higgsfield’s launch announcement says 400B, while Sand.ai’s own post and Higgsfield’s model page say about 480B in total with about 28B active. We go with Sand.ai’s figure.

Try a prompt before you write any code

The playground runs in the browser: describe a shot, pick a live video model and see what comes back.

Open the playground