Edit image
Creates an edited image from one or more source images and a prompt.
post/v1/images/edits
Request body
Example request
{
"images": [
{
"image_url": "https://example.com/source-image.png"
}
],
"prompt": "Add a watercolor effect to this image",
"background": "transparent",
"input_fidelity": "high",
"model": "gemini-3-pro-image",
"n": 1,
"output_compression": 100,
"output_format": "png",
"quality": "high",
"size": "1024x1024",
"aspect_ratio": "16:9"
}Response
Image edit response.
Changes
No recorded changes to this endpoint across all 1 revision of this API.