Image editing API — edit with a reference image
Models that take an input image plus an instruction: replace a background, restyle, extend, fix text. Same OpenAI edits endpoint for all of them.
Crazyrouter is an AI API gateway that serves 6 image-editing models through the OpenAI images/edits endpoint with one key, billed per image from $0.0369, including GPT Image 2 and Nano Banana Pro for reference-image edits.
Samples from these models
Generated through this API, 2026-09-28Image editing models, by price per image
| Model | Arena score | Official price | Site discount | Release date |
|---|---|---|---|---|
| GPT Image 2 | 1461.5Evaluation details
| Not verified | −35% | |
| Nano Banana 2 | Not matched | $0.067 / image · 1K | −45% | |
| GPT Image 1.5 | 1367.3Evaluation details
| $0.009 / image · 1024², low | — | |
| Nano Banana Pro | 1390.8Evaluation details
| $0.134 / image · 1K / 2K | −45% | |
| Qwen Image 2.0 | Not matched | Not verified | Not verified | Not verified |
| Seedream 5.0 | Not matched | Not verified | Not verified | Not verified |
Text prices: USD per 1M tokens (input / output), standard base tier. Image examples show output cost; input may be billed separately. Site discounts come from the current billing configuration. Dates cite official announcements or API release notes, including previews; they are not listing dates on this site.
Leaderboard: Image editing · Published:
Official Arena data; selected models and scores rounded to one decimal. Higher is better within the same leaderboard and publication date; scores are not percentages or comparable across tasks. Evaluation settings may differ from your API requests. Unmatched versions are left blank.
Source: Arena · License: CC BY 4.0
What is a image editing API?
Image editing (image-to-image) sends an existing picture and a text instruction and gets back a modified picture. It is how product-photo pipelines, avatar tools and ad-creative generators work; prompt adherence on the untouched regions is the quality bar.
How to choose
GPT Image 2 and Nano Banana Pro keep the product pixel-accurate while changing scene and light.
Seedream 5 and Qwen Image 2 for illustration, poster and brand-style conversions.
GPT Image 2 renders and corrects text most reliably.
Nano Banana 2 for cheap variants once a hero image is approved.
Edit an image
Open a model's detail page to copy its API model ID.
curl https://api.crazyrouter.com/v1/images/edits \ -H "Authorization: Bearer $CRAZYROUTER_API_KEY" \ -F model="nano-banana-2" \ -F image="@input.png" \ -F prompt="replace the background with a white studio sweep"
FAQ
What endpoint handles edits?
POST https://api.crazyrouter.com/v1/images/edits as multipart form: model, image, optional mask, prompt.
Can I pass more than one reference image?
Where the upstream model supports it (GPT Image 2, Nano Banana Pro) you can send multiple image parts.
How is editing billed?
Per output image, same rate as generation for that model; see the table.
Which editing model is cheapest?
Nano Banana 2 at $0.0369 per image as of the latest sync.
Are uploads kept?
Inputs are used for the request only and are not added to any training set.
Guides and comparisons
TutorialNano Banana 2 API Pricing and How to Call It
Understand Nano Banana 2 image billing, send a minimal API request, and handle returned images without confusing gateway aliases or subscription plans.
ComparisonNano Banana 2.1 vs Nano Banana 2: Three API Tests and Price
We ran the same three prompts through both image routes, inspected all six files, and compared latency, prompt compliance, billing, and integration behavior.
GuideWhat Is Nano Banana 2.1? Image API, Price, and a Real Request
Understand the Nano Banana 2.1 image route, its published billing unit, and the exact request that returned an image in our October test.
Podcast
AI Dev Tools: The Crazyrouter Podcast
Short episodes for developers on AI APIs, gateways, cost control and coding tools.
Latest episodes
EP196 · Oct 29, 2026 · 6:53
AI API Security Posture — Turn Controls Into Continuous Evidence
A practical guide to AI API security posture: inventory exposure, verify controls continuously, protect keys and data, constrain tools, and turn security assumptions into evidence that operators can act on.
EP195 · Oct 28, 2026 · 7:21
AI API Policy Drift — Detect When Production Rules Stop Matching Intent
A practical guide to policy drift in AI APIs: version routing and safety rules, detect stale enforcement, compare intended and observed behavior, and restore control before small gaps become incidents.






