YepAPI

Command Palette

Search for a command to run...

MicrosoftImage Generation/v1/media/queue

MAI Image 2.5 Pro

Microsoft MAI Image 2.5 Pro from $0.29 per image — flagship-quality generation on the unified media endpoint.

Microsoft's flagship in-house image model. High-fidelity photoreal and illustrated output across eight aspect ratios, with reference-image editing — from $0.29 per image.

No credit card required. Takes 30 seconds.

2,400+

Developers

1.2M+

API calls served

100+

Endpoints

$0.01

Per call

Yep, that's it.

Try it live

Enter a prompt and generate an image with MAI Image 2.5 Pro.

POST/v1/media/queue

Drop image or click to upload

For image-to-image editing

Response
Hit "Send Request" to see the response

Pricing

Per-image: from $0.29/image

Endpoint

/v1/media/queue

Strengths

Microsoft's flagship

MAI Image 2.5 Pro is the top tier of Microsoft AI's own image family, not a rebadged third-party model.

High-fidelity output

Detailed rendering of materials, lighting, and faces that holds up at large sizes.

Eight aspect ratios

Square through 16:9 and 2:3 plus auto, covering print, web, and social framing.

Reference-image editing

Accepts an uploaded image to edit or restyle while preserving the subject.

Quick start

Copy this snippet and start making calls with MAI Image 2.5 Pro.

// Step 1: Submit job
const res = await fetch('https://api.yepapi.com/v1/media/queue', {
  method: 'POST',
  headers: {
    'x-api-key': 'YOUR_API_KEY',
    'Content-Type': 'application/json',
  },
  body: JSON.stringify({
    "model": "microsoft/mai-image-2.5-pro",
    "prompt": "A glass conservatory at night filled with tropical plants, lantern light diffusing through condensation on the panes, rain streaking the glass, moody emerald palette",
    "options": {
      "aspectRatio": "1:1"
    }
  }),
});
const { data } = await res.json();
const jobId = data.jobId;

// Step 2: Poll for result
const status = await fetch(`https://api.yepapi.com/v1/media/status/${jobId}`, {
  headers: { 'x-api-key': 'YOUR_API_KEY' },
});
const { data: job } = await status.json();
// job.status: "pending" | "processing" | "completed" | "failed"
// job.result: { text?, image?, audio?, video? }

Why use MAI Image 2.5 Pro through YepAPI?

One API key for all models — no separate accounts
No monthly minimums — pay per call
Switch models with one line of code
Simple REST API — works from any language
Unified billing across all providers
No rate limits for most use cases

MAI Image 2.5 Pro API — Microsoft's flagship image model

MAI Image 2.5 Pro is the high-end tier of Microsoft AI's own image generation family, producing detailed photoreal and illustrated imagery across eight aspect ratios with reference-image editing.

Through YepAPI you reach it on `/v1/media/queue` with one key at about $0.29 per image — no Azure subscription, resource group, or deployment to configure.

Start generating in 30 seconds

$5 free credit on signup. No credit card required. Pay per call.

What developers say

Switched from SerpAPI and cut our SERP costs by 80%. Same data quality, way simpler billing.

Marcus T.

SEO Platform Founder

One API key for AI models, SERP data, and web scraping. Saved us from managing 4 separate providers.

Priya S.

Full-Stack Developer

The $5 free credit let us prototype our entire rank tracking feature before committing. No other API does that.

Jake R.

Indie Hacker

Frequently asked questions

Microsoft's flagship in-house image model. High-fidelity photoreal and illustrated output across eight aspect ratios, with reference-image editing — from $0.29 per image.

Pricing for MAI Image 2.5 Pro through YepAPI is based on usage. No monthly minimums — you only pay for what you use.

Sign up for a free API key, then send requests to the /v1/media/queue endpoint.

Ready to use MAI Image 2.5 Pro?

$5 free credit on signup. No credit card required. Pay per call.

Explore more models