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.
컨텍스트 윈도우
4K
최대 출력 토큰
1K
출시일
2026-06-02
기능
비전
제공업체
Azure
지원 프로토콜
openai
Providers
Azure
입력 토큰
$5/M
출력 토큰
$47/M
이미지 입력
$8/M
이미지 출력
$47/M
Protocols
openai
/v1/images/generations코드 예제
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.5",prompt="A beautiful sunset over mountains",size="1024x1024",)print(response.data[0].url)
관련 모델
자주 묻는 질문
Microsoft: MAI Image 2.5은(는) Ofox.ai에서 입력 $5/M/백만 토큰, 출력 $47/M/백만 토큰입니다. 종량제, 월정액 없음.
Microsoft: MAI Image 2.5은(는) 4K 토큰의 컨텍스트 윈도우와 최대 1K 토큰 출력을 지원하여, 대용량 문서 처리와 장기 대화가 가능합니다.
base URL을 https://api.ofox.io/v1로 설정하고 Ofox API Key를 사용하면 됩니다. OpenAI 호환 API — 기존 코드에서 base URL과 API Key만 변경하면 됩니다.
Microsoft: MAI Image 2.5은(는) 비전 기능을 지원합니다. Ofox.ai 통합 API로 모든 기능에 접근하세요.