MAI-Image-2.7
azure/mai-image-2.7MAI-Image-2.7 是微软 AI 推出的图像生成与编辑模型,属于 MAI-Image-2.7 系列中的高精度版本,同系列还有速度更快的 MAI-Image-2.7 Flash。该模型适合生成可直接用于设计的视觉素材,支持可控的迭代编辑,包括多参考图编辑功能:可融合最多五张输入图像中的人物、产品、风格与场景,同时保留构图与细节。长宽比可固定,也可交由模型根据构图自行选择。
- Modalities
- Public starting price
- Priced by multiple attributes
- Added to catalog
- Nov 20, 2026
Online Inference
Configure input
Controls and defaults come directly from this model’s API schema.
Task result

{
"image_urls": [
"https://files.shengsuanyun.com/example/modelinfo/1545/workbench/66402fe3-f76b-4eb9-bb15-d8d2db8eda9e/output_0.png"
]
}
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
MAI-Image-2.7 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": "azure/mai-image-2.7",
"n": 1,
"prompt": "深蓝色夜空下,一座白色天文台立在红色峡谷边缘,电影感广角摄影。",
"size": "1024x1024"
}'
#!/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
计费公式: 图片费用(元)=(文本输入 Token × 文本输入单价 + 图片输入 Token × 图片输入单价 + 图片输出 Token × 图片输出单价)÷ 1,000,000
人民币刊例单价
| 文本输入(元/百万 tokens) | 图片输入(元/百万 tokens) | 图片输出(元/百万 tokens) |
|---|---|---|
| 35.00 | 56.00 | 238.00 |