Nano Banana Pro | Edit
Edit images with Nano Banana Pro. Supports multiple aspect ratios, up to 4K resolution, and batch generation with an experimental generation limiter.
Quick Start
Requires an each::labs API key. Get one at eachlabs.ai.
curl -X POST https://api.eachlabs.ai/v1/prediction \
-H "Content-Type: application/json" \
-H "X-API-Key: $EACHLABS_API_KEY" \
-d '{
"model": "nano-banana-pro-edit",
"version": "0.0.1",
"input": {
"prompt": "add colorful graffiti art to the wall",
"image_urls": ["https://example.com/wall.jpg"],
"aspect_ratio": "16:9",
"resolution": "1K"
}
}'
Parameters
| Parameter |
Type |
Default |
Description |
| aspect_ratio |
string |
1:1 |
The aspect ratio of the generated image. enum: auto, 21:9, 16:9, 3:2, 4:3, 5:4, 1:1, 4:5, 3:4, 2:3, 9:16 |
| image_urls |
array |
|
The URLs of the images for editing. |
| limit_generations |
boolean |
false |
Experimental parameter to limit the number of generations per round. |
| num_images |
integer |
1 |
The number of images to generate. |
| output_format |
string |
png |
The format of the generated image. enum: jpeg, png, webp |
| prompt |
string |
|
The prompt for image editing. |
| resolution |
string |
1K |
The resolution of the image to generate. enum: 1K, 2K, 4K |
Examples
High-res style transfer:
curl -X POST https://api.eachlabs.ai/v1/prediction \
-H "Content-Type: application/json" \
-H "X-API-Key: $EACHLABS_API_KEY" \
-d '{
"model": "nano-banana-pro-edit",
"version": "0.0.1",
"input": {
"prompt": "transform into Studio Ghibli animation style, dreamy atmosphere",
"image_urls": ["https://example.com/countryside.jpg"],
"aspect_ratio": "16:9",
"resolution": "2K",
"output_format": "png"
}
}'
Batch editing with auto aspect:
curl -X POST https://api.eachlabs.ai/v1/prediction \
-H "Content-Type: application/json" \
-H "X-API-Key: $EACHLABS_API_KEY" \
-d '{
"model": "nano-banana-pro-edit",
"version": "0.0.1",
"input": {
"prompt": "add soft bokeh lights in the background",
"image_urls": ["https://example.com/portrait.jpg"],
"aspect_ratio": "auto",
"num_images": 3,
"resolution": "1K"
}
}'
Related Models
Documentation
1---2name: nano-banana-pro-edit3description: Nano Banana Pro | Edit. Edit images with up to 4K resolution and multiple aspect ratios. Triggers: image editing, nano banana, photo edit, inpainting4---56# Nano Banana Pro | Edit78Edit images with Nano Banana Pro. Supports multiple aspect ratios, up to 4K resolution, and batch generation with an experimental generation limiter.910## Quick Start1112> Requires an each::labs API key. Get one at [eachlabs.ai](https://eachlabs.ai).1314```bash15curl -X POST https://api.eachlabs.ai/v1/prediction \16 -H "Content-Type: application/json" \17 -H "X-API-Key: $EACHLABS_API_KEY" \18 -d '{19 "model": "nano-banana-pro-edit",20 "version": "0.0.1",21 "input": {22 "prompt": "add colorful graffiti art to the wall",23 "image_urls": ["https://example.com/wall.jpg"],24 "aspect_ratio": "16:9",25 "resolution": "1K"26 }27 }'28```2930## Parameters3132| Parameter | Type | Default | Description |33|-----------|------|---------|-------------|34| aspect_ratio | string | 1:1 | The aspect ratio of the generated image. enum: auto, 21:9, 16:9, 3:2, 4:3, 5:4, 1:1, 4:5, 3:4, 2:3, 9:16 |35| image_urls | array | | The URLs of the images for editing. |36| limit_generations | boolean | false | Experimental parameter to limit the number of generations per round. |37| num_images | integer | 1 | The number of images to generate. |38| output_format | string | png | The format of the generated image. enum: jpeg, png, webp |39| prompt | string | | The prompt for image editing. |40| resolution | string | 1K | The resolution of the image to generate. enum: 1K, 2K, 4K |4142## Examples4344**High-res style transfer:**45```bash46curl -X POST https://api.eachlabs.ai/v1/prediction \47 -H "Content-Type: application/json" \48 -H "X-API-Key: $EACHLABS_API_KEY" \49 -d '{50 "model": "nano-banana-pro-edit",51 "version": "0.0.1",52 "input": {53 "prompt": "transform into Studio Ghibli animation style, dreamy atmosphere",54 "image_urls": ["https://example.com/countryside.jpg"],55 "aspect_ratio": "16:9",56 "resolution": "2K",57 "output_format": "png"58 }59 }'60```6162**Batch editing with auto aspect:**63```bash64curl -X POST https://api.eachlabs.ai/v1/prediction \65 -H "Content-Type: application/json" \66 -H "X-API-Key: $EACHLABS_API_KEY" \67 -d '{68 "model": "nano-banana-pro-edit",69 "version": "0.0.1",70 "input": {71 "prompt": "add soft bokeh lights in the background",72 "image_urls": ["https://example.com/portrait.jpg"],73 "aspect_ratio": "auto",74 "num_images": 3,75 "resolution": "1K"76 }77 }'78```7980## Related Models8182- [Nano Banana Pro](../nano-banana-pro/) - Text-to-image generation83- [Gemini 3 Pro | Image Edit](../gemini-3-pro-image-preview-edit/) - Alternative editing model8485## Documentation8687- [each::labs Docs](https://docs.eachlabs.ai)88- [API Reference](https://docs.eachlabs.ai/api/overview)