Edit endpoint for Nano Banana Pro built on Gemini 3 Pro. Professional-grade controls, legible multilingual typography, real-time grounding via Google Search, and resolution up to 2K for editing.
Test this model instantly in the Console Playground โ no code required
Copy usage instructions for Claude, ChatGPT, or other AI
curl -X POST "https://api.core.today/v1/predictions" \
-H "Content-Type: application/json" \
-H "X-API-Key: cdt_your_api_key" \
-d '{
"model": "fal-ai/nano-banana-pro/edit",
"input": {
"prompt": "Make the colors more vibrant and add a sunset glow",
"image_urls": [
"https://example.com/input-image.jpg"
],
"aspect_ratio": "match_input_image",
"resolution": "1K",
"output_format": "png",
"num_images": 1
}
}'| Parameter | Type | Required | Default | Description |
|---|---|---|---|---|
prompt | string | Yes | - | How you want to edit the image |
image_urls | array | Yes | - | Input image URLs to edit |
aspect_ratio | string | No | match_input_image | Output aspect ratio match_input_image1:12:33:23:44:34:55:49:1616:921:9 |
resolution | string | No | 1K | Output resolution โ pricing scales with resolution 1K2K |
output_format | string | No | png | Output image format pngjpg |
enable_web_search | boolean | No | false | Enable web search grounding for real-time information |
num_images | integer | No | 1 | Number of images to generate |
There are 3 ways to provide files for the image_urls parameter:
Attach files directly to POST /v1/predictions/upload. No separate upload step needed.
curl -X POST "https://api.core.today/v1/predictions/upload" \
-H "X-API-Key: cdt_your_api_key" \
-F "model=fal-ai/nano-banana-pro/edit" \
-F 'input={"prompt":"your prompt here"}' \
-F "file:image_urls=@your_file.png"Pass a publicly accessible URL directly. You can also use file_url from the Storage API.
{
"model": "fal-ai/nano-banana-pro/edit",
"input": {
"prompt": "your prompt here",
"image_urls": ["https://example.com/image.jpg"]
}
}Common parameters used when calling POST /v1/predictions.
| Parameter | Type | Required | Default | Description |
|---|---|---|---|---|
model | string | Yes | - | Model identifier |
input | object | Yes | - | Object containing the model-specific parameters from the table above |
output_folder | string | No | - | Folder path for output files (max 256 chars, '..' not allowed) |
webhook_url | string | No | - | Webhook URL to call on completion |
is_public | boolean | No | false | If true, output files are also available via permanent public URLs |
Apply professional retouching while preserving brand assets
curl -X POST "https://api.core.today/v1/predictions" \
-H "Content-Type: application/json" \
-H "X-API-Key: cdt_your_api_key" \
-d '{
"model": "fal-ai/nano-banana-pro/edit",
"input": {
"prompt": "Make the colors more vibrant and add a sunset glow",
"image_urls": [
"https://example.com/input-image.jpg"
],
"aspect_ratio": "match_input_image",
"resolution": "1K",
"output_format": "png",
"num_images": 1
}
}'POST /v1/predictions