# MAGI-2

> Sand.ai: MAGI-2 是一款多模态视频生成模型，支持文生视频以及结合参考图片、参考视频与参考音频的全能参考生成。可生成 4–30 秒 1080p 高清视频并同步输出原生人声、音效与配乐。

- Model ID: `sandai/magi-2`
- Manufacturer: Sand.ai
- Context length: 15K tokens
- Input: text, image, video, audio
- Output: video
- Capabilities: vision
- Released: 2026-11-24
- Page: https://amux.ai/zh/models/sandai/magi-2

## Providers and prices

Prices in USD, base tier. Route to a specific provider with `model: "<model id>:<provider slug>"`; without a suffix Amux AI picks among healthy providers (weighted random by default; a price-first strategy can be set per API key) and fails over to the next one on errors. Long-context and time-of-day tiers, where they apply, are listed on the page.

- **Sand.ai** (`sandai`): see page

## Example request

`POST https://gateway.amux.ai/v1/tasks`

```bash
curl https://gateway.amux.ai/v1/tasks \
  -H "Authorization: Bearer $AMUX_API_KEY" \
  -H "Prefer: <value>" \
  -H "Idempotency-Key: <value>" \
  -d '{
    "model": "sandai/magi-2",
    "prompt": "A ginger cat running through fresh snow"
  }'
```
