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
最大出力トークン
1K
リリース日
2026-06-02
機能
Vision
利用可能なプロバイダー
Azure
対応プロトコル
openai
Providers
Azure
入力トークン
$5/M
出力トークン
$47/M
画像入力
$8/M
画像出力
$47/M
Protocols
openai
/v1/images/generationsコード例
from openai import OpenAIclient = 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)
関連モデル
よくある質問
Ofox.aiでのMicrosoft: MAI Image 2.5の料金は、入力100万トークンあたり$5/M、出力100万トークンあたり$47/Mです。従量課金制、月額料金なし。
Microsoft: MAI Image 2.5は4Kトークンのコンテキストウィンドウと最大1Kトークンの出力に対応。大規模ドキュメントの処理や長い会話の維持が可能です。
ベースURLをhttps://api.ofox.run/v1に設定し、Ofox APIキーを使用するだけ。OpenAI互換APIなので、既存コードのベースURLとAPIキーを変更するだけです。
Microsoft: MAI Image 2.5は以下の機能に対応:Vision。Ofox.ai統合APIですべての機能にアクセスできます。