Skip to main content
Core.Today
|
GoogleMediumUltra

Nano Banana Pro (Gemini 3 Pro Image)

Google's state-of-the-art image generation and editing model built on Gemini 3 Pro. Creates detailed visuals with legible text in multiple languages, connects to real-time information from Google Search, and provides professional-grade creative controls. Supports up to 14 reference images and resolutions up to 4K.

540 credits
per image (4K), 270 credits for 1K/2K
Gemini 3 Pro-powered generation with advanced reasoning
Legible text rendering in multiple languages
Google Search integration for real-time data visualization
Up to 14 reference images for multi-image blending
Up to 4K output resolution (1K, 2K, 4K)

Use with AI Assistant

Copy usage instructions for Claude, ChatGPT, or other AI

llms.txt

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": "google/nano-banana-pro",
  "input": {
    "prompt": "35.6586ยฐ N, 139.7454ยฐ E at 19:00",
    "resolution": "2K",
    "aspect_ratio": "4:3",
    "output_format": "png"
  }
}'

Parameters

ParameterTypeRequiredDefaultDescription
promptstringYes-A text description of the image you want to generate
image_inputarrayNo-Input images to transform or use as reference (supports up to 14 images)
aspect_ratiostringNo4:3Aspect ratio of the generated image
match_input_image1:12:33:23:44:34:55:49:1616:921:9
resolutionstringNo2KResolution of the generated image
1K2K4K
output_formatstringNopngFormat of the output image
pngjpg
safety_filter_levelstringNoblock_only_highSafety filter strictness level
block_low_and_aboveblock_medium_and_aboveblock_only_high

How to Provide File Input

There are 3 ways to provide files for the image_input 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=google/nano-banana-pro" \
  -F 'input={"prompt":"your prompt here"}' \
  -F "file:image_input=@your_file.png"

Image URL

Pass a publicly accessible URL directly. You can also use file_url from the Storage API.

{
  "model": "google/nano-banana-pro",
  "input": {
    "prompt": "your prompt here",
    "image_input": ["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

Location-based Image

Generate an image from GPS coordinates and time

curl -X POST "https://api.core.today/v1/predictions" \
  -H "Content-Type: application/json" \
  -H "X-API-Key: cdt_your_api_key" \
  -d '{
  "model": "google/nano-banana-pro",
  "input": {
    "prompt": "35.6586ยฐ N, 139.7454ยฐ E at 19:00",
    "resolution": "2K",
    "aspect_ratio": "4:3",
    "output_format": "png"
  }
}'

Multi-image Team Photo

Blend multiple reference images into a single composition

curl -X POST "https://api.core.today/v1/predictions" \
  -H "Content-Type: application/json" \
  -H "X-API-Key: cdt_your_api_key" \
  -d '{
  "model": "google/nano-banana-pro",
  "input": {
    "prompt": "an office team photo, everyone making a silly face",
    "resolution": "2K",
    "aspect_ratio": "4:3"
  }
}'

Tips & Best Practices

1Excels at rendering accurate, legible text in images โ€” ideal for posters, logos, and infographics
2Use Google Search-powered prompts (e.g., real-time weather, sports scores) for data-driven visuals
3Blend up to 14 reference images for complex compositions with consistent character appearance
4Use 2K resolution for most tasks; reserve 4K (540 credits) for final production assets
5Consider using Nano Banana (70 credits) for quick drafts before final generation

Use Cases

Typography, logos, and branding with accurate text
Multilingual marketing materials and localization
Data-driven infographics and educational content
Multi-image product mockups and lifestyle scenes
Professional photo editing with creative controls