MAGI-2 API Pricing and Setup:
1080p Video with Sound at ¥0.30 CNY per Second

Sand AI's MAGI-2 video API on Brioi is billed per second at ¥0.30 CNY, doubled when you add a reference video. Turn images, video or audio into 4–30 second 1080p clips with sound. Cost math and a first request included.

Updated 3 min read

On this page(6)
  1. How much does one MAGI-2 video cost?
  2. Which reference assets can I combine?
  3. Make a 10-second vertical video from one product photo
  4. Which lengths and aspect ratios does MAGI-2 support?
  5. Can a reference image be the first frame?
  6. How do I troubleshoot errors?

On Brioi, Sand AI’s MAGI-2 is billed by output seconds: ¥0.30 CNY per second, always 1080p with sound. If the request includes a reference video, the per-second price doubles; reference images and reference audio cost nothing extra. Prices were read on 2026-12-04 and are in Chinese yuan (CNY). The current rate is on the pricing page; search for magi-2.

How much does one MAGI-2 video cost?

You pay for the duration in the request. If you leave it out, you are billed for the default 5 seconds.

Length Image or audio references only With a reference video
5 s ¥1.50 CNY ¥3.00 CNY
10 s ¥3.00 CNY ¥6.00 CNY
15 s ¥4.50 CNY ¥9.00 CNY
30 s (max) ¥9.00 CNY ¥18.00 CNY

Budget as shot seconds × price per second × number of takes. A 30-second product video split into three 10-second shots, with two takes per shot on average, costs 60 seconds. Add a reference video only for shots that must copy a camera move or motion. Use images to fix the look everywhere else, at half the price.

Which reference assets can I combine?

You must send at least one reference asset. Text-only generation isn’t supported.

Asset Max count Used for
Image 10 Character, product, scene or style
Video 3 Motion, camera move or pacing
Audio 5 Voice or music; MP3 or WAV recommended

Use any type alone or mix them. In the prompt, refer to assets in the order they appear, using the tokens from the Brioi docs: @图片1 (image 1), @视频1 (video 1), @音频1 (audio 1). Type the tokens exactly as shown; the rest of the prompt can be in English. Reference assets of one type can total at most 15 seconds. Asset URLs must be public HTTPS links that download without a login.

Make a 10-second vertical video from one product photo

Create a Brioi API key and set it as the BRIOI_API_KEY environment variable. Replace the sample image URL with your own. The POST below creates a billable task: 10 seconds, no reference video, ¥3.00 CNY.

curl https://vip.brioi.com/v1/videos \
  -H "Authorization: Bearer $BRIOI_API_KEY" \
  -H 'Content-Type: application/json' \
  -d '{"model":"magi-2","prompt":"Slowly orbit the product in @图片1 and end on the front label.","duration":10,"aspect_ratio":"9:16","ref":[{"type":"image","url":"https://example.com/product.jpg"}]}'

Save the returned id and put it in place of TASK_ID below. Check progress with GET; don’t send the POST again.

curl https://vip.brioi.com/v1/videos/TASK_ID \
  -H "Authorization: Bearer $BRIOI_API_KEY"

Generation usually takes 5–15 minutes. Polling every 15–30 seconds is enough.

Status What to do
queued, in_progress Keep polling
completed Download from metadata.url. The link expires, so save the file right away
failed Read error and stop polling

If the create request times out or returns a 5xx, check whether the task was created before creating another one, or you may be billed twice.

Which lengths and aspect ratios does MAGI-2 support?

  • Length: whole seconds from 4 to 30, default 5.
  • Aspect ratio: 16:9, 9:16, 21:9, 4:3, 1:1, 3:4, default 16:9.
  • Resolution: 1080p only.

Can a reference image be the first frame?

No. MAGI-2 doesn’t support strict first or last frames. Reference images only guide the character, product and style. If a client needs the first frame to match the product photo pixel for pixel, don’t rely on a reference image for that.

How do I troubleshoot errors?

Symptom Common cause
403 Balance too low, or the key has no access to magi-2. Check that GET /v1/models lists magi-2
503, model_not_found The key’s group has no route for this model right now
400, task_not_exist Wrong task ID in the status query
429 Too many requests; poll less often

The full MAGI-2 API docs (in Chinese) list every parameter and task status. To compare it with other per-second video models, see the Brioi video models.