Choose Auto, TokenLab Verified, or Official for each request, with prices shown up front. See what's new

Best AI Image Editing API: Ranked by Arena Elo, With Prices and Endpoints

·September 19, 2026·10 min read·Updated November 13, 2026·2469 views
#image-editing#ai-image-api#model-ranking#pricing
Best AI Image Editing API: Ranked by Arena Elo, With Prices and Endpoints

What you’ll learn

  • Which AI image editing API gives the best quality?
  • What is the best value image editing model?
  • Can I send a mask to every image edit model?
  • Which endpoint do Nano Banana edits use?
  • Why does my gpt-image-2 edit return 400 unsupported_parameter?

The best AI image editing API is the one whose quality, price and request shape fit the edit your product makes. This guide ranks the editing-capable image models on TokenLab by the Artificial Analysis image editing arena, adds TokenLab prices and the endpoint each model uses, and lists the specialist tools for masks, backgrounds and upscaling. Arena scores and prices were read on 2026-11-11.

Key Takeaways

  • Highest quality: gpt-image-2.6-sunburst (Elo 1209, arena #1). The arena gives its top four entries one shared rank range (1 to 4), so treat them as tied. Three of the four are on TokenLab: this model, gpt-image-2.6-flare and gpt-image-2.5-sunburst. They are token-priced, about $0.15 per image at Verified rates (an estimate).
  • Best value: nano-banana-2.1 (Elo 1152, arena #8) costs $0.0168 per 1k image on the Verified route, about one ninth of the estimated GPT Image cost.
  • Cheapest strong model: muse-image (Elo 1128, arena #13) costs $0.01 per image on the Official route.
  • Lowest price among editing-capable models: flux-2-klein-9b-kv at $0.00078 per request (Official). It has no arena score, so test it on your images.
  • Mask-based fill: flux-pro-1.0-fill costs $0.05 per image. gpt-image-2.6-sunburst also takes a mask.

How the ranking works

  • Quality. Elo from the Artificial Analysis image editing arena (AA-Image-Editing v2.1, overall category), read on 2026-11-11. Voters compare two edits of the same image and instruction without knowing the model. Most models have 95% intervals of about 12 to 19 points on each side of a score, so treat gaps of about 15 points or less as near ties.
  • Models. Only models in the TokenLab catalog on 2026-11-11 are ranked, matched by model name. MAI-Image-2.7-Preview (arena #4, no API), Seedream 5.5 (#6) and Krea 3 (#7) rank in the top 10 but are not in the catalog.
  • Price. TokenLab price per image from GET /v1/models/<id>/pricing. Where TokenLab has a Verified route for the model, the TokenLab price is the Verified price. Otherwise you pay the Official price, which is the model maker's published price. The billing guide explains both routes.

Image editing ranking

Rank is the position among TokenLab catalog models, ordered by edit Elo. The arena rank counts every model on the board. The last column shows where to send the request.

#TokenLab model IDEdit Elo (arena rank)TokenLab price per imageOfficial price per imageVerified routeOperation and endpoint
1gpt-image-2.6-sunburst1209 (arena #1)about $0.15 per image (estimate)about $0.21 per image (arena measurement)Yesimage-edit on /v1/images/edits
2gpt-image-2.6-flare1206 (arena #2)about $0.15 per image (estimate)about $0.21 per image (arena measurement)Yesimage-edit on /v1/images/edits
3gpt-image-2.5-sunburst1200 (arena #3)about $0.15 per image (estimate)about $0.21 per image (arena measurement)Yesimage-edit on /v1/images/edits
4gpt-image-2.5-flare1183 (arena #5)about $0.15 per image (estimate)about $0.21 per image (arena measurement)Yesimage-edit on /v1/images/edits
5nano-banana-2.11152 (arena #8)$0.0168 (1k), $0.0252 (2k), $0.0565 (4k)$0.0336 (1k)Yesimage-edit on /v1/images/generations
6gpt-image-21138 (arena #11)about $0.15 per image (estimate)about $0.21 per image (arena measurement)Yesimage-edit on /v1/images/edits
7seedream-5.0-pro1129 (arena #12)$0.045$0.045Noimage-to-image on /v1/images/generations
8muse-image1128 (arena #13)$0.01$0.01Noimage-edit on /v1/images/generations
9nano-banana-21125 (arena #14)$0.0335 (1k), $0.0505 (2k), $0.0755 (4k)$0.067 (1k)Yesimage-edit on /v1/images/generations
10grok-imagine-image-2.01117 (arena #20)$0.03$0.06Yesimage-edit on /v1/images/edits
11nano-banana-pro1109 (arena #21)$0.067 (1k, 2k), $0.12 (4k)$0.134 (1k, 2k)Yesimage-edit on /v1/images/generations
12qwen-image-3.0-pro1091 (arena #24)$0.04 (1k), $0.075 (2k)$0.04 (1k)Noimage-edit on /v1/images/generations
13grok-imagine-image1074 (arena #29)$0.02$0.02Yesimage-edit on /v1/images/edits
14qwen-image-3.01069 (arena #30)$0.03$0.03Noimage-edit on /v1/images/edits
15flux-2-klein-9b1014 (arena #46)$0.015$0.015Noimage-edit on /v1/images/edits
16flux-2-pro1011 (arena #49)$0.03$0.03Noimage-edit on /v1/images/edits
17flux-2-dev1000 (arena #51)$0.009$0.009Noimage-edit on /v1/images/generations
18p-image-edit982 (arena #58)$0.01$0.01Noimage-edit on /v1/images/generations
19flux-kontext-pro915 (arena #69)$0.04$0.04Noimage-edit on /v1/images/edits

GPT Image models are priced by tokens: $3.50 per 1M text input tokens, $5.60 per 1M image input tokens and $21 per 1M image output tokens on the Verified route ($5, $8 and $30 on the Official route). The arena measured about $210 per 1,000 images at the model maker's price for the 2.5 and 2.6 models. At 70% of that rate, the same token counts cost about $0.15 per image. Your cost changes with size, source images and prompt, so read the real charge in Usage. The Google models are priced per image by resolution tier. seedream-5.0-pro lists image-to-image rather than image-edit.

For 100 edits, flat prices give simple totals: muse-image costs 100 x $0.01 = $1.00, grok-imagine-image costs $2.00, flux-2-pro costs $3.00 and flux-pro-1.0-fill costs $5.00. nano-banana-2.1 at 1k on the Verified route costs 100 x $0.0168 = $1.68.

Picks by task

The arena measures how people rate edits on its test images. It does not score text inside the edited image, identity of a face, or product-shot fidelity. Test those with your own images.

Specialist tools

These models do one job. All of them use the Official route, so you pay the Official price. Read each model's detail for its fields.

Tool IDWhat it doesPrice per image (Official)
flux-pro-1.0-fillFill a masked region (one source image plus a mask)$0.05
stability-inpaintReplace the masked region from a text instruction$0.05
ideogram-edit-v3-turboIdeogram 3.0 inpainting: repaints the black area of a mask (Quality speed: ideogram-edit-v3-quality, $0.09)$0.03
ideogram-reframe-v3-turboExtend one image to a new output size$0.03
ideogram-replace-background-v3-turboKeep the subject and generate a new background$0.03
bria-rmbg-v2-0Remove the background and return an alpha matte$0.018
stability-upscale-fastEnlarge an image, no prompt$0.02
bria-image-increase-resolutionUpscale 2x or 4x and keep fine detail and transparency$0.02
p-image-upscaleUpscale to a target of 1 to 8 megapixels$0.005
recraft-vectorizeConvert a raster image to an SVG vector graphic$0.01

Masks differ by model. GPT Image models edit the fully transparent areas of a PNG mask, which must match the source size. Ideogram edit models repaint the black area of a mask.

What the edit endpoint accepts

The Edit Image reference describes POST /v1/images/edits. For GPT Image models it accepts:

  • Source images. Multipart image, JSON image_url or image_urls, or images[] objects with one of image_url or file_id. Up to 16 images of PNG, JPEG or WebP, 50 MiB each. Create file_id values through /v1/files first.
  • Mask. A PNG under 50 MiB with the same dimensions as the source. Fully transparent areas are edited. With several sources, the mask applies to the first.
  • Output size. size is auto or WIDTHxHEIGHT. Dimensions must be multiples of 16, the longest edge at most 3840 px, the long-to-short ratio at most 3:1, and total pixels between 655,360 and 8,294,400. Do not send resolution. background accepts auto or opaque.
  • Rejected field. input_fidelity returns 400 unsupported_parameter.
  • Remote URLs. Public http or https only. TokenLab fetches them with a 30-second timeout, up to 3 redirects, 50 MiB per image and 200 MiB per request in total (the mask included).

Nano Banana models are different: edits and reference requests for nano-banana-2, nano-banana-2.1, nano-banana-2-lite and nano-banana-pro go to /v1/images/generations with operation: "image-edit" or "image-to-image" and image_urls. Sending them to /v1/images/edits returns 400 unsupported_endpoint. Top-level images[] and file_id are edit-endpoint shapes and are not accepted on the generations endpoint.

Two complete requests

A masked edit with gpt-image-2.6-sunburst as an async task:

curl -X POST "https://api.tokenlab.sh/v1/images/edits" \
  -H "Authorization: Bearer $TOKENLAB_API_KEY" \
  -F "model=gpt-image-2.6-sunburst" \
  -F "image=@source.png" \
  -F "mask=@mask.png" \
  -F "prompt=A sunlit indoor lounge area with a pool" \
  -F "n=1" \
  -F "size=1024x1024" \
  -F "async=true"

With async=true, the response carries status: "pending", task_id and poll_url, and data stays empty. Drop that line for a synchronous call, and set the HTTP timeout to at least 120 seconds. Poll the task like this:

curl "https://api.tokenlab.sh/v1/tasks/$TASK_ID" \
  -H "Authorization: Bearer $TOKENLAB_API_KEY"

A reference-guided edit with nano-banana-2.1:

curl https://api.tokenlab.sh/v1/images/generations \
  -H "Authorization: Bearer $TOKENLAB_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "model": "nano-banana-2.1",
    "operation": "image-edit",
    "prompt": "Keep the product shape, change the background to a bright studio setup",
    "image_urls": ["https://example.com/input/product.png"],
    "aspect_ratio": "1:1",
    "resolution": "2k"
  }'

Async tasks and cost confirmation

  • A task ends at completed, failed or timeout. A status read returns HTTP 200 even for a failed task, so read status and error_details. The docs suggest checking every 5 to 10 seconds for long media jobs.
  • Async results are URLs, whatever response_format you send. Use a synchronous request when you need b64_json.
  • After a client timeout, check whether a task exists before you retry. An Idempotency-Key header makes a create request that returns a task safe to retry. A new task can mean a new charge.
  • Result URLs are kept for 30 days. Check media_retention.items for each item's status and expires_at.
  • A completed task is charged once. A failed task releases or refunds the pending amount. Console shows the maximum estimate before you confirm a paid generation, and Usage shows the final charge. A spending limit on an API key returns 402 Payment Required once reached.
  • Store request_id, task_id, poll_url, billing_transaction_id (when present), the model, the endpoint and your own job ID together. See the async jobs guide and the image generation guide.

FAQ

Which AI image editing API gives the best quality?

On the Artificial Analysis image editing arena read on 2026-11-11, the highest-ranked TokenLab models are gpt-image-2.6-sunburst (Elo 1209), gpt-image-2.6-flare (1206) and gpt-image-2.5-sunburst (1200). The arena gives its top four entries one shared rank range, so treat them as tied.

What is the best value image editing model?

nano-banana-2.1 has Elo 1152 and costs $0.0168 per 1k image on the Verified route. muse-image has Elo 1128 at $0.01 per image on the Official route.

Can I send a mask to every image edit model?

No. GPT Image models, flux-pro-1.0-fill and stability-inpaint list mask among their parameters. Check GET /v1/models/<id> before you send one. For GPT Image models, the mask must be a PNG under 50 MiB with the same dimensions as the source, and transparent areas are edited.

Which endpoint do Nano Banana edits use?

Use POST /v1/images/generations with operation: "image-edit" or "image-to-image" and image_urls. Sending Nano Banana requests to /v1/images/edits is not supported.

Why does my gpt-image-2 edit return 400 unsupported_parameter?

The usual cause is input_fidelity, which GPT Image models do not accept. Also remove resolution and any background: "transparent" value. Remove any field the model does not document.

Am I charged when an async edit task fails?

No. A failed task is not charged, and its reserved amount is released or refunded. A completed task is charged once, and Usage shows the final amount with a billing_transaction_id. If Usage shows nothing after the task ends, contact hello@tokenlab.sh with the request ID and task ID.

Compare current prices on the image model list, then create an API key under Console, API Keys, export it as TOKENLAB_API_KEY and compare your sample edits against the final cost in Usage.

Sources

Prices checked 2026-11-11

Prepared by TokenLab's AI agents. Facts are checked against the linked primary sources on the date shown.

Related models

Recent model releases

Try the models from this article

Chat, create images, or make video with the same TokenLab balance.

Your first API call

Get your API key
curl https://api.tokenlab.sh/v1/chat/completions \
  -H "Authorization: Bearer $TOKENLAB_API_KEY" -H "Content-Type: application/json" \
  -d '{"model":"grok-imagine-image","messages":[{"role":"user","content":"Hello!"}]}'