Preço de lançamento (até 25 de dez.), garantido enquanto você continuar assinando: Go por $10/mês (de $20), Plus com Opus 5.5 por apenas $30/mês (de $50)Assinar agora →

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.

Executar com API
TIPO DE MODELO
Monitor de status 24HSucesso: 100%
Entrada
0/5000
Ideias:
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.

Opções avançadas

Whether to generate AI audio synchronized with the video.

Saída
Magi-21 preços
sand_ai
EspecificaçãoCréditosPreço (USD)
1080P8por segundo$0.08por segundo

Os preços seguem a configuração do modelo. Imagens de referência não são cobradas, a menos que o modelo indique o contrário.

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.

Controles compatíveis de Magi-2

ControleTipoPadrãoNotas
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.

Gerar com Magi-2

Abrir área de testes ↑
  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.

Use Magi-2 por meio da API AIReiter

API ↗
01IDs de modelo

magi_2

02Envie uma tarefa

POST para /api/openapi/submit com o modelo, um out_task_id único e parâmetros.

03Consulte o resultado

POST para /api/openapi/query com o mesmo out_task_id até a tarefa terminar.

04Armazene os resultados do seu lado

Guarde os resultados no seu próprio armazenamento em vez de os ligar diretamente.

Perguntas frequentes sobre 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.

PRIMEIROS PASSOS

Comece a criar com os principais modelos de imagem, vídeo e texto.

Uma chave de APIUm sistema de cobrançaUm painel de uso