APIMODELSAPIMODELS
すべて
Models/MAI Image 2.7
Microsoft

MAI Image 2.7 API — Microsoft の画像生成・編集モデル、透過背景にも対応

mai-image-2.7

MAI Image 2.7 は Microsoft AI の画像モデルで、テキストからの生成と最大 5 枚の入力画像による編集、透過 PNG / WebP、最大 2048×2048 の出力に対応し、Microsoft によれば Artificial Analysis の画像編集で 1 位です。パブリックプレビューで、1 リクエスト 1 枚、4K は非対応。モデル名 mai-image-2.7、トークン課金で 1K 画像 1 枚あたり約 $0.05、失敗は課金なし。

Text to Image & EditUp to 5 Input ImagesTransparent PNG / WebP1K / 2K up to 2048×2048Per token · ≈$0.05 per 1K image
Per token · text input$7.15 / 1M tokens
Per token · image input$11.44 / 1M tokens
Per token · image output$48.62 / 1M tokens
Typical · 1K image≈ $0.05
Typical · 2K image≈ $0.20
Typical · 1K edit, one input image≈ $0.06
API Docs

Generate Image

Limits: text-to-image, or editing from 1–5 input images · 1 image per request · 1K or 2K, up to 2048×2048, no 4K · billed on the tokens actually used, so the button shows a typical cost · transparent background, JPEG / WebP output and exact sizes are available through the API (PNG here) · a Microsoft public preview that can invent specifications or text, so check the output · not every request succeeds, and failed requests are not charged.

Result

Generated image will appear here

Enter a prompt and click Generate

Microsoft 発表で Artificial Analysis 画像編集 1 位

2026 年 11 月 16 日時点で 5,478 票、1,215 Elo。max 設定の GPT Image 2.6 Sunburst との差は 4 ポイントで、首位で並んでいると見てよい差です。Microsoft は連続した編集での一貫性も強調しています。

1 つのモデル名で生成も編集も

プロンプトだけならテキストから生成。1〜5 枚の入力画像を加えれば、商品の色替え、素材の差し替え、物の移動、複数画像の合成ができます。

透過背景

background: transparent と PNG または WebP 出力で、切り抜き済みの商品画像、ロゴ、アイコン、ステッカーが返ります。背景を手作業で消す工程は要りません。

1K または 2K、最大 2048×2048

7 種類のアスペクト比(1:1、4:3、3:4、3:2、2:3、16:9、9:16)を 1K か 2K で、または正確なサイズで指定。各辺 768 px 以上、4,194,304 ピクセル以下で、16 の倍数に切り下げます。4K は非対応。

トークン課金、1K 画像 1 枚あたり約 $0.05

100 万トークンあたりテキスト入力 $7.15、画像入力 $11.44、画像出力 $48.62。目安は 1K で約 $0.05、2K で約 $0.20、入力画像 1 枚の 1K 編集で約 $0.06。

プレビュー版、成功率 100% ではない

Microsoft はパブリックプレビューとして提供しています。仕様やラベルを事実と違う内容で書くことがあるので、文字と数字は確認してください。すべてのリクエストが成功するわけではなく、失敗したリクエストは課金されません。

MAI Image 2.7 API: Microsoft's image model for generation and editing, with transparent backgrounds

MAI Image 2.7 is Microsoft AI's image model, released at Microsoft Ignite on 17 November 2026 as a public preview. Send a prompt for text-to-image, or add 1 to 5 input images to change an object's colour, material or position, restyle a photo or combine pictures. It can return a transparent background, and sizes go up to 2048×2048. Microsoft reports it #1 on the Artificial Analysis image-editing leaderboard.

On APIMODELS it is one model id, mai-image-2.7, on POST /v1/images/generations, billed per token on what each request uses: image output $48.62 per 1M tokens, about $0.05 for a typical 1K image. It returns one image per request, has no 4K, mask or seed, and not every request succeeds; the limits are listed below.

Model ID
mai-image-2.7
Input
Text prompt, plus 1–5 input images to edit (optional)
Output
1 image, 1K or 2K, up to 2048×2048; PNG / JPEG / WebP; transparent background
Aspect ratio
1:1, 4:3, 3:4, 3:2, 2:3, 16:9, 9:16 or an exact size
Price
Per token; about $0.05 per 1K image

MAI Image 2.7 API limits at a glance

What the model accepts and what it does not, before you build on it.

SupportedNot supported
InputA text prompt of up to 32,000 characters, alone (text-to-image) or with 1 to 5 input images to edit, restyle or combineMasks (inpainting); more than 5 input images
Images per requestOneSeveral images in one call (send separate requests)
Sizeaspect_ratio 1:1, 4:3, 3:4, 3:2, 2:3, 16:9 or 9:16 with resolution 1K (about 1 MP, the default) or 2K (each side doubled); or an exact WIDTHxHEIGHT with each side at least 768 px and at most 4,194,304 pixels in total (2048×2048), rounded down to a multiple of 164K; sides under 768 px; other aspect ratios such as 21:9
Edits without a sizeThe model picks a size close to the input image
BackgroundOpaque (default) or transparent; transparent needs PNG or WebP outputTransparent JPEG (JPEG has no alpha channel)
Output formatPNG (default), JPEG or WebP; jpg is accepted as jpegGIF, SVG
Size priorityimage_size (a preset name or {"width", "height"}) wins over size, which wins over aspect_ratio; resolution applies to presets only and is ignored for exact sizes
Other controlsquality is accepted but ignoredseed, negative_prompt, mask and n above 1 return a 400 instead of being silently dropped (results are not repeatable)

Not every MAI Image 2.7 request succeeds

A public preview model with the usual failure modes. You pay only for requests that deliver an image.

Microsoft lists the MAI Image 2.7 family as a public preview, so behaviour, output sizes and quality may change while it is in preview. A request can fail after it is accepted: content review can refuse the prompt or an input image, and a generation can hit a temporary error. A failed request returns the reason and costs nothing. We have not run enough requests to publish a success rate or typical timings, so we publish neither.

Check text before you ship it. A hands-on review published on 18 November 2026 found MAI Image 2.7 labels readable in a dense technical illustration, and warns that image models of this generation still invent specifications, dates and part names. Treat model numbers, prices, ingredients and dimensions in a generated image as drafts until a person has read them.

MAI Image 2.7 API pricing

Billed per token on what each request actually uses. The typical costs below are references, not fixed unit prices.

mai-image-2.7mai-image-2.7-flash
Text input, per 1M tokens$7.15$2.50
Image input, per 1M tokens$11.44$3.58
Image output, per 1M tokens$48.62$14.30
Typical 1K text-to-image (about 1,024 output tokens)about $0.05about $0.015
Typical 2K image (each side doubled)about $0.20about $0.059
Typical 1K edit with one input imageabout $0.06about $0.018
Failed requestNot chargedNot charged

100 product shots at 1K

≈ $5

100 × about $0.05; failed ones are not charged

One 2K hero banner

≈ $0.20

about 4,096 output tokens × $48.62 per 1M

One 1K edit of a product photo

≈ $0.06

about $0.05 of output plus the input image tokens at $11.44 per 1M

What MAI Image 2.7 is good for, and what it is not

Good fit

Local edits to product photos

Change an object's colour, material or position and keep the rest of the scene. Microsoft leads with this, and with consistency across successive edits.

Good fit

Transparent cut-outs

background: "transparent" with PNG or WebP returns product shots, logos, icons and stickers ready to place on any layout.

Good fit

Combining up to five pictures

Put the product from one image into the scene of another, or merge a logo, a model and a background in one request.

Not a fit

4K, animated GIF or SVG

The largest output is 2048×2048 and the formats are PNG, JPEG and WebP. For 4K, GIF or SVG, use GPT Image 2.6.

Not a fit

Text that must be right without a check

Labels come out readable, but specifications, dates and part names can be invented. Proofread before anything ships.

Not a fit

Masks, many outputs per call, repeatable seeds

There is no mask or seed and one image comes back per request. For up to 10 outputs per call and masks, use GPT Image 2.6.

MAI Image 2.7 or MAI Image 2.7 Flash?

Both take exactly the same request: the same fields, limits, sizes and transparent background. Only the model id, Microsoft's positioning and the per-token rates differ, so you can switch with one string and compare on your own prompts.

mai-image-2.7mai-image-2.7-flash
Microsoft's positioningThe flagship; #1 on Artificial Analysis image editing per Microsoft (1,215 Elo, 16 Nov 2026)The tier for production workloads; runs Canvas in MAI Labs. No leaderboard figure published
Image output per 1M tokens$48.62$14.30 (about 30% of 2.7)
Typical 1K imageabout $0.05about $0.015
Inputs, sizes, transparencySameSame
Use it forEdits and final images that matter mostVolume: catalogue variants, drafts, in-app editing

Call it in one request

POST /v1/images/generations with your apimodels.app API key. Leave out image / images for text-to-image; add them to edit. By default you get a taskId back and poll GET /v1/images/generations?task_id= (or pass a callback_url); with an exact WIDTHxHEIGHT size and no callback_url, the image comes back in the same response. Every field is in the docs.

bash
# Edit: transparent cut-out of a product photo at 1K
curl -X POST https://api.apimodels.app/v1/images/generations \
  -H "Authorization: Bearer YOUR_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "model": "mai-image-2.7",
    "prompt": "Cut out the ceramic mug on a transparent background. Keep the mug, its handle and its glaze exactly as they are.",
    "image": "https://example.com/mug.jpg",
    "background": "transparent",
    "output_format": "png",
    "resolution": "1K"
  }'
# → { "code": 200, "data": { "taskId": "...", "state": "pending", "model": "mai-image-2.7" } }

MAI Image 2.7 vs GPT Image 2.6 Sunburst

The two models Microsoft names in its own comparison, both callable on apimodels.app with the same API key. The leaderboard row is Microsoft's statement; the other rows are each model's request limits on apimodels.app.

MAI Image 2.7GPT Image 2.6 Sunburst
Artificial Analysis image editing (per Microsoft, 16 Nov 2026)#1, 1,215 Elo over 5,478 votes4 Elo behind, at the max setting
Largest output2048×2048 (4,194,304 pixels)4K, up to 3840 px on the long edge
Input images per requestUp to 5Up to 16
Images per request1Up to 10
Transparent backgroundYes (PNG / WebP)Yes
Animated GIF, SVG, masksNoYes
Billing on apimodels.appPer tokenPer image for plain images; per token for GIF, masks and transparent backgrounds

The Elo figures are published by Microsoft, not measured by apimodels.app. A 4-point gap on a vote-based leaderboard is small enough to read as a tie at the top. The figure is for MAI Image 2.7; Microsoft has not published one for Flash.

GPT Image 2.6 Sunburst on apimodels.app →

Sources

Where the third-party facts on this page come from (checked 18 November 2026). Prices and limits are apimodels.app's own.

TL;DR MAI Image 2.7 は Microsoft の画像生成モデルで、APIMODELS の統一 API から利用できます(モデル名 `mai-image-2.7`)。 料金: Per token · text input: $7.15 / 1M tokens, Per token · image input: $11.44 / 1M tokens, Per token · image output: $48.62 / 1M tokens, Typical · 1K image: ≈ $0.05, Typical · 2K image: ≈ $0.20, Typical · 1K edit, one input image: ≈ $0.06。 画像 / 動画 / LLM / 音声のすべてのモデルにキー 1 本でアクセスできます。

MAI Image 2.7 について

MAI Image 2.7 は Microsoft の画像生成 API です。MAI Image 2.7 は Microsoft AI(MAI)の画像生成・編集モデルです。2026 年 11 月 17 日に Microsoft Ignite で発表され、Microsoft はパブリックプレビューとして提供しています。apimodels.app では POST /v1/images/generations で呼び出す 1 つのモデル名 mai-image-2.7 で使えます。プロンプトだけを送ればテキストから生成、1〜5 枚の入力画像を加えれば同じリクエストのまま編集になり、物の色や素材、位置を変える、写真のスタイルを変える、複数の画像を合成する、といったことができます。 Microsoft によると、MAI Image 2.7 は 2026 年 11 月 16 日時点の Artificial Analysis 画像編集リーダーボードで 1 位で、5,478 票に基づく 1,215 Elo、max 設定の GPT Image 2.6 Sunburst を 4 ポイント上回っています。4 ポイントは小さな差で、はっきり勝ったというより首位で並んでいると見るのが妥当です。Microsoft は連続した編集での一貫性も強調しており、最初からやり直さずに何回かに分けて画像を詰めていけます。 透過背景(background: transparent、出力は PNG または WebP)にも対応しており、商品画像、ロゴ、アイコン、ステッカーに使えます。出力は既定で PNG、JPEG / WebP も選べます。サイズはアスペクト比(1:1、4:3、3:4、3:2、2:3、16:9、9:16)と 1K(約 100 万画素、既定)または 2K(各辺 2 倍)の組み合わせか、正確な WIDTHxHEIGHT で指定します。正確なサイズは各辺 768 px 以上、総ピクセル 4,194,304(2048×2048)以下で、16 の倍数に切り下げられます。4K はなく、1 リクエストで返る画像は 1 枚です。 料金はトークン課金で、各リクエストで実際に使ったトークン数に基づきます。100 万トークンあたり、テキスト入力 $7.15、画像入力 $11.44、画像出力 $48.62 です。1K 画像は出力約 1,024 トークンなので、目安として 1K のテキストからの生成は約 $0.05、2K の画像は約 $0.20、入力画像 1 枚での 1K 編集は約 $0.06 です。これは代表的な金額で、固定の単価ではありません。失敗したリクエストは課金されません。 組み込む前に制約を把握しておいてください。プレビュー版のモデルなので、挙動が変わる可能性があります。細かい文字も読める形で描けますが、この世代の他の画像モデルと同じく、事実と違う仕様や日付、部品名を書き込んでしまうことがあるため、公開前にすべての文字と数字を確認してください。マスク、seed、ネガティブプロンプトには対応していません。すべてのリクエストが成功するわけではなく、コンテンツ審査でプロンプトや画像が拒否されることも、一時的なエラーが起きることもあります。失敗したリクエストに料金はかかりません。mai-image-2.7-flash はまったく同じリクエストを受け付け、トークン単価はこの約 30% です。 APIMODELS のプラットフォーム経由なら、統一 API と明朗な従量課金でこのモデルを呼び出せます。 現在の料金: Per token · text input: $7.15 / 1M tokens, Per token · image input: $11.44 / 1M tokens, Per token · image output: $48.62 / 1M tokens, Typical · 1K image: ≈ $0.05, Typical · 2K image: ≈ $0.20, Typical · 1K edit, one input image: ≈ $0.06。

関連モデル: MAI Image 2.7 Flash — the same request at about 30% of the per-token rates — about $0.015 per 1K image

関連モデル: GPT Image 2.6 Sunburst — level with MAI Image 2.7 on Artificial Analysis image editing, per Microsoft; adds 4K, animated GIF, SVG, masks and up to 16 reference images

関連モデル: GPT Image 2.6 Flare — OpenAI's default GPT Image 2.6 tier — 4K, animated GIF and SVG, up to 10 images per call

関連モデル: Seedream 5.5 — pixel-level edits, native RGBA output and layer splitting into up to 100 transparent layers

主な機能

  • Microsoft 発表で Artificial Analysis 画像編集 1 位 -- 2026 年 11 月 16 日時点で 5,478 票、1,215 Elo。max 設定の GPT Image 2.6 Sunburst との差は 4 ポイントで、首位で並んでいると見てよい差です。Microsoft は連続した編集での一貫性も強調しています。
  • 1 つのモデル名で生成も編集も -- プロンプトだけならテキストから生成。1〜5 枚の入力画像を加えれば、商品の色替え、素材の差し替え、物の移動、複数画像の合成ができます。
  • 透過背景 -- background: transparent と PNG または WebP 出力で、切り抜き済みの商品画像、ロゴ、アイコン、ステッカーが返ります。背景を手作業で消す工程は要りません。
  • 1K または 2K、最大 2048×2048 -- 7 種類のアスペクト比(1:1、4:3、3:4、3:2、2:3、16:9、9:16)を 1K か 2K で、または正確なサイズで指定。各辺 768 px 以上、4,194,304 ピクセル以下で、16 の倍数に切り下げます。4K は非対応。
  • トークン課金、1K 画像 1 枚あたり約 $0.05 -- 100 万トークンあたりテキスト入力 $7.15、画像入力 $11.44、画像出力 $48.62。目安は 1K で約 $0.05、2K で約 $0.20、入力画像 1 枚の 1K 編集で約 $0.06。
  • プレビュー版、成功率 100% ではない -- Microsoft はパブリックプレビューとして提供しています。仕様やラベルを事実と違う内容で書くことがあるので、文字と数字は確認してください。すべてのリクエストが成功するわけではなく、失敗したリクエストは課金されません。

ユースケース

商品写真の編集

既存の写真で商品の色を変える、素材を差し替える、物を動かす。シーンのほかの部分はそのまま残ります。Microsoft が真っ先に挙げている編集の強みです。写真を image で送り、残したい部分を伝えてください。

透過の切り抜き素材とロゴ

PNG または WebP で background: transparent を指定すれば、結果をそのままストアページやバナー、スライドに配置できます。背景を消す工程は要りません。

何回かに分けた修正

前の結果を次の変更の入力として渡していきます。Microsoft によると、MAI Image 2.7 は連続した編集でも画像の一貫性を保ちます。

文字入りのポスター、ラベル、図解

細かいラベルも読める形で出ますが、名前・日付・数字は校正してください。この世代の画像モデルは、まだ事実と違う仕様を書き込むことがあります。

最大 5 枚の画像を合成

ある画像の商品を別の画像のシーンに置く、ロゴ・人物モデル・背景を 1 回のリクエストでまとめる、といった使い方ができます。

最大 2048×2048 のヒーロー画像

バナーやページヘッダー向けに、2K 出力か約 420 万画素までの正確なサイズで。4K はないので、必要なら GPT Image 2.6 を使ってください。

APIMODELS を選ぶ理由

  • 統一 API -- キー 1 本ですべてのモデルへ。プラットフォームごとに登録する必要はありません
  • 明朗な料金 -- 従量課金で、1 回あたりの単価は各モデルページに掲載。個人開発者とスタートアップに向いています
  • すぐ使える -- 登録した直後から利用でき、支払いはカード・PayPal・Alipay・USDT に対応
  • 充実したドキュメント -- cURL / Python / Node.js のサンプル付きで API を詳しく解説

よくある質問

APIMODELS と Microsoft 公式 API の違いは?

APIMODELS は同じ MAI Image 2.7 を集約プラットフォーム経由で提供します。統一された API インターフェースなので、プロバイダごとにアカウントを作る必要はありません。キー 1 本ですべてのモデルに届きます。

MAI Image 2.7 API の料金は?

apimodels.app の mai-image-2.7 はトークン課金で、各リクエストで実際に使ったトークン数に基づきます。100 万トークンあたり、テキスト入力 $7.15、画像入力 $11.44、画像出力 $48.62 です。1K 画像は出力約 1,024 トークンなので、1K のテキストからの生成は約 $0.05、2K の画像は約 $0.20、入力画像 1 枚での 1K 編集は約 $0.06 になります。いずれも代表的な金額で、1 枚あたりの固定料金ではありません。失敗したリクエストは課金されません。

MAI Image 2.7 API の呼び出し方と、画像の編集方法は?

API キーを付けて https://api.apimodels.app/v1/images/generations に POST し、model に mai-image-2.7 を指定します。プロンプトだけならテキストからの生成です。編集するときは画像を image に(最大 5 枚なら images に)入れて、変更内容を書きます。たとえば「マグカップをマットブラックにして、それ以外はそのままにする」のように指示します。呼び出しは taskId を返すのでポーリングするか、callback_url を渡してください。1024x1024 のような正確なサイズを指定し、callback_url を付けない場合は、同じレスポンスで画像が返ります。

MAI Image 2.7 は GPT Image 2.6 より優れていますか?

画像編集では互角です。Microsoft によると、MAI Image 2.7 は 2026 年 11 月 16 日時点の Artificial Analysis 画像編集リーダーボードで 1 位、5,478 票で 1,215 Elo と、max 設定の GPT Image 2.6 Sunburst を 4 ポイント上回っていますが、実質的には同点です。実際に効いてくる違いは機能面です。apimodels.app の GPT Image 2.6 には 4K、アニメーション GIF、SVG、マスク、最大 16 枚の参照画像、1 回最大 10 枚の出力があり、MAI Image 2.7 は最大 2048×2048、入力画像は最大 5 枚、1 リクエスト 1 枚です。透過背景はどちらも対応しています。切り替える前に、自分のプロンプトで両方を試してください。

Microsoft AI: Introducing MAI Image 2.7 ↗

MAI Image 2.7 は透過背景に対応していますか?

はい。background を transparent、output_format を png または webp にします。JPEG にはアルファチャンネルがないため、透過のリクエストには PNG か WebP が必要です。手作業で切り抜かずに別のレイアウトへ配置したい商品画像、ロゴ、アイコン、ステッカーに向いています。

MAI Image 2.7 で指定できるサイズと解像度は?

アスペクト比(1:1、4:3、3:4、3:2、2:3、16:9、9:16)を選んで resolution を 1K(約 100 万画素、既定)か 2K(各辺 2 倍)にするか、WIDTHxHEIGHT 形式で正確なサイズを渡します。正確なサイズは各辺 768 px 以上、総ピクセル 4,194,304(2048×2048)以下が条件で、16 の倍数に切り下げられます。4K はありません。サイズを指定せずに編集すると、モデルが入力画像に近いサイズを選びます。

MAI Image 2.7 と MAI Image 2.7 Flash、どちらを使うべき?

どちらも同じリクエストを受け付け、フィールド、サイズ、入力画像、透過背景は共通です。Flash は 2.7 の約 30% のトークン単価で課金され(画像出力は 100 万トークンあたり $14.30、2.7 は $48.62)、1K 画像 1 枚あたり約 $0.015(2.7 は約 $0.05)です。Microsoft は Flash を本番ワークロード向けと位置づけています。Microsoft が公表したリーダーボードの結果は MAI Image 2.7 のものです。いちばん重要な編集や画像には 2.7、量の多い用途には Flash と使い分けてください。切り替えは文字列 1 つを変えるだけです。

MAI Image 2.7 の制限と、リクエストが失敗したときの扱いは?

Microsoft は MAI Image 2.7 をパブリックプレビューとしているため、挙動が変わる可能性があります。1 リクエスト 1 枚、入力画像は最大 5 枚、マスク・seed・ネガティブプロンプトは非対応で、4K もありません。細かい文字も読める形で描けますが、事実と違う仕様や日付、部品名を書き込むことがあるので、顧客が目にするものは必ず校正してください。すべてのリクエストが成功するわけではなく、コンテンツ審査でプロンプトや画像が拒否されることも、一時的なエラーが起きることもあります。失敗したリクエストは理由を返し、課金されません。

CIAOPS hands-on review, 18 Nov 2026 ↗

MAI Image 2.7 で何ができますか?

MAI Image 2.7 は次に対応しています: Text to Image & Edit、Up to 5 Input Images、Transparent PNG / WebP、1K / 2K up to 2048×2048、Per token · ≈$0.05 per 1K image。パラメータの全一覧と呼び出し例は APIMODELS のドキュメントをご覧ください。

MAI Image 2.7 の API は日本からでも使えますか?

使えます。APIMODELS は国による利用制限を設けておらず、サイトも API もどこからでも利用できます。MAI Image 2.7 は APIMODELS のキー 1 本で呼び出せるので、モデル提供元のアカウントを別に作る必要はありません。

日本円で払えますか?支払い方法は?

残高と料金は米ドル建てです。支払いはクレジットカード(Visa、Mastercard など。Stripe 経由)、PayPal、Alipay、USDT(TRON の TRC20、BNB Smart Chain の BEP20)に対応しています。円建てのカードや PayPal で払う場合、円への換算はカード会社や PayPal 側で行われます。カード、PayPal、Alipay は支払い後すぐ残高に反映され、USDT はブロックチェーン上で送金が確認されてから反映されます。自動チャージも設定でき、$50 のチャージで $1、$100 で $3 のボーナスが付きます。月額料金はなく、使った分だけの従量課金です。

Related models