# MAGI-2 Reference to Video

`sand-ai/magi-2-reference-to-video` · Sand AI · video

Guide a 1080p scene with reference images, video clips or audio. Numbered references in the prompt identify which character, movement or sound to use.

[Model page](https://sociaro.com/models/sand-ai/magi-2-reference-to-video) · [JSON](https://sociaro.com/models/sand-ai/magi-2-reference-to-video.json) · [Model pricing](https://sociaro.com/pricing?model=sand-ai%2Fmagi-2-reference-to-video) · [Documentation](https://docs.sociaro.com/models/sand-ai-magi-2-reference-to-video/) · [Playground](https://my.sociaro.com/playground/?model=sand-ai/magi-2-reference-to-video)

Video capabilities — `video-generation`

## Use cases

- Stage a character from a reference portrait in a new setting
- Guide a shot with a movement clip and an audio cue

## API reference

- API model ID — sand-ai/magi-2-reference-to-video
- Model developer — Sand AI
- Modality — Video
- Input — Text prompt · Images
- Output — Video
- Endpoint — POST /v2/jobs
- Workflow — Reference to video
- Aspect ratios — 16:9 · 9:16 · 1:1 · 4:3 · 3:4 · 21:9
- Duration — 4–30 seconds

## Request parameters

- `prompt` (string, required) — Describe the scene, action, camera motion and desired sound.
  - Up to 15000 characters
- `duration` (integer, default `5`) — Selected output duration in whole seconds, from 4 to 30. Billing uses this duration.
  - Allowed values — `4`, `5`, `6`, `7`, `8`, `9`, `10`, `11`, `12`, `13`, `14`, `15`, `16`, `17`, `18`, `19`, `20`, `21`, `22`, `23`, `24`, `25`, `26`, `27`, `28`, `29`, `30`
  - 4–30
- `generate_audio` (boolean, default `true`) — Generate synchronized audio for the video.
- `seed` (integer) — Random seed. Omit to let the model select it.
  - 0–2147483647
- `aspect_ratio` (string, default `16:9`) — Aspect ratio of the output video.
  - Allowed values — `16:9`, `9:16`, `1:1`, `4:3`, `3:4`, `21:9`
- `images` (array) — Up to ten reference images.
  - Up to 10 items
- `videos` (array) — Up to five reference video clips, 2–30 seconds each and up to 30 seconds together. Longer clips may be trimmed.
  - Up to 5 items
- `audios` (array) — Up to five reference audio clips, 2–30 seconds each and up to 30 seconds together. Longer clips may be trimmed.
  - Up to 5 items

## Pricing

Rates in USD. Catalogue timestamp 2026-11-26T07:35:43Z.

- USD 0.1 per second of video requested · active

- Request 4 to 30 whole seconds. The default is 5 seconds. Audio is included.

## Examples

### Into the Giant Flower World

Sand AI follows the same woman through giant irises, roses and lilies. The author’s board shows the costume and three settings used as references.

[Preview](https://previews.sociaro.com/shared/promo/gallery/magi/flowers-preview.mp4) · [Full result (video)](https://previews.sociaro.com/shared/promo/gallery/magi/flowers-7e823798.mp4) · [Poster](https://previews.sociaro.com/shared/promo/gallery/magi/flowers-poster-54b33da5.webp) · [Provider example](https://sand.ai/blog/magi-2/#showcase)

1920 × 1080 · 30 fps

Source inputs

- [Character and location references (image)](https://previews.sociaro.com/shared/promo/gallery/magi/flowers-refs-6e11be63.webp)
