YepAPI

Command Palette

Search for a command to run...

MicrosoftImage Generation/v1/media/queue

MAI Image 2.5

Microsoft MAI Image 2.5 from $0.13 per image — general-purpose generation through one API key.

Microsoft's standard MAI image model. Strong general-purpose generation across eight aspect ratios with reference-image editing — from $0.13 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.

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.13/image

Endpoint

/v1/media/queue

Strengths

General-purpose quality

Handles photography, illustration, and product imagery from a single model without needing per-style tuning.

Half the Pro price

At about $0.13 an image it is the volume tier of Microsoft's image family.

Eight aspect ratios

Square, landscape, portrait, and auto framing options for web, social, and print.

Reference-image editing

Upload an image to edit or restyle rather than regenerating from scratch.

Quick start

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

// 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",
    "prompt": "An overhead shot of a wooden desk mid-project: sketchbook open to a half-finished plan, brass ruler, cold coffee, warm task lamp light pooling across the grain",
    "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 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 API — Microsoft image generation from $0.13

MAI Image 2.5 is Microsoft AI's standard image generation model — a capable generalist across photography, illustration, and product imagery, with reference-image editing built in.

On YepAPI it is one `POST /v1/media/queue` call at roughly $0.13 per image, with no Azure setup and the same key as the rest of the catalog.

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 standard MAI image model. Strong general-purpose generation across eight aspect ratios with reference-image editing — from $0.13 per image.

Pricing for MAI Image 2.5 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?

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

Explore more models