AigenwayDocumentation

Google Banana / Gemini Image / Nano Banana Pro / Image edit

google_banana/gemini-3-pro-image-preview/image_edit
Async

Edit an existing image based on a textual instruction.

Parameters

NameTypeRequiredDescriptionAllowed valuesBundle dim.
promptstring
yes
Text prompt describing the desired output.
resolutionstringnoOutput image resolution tier.0.5K, 1K, 2K, 4K
aspect_ratiostringnoOutput aspect ratio.1:1, 3:4, 4:3, 9:16, 16:9
callback_urlstringnoWebhook URL invoked when async task completes.
images_countintegerno
input_imagesstring[]
yes
URL of the source image to edit.

Example request

{
  "provider": "google_banana",
  "model": "gemini-3-pro-image-preview",
  "method": "image_edit",
  "params": {
    "prompt": "Remove the background and replace with a beach scene",
    "resolution": "1K",
    "aspect_ratio": "1:1",
    "input_images": [
      "https://example.com/cat.jpg"
    ]
  }
}

Example response

null
Pricing: see your dashboard (auth required).