Microsoft: MAI Image 2.6
Image Generationmicrosoft/mai-image-2.6MAI-Image-2.6 is Microsoft's image generation and editing model on Azure AI Foundry, the successor of MAI-Image-2.5: one image per request up to about 2.36 megapixels, and edits with up to five reference images.
コンテキストウィンドウ
4K
最大出力トークン
1K
機能
Vision
利用可能なプロバイダー
Azure
対応プロトコル
openai
プロバイダー
Azure
provider.type: "azure_foundry"入力トークン
$5/M
出力トークン
$38/M
画像入力
$8/M
画像出力
$38/M
対応プロトコル
openai
/v1/images/edits/v1/images/generationsドキュメント
OfoxAI で MAI Image 2.6 を呼び出す方法:モデル ID、リクエストパラメータ、よく起きるエラー。
コード例
from openai import OpenAIclient = OpenAI(base_url="https://api.ofox.io/v1",api_key="YOUR_OFOX_API_KEY",)response = client.images.generate(model="microsoft/mai-image-2.6",prompt="A beautiful sunset over mountains",size="1024x1024",)print(response.data[0].url)
関連モデル
よくある質問
Ofox.aiでのMicrosoft: MAI Image 2.6の料金は、入力100万トークンあたり$5、出力100万トークンあたり$38です。従量課金制、月額料金なし。
Microsoft: MAI Image 2.6は4Kトークンのコンテキストウィンドウと最大1Kトークンの出力に対応。大規模ドキュメントの処理や長い会話の維持が可能です。
ベースURLをhttps://api.ofox.io/v1に設定し、Ofox APIキーを使用するだけ。OpenAI互換APIなので、既存コードのベースURLとAPIキーを変更するだけです。
Microsoft: MAI Image 2.6は以下の機能に対応:Vision。Ofox.ai統合APIですべての機能にアクセスできます。