Image editing

Change an existing picture with an instruction: swap the background, restyle it, or combine several images into one.

What it does

Give your assistant a photo or a generated image and say what should change. Editing models keep the rest of the picture as it is, and several take more than one input image, so a product, a person and a setting can be combined in one result.

How your assistant does it

Your assistant calls generate_image with the instruction as the prompt and your images in image_urls. Only models with the edit capability take input images.

Tools it calls

Models that can do it

Prices in credits, from the same price list as the models page.

What it costs

  • 3 to 64 credits per image
ModelGood forPrice
Nano Banana 2Googlenano-banana-2Default
The all-rounder: strong prompt following, clean text, and reliable multi-image editing. Start here.
12 ($0.12) per image · 1K
18 ($0.18) per image · 2K
23 ($0.23) per image · 4K
Nano Banana ProGooglenano-banana-pro
Highest-fidelity Google image model. Best for dense layouts, infographics and long, accurate text.
21 ($0.21) per image · 1K / 2K
35 ($0.35) per image · 4K
Nano Banana 2.1Googlenano-banana-2.1
The newest Nano Banana revision, with adjustable reasoning depth.
6 ($0.06) per image · 1K (est.)
17 ($0.17) per image · 4K (est.)
Seedream 5.5ByteDanceseedream-5.5
Photographic realism and strong typography at a low price. Supports transparent backgrounds.
3 ($0.03) per image · 1K
5 ($0.05) per image · 2K
Seedream 5 LiteByteDanceseedream-5-lite
Fast, inexpensive Seedream for drafts and volume.
5 ($0.05) per image
Grok Imagine 2xAIgrok-imagine
Bold, stylised images with a looser house style. Good for memes, concepts and expressive portraits.
9 ($0.09) per image · 1K
12 ($0.12) per image · 2K
GPT Image 2.6 FlareOpenAIgpt-image-2.6-flare
OpenAI's fast tier: excellent instruction following, text and diagram rendering.
3 ($0.03) per image · ~1 MP (est.)
GPT Image 2.6 SunburstOpenAIgpt-image-2.6-sunburst
OpenAI's precision tier at high quality. Slower; use for final hero images.
7 ($0.07) per image · ~1 MP (est.)
FLUX 3Black Forest Labsflux-3
Detailed, cinematic images with fine control of composition. Scales to 4K.
4 ($0.04) per image · 1K
16 ($0.16) per image · 2K
64 ($0.64) per image · 4K
FLUX 2 ProBlack Forest Labsflux-2-pro
Previous-generation FLUX flagship; dependable photorealism.
5 ($0.05) per image · 1 MP
FLUX Kontext DevBlack Forest Labsflux-kontext-dev
Editing specialist: changes what you ask in one image and leaves the rest of the picture alone.
4 ($0.04) per image

Prices marked as estimates belong to models billed by usage rather than a flat rate.

Example prompts

Put this sneaker on a wet city street at night with neon reflections, and keep the shoe exactly as it is.
Turn this portrait into a watercolour illustration with the same pose and expression.
Combine the product in the first image with the beach in the second, at golden hour.

What your assistant sends

The tool call behind a request like the one above. The same call works over REST.

generate_image {
  "model": "nano-banana-2",
  "prompt": "Put this sneaker on a wet city street at night with neon reflections, and keep the shoe exactly as it is.",
  "image_urls": [
    "ast_…"
  ]
}

Related jobs

  • Text to image · Describe a picture in plain words and get finished images back in your chat, from the model that suits the job.

All features →