MAGI-2

MAGI-2 is Sand AI's flagship video model, generating 1080p clips of 4 to 30 seconds with synchronized audio, including dialogue with lip sync, sound effects, ambience and music, in a single pass. It starts from a text prompt, from a first frame with an optional last frame, or from up to 10 reference images, 5 reference videos and 5 reference audio clips, in six aspect ratios from 21:9 to 9:16. It suits dialogue scenes, narrative shots and reference-driven work that needs consistent subjects and sound in one generation.

Complete technical specification for integration
Ready-to-use code snippets for common workflows
Step-by-step tutorials for advanced use cases
Prompting
How to write text-to-video prompts for MAGI-2: one clause per decision, how much action a clip holds, camera moves with an end point, and the six 1080p frame shapes.
Dialogue and sound
How to write spoken lines for MAGI-2's native audio, from one speaker to a two-person scene, and how to direct effects, ambience, a score and lines in other languages.
Long takes and multi-shot sequences
How to plan a 30-second MAGI-2 clip as a timed shot list with hard cuts or as one continuous take, and how to keep a character the same from the first shot to the last.
First and last frame
How to animate a first frame or connect a first and last frame with MAGI-2: what to write about the frame, building a matching pair, and ordering the motion between them.
Reference images
How to build MAGI-2 clips from up to ten reference images: addressing each one as Image 1, giving it a role, casting two people, and borrowing a style.
Video and audio references
How to drive MAGI-2 with reference videos and audio: borrowing a routine or a camera path, giving a speaker a voice from a clip, and cutting a montage to a music track.