Azure

Microsoft: MAI Image 2.5 Flash

Image Generation
microsoft/mai-image-2.5-flash
对比开始使用

MAI-Image-2.5-Flash is the low-latency variant of Microsoft's MAI image family, optimized for fast, high-volume image generation and editing. Produces diverse, coherent images across creative and design scenarios with median generation times several times faster than comparable models. Supports text-to-image generation and image-to-image editing.

上下文窗口
4K
最大输出 Token
1K
发布日期
2026-06-02
能力
视觉
可用供应商
AzureAzure
支持的协议
OpenAIopenai

供应商

AzureAzure
输入 Token
$5/M
输出 Token
$26/M
图像输入
$8/M
输出图像
$26/M
接入协议
OpenAIopenai/v1/images/generations

代码示例

from openai import OpenAI
client = OpenAI(
base_url="https://api.ofox.ai/v1",
api_key="YOUR_OFOX_API_KEY",
)
response = client.images.generate(
model="microsoft/mai-image-2.5-flash",
prompt="A beautiful sunset over mountains",
size="1024x1024",
)
print(response.data[0].url)

常见问题

Microsoft: MAI Image 2.5 Flash 在 Ofox.ai 上的价格为输入 $5/M/百万 Token,输出 $26/M/百万 Token。按量计费,无月费。