MAGI-2
sandai/magi-2MAGI-2 是由 Sand.ai 发布的 4800 亿参数多模态音视频生成大模型,于 2026 年 11 月 24 日正式推出,凭借极高的性价比和图生视频(Image-to-Video)表现成为业内关注的焦点。
- Modalities
- Public starting price
- Priced by multiple attributes
- Added to catalog
- Nov 27, 2026
Online Inference
Configure input
Controls and defaults come directly from this model’s API schema.
Task result
{
"upstream_extra": {
"createdAt": "2026-11-30T07:59:36.000Z",
"output_available": true,
"urlExpiresAt": "2026-11-30T09:04:33.000Z"
},
"video_urls": [
"https://files.shengsuanyun.com/example/modelinfo/1558/workbench/2eb25f19-3f0e-4e69-b656-183fdcabd908/output_0.mp4"
]
}
Task History
Task history
Only generation records from the last seven days are available.
Sign in to view your task history.
Sign in to view task historyHistory shows tasks for the selected personal account or enterprise project. Clear the current model name to see tasks from all models.
| Task ID | Model | Completion status | Created | Duration | Credits consumed | Artifact |
|---|
API Call
MAGI-2 code examples and API guide
Modelmesh normalizes requests and responses across service providers behind one consistent API.
Modelmesh provides an OpenAI-compatible Completion API for more than 300 models and service providers. Call it directly, through the OpenAI SDK, or with supported third-party SDKs.
Modelmesh-specific request headers in these examples are optional. When supplied, your application can appear on the Modelmesh rankings.
#!/usr/bin/env bash
set -euo pipefail
API_KEY="$SSY_API_KEY"
curl --fail-with-body --silent --show-error --location \
--request POST \
"https://router.shengsuanyun.com/api/v1/tasks/generations" \
--header "Content-Type: application/json" \
--header "Authorization: Bearer ${API_KEY}" \
--data '{
"model": "sandai/magi-2",
"aspectRatio": "16:9",
"duration": 5,
"enhancePrompt": false,
"generateAudio": true,
"parts": [
{
"text": "黄昏的长江边,一位穿米白色风衣的年轻人推着自行车,缓步走过被雨水打湿的青石板路。江面泛着暖橙色的落日余晖,对岸的城市天际线灯火次第亮起,与天空中青蓝色的暮霭形成冷暖对比。镜头从低角度缓慢横移并轻微推近,跟随人物走过一段路,浅景深,背景虚化成柔和的光斑。写实电影质感,35mm 胶片颗粒,自然的呼吸感,环境音是远处江轮的汽笛声和轻轻的雨声。",
"type": "text"
}
],
"resolution": "1080p",
"seed": 20261130,
"watermark": false
}'
#!/usr/bin/env bash
set -euo pipefail
API_KEY="$SSY_API_KEY"
REQUEST_ID="${SSY_REQUEST_ID:?Set SSY_REQUEST_ID to the ID returned by task submission}"
curl --fail-with-body --silent --show-error --location \
--request GET \
"https://router.shengsuanyun.com/api/v1/tasks/generations/${REQUEST_ID}" \
--header "Authorization: Bearer ${API_KEY}"
Pricing
Pricing Details
| Model | magi-2 |
|---|---|
| Resolution 默认参数 | 1080p |
| Pricing 定价 | 0.08 USD/s |