Nano Banana Image Edit
Image
Nano Banana Image Edit
POST
Nano Banana Image Edit
Edit images using the Gemini 2.5 Flash model with text prompts. You can provide images via URL or base64 encoded strings.
Request Headers
Enum:
application/jsonBearer authentication format: Bearer {{API Key}}.
Request Body
Text prompt describing the desired image editing effect
List of input image URLs for editing
Aspect ratio of the generated image. Available values: 1:1, 3:2, 2:3, 3:4, 4:3, 4:5, 5:4, 9:16, 16:9, 21:9Possible values:
1:1, 3:2, 2:3, 3:4, 4:3, 4:5, 5:4, 9:16, 16:9, 21:9List of base64 encoded images for editing
Response
List of output image URLs after editing