Skip to main content
Nano Banana Edit is Google’s state-of-the-art image editing model that excels at combining multiple source images into a cohesive output. It can take up to four reference images and merge them based on text instructions.

Try in playground

Test Nano Banana Edit in the Runpod Hub playground.
Endpointhttps://api.runpod.ai/v2/nano-banana-edit/runsync
Pricing$0.038 per image
TypeImage editing

Request

All parameters are passed within the input object in the request body.
input.prompt
string
required
Editing instructions describing the desired transformation or how to combine the images.
input.images
array
required
Array of image URLs to edit or combine. Supports up to 4 images.
input.enable_safety_checker
boolean
default:"true"
Enable content safety checking.
curl -X POST "https://api.runpod.ai/v2/nano-banana-edit/runsync" \
  -H "Authorization: Bearer $RUNPOD_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "input": {
      "prompt": "Combine these four source images into a single realistic 3D character figure scene",
      "images": [
        "https://example.com/character1.jpg",
        "https://example.com/character2.jpg"
      ],
      "enable_safety_checker": true
    }
  }'

Response

id
string
Unique identifier for the request.
status
string
Request status. Returns COMPLETED on success, FAILED on error.
delayTime
integer
Time in milliseconds the request spent in queue before processing began.
executionTime
integer
Time in milliseconds the model took to edit the images.
workerId
string
Identifier of the worker that processed the request.
output
object
The generation result containing the image URL and cost.
output.image_url
string
URL of the edited/combined image. This URL expires after 7 days.
output.cost
float
Cost of the generation in USD, calculated based on the output megapixels.
{
  "id": "sync-a1b2c3d4-e5f6-7890-abcd-ef1234567890-u1",
  "status": "COMPLETED",
  "delayTime": 23,
  "executionTime": 5432,
  "workerId": "oqk7ao1uomckye",
  "output": {
    "image_url": "https://image.runpod.ai/abc123/output.png",
    "cost": 0.028311
  }
}
Image URLs expire after 7 days. Download and store edited images immediately if you need to keep them.

Cost calculation

Nano Banana Edit charges $0.038 per image edited.