Microsoft: MAI Image 2.5 · ofox
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.
Entrée, $/1M $5.00
Sortie, $/1M $47.00
Contexte 4 100
Sortie max. 1 000
Accepte images, texte
Dernière vérification 04.11.2026 12:00:14 UTC
Source page du fournisseur
Alertes de prix
API
API compatible OpenAI : les SDK officiels d'OpenAI fonctionnent avec cette URL de base. Remplacez YOUR_API_KEY par votre clé du fournisseur.
| URL de base de l'API | |
|---|---|
| Point de terminaison | |
| ID du modèle | |
curl
curl https://api.ofox.ai/v1/images/generations \
-H "Authorization: Bearer YOUR_API_KEY" \
-H "Content-Type: application/json" \
-d '{"model": "microsoft/mai-image-2.5", "prompt": "a lighthouse at sunset", "n": 1, "size": "1024x1024"}'Python
import requests
r = requests.post(
"https://api.ofox.ai/v1/images/generations",
headers={"Authorization": "Bearer YOUR_API_KEY"},
json={
"model": "microsoft/mai-image-2.5",
"prompt": "a lighthouse at sunset",
"n": 1,
"size": "1024x1024"
},
)
print(r.json())JavaScript
const r = await fetch("https://api.ofox.ai/v1/images/generations", {
method: "POST",
headers: {Authorization: "Bearer YOUR_API_KEY", "Content-Type": "application/json"},
body: JSON.stringify({
"model": "microsoft/mai-image-2.5",
"prompt": "a lighthouse at sunset",
"n": 1,
"size": "1024x1024"
}),
});
console.log(await r.json());Requête (JSON)
{
"model": "microsoft/mai-image-2.5",
"prompt": "a lighthouse at sunset",
"n": 1,
"size": "1024x1024"
}Réponse (JSON)
{
"created": 1760000000,
"data": [
{
"url": "https://...",
"b64_json": null
}
]
}L'adresse provient de la liste de modèles du fournisseur ; vérifiez-la dans sa documentation.
Source: AI Rate Card, https://airatecard.com/fr/c/offer%3Aofox%7Cmicrosoft/mai-image-2.5, prices checked 2026-11-04; seller's page: https://ofox.ai/models/microsoft/mai-image-2.5
Détails techniques
ID: offer:ofox|microsoft/mai-image-2.5