Azure

Microsoft: MAI Image 2.5

Image Generation
microsoft/mai-image-2.5
對比開始使用

MAI-Image-2.5 is Microsoft's image generation and editing model. It excels at precise, surgical edits with consistency - targeted object edits, layout adaptation, text updates and artifact cleanup - while preserving visual consistency across iterations. Supports text-to-image generation and image-to-image editing with free aspect ratios up to 1 megapixel.

上下文視窗
4K
最大輸出 Token
1K
發布日期
2026-06-02
能力
視覺
可用供應商
AzureAzure
支援的協定
OpenAIopenai

供应商

AzureAzure
輸入 Token
$5/M
輸出 Token
$47/M
圖像輸入
$8/M
輸出圖像
$47/M
接入协议
OpenAIopenai/v1/images/generations

程式碼範例

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

常見問題

Microsoft: MAI Image 2.5 在 Ofox.ai 上的價格為輸入 $5/M/百萬 Token,輸出 $47/M/百萬 Token。按量計費,無月費。