# magi-2 API — WanAPIs

> **Model ID**: `magi-2` · **Provider**: Other · **Category**: video · **Endpoint**: `POST /v1/video/generations`
> **Live Price**: $0.728 / s (RMB-anchored quota: `¥1 = $1 quota`, ~86% off USD list rates at `$1 ≈ ¥7`).
> **Web Page**: https://wanapi.ai/model/magi-2

Sand AI 的异步视频模型。固定 1080p，支持 4–30 秒（默认 5 秒），可生成同步音频；API 支持首尾帧与图、视频、音频参考。按提交时选择的输出时长计费。

**Also known as**: Other magi-2

## Live Pricing & Specs

| Resolution Tier | Quota / sec | Real RMB Paid / sec | Approx. USD / sec (÷7) |
| --- | --- | --- | --- |
| 1080p | $0.728/s | ¥0.728/s | ~$0.104/s |

## Quickstart (cURL)

```bash
curl https://api.wanapis.com/v1/video/generations \
  -H "Authorization: Bearer $WANAPIS_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
  "model": "magi-2",
  "prompt": "A paper boat crosses a calm lake, slow cinematic tracking shot",
  "duration": 5,
  "resolution": "1080p"
}'

# Poll until completed / SUCCESS:
curl https://api.wanapis.com/v1/video/generations/<task_id> \
  -H "Authorization: Bearer $WANAPIS_API_KEY"
```

## FAQ

### How do I call magi-2 via WanAPIs?

Send an authenticated request with Authorization: Bearer <WANAPIS_API_KEY> to https://api.wanapis.com using POST /v1/video/generations and model "magi-2".

### How much does magi-2 cost on WanAPIs?

Current live rate: $0.728 / s. WanAPIs uses RMB-anchored quota (¥1 = $1 quota, roughly 1/7 or ~86% off USD-denominated list pricing) with zero monthly subscription.

### Can AI coding agents (Claude Code, Codex, Cursor) discover and use this model?

Yes. Point your agent to https://wanapi.ai/SKILL.md or install npx -y @wanapis/mcp. A machine-readable Markdown spec is also available at /model/magi-2.md.

## Related Links

- Web Landing Page: https://wanapi.ai/model/magi-2
- Agent Skill Router: https://wanapi.ai/SKILL.md
- Complete Live Pricing (Markdown): https://wanapi.ai/pricing.md
- OpenAPI 3.1 Spec: https://wanapi.ai/openapi.json
- MCP Server Card: https://wanapi.ai/.well-known/mcp.json
