MAGI-2 Image to Video API

sand-ai/magi-2/image-to-video
1080p · 4–30 sec · First/Last Frame

MAGI-2 Image to Video animates a start frame and an optional end frame into 4–30 second 1080p videos with synchronized native sound and automatic framing. It preserves the subject's composition and lighting while steering motion cleanly toward your target ending.

Input
Required271/15000
Required
Image Urls

Drag and drop files, paste from clipboard, or provide a URL. 1–2 images (JPEG, PNG, or WebP, up to 15 MB each). First image sets the start frame; optional second sets the end frame.

1/2 files added

Optional
Optional
Optional
Optional
Optional
OutputFinished
Estimated cost: 64 credits · $0.320
Continue with

MAGI-2 Image to Video

MAGI-2 Image to Video brings still images to life in 1080p using one required start frame and an optional end frame in image_urls. Guided by a prompt up to 15,000 characters, it generates 4 to 30 seconds of smooth motion with built-in synchronized audio while automatically matching the source image's aspect ratio. Every second is billed at a flat 16 credits ($0.08).

Why choose MAGI-2 Image to Video?

Turn keyframes into extended 1080p audiovisual clips with first-and-last-frame trajectory control.

  • First-frame and optional end-frame controlSupply 1 image to animate freely, or 2 ordered images to interpolate cleanly from opening shot to closing frame.

  • 4–30 second continuous 1080p animationAnimate complex transitions and camera moves across up to 30 seconds without cutting early.

  • Automatic source framingaspect_ratio locks to auto so outputs respect your source artwork's natural proportions without awkward cropping.

  • Synchronized sound at no extra feeGenerate ambient audio, foley, and voice cues at the same flat 16 credits/s rate.

MAGI-2 Image to Video Parameters

Provide prompt and 1–2 ordered images in image_urls; duration, audio, and seed are optional.

ParameterRequirementDescription
promptRequired

Motion, camera path, transition, and sound description up to 15,000 characters.

Default—
image_urlsRequired

1–2 public image URLs (JPEG, PNG, WebP). First is start frame; optional second is end frame.

Default—
durationOptional

Output length in integer seconds from 4 to 30.

Default5
resolutionOptional

Output video resolution. Fixed at 1080p.

Default1080p
aspect_ratioOptional

Fixed at auto to match the input image proportions.

Defaultauto
generate_audioOptional

Generates synchronized sound matching the animated scene.

Defaulttrue
seedOptional

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

DefaultRandom

How to use MAGI-2 Image to Video

Upload a start frame (and optional end frame), describe the motion, and poll for the finished 1080p MP4.

  1. Add start and optional end framesProvide 1 image URL for open-ended animation or 2 ordered URLs for start-to-end transitions.

  2. Direct motion and soundDescribe subject movement, camera path, and audio details in prompt.

  3. Submit the jobClick Run or POST sand-ai/magi-2/image-to-video to /api/generate/submit.

  4. Download the 1080p videoPoll /api/generate/status/{task_id} until finished and retrieve data.files[].file_url.

MAGI-2 Image to Video Pricing

Flat 16 credits ($0.08) per second for both single-frame and first/last-frame requests. 1 credit = $0.005.

UsageRateDetails
5-second 1080p animation (default)80 credits ($0.40)5 s × 16 credits/s. Start+end frame and audio included.
10-second 1080p animation160 credits ($0.80)10 s × 16 credits/s with auto source aspect ratio.
30-second 1080p animation (max)480 credits ($2.40)30 s × 16 credits/s for extended product or story shots.

Best use cases for MAGI-2 Image to Video

Ideal for animating key visuals, product shots, and controlled start-to-end transitions.

  • Product hero animationsTurn studio photography into smooth 1080p reveal shots with subtle reflections and sound.

  • First-to-last frame transitionsBridge two storyboard keyframes cleanly across 6–15 seconds without jump cuts.

  • Illustration and concept-art motionBring paintings and game art to life while keeping the original framing and palette intact.

Pro Tips

  • When passing two frames, keep both images in the same aspect ratio so interpolation stays distortion-free.
  • Focus the prompt on motion, camera speed, and sound rather than re-describing static details already visible in the frame.
  • Use 8–15 seconds when bridging two visually distant keyframes so transitions feel natural.

Notes

  • image_urls accepts 1 or 2 publicly reachable HTTPS image URLs (JPEG, PNG, or WebP).
  • aspect_ratio is fixed to auto in Image to Video mode.
  • Adding a second end frame or enabling audio does not add extra credits.

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 Image to Video API frequently asked questions

What is the MAGI-2 Image to Video API?

MAGI-2 Image to Video is Sand AI's keyframe animation model that transforms one start image and an optional end image into 4–30 second 1080p videos with synchronized audio. It automatically preserves source proportions via auto framing and supports prompts up to 15,000 characters for detailed motion direction. Built on Sand AI's temporal video architecture, it keeps subject identity, texture, and lighting faithful to your frames across long transitions. Call sand-ai/magi-2/image-to-video via API or try it in the playground above.

How many images can I pass to MAGI-2 Image to Video?

Pass 1 or 2 images in image_urls. The first image anchors the opening frame, and an optional second image guides the closing frame.

Does using a closing frame change MAGI-2 Image to Video pricing?

No. Both single-frame and first-to-last-frame jobs cost the same flat 16 credits ($0.08) per second.

How does MAGI-2 Image to Video choose output aspect ratio?

Image to Video uses auto aspect ratio so the generated 1080p video automatically matches your input frame's proportions.

What image formats are accepted by MAGI-2 Image to Video?

Upload or link JPEG, PNG, or WebP images up to 15 MB each via public HTTPS URLs.

Can MAGI-2 Image to Video add sound effects and voice to a still photo?

Yes. With generate_audio set to true (default), MAGI-2 synthesizes synchronized ambience, foley, or dialogue guided by your prompt.

What is the maximum duration for MAGI-2 Image to Video?

You can generate any integer duration from 4 seconds up to 30 seconds at 1080p.