Gemini 4 Neon is now available on OfoxView Gemini 4 Neon on Ofox

Microsoft: MAI Image 2.6

Image Generation
microsoft/mai-image-2.6

MAI-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.

Context Window
4K
Max Output Tokens
1K
Capabilities
Vision
Available Providers
Azure
Supported Protocols
openai

Providers

Azureprovider.type: "azure_foundry"
Input Tokens
$5/M
Output Tokens
$38/M
Image Input
$8/M
Output Image
$38/M
Protocols
openai/v1/images/edits/v1/images/generations

Documentation

How to call MAI Image 2.6 on OfoxAI: model IDs, request parameters and the errors you are most likely to hit.

Code Examples

from openai import OpenAI
client = 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)

Frequently Asked Questions

Microsoft: MAI Image 2.6 on Ofox.ai costs $5 per million input tokens and $38 per million output tokens. Pay-as-you-go, no monthly fees.