Sand AIVideoWith soundUp to 30 s

Magi-2

sand-ai/magi-2

Magi-2 is Sand AI's video model: one generation gives 4 to 30 seconds of 1080p video with sound, from a prompt, a first and last frame, or reference images, video and audio. On Kerox it is billed per second of output, at one rate for every mode, with or without sound. Open it in Studio, or call the API with the model ID sand-ai/magi-2.

$0.1000Per second

1080p $0.1000 Per second

Output
Video · 1080p
Duration
4–30 s
Typical time
259 s
Inputs
Text, Image, Video, Audio

Try Magi-2

0 / 15000
Sign in to add reference files

A prompt is optional with a first frame and required otherwise. Each clip must be at least 2s. Videos can total 30s and audio clips can total 30s.

5s
4s30s

Whether the video comes with generated sound (voice, effects, music).

Estimated cost —
Sign in to generate

Held when you start, settled on completion. Failed runs are refunded.

Output

Example

1280×720 · 5s

Close low-angle wildlife film, a cobalt kingfisher dives from a willow branch into a still amber stream. The camera follows the arc into a spray of sunlit water, then holds on widening ripples. Natural birdsong, one crisp splash, no music.

Estimated cost ≈ $0.5000

Request body
{
  "model": "sand-ai/magi-2",
  "format": "unified",
  "input": {
    "prompt": "Close low-angle wildlife film, a cobalt kingfisher dives from a willow branch into a still amber stream. The camera follows the arc into a spray of sunlit water, then holds on widening ripples. Natural birdsong, one crisp splash, no music.",
    "duration": 5,
    "resolution": "1080p",
    "aspect_ratio": "16:9",
    "generate_audio": true
  }
}

Call it from your code

Submit a task to get its ID. Poll for the result, or pass a webhook URL to receive the finished task.

EndpointPOST https://api.kerox.ai/v1/tasks
curl 'https://api.kerox.ai/v1/tasks' \
  -H "Authorization: Bearer $KEROX_API_KEY" \
  -H 'Content-Type: application/json' \
  --data-binary '{
  "model": "sand-ai/magi-2",
  "input": {
    "prompt": "a red fox running through fresh snow, cinematic lighting",
    "resolution": "1080p",
    "duration": 5,
    "aspect_ratio": "16:9"
  }
}'
Example response
{
  "id": "task_01JD8X9B4Q2M7T8N3K5P6R1S0V",
  "object": "task",
  "model": "sand-ai/magi-2",
  "status": "processing"
}

What you can send

Every parameter uses the unified names, the same across models.

ParameterTypeRequiredDefaultValuesWhat it does
promptstring———Prompt
imagesstring | string[]———Reference images
videosstring | string[]———Reference videos
audiosstring | string[]———Reference audio
first_framestring———First frame
last_framestring———Last frame
aspect_ratiostring——16:9, 9:16, 1:1, 4:3, 3:4, 21:9Aspect ratio
resolutionstring—"1080p"1080pResolution

Not supported yet: watermark

Pricing

  • 5 s · 1080p

    $0.5000

  • 10 s · 1080p

    $1.0000

  • 15 s · 1080p

    $1.5000

Common usage
ClipKerox
5 s · 1080p$0.5000
10 s · 1080p$1.0000
15 s · 1080p$1.5000
$10 gets you100 seconds of 1080p video
TierKerox
1080p$0.1000

Use POST /v1/estimate for a quote before submitting a task.

Made with Magi-2

Close low-angle wildlife film, a cobalt kingfisher dives from a willow branch into a still amber stream. The camera follows the arc into a spray of sunlit water, then holds on widening ripples. Natural birdsong, one crisp splash, no music.

1280×720 · 5sUse prompt
First frame1280×720 · 5s

Begin on the red origami boat in this frame. Drift forward at water level as warm copper lantern reflections ripple around its paper hull. Gentle lapping water and one distant bell.

1280×720 · 5sUse prompt

Use the same red folded-paper sailboat as the reference. In a moonlit miniature harbor a procession of glowing paper boats floats past from left to right. Slow lateral camera move, reflections in navy blue water. Wind chimes and quiet waves.

1280×720 · 5sUse prompt

About Magi-2

Magi-2 is the flagship video model from Sand AI, launched on November 24, 2026, after the open-source Magi-2 Preview in August. Sand AI builds picture and sound in one model: a single Transformer reads text, video and audio together, so the clip comes out with its soundtrack. The points below come from Sand AI's launch post.

What Sand AI says about Magi-2

  • Up to 30 seconds of 1080p in one pass. Sand AI generates up to 30 seconds of 1080p video and audio in a single generation, at 25 frames per second. The 1080p output comes from an upscaling step after the base generation.
  • Sound from the same model. Dialogue with lip-sync, sound effects, ambient sound and music are generated with the picture, not added afterwards.
  • One stream for text, video and audio. Sand AI describes a single-stream mixture-of-experts Transformer with about 480B parameters in total and about 28B active.
  • Multimodal references. A generation can be guided by up to 10 images, 5 videos and 5 audio clips.
  • Stable over long takes. Sand AI highlights instruction following, complex composition and consistency in space and time across long videos.

Sand AI also presents editing an existing video and timeline control. Those are not available on Kerox yet.

On Kerox, Magi-2 generates 1080p video from 4 to 30 seconds, in 16:9, 9:16, 1:1, 4:3, 3:4 or 21:9, with sound on by default. A request carries a prompt alone, a first frame with an optional last frame, or up to 10 reference images, 5 reference videos and 5 reference audio clips. With a first frame the video keeps the frame's shape. The price is the same in all three modes. How to call it, what it costs, and the alternatives: Magi-2 API guide

FAQ

How much does Magi-2 cost?

Magi-2 on Kerox starts from $0.1000 / second. You pay per generation, and failed generations are not charged. The price table on this page lists every option.

Does Magi-2 have an API?

Yes. Submit a task to the Kerox API with the model ID sand-ai/magi-2, then poll the task or receive a webhook when it finishes. The API docs for Magi-2 list every parameter with code examples.

Can I use Magi-2 online without writing code?

Yes. Choose your settings in the generation panel on this page to see the price. Sign in to generate. Try it

Do I need a subscription to use Magi-2?

No. There are no plans and no monthly fees. Top up from $5 and pay only for what you generate.

How long can a Magi-2 video be?

From 4 to 30 seconds in one generation, in whole seconds. The default is 5 seconds. Every clip is 1080p, and the bill counts the seconds of output only.

Does Magi-2 generate sound?

Yes. Sound is on by default: Sand AI generates dialogue with lip-sync, sound effects, ambient sound and music with the picture. Set generate_audio to false, or turn off Generate audio in Studio, for a silent clip. The price per second is the same either way.

How should I write a Magi-2 prompt?

Write it shot by shot, in the order things happen, and say where the camera is. Put spoken lines in quotes, word for word, and say who speaks them. Describe the sound you want too: Sand AI's prompt guide for Magi-2 Preview keeps dialogue in its original language and splits a clip into shots joined by cuts.

What is the difference between Magi-1, Magi-2 Preview and Magi-2?

They are three generations from Sand AI. Magi-1, released in April 2025 under Apache 2.0, generates video autoregressively, chunk by chunk. Magi-2 Preview, open-sourced under Apache 2.0 in August 2026, generates 10-second clips with sound. Magi-2, launched in November 2026, is a larger model trained on about three times the Preview's data, and makes up to 30 seconds of 1080p with sound. Kerox runs Magi-2. Magi-2's own weights are not open yet: Sand AI says open-source releases and a technical report will follow.

How to use Magi-2

  1. 1

    Top up

    Add funds from $5. There is no subscription, and your balance does not expire.

  2. 2

    Set up the video

    Write a prompt, choose the duration and aspect ratio, and add a first frame or reference files if you need them. The price for these settings shows before you start.

  3. 3

    Generate and download

    The amount is held when you start and settled when the video finishes. A failed generation is refunded in full.

Prefer code? The same model runs through the Kerox API with the model ID sand-ai/magi-2. See the Magi-2 API docs.

What you can make with Magi-2

  • Text to video with sound. A prompt alone gives a 1080p clip with natural sound, up to 30 seconds.

  • Image to video. Start from a first frame, or set the first and the last frame and let the model fill in the motion.

  • Videos guided by references. Pass images of a subject, a product or a setting, and describe the scene around it.

  • Scenes with dialogue. Write the lines in quotes and the model voices them in sync with the speaker's lips.

  • Clips that follow a reference sound. Add reference audio for a voice, a rhythm or a piece of music, up to 30 seconds in total.

Magi-2 vs other models on Kerox

All of these run on the same balance and the same API. To switch, change the model ID and keep to settings the other model supports. Starting prices are in the table.

ModelWhen to pick itStarting price
Magi-2Sand AI's video model, 4 to 30 seconds at 1080p with sound, one rate for every mode. Pick it for long 1080p clips with dialogue or sound.$0.1000 / Per second
Seedance 2.5ByteDance's video model, 4 to 30 seconds at 480p, 720p or 1080p, with up to 30 reference images. Pick it when you want a lower resolution or many references.Approx. $0.0977 / s
Kling 4.0Kuaishou's video model, 3 to 30 seconds at 720p, 1080p or 4K. Pick it when you need 4K.$0.1413 / Per second
Wan 3.0Alibaba's video model, 2 to 30 seconds at up to 1080p. Pick it for clips shorter than 4 seconds.$0.0400 / Per second
MiniMax H3MiniMax's video model, 4 to 15 seconds at 768p or 2K. Pick it for short 2K clips.$0.0400 / Per second

Similar models