Skip to main content
Core.Today
|
GoogleMediumUltra

Nano Banana Pro (Edit)

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.

350 credits
per image (1K); 700 for 2K
Gemini 3 Pro reasoning for complex edits
Legible text rendering in multiple languages
Web search grounding
Up to 2K resolution editing
Multi-image fusion with character consistency

Run it right now

Test this model instantly in the Console Playground โ€” no code required

Sign in to try

Use with AI Assistant

Copy usage instructions for Claude, ChatGPT, or other AI

Quick Start

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
  }
}'

Parameters

ParameterTypeRequiredDefaultDescription
promptstringYes-How you want to edit the image
num_imagesintegerNo1Number of images to generate
seedintegerNo-The seed for the random number generator.
aspect_ratiostringNoautoOutput aspect ratio
auto21:916:93:24:35:41:14:53:42:39:16
output_formatstringNopngOutput image format
jpegpngwebp
safety_tolerancestringNo4The safety tolerance level for content moderation. 1 is the most strict (blocks most content), 6 is the least strict.
123456
sync_modebooleanNofalseIf `True`, the media will be returned as a data URI and the output data won't be available in the request history.
image_urlsarrayYes-Input image URLs to edit
system_promptstringNo-Optional system instruction that steers the model's persona and output style across the request. Leave blank to omit; when provided, it is sent as the system instruction to Gemini (or as a system message on OpenAI-compatible providers).
resolutionstringNo1KOutput resolution โ€” pricing scales with resolution
1K2K4K
limit_generationsbooleanNotrueExperimental parameter to limit the number of generations from each round of prompting to 1. Set to `True` to to disregard any instructions in the prompt regarding the number of images to generate.
enable_web_searchbooleanNofalseEnable web search grounding for real-time information

How to Provide File Input

There are 3 ways to provide files for the image_urls parameter:

Recommended

Direct Upload (Multipart)

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"

Image URL

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"]
  }
}
See the File Upload docs for more upload methods including Presigned URLs.

Common Parameters

Common parameters used when calling POST /v1/predictions.

ParameterTypeRequiredDefaultDescription
modelstringYes-Model identifier
inputobjectYes-Object containing the model-specific parameters from the table above
output_folderstringNo-Folder path for output files (max 256 chars, '..' not allowed)
webhook_urlstringNo-Webhook URL to call on completion
is_publicbooleanNofalseIf true, output files are also available via permanent public URLs

Examples

Brand-consistent Retouch

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
  }
}'

Tips & Best Practices

1Use 2K only for final renders โ€” 1K is much cheaper for iteration
2Combine multiple image_urls for high-fidelity composition
3Enable web search for edits that depend on real-world facts
4Best when prompt and brand text need to be rendered legibly

Use Cases

Professional retouching with brand text
Multilingual marketing localization
Information-grounded illustrations
High-fidelity multi-reference composition