Gemini 3 Pro | Image Edit
Edit images using Google's Gemini 3 Pro model. Supports multiple aspect ratios, resolution up to 4K, and batch generation.
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": "gemini-3-pro-image-preview-edit",
"version": "0.0.1",
"input": {
"prompt": "make the sky more dramatic with storm clouds",
"image_urls": ["https://example.com/landscape.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: 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. |
| 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 background replacement:
curl -X POST https://api.eachlabs.ai/v1/prediction \
-H "Content-Type: application/json" \
-H "X-API-Key: $EACHLABS_API_KEY" \
-d '{
"model": "gemini-3-pro-image-preview-edit",
"version": "0.0.1",
"input": {
"prompt": "replace the background with a modern art gallery, white walls",
"image_urls": ["https://example.com/portrait.jpg"],
"aspect_ratio": "3:4",
"resolution": "2K",
"output_format": "png"
}
}'
Batch style edits:
curl -X POST https://api.eachlabs.ai/v1/prediction \
-H "Content-Type: application/json" \
-H "X-API-Key: $EACHLABS_API_KEY" \
-d '{
"model": "gemini-3-pro-image-preview-edit",
"version": "0.0.1",
"input": {
"prompt": "convert to pencil sketch style, detailed cross-hatching",
"image_urls": ["https://example.com/photo.jpg"],
"num_images": 3,
"resolution": "1K"
}
}'
Related Models
Documentation
1---2name: gemini-3-pro-image-preview-edit3description: Gemini 3 Pro | Image Edit. Edit images using Google Gemini with multiple resolution options. Triggers: image editing, gemini, google, photo edit4---56# Gemini 3 Pro | Image Edit78Edit images using Google's Gemini 3 Pro model. Supports multiple aspect ratios, resolution up to 4K, and batch generation.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": "gemini-3-pro-image-preview-edit",20 "version": "0.0.1",21 "input": {22 "prompt": "make the sky more dramatic with storm clouds",23 "image_urls": ["https://example.com/landscape.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: 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| num_images | integer | 1 | The number of images to generate. |37| output_format | string | png | The format of the generated image. enum: jpeg, png, webp |38| prompt | string | | The prompt for image editing. |39| resolution | string | 1K | The resolution of the image to generate. enum: 1K, 2K, 4K |4041## Examples4243**High-res background replacement:**44```bash45curl -X POST https://api.eachlabs.ai/v1/prediction \46 -H "Content-Type: application/json" \47 -H "X-API-Key: $EACHLABS_API_KEY" \48 -d '{49 "model": "gemini-3-pro-image-preview-edit",50 "version": "0.0.1",51 "input": {52 "prompt": "replace the background with a modern art gallery, white walls",53 "image_urls": ["https://example.com/portrait.jpg"],54 "aspect_ratio": "3:4",55 "resolution": "2K",56 "output_format": "png"57 }58 }'59```6061**Batch style edits:**62```bash63curl -X POST https://api.eachlabs.ai/v1/prediction \64 -H "Content-Type: application/json" \65 -H "X-API-Key: $EACHLABS_API_KEY" \66 -d '{67 "model": "gemini-3-pro-image-preview-edit",68 "version": "0.0.1",69 "input": {70 "prompt": "convert to pencil sketch style, detailed cross-hatching",71 "image_urls": ["https://example.com/photo.jpg"],72 "num_images": 3,73 "resolution": "1K"74 }75 }'76```7778## Related Models7980- [Gemini 3 | Pro | Image Preview](../gemini-3-pro-image-preview/) - Text-to-image generation81- [Nano Banana Pro | Edit](../nano-banana-pro-edit/) - Alternative image editing model8283## Documentation8485- [each::labs Docs](https://docs.eachlabs.ai)86- [API Reference](https://docs.eachlabs.ai/api/overview)