Get your API key forMAGI-2 API: video generation API
One key for MAGI-2 and every other top image and video model. Create your API key in minutes and start generating 1080p videos up to 30 seconds, with dialogue, sound effects and music, from your code.
1# 1. Start the job2curl https://aiwings.io/api/v1/videos \3-H "Authorization: Bearer $AIWINGS_API_KEY" \4-H "Content-Type: application/json" \5-H "Idempotency-Key: launch-teaser-001" \6-d '{7"prompt": "Slow dolly shot of a glass bottle on wet sand at sunset, waves rolling in",8"model": "magi-2",9"resolution": "1080p",10"duration": 5,11"aspect_ratio": "16:9",12"audio": true13}'1415# 2. Poll until status is "succeeded" (or "failed")16curl "https://aiwings.io/api/v1/videos/VIDEO_ID?wait=30" \17-H "Authorization: Bearer $AIWINGS_API_KEY"
Simple per-second pricing.
Videos are billed per second of video, charged when the job starts and refunded automatically if it fails. Credits are shared with every other model.
- 1080p video
Text or image to video
$0.10
per second · 10 credits
5-second clip: $0.50
5-second clips per month
- Basic · $1020
- Pro · $2040
- Scale · $4080
Prices are shown at the top-up rate of $0.01 per credit. Plans include more credits per dollar, so subscribers pay a little less.
- Maker
- Sand AI
- Model id (API)
magi-2- Length
- 4 to 30 seconds
- Sound
- Native audio, generated with the video (can be turned off)
- Frames
- Start frame, plus an optional end frame
- Reference images
- Up to 10
- Reference videos
- Up to 5
- Reference audio
- None
- Output
- MP4, saved to your library
- Aspect ratios
- 16:9, 9:16, 1:1, 4:3, 3:4, 21:9
- Resolutions
- 1080p
One key. Every model.
Pick a model and see the real request. Every image model shares one format, so switching is changing the model and nothing else.
1# 1. Start the job2curl https://aiwings.io/api/v1/videos \3-H "Authorization: Bearer $AIWINGS_API_KEY" \4-H "Content-Type: application/json" \5-H "Idempotency-Key: launch-teaser-001" \6-d '{7"prompt": "Slow dolly shot of a glass bottle on wet sand at sunset, waves rolling in",8"model": "magi-2",9"resolution": "1080p",10"duration": 5,11"aspect_ratio": "16:9",12"audio": true13}'1415# 2. Poll until status is "succeeded" (or "failed")16curl "https://aiwings.io/api/v1/videos/VIDEO_ID?wait=30" \17-H "Authorization: Bearer $AIWINGS_API_KEY"
- Model id
magi-2- Cost
- $0.50
- 50 credits for a 5s 1080p video See MAGI-2 →
Prefer your AI agent? Use it there too.
The same model works in Claude, ChatGPT, Gemini, Cursor and any MCP client. Connect AiWings once and just ask for it by name.
ClaudeUse AiWings to make a 10 second 16:9 MAGI-2 video: a barista slides a latte across the counter and says "Your usual, extra foam."
How to set up Claude →- ChatGPT
Use AiWings to open the upload widget, then make a 15 second MAGI-2 video that starts on my first image and ends on my second image.
How to set up ChatGPT → - Cursor
Use AiWings to generate a 20 second 21:9 MAGI-2 video of waves rolling onto a black sand beach at sunset, with the sound of the surf, and save it to public/video/beach.mp4.
How to set up Cursor →
Using another tool? Any MCP client works too. See the MCP docs →
Monthly credits for images and videos.
$10/month
- 1,000 credits per month
- Works in any AI agent (MCP)
- Full API access
- Every image and video model
- Top-up packs anytime
- Cancel anytime
$20/month
- 2,000 credits per month
- Works in any AI agent (MCP)
- Full API access
- Every image and video model
- Top-up packs anytime
- Cancel anytime
$40/month
- 4,000 credits per month
- Works in any AI agent (MCP)
- Full API access
- Every image and video model
- Top-up packs anytime
- Cancel anytime
500credits
- About 83 images
- Or about 50 short videos
- Valid for 30 days
- One payment, no subscription
$5
Once per account
Not ready for a plan? The Trial Pack is $5 once for 500 credits, valid for 30 days. Plan credits work for images and videos. See what credits buy
MAGI-2 API, answered.
Create an API key in your AiWings dashboard, then send a POST request to /v1/videos with the model set to magi-2. Videos take a few minutes, so the request returns a job right away. Check it with GET /v1/videos/{id}, using ?wait=30 to hold the request open until it finishes.
Start building with MAGI-2.
Create a key and make your first video in a few minutes.
Try it for $5 · Plans from $10/month · Cancel anytimeMAGI is a product name of Sand AI. AiWings is an independent service and isn't affiliated with or endorsed by Sand AI.