Skip to main content
Nano Banana 2 Edit is Google’s latest image editing model for combining and editing multiple reference images. It supports up to 14 input images and offers resolution options from 1K to 4K output. For best results, use 1-3 reference images.

Try in playground

Test Nano Banana 2 Edit in the Runpod Hub playground.

Request

All parameters are passed within the input object in the request body.
array
required
Array of reference image URLs to edit or combine. Supports up to 14 images, but 1-3 images is recommended for best stability.
string
required
Text description of the desired edit or how to combine the images.
string
default:"1k"
Output resolution. Options: 1k, 2k, 4k.
string
Output aspect ratio (e.g., 1:1, 3:2, 16:9, 9:16, 4:5).
string
default:"png"
Output format. Options: png, jpeg.
boolean
default:"false"
Return result as base64 string instead of URL.

Response

string
Unique identifier for the request.
string
Request status. Returns COMPLETED on success, FAILED on error.
integer
Time in milliseconds the request spent in queue before processing began.
integer
Time in milliseconds the model took to edit the images.
object
The generation result containing the image URL and cost.
string
URL of the edited image. This URL expires after 7 days.
float
Cost of the generation in USD.
Image URLs expire after 7 days. Download and store edited images immediately if you need to keep them.

Cost calculation

Nano Banana 2 Edit pricing varies by output resolution: