Edit image
Changed onCreates an edited image from one or more source images and a prompt.
post/v1/images/edits
Request
- Base URLhttps://api.llmgateway.io
- AuthHTTP bearer
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",
"moderation": "low",
"service_tier": "flex"
}Response
Image edit response.
Changes
- info
added the optional property
/to the response with the status - info
added the optional property
/to the response with the status - info
the response property
/became required for the status
- info
- info
added the new optional request property
- info