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