MAGI-2 Text to Video API

sand-ai/magi-2/text-to-video
1080p · 4–30 sec

MAGI-2 Text to Video turns text prompts up to 15,000 characters into 4–30 second 1080p videos with synchronized dialogue, sound effects, and six aspect ratios. It maintains coherent motion and lighting across extended shots while keeping per-second billing predictable.

Input
Required105/15000
Optional
Optional
Optional
Optional
Optional
OutputFinished
Estimated cost: 64 credits · $0.320
Continue with

MAGI-2 Text to Video

MAGI-2 Text to Video is Sand AI's long-form text-driven video generation model engineered for native 1080p output and synchronized sound. Developers pass a single narrative or multi-beat prompt up to 15,000 characters, choose any duration from 4 to 30 seconds, and select from six aspect ratios including 16:9, 9:16, and 21:9. Audio synthesis is built in at a flat rate of 16 credits per second.

Why choose MAGI-2 Text to Video?

Built for longer 1080p scenes with integrated sound and simple flat-rate pricing.

  • Extended 4–30 second takesSet any integer duration from 4 to 30 seconds to stage multi-beat actions without stitching short fragments.

  • Native 1080p with synchronized soundEvery clip renders in Full HD with optional dialogue, ambience, and foley generated in the same pass.

  • Long-context 15,000-character promptsScript detailed camera moves, lighting cues, shot transitions, and audio direction in one prompt.

  • Flat 16 credits/s billingEvery second costs 16 credits ($0.08) regardless of aspect ratio or whether generate_audio is enabled.

MAGI-2 Text to Video Parameters

Only prompt is required; duration, aspect ratio, audio, and seed all have practical defaults.

ParameterRequirementDescription
promptRequired

Scene, motion, camera, and audio description up to 15,000 characters.

Default—
durationOptional

Output length in integer seconds from 4 to 30.

Default5
resolutionOptional

Output video resolution. Fixed at 1080p.

Default1080p
aspect_ratioOptional

Output framing: 16:9, 9:16, 1:1, 4:3, 3:4, or 21:9.

Default16:9
generate_audioOptional

Generates synchronized dialogue, effects, and ambient audio.

Defaulttrue
seedOptional

Non-negative integer up to 2,147,483,647 for reproducible runs.

DefaultRandom

How to use MAGI-2 Text to Video

Write a structured prompt, select duration and framing, then submit and poll the async job.

  1. Script visual and audio beatsSpecify subject, environment, camera trajectory, lighting, and sound cues in prompt.

  2. Configure duration and framingPick an integer duration from 4 to 30 seconds and one of the six supported aspect ratios.

  3. Submit the taskClick Run in the playground or POST sand-ai/magi-2/text-to-video to /api/generate/submit.

  4. Poll and retrieve MP4Poll /api/generate/status/{task_id} until finished and download the video from data.files[].file_url.

MAGI-2 Text to Video Pricing

Flat per-second billing at 16 credits ($0.08) per generated second. 1 credit = $0.005.

UsageRateDetails
5-second 1080p clip (default)80 credits ($0.40)5 s × 16 credits/s. Audio included at no extra charge.
10-second 1080p clip160 credits ($0.80)10 s × 16 credits/s across all aspect ratios.
30-second 1080p clip (max)480 credits ($2.40)30 s × 16 credits/s for long-form narrative takes.

Best use cases for MAGI-2 Text to Video

Suited for narrative scenes, commercials, and vertical clips that need longer runtime and native audio.

  • Narrative & multi-beat storytellingDirect 15–30 second continuous sequences with dialogue and camera staging from one long prompt.

  • Brand films & ad conceptsRender widescreen 16:9 or 21:9 spots in 1080p with synchronized ambience and foley.

  • Vertical social videoProduce 9:16 mobile-first clips with ready-to-play audio tracks.

Pro Tips

  • Structure longer 15–30s prompts chronologically so camera moves and subject actions flow smoothly.
  • Include explicit sound cues (ambience, footsteps, voice tone) when generate_audio is enabled.
  • Fix seed while iterating on lighting or phrasing to compare small prompt adjustments.

Notes

  • Tasks run asynchronously: submit returns a task_id and status returns the final MP4 URL when finished.
  • Toggling generate_audio on or off keeps the exact same 16 credits/s rate.
  • Credits are reserved upon submission based on duration × 16.

Sources

Model specifications for MAGI-2 are verified against Sand AI's official release notes and technical overview:

“MAGI-2 delivers native 1080p audiovisual video generation with long-horizon temporal consistency and controllable multi-shot storytelling.”

— Sand AI, MAGI-2 Official Overview

MAGI-2 Text to Video API frequently asked questions

What is the MAGI-2 Text to Video API?

MAGI-2 Text to Video is Sand AI's text-driven audiovisual video generation model that turns prompts up to 15,000 characters into 4–30 second 1080p clips with native sound. It supports six aspect ratios, extended temporal continuity, and flat per-second billing regardless of audio toggle. Built on Sand AI's autoregressive video foundation, it preserves lighting, subject coherence, and camera pacing across longer shots. Call sand-ai/magi-2/text-to-video via API or test it directly in the playground above.

How much does MAGI-2 Text to Video cost per second?

MAGI-2 Text to Video costs a flat 16 credits ($0.08) per generated second. A default 5-second clip is 80 credits ($0.40), and a 30-second clip is 480 credits ($2.40).

What video durations does MAGI-2 Text to Video support?

You can request any integer duration from 4 seconds to 30 seconds, with 5 seconds as the default.

Does turning on generate_audio increase the MAGI-2 Text to Video price?

No. Synchronized audio generation is included in the flat 16 credits/s rate whether generate_audio is true or false.

Which aspect ratios work with MAGI-2 Text to Video?

MAGI-2 Text to Video supports 16:9 (default), 9:16, 1:1, 4:3, 3:4, and 21:9 at 1080p.

How long can a MAGI-2 Text to Video prompt be?

Prompts support up to 15,000 characters, giving enough room for detailed multi-beat action, camera blocking, and audio cues.

How can I reproduce results in MAGI-2 Text to Video?

Pass the same integer seed (0 to 2,147,483,647) alongside identical prompt and settings to stabilize generation output.