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.
Kontextfenster
4K
Max. Ausgabe-Tokens
1K
Fähigkeiten
Vision
Verfügbare Anbieter
Azure
Unterstützte Protokolle
openai
Anbieter
Azure
provider.type: "azure_foundry"Eingabe-Tokens
$5/M
Ausgabe-Tokens
$38/M
Bildeingabe
$8/M
Ausgabe Bild
$38/M
Protokolle
openai
/v1/images/edits/v1/images/generationsDokumentation
MAI Image 2.6 über OfoxAI aufrufen: Modell-IDs, Anfrageparameter und die häufigsten Fehler.
Code-Beispiele
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)
Verwandte Modelle
Häufig gestellte Fragen
Microsoft: MAI Image 2.6 auf Ofox.ai kostet $5 pro Million Eingabe-Tokens und $38 pro Million Ausgabe-Tokens. Pay-as-you-go, keine monatlichen Gebühren.
Microsoft: MAI Image 2.6 unterstützt ein Kontextfenster von 4K Tokens mit max. Ausgabe von 1K Tokens, was die Verarbeitung großer Dokumente und lange Konversationen ermöglicht.
Einfach Ihre Base-URL auf https://api.ofox.io/v1 setzen und Ihren Ofox API Key verwenden. Die API ist OpenAI-kompatibel — einfach Base-URL und API Key in Ihrem bestehenden Code ändern.
Microsoft: MAI Image 2.6 unterstützt folgende Fähigkeiten: Vision. Zugriff auf alle Features über die einheitliche Ofox.ai API.