API Free WeekHundreds of APIs are free to call this week.Browse free APIs

Nano Banana Pro Edit

15% OFFgoogle/nano-banana-pro/edit

Nano Banana Pro is Google's new state-of-the-art image generation and editing model

Base price
$0.11$0.14USD / run
Execution
async
Model type
image
Input fields
5
Production route

Try the model

Playground

Open playground
Input

PNG, JPEG, WebP, or GIF · 20 MiB maximum each

The URLs of the images to use for image-to-image generation or image editing.
The text prompt to generate an image from.
The aspect ratio of the generated image. Leave empty to keep the aspect ratio of the input image. Allowed values: 21:9, 16:9, 3:2, 4:3, 5:4, 1:1, 4:5, 3:4, 2:3, 9:16.
The format of the generated image. Allowed values: jpeg, png.
The resolution of the image to generate. Allowed values: 1K, 2K, 4K.
15% OFF
OutputExample

Examples

Select an example to load its inputs and result into the playground.

Model card

Specifications

Pricing

Base price
$0.11 / run

Context & modalities

Input
Schema-defined
Output
image

Capabilities

Chat
Not supported
Vision
Not supported
Reasoning
Not supported
Structured output
Not supported
Function calling
Not supported
Audio input
Not supported

Access

Provider
Google
Model ID
google/nano-banana-pro/edit
Execution
async
Base URL
https://api.sandbase.ai
API
Unified Run API
Endpoint
/v1/run

Human preference

Arena

Elo ratings from blind side-by-side votes, compared with other image and video models.

Rankings sourced from Artificial Analysis Arena

Leaderboard
Image Editing
Rank
#13 of 80
Elo
1099 ±8
Gap to #1
−83

Image-editing arena: people pick the better of two edits of the same image and instruction, without seeing the model names.

  1. #8Nano Banana 2 (Gemini 3.1 Flash Image)GoogleOn SandBase1108±8
  2. #9Grok Imagine Image 2.0SpaceXAIOn SandBase1107±9
  3. #10MAI-Image-2.5-ProMicrosoft AIOn SandBase1107±8
  4. #11Seedream 5.0 ProByteDance SeedOn SandBase1107±8
  5. #12GPT Image 1.5 (high)OpenAIOn SandBase1102±8
  6. #13Nano Banana Pro (Gemini 3 Pro Image)GoogleThis model1099±8
  7. #14MAI-Image-2.5-FlashMicrosoft AI1088±8
  8. #15HunyuanImage 3.5 (Preview)Tencent1087±9
  9. #16grok-imagine-image-qualitySpaceXAIOn SandBase1084±8
  10. #17Qwen-Image-3.0-ProAlibaba1075±8

API README

Nano Banana Pro Edit

Edit or combine images with Nano Banana Pro. Send one or more images with an instruction; the model keeps identity and layout where you do not ask for changes, and can render new text accurately.

Fields

FieldTypeDefaultNotes
imagesimage URL[], required—Images to edit or combine, Image 1, Image 2, …
promptstring, required—Up to 50,000 characters.
aspect_ratio21:9 / 16:9 / 3:2 / 4:3 / 5:4 / 1:1 / 4:5 / 3:4 / 2:3 / 9:16—Omit to follow the first input image.
output_formatjpeg / pngpngOutput file format.
resolution1K / 2K / 4K1KSets the per-image rate.

Billing

$0.134 per output image at 1K or 2K and $0.24 at 4K, plus $0.0011 per input image, Google's list price.

Inputs1K2K4K
1 input image$0.1351$0.1351$0.2411
3 input images$0.1373$0.1373$0.2433
6 input images$0.1406$0.1406$0.2466

Failed runs are not charged.

Prompting

  • Say which image is the base and what each other image contributes.
  • List what must not change.

Limits

  • One output image per request.

Also on SandBase

Other Nano Banana endpoints: google/nano-banana-pro, google/nano-banana-2, google/nano-banana-2/edit, google/nano-banana-2-lite, google/nano-banana-2-lite/edit.

Start building

Send your first request

OpenAI-compatible endpoint with unified authentication and usage tracking.

Production API
Unified Run API endpoint
https://api.sandbase.ai/v1/run
Model ID
google/nano-banana-pro/edit
# The quoted heredoc keeps Unicode and shell metacharacters unchanged.
result=$(curl --fail-with-body --silent \
  -X POST "https://api.sandbase.ai/v1/run" \
  -H "Authorization: Bearer $SANDBASE_API_KEY" \
  -H "Content-Type: application/json" \
  --data-binary @- <<'SANDBASE_JSON'
{
  "model": "google/nano-banana-pro/edit",
  "images": [
    "https://ai.google.dev/static/gemini-api/docs/images/dress.png",
    "https://ai.google.dev/static/gemini-api/docs/images/model.png"
  ],
  "prompt": "Create a professional e-commerce fashion photo. Take the blue floral dress from the first image and let the woman from the second image wear it. Generate a realistic, full-body shot of the woman wearing the dress, with the lighting and shadows adjusted to match the outdoor environment.",
  "resolution": "1K",
  "output_format": "png"
}
SANDBASE_JSON
)
run_id=$(printf '%s' "$result" | jq -r .id)
for attempt in $(seq 1 120); do
  status=$(printf '%s' "$result" | jq -r .status)
  case "$status" in completed|failed|timeout) break ;; esac
  sleep 2
  result=$(curl --fail-with-body --silent \
    -H "Authorization: Bearer $SANDBASE_API_KEY" \
    "https://api.sandbase.ai/v1/run/$run_id")
done
status=$(printf '%s' "$result" | jq -r .status)
[ "$status" = completed ] || { echo "Generation ended: $status" >&2; exit 1; }
printf '%s\n' "$result"

Choose your model

Compare models

All image & video models
ModelTypeDefault priceReleased
GoogleImage$0.14 / runNov 20, 2025
GoogleImage$0.04 / runOct 6, 2026
GoogleImage$0.04 / runOct 6, 2026
GoogleImage$0.03 / runJun 30, 2026
GoogleImage$0.03 / runJun 30, 2026
GoogleImage$0.07 / runFeb 26, 2026

Questions

FAQ

How do I call Google Nano Banana Pro Edit through SandBase?

Create a SandBase API key, then send requests with the model ID "google/nano-banana-pro/edit" to Unified Run API (/v1/run) at https://api.sandbase.ai. The request examples on this page show the exact payload.

Do I need a separate Google account?

No. One SandBase API key and balance gives you access to Google Nano Banana Pro Edit and the other models in the catalog; you do not need to sign up with Google separately.