Azure

Microsoft: MAI Image 2.5 Flash

Image Generation
microsoft/mai-image-2.5-flash
СравнитьНачать

MAI-Image-2.5-Flash is the low-latency variant of Microsoft's MAI image family, optimized for fast, high-volume image generation and editing. Produces diverse, coherent images across creative and design scenarios with median generation times several times faster than comparable models. Supports text-to-image generation and image-to-image editing.

Контекстное окно
4K
Макс. выходных токенов
1K
Дата релиза
2026-06-02
Возможности
Зрение
Доступные провайдеры
AzureAzure
Поддерживаемые протоколы
OpenAIopenai

Providers

AzureAzure
Входные токены
$5/M
Выходные токены
$26/M
Вход: изображение
$8/M
Выход: изображение
$26/M
Protocols
OpenAIopenai/v1/images/generations

Примеры кода

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.5-flash",
prompt="A beautiful sunset over mountains",
size="1024x1024",
)
print(response.data[0].url)

Часто задаваемые вопросы

Microsoft: MAI Image 2.5 Flash на Ofox.ai стоит $5/M за миллион входных токенов и $26/M за миллион выходных токенов. Оплата по потреблению, без абонплаты.