MAI-Image-2.6

MAI Image 2.6: image generation and editing.

API IDMAI-Image-2.6
View setup
View usage

Overview

Context
32,000 tokens
Input
Text, Image
Output
Image
Providers
Azure AI Foundry
Latest operational check
Healthy
API compatibility
  • OpenAI Images
Recommended for
  • Generate images
  • Edit images

Keep in mind: One PNG output. Generation sides must be at least 768 pixels with at most 2,359,296 total pixels. Edits accept up to five PNG/JPEG references and the default output size. Quality, masks and web grounding are unavailable.

Supported features
  • Function calling: Not supported
  • Structured outputs: Not supported
  • Vision: Not supported
  • Streaming: Not supported
  • Reasoning: Not supported
  • Prompt caching: Not supported
Supported parameters
size
View API reference

Make your first request

View full setup
curl --fail-with-body https://gateway.primexos.com/v1/images/generations \
  -H "Authorization: Bearer YOUR_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"model":"MAI-Image-2.6","prompt":"A clean product illustration"}'

Executing this request uses your account’s API credits.