Google Banana / Gemini Image / Nano Banana 2 / Multi-reference image
google_banana/gemini-3.1-flash-image-preview/multi_reference_image
Async
Generate an image using multiple reference images plus a prompt.
Parameters
| Name | Type | Required | Description | Allowed values | Bundle dim. |
|---|---|---|---|---|---|
| prompt | string | yes | Text prompt describing the desired output. | — | — |
| resolution | string | no | Output image resolution tier. | 0.5K, 1K, 2K, 4K | — |
| aspect_ratio | string | no | Output aspect ratio. | 1:1, 3:4, 4:3, 9:16, 16:9 | — |
| callback_url | string | no | Webhook URL invoked when async task completes. | — | — |
| images_count | integer | no | — | — | — |
| input_images | string[] | yes | URLs of 2–6 reference images. | — | — |
Example request
{
"provider": "google_banana",
"model": "gemini-3.1-flash-image-preview",
"method": "multi_reference_image",
"params": {
"prompt": "Combine the subject from the first reference with the style of the second",
"resolution": "2K",
"aspect_ratio": "1:1",
"input_images": [
"https://example.com/subject.jpg",
"https://example.com/style-ref.jpg"
]
}
}Example response
null