Microsoft: MAI Image 2.6 Flash
Image Generationmicrosoft/mai-image-2.6-flashMAI-Image-2.6-Flash is the low-latency, lower-cost variant of MAI-Image-2.6 on Azure AI Foundry for fast, high-volume image generation and editing.
Context Window
4K
Max Output Tokens
1K
Capabilities
Vision
Available Providers
Azure
Supported Protocols
openai
Providers
Azure
provider.type: "azure_foundry"Input Tokens
$1.75/M
Output Tokens
$19/M
Image Input
$2.5/M
Output Image
$19/M
Protocols
openai
/v1/images/edits/v1/images/generationsDocumentation
How to call MAI Image 2.6 Flash on OfoxAI: model IDs, request parameters and the errors you are most likely to hit.
Code Examples
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-flash",prompt="A beautiful sunset over mountains",size="1024x1024",)print(response.data[0].url)
Related Models
Frequently Asked Questions
Microsoft: MAI Image 2.6 Flash on Ofox.ai costs $1.75 per million input tokens and $19 per million output tokens. Pay-as-you-go, no monthly fees.
Microsoft: MAI Image 2.6 Flash supports a context window of 4K tokens with max output of 1K tokens, allowing you to process large documents and maintain long conversations.
Simply set your base URL to https://api.ofox.io/v1 and use your Ofox API key. The API is OpenAI-compatible — just change the base URL and API key in your existing code.
Microsoft: MAI Image 2.6 Flash supports the following capabilities: Vision. Access all features through the Ofox.ai unified API.