🔥 Black Friday AI API deals are live· 🎬 Seedance 2.5 — 20% off, up to 42% below market, until Nov 30Ends in--d --:--:--See deals →

Sand AI Magi 2 Text-to-Video: AI Video Generator

Run Sand AI Magi 2 Text-to-Video on Muapi: 1080p video with native audio, 4-30s clips, $0.10 per second via one API. Magi 2 Text-to-Video generates 1080p video with synchronized audio (dialogue, sound effects and music) from a text prompt, in 4-30 second clips.

Interactive model controls

Magi 2 Text-to-Video generates 1080p video with synchronized audio (dialogue, sound effects and music) from a text prompt, in 4-30 second clips.

📝

Overview

About this model

Magi 2 Text-to-Video from Sand AI generates 1080p video with synchronized audio from a text prompt: dialogue, sound effects and music in a single pass, with clips from 4 to 30 seconds in six aspect ratios. Describe the scene, action and camera movement, and put spoken lines in quotation marks. Output is delivered as an MP4 you can fetch by polling or webhook, billed at a flat $0.10 per second.

1Cinematic scenes and trailers with dialogue and sound design generated together
2Social, portrait and square clips for ads and short-form video
3Story and concept drafts up to 30 seconds long
💰

Pricing & Value

Cost analysis

muapiapp$0.10 per second

Flat per-second pricing for 4-30 second clips, with permanent storage, webhooks and unified credits.

Fal.aiNot available

Magi 2 is not listed.

ReplicateNot available

Magi 2 is not listed.

** Competitor pricing is estimated based on similar model architectures and usage tiers.

⚙️

Technical Details

Configuration schema

Promptstring

Describe the scene, action, camera movement and desired sound. Put dialogue in quotation marks and identify the speaker.

Default ValueA lighthouse keeper climbs a spiral staircase with a lantern during a storm, waves crashing against the rocks outside, wind howling, slow tracking shot up the stairs, cinematic lighting.
Aspect RatioEnum (6 options)

Aspect ratio of the generated video.

Default Value16:9
Durationint

Video duration in whole seconds (4-30). Price is $0.10 per second.

Default Value5
Generate Audioboolean

Generate synchronized audio (dialogue, sound effects, music). Does not change the price.

Default Valuetrue
Seedint

Random seed (0-2147483647). Leave empty for a random seed.

Default Value-
📖

Implementation Guide

Developer documentation

How to Use Magi 2 Text-to-Video

  1. Prepare inputs: write a prompt describing the scene, action, camera movement and sound; put dialogue in quotation marks.
  2. Set parameters: choose aspect_ratio, duration (4-30 seconds) and generate_audio.
  3. Submit: POST to /api/v1/magi-2-text-to-video with your x-api-key, then poll /api/v1/predictions/{request_id}/result or pass a webhook URL.
curl -X POST https://api.muapi.ai/api/v1/magi-2-text-to-video \
  -H "x-api-key: $MUAPI_KEY" -H "Content-Type: application/json" \
  -d '{"prompt": "A lighthouse keeper climbs a spiral staircase during a storm, waves crashing outside, slow tracking shot.", "aspect_ratio": "16:9", "duration": 10}'
  1. Collect the result: the finished video URL is returned in outputs.
❓

Common Questions

Frequently asked

What is Magi 2 Text-to-Video?

Magi 2 Text-to-Video from Sand AI generates 1080p video with synchronized audio from a text prompt: dialogue, sound effects and music in a single pass, with clips from 4 to 30 seconds in six aspect ratios. Describe the scene, action and camera movement, and put spoken lines in quotation marks. Output is delivered as an MP4 you can fetch by polling or webhook, billed at a flat $0.10 per second.

How is it priced?

$0.10 per second of requested video duration, e.g. $0.50 for a 5-second clip and $3.00 for 30 seconds. Aspect ratio, audio and references do not change the price.

Does it generate audio?

Yes. Dialogue, sound effects and music are generated together with the video. Set generate_audio to false for a silent clip; the price stays the same.

How long can the videos be?

Any whole number of seconds from 4 to 30 (default 5), at 1080p.

Which aspect ratios are supported?

16:9, 9:16, 1:1, 4:3, 3:4 and 21:9.