Skip to main content

Image Studio — Edit Live

Edit one or more input images with a text instruction. The endpoint is always async — it accepts your job and returns immediately with a job_id. Retrieve the result by polling the status_url or by supplying a callback_url to receive a webhook when the job completes.

Request body

Model support

Default model: standard. The API can default model when omitted, but production integrations should send it explicitly so the selected edit model is clear. common means callback_url, additional_settings, and enable_fallback. Model-specific knobs are passed in additional_settings.

Example request

Submit response

Get job status

Poll every 2-5 seconds. Most jobs complete in 10-90 seconds depending on the model.

Response fields

Webhook payload

If you supplied callback_url, the same JSON shape as the status response is POSTed to your webhook once the job reaches a terminal state (completed or failed).

Multi-image edits

Pass up to 5 image URLs in image_urls. The first image is typically the primary subject; additional images are treated as references. Not every model supports multi-image — the model catalog marks which models do.

Variable pricing

Models such as nano-banana-2/edit and gpt-image-2/edit price the request based on resolution and/or quality. Pass these in additional_settings:
See the model catalog for each model’s accepted values.

Status codes