MAGI-2

Sand AI MAGI-2 1080p cinema video generation model supporting 4–30 second Text-to-Video, 1–2 frame Image-to-Video, and up to 20 multimodal references (10 images, 5 videos ≤30s, 5 audio clips ≤30s) with native synchronized dialogue and sound effects at zero extra reference fee.

First $10 · +50 BonusCinema-tier video unlocks on your first $10 top-up (1,000 + 50 Bonus Credits); claim 15 free Credits to test standard models firstUnlock Model ($10)
Sand AIAvailablemagi-2-text-to-videoPOST /v1/videos/generations3 public model IDs
From$0.1000/ s(10.00 Credits / s)
Model Highlights4–30s · Native 1080p · 20 Refs + Synced Sound
Best For10–30s 1080p narrative short dramas with synced dialogue · 20-asset multimodal character, motion & voice reference locking · 21:9 cinema trailers & start-to-end frame transitions
InputNatural-language prompt · Start/end frames & up to 20 image/video/audio refs
Output & DeliveryClean MP4 with synced sound · Saved for 30 days

MAGI-2 Online Web Studio

Choose resolution and duration for an instant cost quote without signing in, or sign in to upload reference files and generate clean, watermark-free videos.

Video Settings

magi-2-text-to-video
15 Free Credits
Generation Mode
284 chars
Presets:
4s – 30s
5s
Exact cost~$0.500050.00 Credits
1080p · 5s
Ready
Choose size and quality on the left for an instant quote, then click Generate
Task Records30-day retention · Latest 3 for this model
Sign in to view your latest 3 runs (30-day retention) for this model.

MAGI-2 Pricing & Cost Guide

Deterministic requested-duration billing across all 3 modes: flat 10.00 Credits/s ($0.10/s) at 1080p (4s min = 40 Credits, 5s = 50 Credits). Up to 20 image/video/audio references and synced audio add 0 extra Credits; failed calls charge 0 Credits.

Starting Price

$0.4000/ clip
40.0000 Credits · 480p · 4s · Text-to-Video
  • $10 top-up yields ~20 clips (5s · 1080p) (first $10 gives 1,000 + 50 Bonus Credits)
  • $0 charged if a generation fails or times out—full balance preserved

What Your Balance Creates

$1 = 100 Credits
  • $10 (1,000 Credits)20 clips (5s · 1080p) · 100s total
  • $50 (5,000 Credits)100 clips (5s · 1080p) · 50 clips (10s · 1080p)
  • $100 (10,000 Credits)200 clips (5s · 1080p) · 1,000s total
SpecificationRef creditsUSD equivPer $10
1080p per-second rate · T2V / I2V / Multimodal R2V (all modes flat rate)10.000000 Credits / s$0.1000 / s100 sec (1080p)
4s 1080p minimum clip · Includes synced sound & up to 20 refs (+0 fee)40.000000 Credits$0.40~25 clips (4s)
5s 1080p standard shot (default) · T2V / I2V / Multimodal R2V50.000000 Credits$0.50~20 clips (5s)
10s 1080p narrative scene · Synced dialogue & ambient sound100.000000 Credits$1.00~10 clips (10s)
30s 1080p continuous long take (maximum duration)300.000000 Credits$3.00~3 clips (30s)

Interactive Cost Calculator

Pick quality settings and quantity to see exact Credits and USD cost.

Interactive Specification Cost Calculator
magi-2-text-to-video
Generation mode0 extra fee for up to 20 multimodal refs
Video resolution (quality)
Clip duration (4 to 30s)5 sec
Native Synchronized Audio & Dialogue (generate_audio: true)Included · +0 Credits
Price per Call
50.00Credits / clip (5s)
≈ $0.5000 USD ($1 = 100 Credits)
Per-second rate
10.00 Credits/s ($0.10/s)
Mode & audio
Text-to-video · Synced audio (+0 Credits)
$10 (1,000 Credits) output
~20 clips (5s)
100 runs: $50.005,000 Credits
Deterministic requested-duration billing (10 Credits/s); up to 20 image/video/audio references and synced audio add 0 Credits; failed calls cost 0 Credits.

About MAGI-2, MCP & Model Comparison

4–30s 1080p cinema · 20 multimodal refs · Synced audio

014–30s · Native 1080p · 20 Refs + Synced Sound

Core Capabilities

Sand AI MAGI-2 brings a 480B-parameter cinema video model to the browser Web Studio, Claude, ChatGPT & Codex via MCP (https://mcp.callmodels.dev/mcp), and POST /v1/videos/generations—delivering 4–30 second native 1080p (25 fps) clips with synchronized dialogue, sound effects, and ambient audio across Text-to-Video, Image-to-Video (1 start frame or 2 start+end frames), and Reference-to-Video (up to 20 multimodal assets: up to 10 images, 5 videos ≤30s total, and 5 audio clips ≤30s total).

02POST /v1/videos/generations

Input Specs & 30-Day Delivery

Input
Natural-language prompt · Start/end frames & up to 20 image/video/audio refs
Output
Clean MP4 with synced sound · Saved for 30 days
03$0.1000 / s

Pricing Advantage & $0 Failure Protection

Pricing is a flat 10.00 Credits / second ($0.10/s) billed strictly on requested integer duration ($0.40 for 4s, $0.50 for 5s, $1.00 for 10s, $3.00 for 30s), with $0 extra surcharge for synchronized audio or any image, video, and voice reference files, and $0 charged on failed calls.

Three Ways to Use MAGI-2

Use MAGI-2 MCP in Claude, ChatGPT & Codex

Connect https://mcp.callmodels.dev/mcp via 1-click OAuth 2.1 (no API key needed) and run MAGI-2 in plain English inside Claude, ChatGPT, Codex, Cursor, or Gemini with upfront price quotes before any spend.

Example chat prompt

Use Callmodels MAGI-2 to generate a 5s 1080p widescreen bamboo raindrop garden video with synced rain sound; quote the cost first.

Connect Chat Assistant

Direct HTTPS REST API

Send standard JSON requests to POST /v1/videos/generations on https://api.callmodels.dev with account-scoped Idempotency-Key deduplication and 30-day signed result URLs—zero vendor SDK lock-in.

Jump to API Reference

Integrate with AI Coding Agents (Cursor / Claude Code)

Copy a self-contained engineering prompt with exact endpoint, schema constraints, polling loop, and error handling—paste straight into Cursor, Claude Code, or Codex.

Production Use Cases

1080p · 4..30s ($0.10/s)

10–30s 1080p narrative short dramas with synced dialogue

Render coherent 10 to 30 second 1080p scenes with natural multi-character motion, lip-synced speech, and ambient foley in a single take—locked at $1.00 for 10s or $3.00 for 30s.

magi-2-reference-to-video · 0 ref surcharge

20-asset multimodal character, motion & voice reference locking

Combine up to 10 character/wardrobe images, 5 reference motion videos (≤30s total), and 5 voice/music clips (≤30s total) in one call without paying a single extra credit for input media.

21:9 (T2V / R2V) · 1–2 frames (I2V)

21:9 cinema trailers & start-to-end frame transitions

Shoot anamorphic 21:9 widescreen trailers on Text-to-Video and Reference-to-Video, or supply 1 start image or 2 start+end images on Image-to-Video with automatic aspect-ratio matching.

Sibling & Family Model Comparison

ModelBilling ModeMax SpecStarting PriceOutput per $10Best For
Grok Imagine Video 1.5Per requested second1080p · 1–15s · 14 image refs + Audio$0.0180 / s~92 clips (6s 480p)Lowest-cost 480p–1080p audio clips, 1–3s loops & 14-ref video
Seedance 1.0 Pro FastPer requested second1080p · 12s · Silent MP4$0.0079 / s251 clips (5s · 480p)Storyboards and single-image animation
Seedance 2.0 Mini0.1s duration720p · 4–15s · T2V/I2V/R2V$0.0226 / s~88 clips (5s 480p)High-volume automation with native audio
Seedance 2.0 (Fast & 4K)0.1s durationFast 720p & Std 4K · 6 modes$0.0498 / s~40 clips (5s Fast)Daily 720p e-commerce clips (-40% Fast) & native 4K masters
Seedance 2.5 Flash0.1s duration720p · 4–30s/Auto · 5 modes$0.0830 / s~24 clips (5s 480p)Fast 15–30s long-take HD storyboards, R2V & video edit/extend
Seedance 2.50.1s duration4K · 4–30s/Auto · 6 modes + Draft$0.1264 / s~15 clips (5s 480p)Flagship 4K cinema commercials, video edit/extend & draft-to-video
MAGI-2Per requested second1080p · 4–30s · 20 multimodal refs + Audio$0.1000 / s20 clips (5s 1080p)4–30s native 1080p cinema narrative, synced dialogue & zero-surcharge 20-asset R2V

Itemized Call Billing & 30-Day Result Delivery

Transparent Billing & Guarantee · MAGI-2

$0 on Failure
Price Guarantee
Price locked the moment you click Generate
Duplicate Protection
Automatic deduplication on network retries
Starting Rate
$0.1000 / s (10.00 Credits / s)
Failed or Timed Out
0 Credits (nothing charged)

How billing and 30-day file delivery work

  1. 1
    Submitting a request locks the published rate and temporarily holds the maximum credits for your chosen specification.
  2. 2
    Once generation finishes, Callmodels verifies output file integrity and metadata before marking the task completed.
  3. 3
    Exact usage is settled against the locked rate, any unused hold returns immediately to your balance, and a 30-day HTTPS link is signed.
  4. 4
    Your backend or browser reads https://files.callmodels.dev/... directly for 30 days without passing an API key.

MAGI-2 FAQ (Web Studio, MCP & API)

How is Sand AI MAGI-2 priced, and do reference videos or audio add extra cost?

MAGI-2 charges a flat 10.00 Credits / second ($0.10/s) across all three modes (Text-to-Video, Image-to-Video, and Reference-to-Video) based strictly on your requested integer duration (4–30s). Native synchronized audio (generate_audio: true) and up to 20 multimodal reference files (images, videos, and audio) add 0 extra Credits.

How do I use MAGI-2 MCP in Claude, ChatGPT, or Codex?

Add https://mcp.callmodels.dev/mcp as a Remote MCP server in Claude, ChatGPT, Codex, Cursor, or Google Gemini and sign in via 1-click OAuth 2.1 (no API key required). With this MAGI-2 MCP connector, you can upload reference images, videos, or voice clips via prepare_upload at $0 surcharge, preview the exact flat quote ($0.50 for a 5s 1080p synced-audio clip) via estimate_cost, and get a 30-day signed MP4 link with $0 on failed runs.

Which aspect ratios are supported across Text-to-Video, Image-to-Video, and Reference-to-Video?

magi-2-text-to-video and magi-2-reference-to-video support "16:9" (default), "9:16", "1:1", "4:3", "3:4", and cinema "21:9". magi-2-image-to-video defaults to "adaptive" (matching your uploaded start frame) and also accepts "16:9", "9:16", "1:1", "4:3", and "3:4" ("21:9" is not supported on image-to-video and returns HTTP 400 with 0 Credits held).

What are the limits for image_urls, video_urls, and audio_urls on magi-2-reference-to-video?

You must supply at least one reference file, up to 20 total assets per call: up to 10 HTTPS images in image_urls (JPG/PNG/WebP ≤30 MB each), up to 5 HTTPS videos in video_urls (MP4/MOV, 2–30s each and ≤30s combined), and up to 5 HTTPS audio clips in audio_urls (MP3/WAV, 2–30s each and ≤30s combined).

When should I pick MAGI-2 vs. Seedance 2.5 or Grok Imagine Video 1.5?

Choose MAGI-2 when you want predictable flat 1080p per-second pricing ($0.10/s) on 4–30s synced-audio narrative shots—especially when passing reference videos without paying bidirectional input-video seconds. Choose Seedance 2.5 when you need native 4K mastering, video edit/extend, or 480p draft previews, and Grok Imagine Video 1.5 for ultra-low-cost 1–15s clips from $0.018/s.

What happens if a MAGI-2 generation fails or times out?

Any task ending in failed or timeout settles at 0 Credits and automatically releases 100% of held credits back to your account balance and API key quota.

MAGI-2 API Reference & Code Examples

Submit to POST /v1/videos/generations with your Bearer key and a stable Idempotency-Key. Query the returned task ID for its result links and settled credits.

Building with Cursor, Claude Code, or Codex? Copy the AI Integration Prompt

Includes exact endpoint, parameter constraints, async polling loop, and error handling—paste straight into your coding agent.

Standalone Docs Page
Endpointhttps://api.callmodels.dev/v1/videos/generationsGET /v1/tasks/{task_id}
Public model IDs
magi-2-text-to-videoText-to-Video (4–30s · 1080p Cinema)magi-2-image-to-videoStart / Start+End Frame Image-to-Video (4–30s · 1080p)magi-2-reference-to-videoMultimodal Reference-to-Video (Up to 10 Images + 5 Videos + 5 Audios)
ParameterTypeAllowed values & notes
Authorizationheader · Required
string
Bearer sk-... server-side API key from your account.
Idempotency-Keyheader · Optional (recommended)
string
1 to 255 ASCII chars. Prevents duplicate submissions and charges for 24h.
# Set CALLMODELS_OPERATION_ID once per job and keep it for retries.
: "${CALLMODELS_OPERATION_ID:?Set a stable job ID}"
curl --silent --show-error --fail-with-body --max-time 15 "https://api.callmodels.dev/v1/videos/generations" \
  -H "Authorization: Bearer $CALLMODELS_API_KEY" \
  -H "Idempotency-Key: $CALLMODELS_OPERATION_ID" \
  -H "Content-Type: application/json" \
  --data-binary '{
  "model": "magi-2-text-to-video",
  "prompt": "Golden-hour sunlight filtering through crimson Japanese maple leaves onto a moss-lined bamboo water spout, raindrops rippling across still emerald water with crisp natural rain audio",
  "quality": "1080p",
  "duration": 5,
  "aspect_ratio": "16:9",
  "generate_audio": true
}'

# Set TASK_ID to the id from the response, then poll until terminal.
if [ -n "${TASK_ID:-}" ]; then
  curl --silent --show-error --fail-with-body --max-time 15 "https://api.callmodels.dev/v1/tasks/$TASK_ID" \
    -H "Authorization: Bearer $CALLMODELS_API_KEY"
fi
HTTP/1.1 200 OK
X-Request-Id: req_example
Cache-Control: no-store

{
  "id": "task_01e561ba-859e-47fe-be79-60bc6f1d6499",
  "model": "magi-2-text-to-video",
  "object": "video.generation.task",
  "created_at": "2026-11-21T00:00:00.000Z",
  "status": "completed",
  "results": [
    {
      "type": "video",
      "url": "https://files.callmodels.dev/task_01e561ba-859e-47fe-be79-60bc6f1d6499/0.mp4?expires=1797811200&sig=example",
      "expires_at": "2026-12-21T00:00:00.000Z"
    }
  ],
  "usage": {
    "cost_credits": "50"
  }
}

Video parameters depend on the model ID. Open a mode for its request, defaults and allowed fields. Reference generation needs a supported reference asset. Draft conversion requires a completed draft task ID.

Text-to-Video (4–30s · 1080p Cinema) magi-2-text-to-video
# Set CALLMODELS_OPERATION_ID once per job and keep it for retries.
: "${CALLMODELS_OPERATION_ID:?Set a stable job ID}"
curl --silent --show-error --fail-with-body --max-time 15 "https://api.callmodels.dev/v1/videos/generations" \
  -H "Authorization: Bearer $CALLMODELS_API_KEY" \
  -H "Idempotency-Key: $CALLMODELS_OPERATION_ID" \
  -H "Content-Type: application/json" \
  --data-binary '{
  "model": "magi-2-text-to-video",
  "prompt": "Soft morning light spreads across a hillside as the camera moves forward."
}'

# Set TASK_ID to the id from the response, then poll until terminal.
if [ -n "${TASK_ID:-}" ]; then
  curl --silent --show-error --fail-with-body --max-time 15 "https://api.callmodels.dev/v1/tasks/$TASK_ID" \
    -H "Authorization: Bearer $CALLMODELS_API_KEY"
fi
Request parameters (JSON Schema)
{
  "type": "object",
  "properties": {
    "model": {
      "type": "string",
      "enum": [
        "magi-2-text-to-video"
      ]
    },
    "prompt": {
      "type": "string",
      "minLength": 1
    },
    "quality": {
      "type": "string",
      "enum": [
        "1080p"
      ]
    },
    "duration": {
      "default": 5,
      "type": "integer",
      "minimum": 4,
      "maximum": 30
    },
    "aspect_ratio": {
      "default": "16:9",
      "type": "string",
      "enum": [
        "16:9",
        "9:16",
        "1:1",
        "4:3",
        "3:4",
        "21:9"
      ]
    },
    "generate_audio": {
      "default": true,
      "type": "boolean"
    },
    "output_format": {
      "default": "mp4",
      "type": "string",
      "enum": [
        "mp4"
      ]
    }
  },
  "required": [
    "model",
    "prompt"
  ],
  "additionalProperties": false
}
Start / Start+End Frame Image-to-Video (4–30s · 1080p) magi-2-image-to-video
# Set CALLMODELS_OPERATION_ID once per job and keep it for retries.
: "${CALLMODELS_OPERATION_ID:?Set a stable job ID}"
curl --silent --show-error --fail-with-body --max-time 15 "https://api.callmodels.dev/v1/videos/generations" \
  -H "Authorization: Bearer $CALLMODELS_API_KEY" \
  -H "Idempotency-Key: $CALLMODELS_OPERATION_ID" \
  -H "Content-Type: application/json" \
  --data-binary '{
  "model": "magi-2-image-to-video",
  "prompt": "Soft morning light spreads across a hillside as the camera moves forward.",
  "image_urls": [
    "https://example.com/your-start-frame.png"
  ]
}'

# Set TASK_ID to the id from the response, then poll until terminal.
if [ -n "${TASK_ID:-}" ]; then
  curl --silent --show-error --fail-with-body --max-time 15 "https://api.callmodels.dev/v1/tasks/$TASK_ID" \
    -H "Authorization: Bearer $CALLMODELS_API_KEY"
fi
Request parameters (JSON Schema)
{
  "type": "object",
  "properties": {
    "model": {
      "type": "string",
      "enum": [
        "magi-2-image-to-video"
      ]
    },
    "prompt": {
      "type": "string",
      "minLength": 1
    },
    "quality": {
      "type": "string",
      "enum": [
        "1080p"
      ]
    },
    "duration": {
      "default": 5,
      "type": "integer",
      "minimum": 4,
      "maximum": 30
    },
    "aspect_ratio": {
      "default": "adaptive",
      "type": "string",
      "enum": [
        "adaptive",
        "16:9",
        "9:16",
        "1:1",
        "4:3",
        "3:4"
      ]
    },
    "generate_audio": {
      "default": true,
      "type": "boolean"
    },
    "output_format": {
      "default": "mp4",
      "type": "string",
      "enum": [
        "mp4"
      ]
    },
    "image_urls": {
      "minItems": 1,
      "maxItems": 2,
      "type": "array",
      "items": {
        "type": "string",
        "format": "uri"
      }
    }
  },
  "required": [
    "model",
    "prompt",
    "image_urls"
  ],
  "additionalProperties": false
}
Multimodal Reference-to-Video (Up to 10 Images + 5 Videos + 5 Audios) magi-2-reference-to-video
# Set CALLMODELS_OPERATION_ID once per job and keep it for retries.
: "${CALLMODELS_OPERATION_ID:?Set a stable job ID}"
curl --silent --show-error --fail-with-body --max-time 15 "https://api.callmodels.dev/v1/videos/generations" \
  -H "Authorization: Bearer $CALLMODELS_API_KEY" \
  -H "Idempotency-Key: $CALLMODELS_OPERATION_ID" \
  -H "Content-Type: application/json" \
  --data-binary '{
  "model": "magi-2-reference-to-video",
  "prompt": "Soft morning light spreads across a hillside as the camera moves forward.",
  "image_urls": [
    "https://example.com/your-start-frame.png"
  ]
}'

# Set TASK_ID to the id from the response, then poll until terminal.
if [ -n "${TASK_ID:-}" ]; then
  curl --silent --show-error --fail-with-body --max-time 15 "https://api.callmodels.dev/v1/tasks/$TASK_ID" \
    -H "Authorization: Bearer $CALLMODELS_API_KEY"
fi
Request parameters (JSON Schema)
{
  "type": "object",
  "properties": {
    "model": {
      "type": "string",
      "enum": [
        "magi-2-reference-to-video"
      ]
    },
    "prompt": {
      "type": "string",
      "minLength": 1
    },
    "quality": {
      "type": "string",
      "enum": [
        "1080p"
      ]
    },
    "duration": {
      "default": 5,
      "type": "integer",
      "minimum": 4,
      "maximum": 30
    },
    "aspect_ratio": {
      "default": "16:9",
      "type": "string",
      "enum": [
        "16:9",
        "9:16",
        "1:1",
        "4:3",
        "3:4",
        "21:9"
      ]
    },
    "generate_audio": {
      "default": true,
      "type": "boolean"
    },
    "output_format": {
      "default": "mp4",
      "type": "string",
      "enum": [
        "mp4"
      ]
    },
    "image_urls": {
      "minItems": 1,
      "maxItems": 10,
      "type": "array",
      "items": {
        "type": "string",
        "format": "uri"
      }
    },
    "video_urls": {
      "minItems": 1,
      "maxItems": 5,
      "type": "array",
      "items": {
        "type": "string",
        "format": "uri"
      }
    },
    "audio_urls": {
      "minItems": 1,
      "maxItems": 5,
      "type": "array",
      "items": {
        "type": "string",
        "format": "uri"
      }
    }
  },
  "required": [
    "model",
    "prompt"
  ],
  "additionalProperties": false
}
HTTP / Task Error CodeCause & Recommended HandlingBilling Impact
400 invalid_parameter
400 model_not_found
Use the model ID and parameters documented for the endpoint. Correct the JSON before sending again.0 Credits for this rejection
401 invalid_api_key
Check the server-side Bearer key, expiration and revocation status.0 Credits for this rejection
402 insufficient_balance
402 key_quota_exceeded
402 trial_interactive_only
402 trial_tier_restricted
Check available account credits and the key’s total and daily limits with GET /v1/credits, or top up from $10 to lift starter-trial channel/tier limits.0 Credits for this rejection
403 model_access_denied
403 account_disabled
Check the model allowlist and account status.0 Credits for this rejection
404 not_found
Check the task ID or original Idempotency-Key and the account that submitted it.0 Credits for this rejection
409 idempotency_key_conflict
Use the original JSON for this job. Assign a fresh key only to a new job.0 Credits for this rejection
413 body_too_large
415 unsupported_media_type
Send application/json with a request body no larger than 128 KiB.0 Credits for this rejection
500 internal_error
503 service_unavailable
503 model_unavailable
On a timeout or transient error, look up the original job and retry only with its original key and body.Check the task record
Task: invalid_media
Task: content_moderation
Task: invalid_input
Task: submission_rejected
The task ended (retryable: false) and its hold was released. Fix the prompt, parameters, or reference media (format, dimensions, aspect ratio, duration, or public HTTPS URL) before creating a new job with a fresh Idempotency-Key.0 Credits charged
Task: service_busy
Task: timeout
Task: delivery_failed
Task: submission_unknown
Task: upstream_failed
The task ended due to temporary load, timeout, or output verification failure (retryable: true) and its hold was released. You may create a separate generation job with a fresh Idempotency-Key.0 Credits charged

Ready to Ship with MAGI-2 API?

Sign in with Google to create scoped sk- API keys, top up from $10 with no monthly commitment, and pay $0 on failed calls.