Redeem voucher

MAI-Image-2.7 Flash

azure/mai-image-2.7-flash

MAI-Image-2.7 Flash是微软AI推出的MAI-Image-2.7系列中低延迟、低成本版本,专为对延迟敏感、高吞吐量的图像生成与编辑场景打造,画质可与高精度版本持平。它支持最多五张输入图像的多参考图编辑,也可使用固定宽高比或由模型自动选择宽高比。

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.

Configure the model first, then sign in when you are ready to generate.Sign in to generate

Task result

Preview the model before signing inAll controls are available now. Sign in only when you submit the task.
MAI-Image-2.7 Flash
Progress—
Elapsed—
Request ID—

Task History

Task history

Only generation records from the last seven days are available.

Generation details

API Call

MAI-Image-2.7 Flash 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-flash", "n": 1, "prompt": "一片银杏叶落在雨后的青石台阶上,微距摄影,柔和晨光。", "size": "1024x1024" }'
                  
                    
                        
                        #!/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-flash",
                      
                        
                          "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}"
                  
                    
                        
                        #!/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)
12.25 17.50 70.00