Choose video settings and reference assets, then write a prompt for the scene you want to generate. Start with a 15-second convenience-store scene or use the 16-second rooftop race to plan individual shots.
Model parameters
| Setting | MAGI-2 |
|---|---|
| Model | MAGI-2 |
| Price | US$0.08 per second |
| Output duration | 4–30 seconds |
| Aspect ratios | 21:9, 16:9, 4:3, 1:1, 3:4, 9:16 |
| Resolution | 1080p |
| Frame rate | 25 FPS |
| Output format | MP4 with H.264 video |
| Output audio | On by default |
| Prompt enhancement (PE) | On by default |
| Random seed | Omit seed or set it to -1 to select a random positive integer. |
| Visible watermark | Off by default |
| Prompt length | Up to 20,000 characters |
Reference assets
Omni-reference accepts up to 20 standard reference assets in total. Video and audio each have their own 30-second total duration limit.
| Reference type | Maximum count | Duration per clip | Size per asset |
|---|---|---|---|
| Image | 10 | — | Less than 30 MB |
| Video | 5 | 2–30 seconds | Up to 200 MB |
| Audio | 5 | 2–30 seconds | Up to 15 MB |
Each image must be 16–10,000 pixels on each side and contain no more than 16 million pixels. The longer side may be up to 100 times the length of the shorter side. For file sizes, 1 MB equals 1,000,000 bytes.
| Input | Supported formats |
|---|---|
| Image | JPEG, PNG, WEBP, BMP, TIFF, GIF, HEIC, HEIF |
| Video | MP4 or MOV with H.264/AVC or H.265/HEVC video |
| Audio track in MP4 | AAC, MP3 |
| Audio track in MOV | AAC, MP3, PCM |
| Audio file | WAV, MP3 |
Supply the assetId of media already uploaded by the same organization, an asset:// URL, or a publicly accessible direct HTTPS link.
Write a prompt
For a simple scene, describe the subject, setting, and action. For a sequence that depends on the timing of a cut, a camera move, or a sound, plan the shots on a timeline.
Basic prompts
In this 15-second convenience-store comedy, three details establish the scene.
| Element | What to describe | Example |
|---|---|---|
| Subject | Identify the people, animals, or objects and the features that matter on screen. | Maggie, a girl, and No.2, a small light-brown monkey. |
| Setting | Describe the location, time, weather, and layout as needed. | A brightly lit neighborhood convenience store at dusk. The candy rack is beside the register. The fruit rack is at the back right. |
| Action and change | Give the starting situation, the action, and its outcome. | Maggie is about to pay for gum. No.2 brings her bananas. She gives in and buys them. |
Add details where they affect the result.
- Visual direction. Specify the style, light, color, and mood. For example, ask for a naturalistic scene with soft store lighting and a playful, everyday feel.
- Camera and pace. You can leave the shot plan to the model or describe it in a sentence. Follow the action with a handheld camera, cut low when No.2 brings the bananas, then cut to Maggie’s reaction.
- Format and sound. Specify the duration, aspect ratio, music, and subtitles you need. For dialogue, name the speaker and quote the line.
- Reference assets. If you have references, describe what each contributes and which details must stay consistent.
Build the prompt in the order below. Each excerpt illustrates one part of the same scene.
Tip. The examples use
@Image1,@Image2, and@Image3for images in upload order. After pasting an example into Playground, replace each label by typing@and selecting the matching uploaded image.
Reference notes (optional)
Describe images, video, or audio in upload order. Identify the subject in each reference and which features to use, such as appearance, action, setting, composition, camera motion, style, or sound. State what can change. Distinguish subjects in a shared image by position or appearance, and keep each subject’s name consistent across angles.
@Image1: Maggie. Keep her face, hairstyle, and clothes.
@Image2: The little monkey No.2. Keep its appearance, fur color, and build.
@Image3: The convenience store. Use the layout of the register, candy rack, and fruit
rack as a reference. Generate the actions and camera work as described below.
Overview
In one or two sentences, introduce the subjects and setting, the event that changes the scene, and the ending. Add genre, duration, aspect ratio, and mood where relevant.
Generate a 15-second, 16:9 naturalistic slice-of-life comedy. At the convenience
store, Maggie is about to pay for her gum when the little monkey No.2 brings over
two bananas and asks her to add them to the purchase. Maggie is a little
exasperated, but buys them anyway.
Sequence of events
Give each segment a start and end time. Say who acts, how the other subject responds, and what changes. Words such as “then” and “meanwhile” distinguish successive actions from simultaneous ones. Mark the cuts you want and where a shot should continue. Place dialogue, sounds, text, and effects at their cues. Allow time for transitions and pauses, and make the segments add up to the selected duration.
Shot 1 | 0–3 seconds | Getting ready to pay
Maggie puts the gum on the counter. The cashier scans it with a short beep. Maggie
takes out her phone with her right hand to pay.
In the back right of the frame, No.2 has already left the fruit rack with two
bananas and is heading toward her.
Shot 2 | 3–6 seconds | An unexpected extra
At 3 seconds, hard cut to a low-angle medium shot. Maggie's legs stay on the left.
No.2 enters from the right, holding the bananas in both hands and bobbing naturally
as it takes short steps.
It stops beside Maggie's legs, raises the bananas, and looks up at her pleadingly.
Maggie notices it, pauses with her phone still in her hand, and looks down.
Shot 3 | 6–10 seconds | Reluctantly giving in
At 6 seconds, hard cut to a medium close-up of Maggie. The bananas raised by No.2
enter the frame at the lower right.
Maggie looks at the bananas, then at No.2. She presses her lips together, breathes
out softly, and relaxes her shoulders as a small, resigned smile appears. Hold
briefly on her reaction.
She bends slightly and takes the bananas securely in her left hand before No.2 lets
go. She places the bananas on the counter, still holding her phone in her right
hand.
Shot 4 | 10–15 seconds | After the purchase
At 10 seconds, hard cut to a slightly wider medium shot from the side. The cashier
scans the bananas with a beep. Maggie holds her phone close to the payment terminal,
and the confirmation tone sounds.
She puts away her phone, takes the bananas, and bends down to hand them to No.2. The
monkey takes them securely with both hands, hugs them to its chest, and draws close
to her legs. Maggie gently pats its head and shakes her head with a smile.
Hold on the two of them interacting for the final second.
Visual and sound continuity
Collect requirements that apply throughout, such as lighting, colors, textures, camera style, character appearance, props, music, and ambient sound. Keep one-off actions and sounds in their segments. Check that local cues agree with the overall direction.
Use bright, soft convenience-store lighting and natural skin tones. The shelves are
well stocked but don't draw attention away from the action. Keep the performances
restrained. Show Maggie's exasperation through a pause in her movement, her gaze,
the way she exhales, and small changes in expression. Keep appearances consistent,
show exactly two bananas throughout, and make sure the recipient has them securely
before the other lets go.
Keep the store ambience subtle. Sync the scanner beep and payment confirmation tone
with the action. No background music, dialogue, or subtitles.
Advanced prompts
The 16-second rooftop race uses seven shots. Plan what stays consistent across the sequence, then give each shot a time range, a camera position and path, a subject to follow, and an end state the next shot can pick up.
The excerpts below cover the reference assets, route, camera plan, timeline, and global constraints. The shot-by-shot excerpt shows the first two shots in detail.
Reference assets and continuity
In upload order, say which asset supplies appearance, clothing, proportions, movement, setting, style, or sound. An appearance reference can supply a character’s features while leaving the opening pose and background open. Specify what should stay recognizable through turns, fast movement, occlusion, and cuts.
@Image1: Maggie. Keep the face, hairstyle, clothing, shoes, accessories, and body
proportions from the reference. Leave out the standing pose, background, and layout.
@Image2: the young monkey No.2. Keep the facial features, fur color, build, limb
proportions, tail, and existing accessories. Use the running, grasping, climbing,
and jumping movements of a real monkey on all fours.
Keep the same Maggie and the same No.2 throughout. Their appearance stays consistent
through fast movement, rear views, jumps, and occlusion.
Scene overview
Identify the subjects, location, route, and ending. Give the duration, aspect ratio, format, and shot count. Describe the action already underway in the first frame.
Generate a 16-second realistic cinematic action short in landscape 16:9, with seven
shots.
Maggie and No.2 race at full speed across rooftops in a European seaside town. The
finish line is the sea-view terrace at the clock tower ahead. Both know the route
and are already sprinting at full speed in the first frame. They clear obstacles,
leap across a narrow alley, and pass through a laundry area in one continuous run.
No.2 reaches the finish first, with Maggie close behind.
Keep the mood light, agile, and energetic, with a hint of playful competition
between partners. The characters are genuinely fast. The camera uses different
points of view to convey speed and space.
Movement and priorities
Choose the movement that matters most. Describe the gait, center of gravity, ground contact, force, and transition into the next step. In a race, these cues distinguish an experienced runner clearing an obstacle from one hesitating before a jump. Give the monkey its own gait.
The top priority is Maggie’s convincing high-speed running at normal playback speed.
She sprints like an experienced parkour athlete. Her torso leans slightly forward,
her hips drive forward, and her arms swing alternately and forcefully. Each foot
touches down briefly and pushes back off the ground as the other leg swings forward.
Her cadence is fast, her stride naturally opens up, and each running cycle includes
a brief airborne phase.
On a straight section of roof, she visibly covers about 4–5 meters per second,
quickly passing fixed skylights, chimneys, and roof seams. She must actually travel
through the space. Avoid a scrolling background with her legs cycling in place.
Maggie looks ahead to the route and adjusts her stride while running. She clears low
obstacles in a single extended stride. Each landing leads straight into the next
push-off. Avoid stopping, crouching to gather force, posing on landing, or slowly
starting to run again.
No.2 runs on all fours with compact movements. The front paws make contact, the hind
legs push off, and the body advances in one continuous sequence. The tail follows
the momentum and helps with balance. Avoid a rigid tail or an upright human running
gait.
Use one brief slow-motion beat from 4.5 to 4.8 seconds. Play the rest at normal
speed. Carry the same high-speed action across both ends of the slow-motion beat,
with the approach at full speed and normal playback restored for the running that
follows.
Space and route
Use fixed landmarks to establish where each subject starts, travels, and lands. Distinguish the character’s left and right from screen direction and direction of travel. Place obstacles along the route the characters will actually take.
A Mediterranean-style European seaside town at dusk, with dry red terracotta
rooftops, ochre stone walls, pale chimneys, low skylights, iron railings, white
bedsheets hung out to dry, and a stone clock tower. The sea is visible in the
distance.
The only route forward: the skylight corridor on the gently sloping roof → across an
alley just over a meter wide → onto the neighboring roof → through the laundry area
→ onto a gray maintenance platform at the same level → up four wide stone steps →
onto the clock tower terrace.
The takeoff roof and landing roof are close in height. At the roof edges, no high
wall obscures the action. The leap starts and ends on two distinct, stable, physical
rooftops.
The laundry area connects directly to the gray maintenance platform. There is no
second alley, additional turn, or change in height between them.
The gray platform has three fixed landmarks: a square white chimney on the left, a
maintenance hatch with a blue door on the right, and a dark drainage seam in the
center leading to the clock tower. Maggie runs on the white chimney side. No.2 runs
on the blue door side.
Filming method
Specify who operates the camera or what carries it. Set its position, speed, and stability relative to the subjects. Describe how nearby and distant objects move past one another as the camera travels. In this example, FPV means first-person view.
An FPV drone races close to the roof surface and reveals depth. A camera operator
uses a stabilizer to track Maggie in parallel from the side to show her running form
and full-body movement clearly. Follow No.2 closely from a low angle.
When tracking at the same speed as the subjects, keep their size relatively stable.
Convey speed as tiles, chimneys, and foreground objects rush past. Keep the operator
and equipment out of frame, and make the key body movements easy to read.
Viewer focus
Decide which subject, contact point, or outcome should draw the viewer’s attention in each phase. Use placement, composition, movement, focus, or occlusion to move attention from one to the next.
The two rapidly approaching → Maggie’s complete sprinting gait → takeoff, crossing
the alley, and landing → No.2 through the bedsheets → both passing the same platform
landmarks → running up the steps without interruption and reaching the finish.
Shot sizes
Choose the shots that show the setting, full-body movement, and reactions. Keep relevant body parts and points of contact visible for the entire action.
Use wide and medium-wide shots to show how the bodies make contact with the
environment. Keep the entire leap in frame. Move in for their reactions only at the
end.
Pacing and playback speed
Coordinate action, cuts, sound, camera movement, and shot length. Specify the subject’s speed and the camera’s speed separately from playback speed. Give the interval and subject of each slow-motion beat, speed-up, or freeze-frame, and say when normal playback resumes.
Pacing: maintain a full sprint for the first 4 seconds to establish speed
immediately. Use 0.3 seconds of slow motion during the leap over the alley to
emphasize the airborne moment. Keep driving forward when normal speed resumes. Open
up the view of the setting only in the final second. Avoid prolonged waits, rests,
or lingering scenery shots.
Conveying speed: alternate between the characters closing in on the camera, crossing
the frame at speed, and side-tracking in the same direction at a slightly lower
speed. Keep roof-tile seams, posts, and chimneys as reference points. Avoid locking
the subjects in exactly the same position in every shot.
Shot-by-shot timeline
Give each shot a start time, end time, opening frame, shot size, camera placement and path, subject action, and final position. Carry speed, direction, and body movement across a cut. For jumps or handoffs, show how the action begins, where contact occurs, and how the subject lands or continues.
0.0–2.0 seconds
Open with a high, oblique view from behind Maggie and No.2. Both are already
sprinting at full speed across the rooftop. Maggie runs along the main lane on the
left, and No.2 runs on all fours along the low wall on the right. The clock tower is
visible ahead in the distance.
The FPV camera moves quickly in the same direction and drops slightly, approaching
from above and behind until it reaches a tracking position that clearly shows both
figures from behind, their running form, and the route ahead. The camera stays
behind them throughout, without overtaking them or circling to the front.
Maggie leans forward, driving her arms alternately. Her feet touch down briefly and
immediately push off again as she passes successive roof-tile seams and chimneys.
No.2 moves on all fours with compact, alternating steps, keeping pace alongside her.
Nearby roof ridges and chimneys rush backward along both sides of the frame. Keep
enough distance for the viewer to see both the characters’ forward displacement and
the speed of their strides.
At the end of the shot, Maggie is approaching the low skylight frame and has already
extended her lead leg. Pick up this same stride from the side in the next shot,
without repeating the approach.
2.0–4.0 seconds
Hard cut to a full-body side view, picking up Maggie’s stride already in progress.
The camera operator stands on the neighboring roof and pans rapidly to the right
with a handheld camera, without moving sideways at Maggie’s speed. Maggie races in
from the left of the frame and clears the low frame without breaking stride. Her
lead foot lands and immediately pushes off, followed by several consecutive steps
toward the roof edge at the alley.
The skylight, roof-tile seams, and chimneys stay in fixed positions. Maggie runs
past these landmarks within two seconds. No.2 moves in the same direction along the
adjacent low wall.
Sound and text
Describe continuous audio once. Place local sounds at the relevant action and time, giving their source, change, and duration. Quote dialogue with the speaker and timing. Specify the wording, position, and treatment of on-screen text, as well as any elements to leave out.
No background music, dialogue, narration, subtitles, or watermark.
Keep the sea wind and distant town ambience audible throughout. Maggie’s footsteps
are quick and crisp, with push-offs and landings following rapidly one after the
other. No.2’s steps are lighter and closer together. Each obstacle is followed
immediately by more running sounds, without dragging footsteps or a gap before the
next movement.
During slow motion from 4.5 to 4.8 seconds, briefly stretch the wind and the tails
of the action sounds. As normal speed returns at landing, one clear impact leads
immediately back into rapid footsteps.
From 6.0 to 8.0 seconds, the bedsheets flap nearby. Footsteps, breathing, and sea
wind continue from shot 4 into shot 5 without an abrupt change in ambience at the
cut.
From 10.5 to 13.0 seconds, footsteps rapidly climb the stone steps and breathing
grows heavier. A reverberant bell rings at about 15 seconds and carries through to
the end. Keep drone propeller noise out of the audio.
Visual requirements
Set the lighting, color, materials, and image quality for the whole sequence. Describe what should stay sharp and where motion blur belongs. Put variations in the shot where they occur.
Use warm, golden sunset light from behind and to the side, with detail in the
shadows and natural skin tones. Fabric, skin, fur, roof tiles, and stone should have
realistic textures.
Keep motion blur mainly on the foreground and background rushing past. Key body
movements, grips, points of contact, and footfalls stay clear. Buildings remain
stable without distorting the setting to suggest speed.
Continuity checks
Review the timeline, character identities, gait, contact points, travel direction, and ending. State the highest priorities and remove conflicting instructions.
The total duration is 16 seconds across seven shots, with cuts at 2, 4, 6, 8, 10.5,
and 13 seconds. Timecodes are for execution only and do not appear on screen.
The only slow-motion interval is from 4.5 to 4.8 seconds. Otherwise, show genuine
high-speed movement at normal playback speed. Avoid speeding up the whole video to
imitate running.
Show the push-off, airborne crossing, landing, and continued running within the
third shot. Keep the spatial relationship between the two roof edges and the gap
clear throughout.
Shots 4 and 5 take place on the same platform. Continue the characters’ routes,
fixed landmarks, and the action already in progress. A side-on FPV view changes only
the viewing angle.
Maggie sprints throughout. She never jogs, cycles her legs in place, or stops before
or after an obstacle. No.2 runs naturally on all fours. At normal playback speed,
actual forward displacement and coordinated movement take priority over extra
performance or complex camera moves.
Prompt checklist
- Action. Specify what the subjects do and what should change on screen. If you draft with a language model, you can use the MAGI-2 skill to refine these instructions.
- Timing. Set cues for cuts and events, such as “Cut at 2.5 seconds” or “The fireworks go off at 18 seconds.”
- On-screen text. Put the exact wording of product lettering, posters, and other visible text in quotation marks.
- Camera. Specify how the scene is filmed to get the feel of user-generated content, a film, or a commercial. For example, ask for a phone camera with a wide-angle lens and natural shake, or a first-person-view drone.
- Visual style. Pair a reference image with concrete details. For hand-drawn animation, specify the rough texture of the original drawings, the angular shapes of the characters, and the small irregularities to keep in the final frames.
- Reference scope. Say which details to carry over. For example, use the face as a reference while changing the outfit, or keep a product’s shape and choose a new setting.
- Duration. Match the prompt’s timeline to the generation setting. When they differ, the content is compressed proportionally to fit the selected duration.
Install the skill
Use the MAGI-2 skill in Codex, Claude Code, or Cursor to write and refine video prompts. Run this command in your project directory, then select your tool when prompted.
npx skills add SandAI-org/magi-skills --skill magi2-prompt-guide-skill