magi-2 API
Sand AI 的异步视频模型。固定 1080p,支持 4–30 秒(默认 5 秒),可生成同步音频;API 支持首尾帧与图、视频、音频参考。按提交时选择的输出时长计费。
Read https://wanapi.ai/SKILL.md and https://wanapi.ai/model/magi-2.md, then configure WanAPIs for magi-2
Live Cost Estimator
¥1 = $1 quotaAdjust parameters to preview live WanAPIs quota, RMB real cost, and approx. USD (~86% off USD parity).
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 task_id every 5s until completed / SUCCESS
curl https://api.wanapis.com/v1/video/generations/<task_id> \
-H "Authorization: Bearer $WANAPIS_API_KEY"About magi-2
Sand AI 的异步视频模型。固定 1080p,支持 4–30 秒(默认 5 秒),可生成同步音频;API 支持首尾帧与图、视频、音频参考。按提交时选择的输出时长计费。
Capabilities
- Text-to-video
- Async task
Compare Related Models (Live Pricing)
Synced live from /api/pricing · ¥1 = $1 quota (~86% off USD parity at $1 ≈ ¥7).
magi-2 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.
More Other models
Integrate magi-2 in minutes
Sign up for starter credit — change one base_url line or hand SKILL.md to your AI agent.