Claude Opus 5.5 is live on SeedRouter
Sand.aiVideo generation

MAGI-2 — 1080p Native Audio-Video Generation

Sand.ai's 480B audio-video model for text-to-video, first/last-frame animation, and multimodal reference-to-video. Every MAGI-2 route bills per second at $0.08/s with audio included.

AvailableFrom $0.08/s
  • 4–30s 1080p output
  • Native synchronized audio
  • Text-to-video
  • First & last frame
  • Up to 10 reference images
  • Video & audio references
Model
MAGI-2 (480B)
Input
Text, images, video, audio
Output
1080p MP4 · 4–30s · optional audio
Model IDs
magi-2-{text,image,reference}-to-video

Try MAGI-2 before writing code

Switch between text-to-video, image-to-video, and reference-to-video with the exact JSON body your integration will send.

Create video task

magi-2-text-to-videoFrom $0.08/s

Pick a MAGI-2 route, add your prompt or reference media URLs, choose duration and aspect ratio, and submit once. Failed runs are not charged.

360 / 15000

Required for magi-2-text-to-video; optional for image-to-video and reference-to-video. Up to 15,000 characters.

5
430

Integer from 4 to 30 seconds (default 5).

MAGI-2 outputs 1080p MP4 video across all routes.

Choose 16:9, 9:16, 1:1, 4:3, 3:4, or 21:9.

Include synchronized dialogue, sound effects, and music at no extra cost. Turn off for silent clips.

Optional integer from 0 to 4294967295 for repeatable generations.

Reference estimate~$0.40

Estimated from current per-second rates and requested duration.

…
Ready

Try one of these prompts

Generated with MAGI-2 at 1080p with native synchronized audio.

MAGI-2 pricing

Every MAGI-2 route bills at one flat per-second 1080p rate ($0.08/s). A default 5-second clip costs $0.40. Reference images, videos, audio tracks, and synchronized output audio add zero surcharge.

Default 5-second clip1080p · 5 seconds · audio included
MAGI-2
$0.40per 5s clip
Same rate across text-to-video, image-to-video, and reference-to-video.
Seconds per $20.00 top-up1080p · any MAGI-2 route
MAGI-2
250seconds
One-time top-up credits never expire; pay only for completed renders.

Prices are read live from the billing ledger. Failed tasks are never charged.

Categorymagi-2-text-to-videoPrice · 1 secondmagi-2-image-to-videoPrice · 1 secondmagi-2-reference-to-videoPrice · 1 second
1080p (per second)$0.08$0.08$0.08

About MAGI-2

MAGI-2 is Sand.ai's 480-billion-parameter native audio-video foundation model. Unlike pipelines that bolt sound onto silent footage afterward, MAGI-2 synthesizes 1080p visuals, dialogue, foley, and background ambience jointly in a single generation pass.

On SeedRouter, MAGI-2 exposes three dedicated model IDs on POST /v1/videos/generations: magi-2-text-to-video for pure prompt synthesis, magi-2-image-to-video for first-frame or first-and-last-frame transitions, and magi-2-reference-to-video for multimodal conditioning with images, videos, and audio tracks.

Model IDs: magi-2-text-to-video, magi-2-image-to-video, magi-2-reference-to-video · Endpoint: POST /v1/videos/generations · Polling: GET /v1/tasks/{id}

Routes
Text, Image (1–2 frames), Reference
Duration
4–30 seconds (integer, default 5s)
Aspect ratios
16:9, 9:16, 1:1, 4:3, 3:4, 21:9
Resolution
1080p MP4 with optional native audio
Delivery
Async task ID + hosted MP4 URL

Two ways to call MAGI-2

Integrate directly from your backend or hand a ready-made prompt to your coding agent.

Backend API

Call from your app

Best for production services, batch pipelines, and video editors

Send JSON to POST /v1/videos/generations with your SeedRouter API key, then poll GET /v1/tasks/{id} until the 1080p MP4 URL is ready.

  1. 1Create an API key in your SeedRouter dashboard.
  2. 2POST a MAGI-2 request with model, duration, and inputs.
  3. 3Poll /v1/tasks/{id} and download output.video_url on completion.
Coding Agent

Run with an AI agent

Best for Claude Code, Codex, Cursor, or automated creative scripts

Copy a self-contained prompt that instructs your coding agent to inspect parameters, estimate cost, ask for confirmation, and save the finished MAGI-2 clip locally.

  1. 1Export SEEDROUTER_API_KEY in your local shell.
  2. 2Copy the MAGI-2 agent prompt and paste it into your agent.
  3. 3Approve the request body and let the agent poll and download the MP4.

What MAGI-2 delivers

Key capabilities across all three MAGI-2 generation routes.

Synchronized native audio

Generate dialogue, environmental ambience, and sound effects locked to on-screen motion by default, or set generate_audio to false for silent output.

Long 4–30 second clips

Request any integer duration between 4 and 30 seconds in a single call, allowing full multi-beat camera moves without stitching short fragments.

First and last frame control

Pass one frame to animate a still image, or two frames to bridge cleanly from an opening composition to a target ending frame.

Multimodal references

Combine up to 10 reference images, 5 reference videos, and 5 reference audio tracks in magi-2-reference-to-video to anchor identity, motion, and sound.

Six aspect ratios at 1080p

Render widescreen 16:9, vertical 9:16, square 1:1, classic 4:3, portrait 3:4, or cinema 21:9 directly at 1080p.

Predictable flat billing

Every MAGI-2 mode bills by requested output seconds only, with zero extra charge for audio generation or reference inputs.

Where teams use MAGI-2

Commercial storyboards & pre-vis

Turn keyframe artwork into 1080p shots with matching ambient sound before committing to full production.

Consistent character scenes

Feed character sheets, location stills, and voice clips into magi-2-reference-to-video to keep identity steady across shots.

Vertical 9:16 social spots

Produce native 9:16 short-form video up to 30 seconds long with synchronized sound effects ready for publishing.

Exact start-to-end transitions

Supply opening and closing product frames on magi-2-image-to-video to animate smooth reveals and morphs.

Audio-guided visualizers

Attach WAV or MP3 reference tracks to steer pacing and sonic mood in multimodal reference generations.

Rapid creative iteration

Use integer seeds and 15,000-character prompts to refine camera direction, lighting, and timing reproducibly.

Start generating with MAGI-2 in four steps

  1. 01

    Create a SeedRouter key

    Sign in, top up credits once (credits never expire), and mint a Bearer API key.

  2. 02

    Choose a MAGI-2 route

    Select magi-2-text-to-video, magi-2-image-to-video, or magi-2-reference-to-video based on your inputs.

  3. 03

    POST /v1/videos/generations

    Submit your JSON payload with public HTTP/HTTPS media URLs and receive a task ID immediately.

  4. 04

    Poll /v1/tasks/{id}

    Check status until completed, then download the 1080p MP4 from output.video_url.

Get your API key

MAGI-2 specification summary

Core parameters and limits enforced across the MAGI-2 API contract.

Model IDs
magi-2-text-to-video, magi-2-image-to-video, magi-2-reference-to-video
Output resolution
1080p MP4
Duration range
4–30 seconds (integer, default 5s)
Aspect ratios
16:9, 9:16, 1:1, 4:3, 3:4, 21:9
Native audio
Optional synchronized audio (generate_audio, default true, included)
Reference limits
I2V: 1–2 images · R2V: ≤10 images, ≤5 videos, ≤5 audio tracks

All constraints are validated before billing; rejected requests return HTTP 400 with zero charge.

Constraints and limits

Public HTTP/HTTPS URLs only

Base64 strings and data: URIs are rejected. Host reference images, videos, and audio on reachable HTTPS URLs.

Media size and length caps

Reference images up to 30 MB each; videos up to 200 MB (2–30s each, ≤ 30s combined); audio up to 15 MB (2–30s each, ≤ 30s combined).

Strict route validation

Unknown JSON keys and cross-route fields (such as video_urls on text-to-video) return HTTP 400 before any credit is reserved.

Asynchronous polling

Video rendering runs asynchronously. Poll GET /v1/tasks/{id} instead of re-posting on client timeouts.

Why run MAGI-2 on SeedRouter

One-time top-up, no subscription

Add credits when you need them. Balances never expire and there are no monthly seat fees.

Failed requests are not charged

If a MAGI-2 generation fails or is rejected, your reserved balance is released automatically.

Unified video endpoint

Use the same POST /v1/videos/generations and GET /v1/tasks/{id} workflow shared by other video models on SeedRouter.

Live ledger pricing

Every rate shown on this page is fetched directly from the live billing catalog with no hidden surcharges.

One API key across models

Call MAGI-2 alongside image, video, and language models using the same Bearer key.

Other video models on SeedRouter

Compare MAGI-2 with other asynchronous video generation models available under the same API key.

Seedance 2.0
dreamina-seedance-2-0

ByteDance

Explore model
Seedance 2.0 Fast
dreamina-seedance-2-0-fast

ByteDance

Explore model
Seedance 2.0 Mini
dreamina-seedance-2-0-mini

ByteDance

Explore model
Seedance 2.5
dreamina-seedance-2-5

ByteDance

Explore model
Seedance 2.5 Flash
dreamina-seedance-2-5-flash

Explore model
SD Video
sd-video

Explore model

Frequently asked questions

What model IDs does MAGI-2 use on SeedRouter?

MAGI-2 provides three model IDs on POST /v1/videos/generations: magi-2-text-to-video, magi-2-image-to-video, and magi-2-reference-to-video.

How much does MAGI-2 cost?

All three MAGI-2 routes bill at $0.08 per requested output second at 1080p. A default 5-second clip costs $0.40. Synchronized audio and reference inputs add no extra charge.

Does MAGI-2 charge extra for synchronized audio or reference media?

No. Setting generate_audio to true and supplying reference images, videos, or audio tracks are included in the flat per-second MAGI-2 rate.

What video lengths and resolutions does MAGI-2 support?

MAGI-2 generates 1080p MP4 clips from 4 to 30 seconds (integer, default 5) across 16:9, 9:16, 1:1, 4:3, 3:4, and 21:9 aspect ratios.

How many reference files can I pass to MAGI-2?

magi-2-image-to-video requires 1 image (first frame) or 2 images (first and last frames). magi-2-reference-to-video accepts up to 10 images, 5 videos, and 5 audio tracks, with at least one reference required.

Can I send base64 images or local files directly to the MAGI-2 API?

No. The API requires public HTTP or HTTPS URLs for image_urls, video_urls, and audio_urls. In the Playground, uploaded files are automatically hosted as URLs before submission.

Am I charged if a MAGI-2 generation fails?

No. Failed requests are not charged on SeedRouter.

Build with MAGI-2 today

Test all three MAGI-2 routes in the Playground or start sending requests to POST /v1/videos/generations.