Prezzo early bird (fino al 25 dic.), bloccato finché resti abbonato: Go a $10/mese (invece di $20), Plus con Opus 5.5 a soli $30/mese (invece di $50)Abbonati ora →

Magi-2 AI Video Generator and API

Try Magi-2 online or via API. Make 4–30 second 1080p clips with sound from text, a first and last frame, or image, video and audio references.

Esegui con API
TIPO DI MODELLO
Monitor di stato 24HSuccesso: 100%
Input
0/5000
Idee:
Prompt0/5000
0/10
0/5

Up to 5 videos. Each video must be 2-30s, and the total duration of all reference videos must not exceed 30s. Max 200MB per video.

0/5

Up to 5 audio clips. Each must be 2-30s, and the total duration of all reference audio must not exceed 30s. Format: wav, mp3. Max 15MB per clip.

Opzioni avanzate

Whether to generate AI audio synchronized with the video.

Output
Magi-21 prezzi
sand_ai
SpecificheCreditiPrezzo (USD)
1080P8al secondo$0.08al secondo

I prezzi seguono la configurazione del modello. Le immagini di riferimento non vengono fatturate salvo diversa indicazione del modello.

What Magi-2 does

One request returns one 1080p clip with sound, up to 30 seconds long.

A video model from Sand AI

Magi-2 makes one video with sound per request, from text, from frames, or from a mix of image, video and audio references.

1080p every time

Every clip comes out at 1080p. There is no resolution to pick.

Up to 30 seconds in one clip

Pick any whole number of seconds from 4 to 30. No stitching for longer scenes.

Same fields in the playground and the API

What you set on this page is what POST /api/openapi/submit sends.

Three ways to start

Choose how your uploads steer the clip.

Text to video

Leave every upload empty. The prompt drives subject, motion, camera and sound.

First and last frame

Upload a start frame and, if you want, an end frame. The model fills in the motion between them.

All reference

Mix up to 10 images, 5 videos and 5 audio clips. Use them for characters, products, camera moves, motion, voice or music.

Reference video and audio length

Each reference video or audio clip runs 2–30 seconds. All videos together stay within 30 seconds, and so do all audio clips.

What to make with Magi-2

Product and ad clips

Start from a product photo as the first frame and end on a clean shot that leaves room for a logo.

Dialogue scenes

Write the line in quotes. Magi-2 generates the voice and ambience with the picture.

Storyboard tests

Try the same scene with different framing, camera moves and transitions before you commit.

Mood and look studies

Keep the subject fixed and compare light, color and materials across short clips.

Settings on this page

Resolution

1080p only.

Length

4 to 30 seconds in whole seconds. The default is 5.

Aspect ratio

16:9, 9:16, 1:1, 4:3, 3:4 or 21:9. The default is 16:9. In first and last frame mode, 21:9 is not available and the clip follows the first frame.

Audio

Generate Audio is on by default. Turn it off for a clip with no sound track.

Magi-2 test clip

Generated on 30 November 2026.

01

First and last frame, 4 seconds, 16:9, with sound

Prompt (sent in Chinese): 镜头从湖畔缓缓推进,画面自然过渡到尾帧的山谷景色 (The camera slowly pushes in from the lakeside, and the shot moves naturally into the valley scene of the last frame.)

Request: first and last frame mode with two 1920×1080 landscape photos, 16:9, 4 seconds, audio on.

Delivered: H.264 MP4 with AAC audio, 1920×1080, 4.0 seconds. The first and last frames match the two uploads. The clip shown here is scaled down to 854×480.

Generate a Magi-2 clip

Use Magi-2 through the AIReiter API

One async contract. The model ID for this page is magi_2.

Model ID

Send magi_2.

Submit

POST /api/openapi/submit with model, params (prompt, type, image_url, end_image_url, video_url, audio_url, video_length, aspect_ratio, generate_audio) and a unique out_task_id.

Query

POST /api/openapi/query with the same out_task_id. A completed job includes credits_used and the video URL.

What the API rejects

An 11th image, a 6th video or audio clip, any resolution other than 1080p, and lengths outside 4–30 seconds.

Controlli supportati di Magi-2

ControlloTipoPredefinitoNote
01prompttext——
02typestringtools_form_referenceMode_allReference / tools_form_referenceMode_firstLastFrameall_reference—
03image_urlimage——
04video_urlimage—Up to 5 videos. Each video must be 2-30s, and the total duration of all reference videos must not exceed 30s. Max 200MB per video.
05audio_urlimage—Up to 5 audio clips. Each must be 2-30s, and the total duration of all reference audio must not exceed 30s. Format: wav, mp3. Max 15MB per clip.
06image_urlimage——
07video_lengthinteger4 – 305—
08aspect_ratiostring16:9—
09generate_audiobooleantrueWhether to generate AI audio synchronized with the video.

Genera con Magi-2

Apri Playground ↑
  1. Pick a mode

    All reference for text only or for images, videos and audio. First and last frame for a fixed start and end.

  2. Describe the shot

    Subject first, then action, camera, light and sound. Say what each upload is for.

  3. Set length and shape

    Choose seconds and aspect ratio, and keep audio on if you want sound.

  4. Generate and download

    Submit, wait for the clip, then download the MP4.

Usa Magi-2 tramite l'API AIReiter

API ↗
01ID modello

magi_2

02Invia un'attività

POST a /api/openapi/submit con il modello, un out_task_id univoco e i parametri.

03Interroga il risultato

POST a /api/openapi/query con lo stesso out_task_id finché l’attività non è completata.

04Salva i risultati sul tuo sistema

Salva gli output nel tuo storage invece di collegarli direttamente.

FAQ su Magi-2

01What is Magi-2?

A video generation model from Sand AI. It makes 1080p clips with sound, 4–30 seconds long, from text, frames or references.

02Can I choose 720p or 4K?

No. Every Magi-2 clip is 1080p.

03How long can a clip be?

Any whole number of seconds from 4 to 30. The default is 5.

04How much does the Magi-2 API cost?

Billed per second of output video. References and the audio switch do not change the price. Failed jobs are not charged. The table on this page is current.

05Can I use frames and references together?

No. Use all reference mode for images, videos and audio, or first and last frame mode for frames. The two cannot be mixed in one request.

06Can I get a silent clip?

Yes. Turn Generate Audio off, or send generate_audio: false through the API.

07Which API model ID should I use?

magi_2. Send it to POST /api/openapi/submit and poll POST /api/openapi/query with the same out_task_id.

08Is this Sand AI's official API?

No. This page runs Magi-2 through the AIReiter API with AIReiter credits.

ONBOARDING

Inizia a costruire con i migliori modelli per immagini, video e testo.

Una chiave APIUn sistema di fatturazioneUna dashboard di utilizzo