Get API key

by Google

Plans the layout first: dense text, diagrams and 4K edits

google/nano-banana-pro/editFrom 17 creditsper image · $0.17
  • Up to 4K
  • Up to 14 reference images
  • 10 aspect ratios
  • Create Image
  • Edit Image
Candlelight pianoSee examples

About Nano Banana Pro

Nano Banana Pro image editing takes one to fourteen source images and an instruction such as new light, added text or a combined scene, at 1k, 2k or 4k. Keep the source shape or choose from ten aspect ratios.

Call it with the model name google/nano-banana-pro/edit on POST /jobs/createTask, from 17 credits per image ($0.17). New accounts get 30 free credits to try it in the Playground first.

Introduction

Nano Banana Pro Edit runs Google's Gemini 3 Pro Image on images you already have. It accepts one to fourteen sources, plans the edit before rendering, and returns 1k, 2k or 4k in the source shape or one of ten shapes.

Choose a mode by starting material

What you haveMode
a written briefNano Banana Pro Text to image
an image to changeNano Banana Pro Edit

Key features

Careful single-change edits

Relighting, a new background or added text while the people and the rest of the frame stay as they were, as in our candlelight and cover examples. The model plans the edit before rendering, which keeps unrelated parts of the frame stable.

Text over photographs

Mastheads, issue lines and captions are set onto the picture with the spelling you quote, in the position you give them.

Up to fourteen references

Combine people, products and settings from many sources, each described by its role in the prompt, in a single edit request.

Request parameters

ParameterRequiredDescription
aspect_ratioNoThe shape of the frame: wide, square or tall. auto · 1:1 · 3:2 · 2:3 · 3:4 · 4:3 · 4:5 · 5:4 · 9:16 · 16:9 · 21:9 · Default: auto
image_urlsYesPhotos to edit or combine. Say in the prompt what each one adds.
promptYesSay what to change and what must stay the same.
resolutionNoOutput size. Bigger sizes look sharper and cost more. 1k · 2k · 4k · Default: 1k

Pricing

Prices are in credits, the same credits you use on the website (1 credit = $0.01). The hold is taken when the task is accepted and settled to the actual charge when it finishes; failed tasks are refunded.

OptionCredits per image≈ USD
resolution 1K16.08$0.16
resolution 2K16.08$0.16
resolution 4K28.8$0.29

Each task is rounded up to whole credits, so one run at the lowest tier costs 17 credits per image ($0.17).

For an exact number before you run, send the same body to POST /jobs/quote.

Use cases

Turn photos into covers and posters

Add a masthead, a date and a line of copy to an approved photograph without retouching it.

Mood and light variations

Show the same scene by candlelight, at dawn or under neon for a client choosing a direction.

Localised campaign images

Replace the text on a finished poster with a translated line for each market while the photograph and its light stay untouched.

Prompt guide & pro tips

Change one thing at a time

Single-change instructions keep everything else stable; chain several edits rather than packing them into one prompt.

Protect the people

After the change, name the person, the outfit and the pose that must stay exactly the same.

Quote text with its position

For added type, quote each line and say where it sits: across the top, bottom left, beside the logo.

API quick start

Call the Nano Banana Pro API in three steps

  1. Create an API key. Sign in to PopNow and create a key in the API console. Keys start with sk-popnow- and use the same credits as the website.
  2. Send the request. POST /jobs/createTask with model google/nano-banana-pro/edit and an input object that follows the parameter table. The response returns a task ID straight away.
  3. Get the result. Poll GET /jobs/recordInfo with the task ID, or pass a callBackUrl and we post the result to it. Download the output links when the task succeeds.
# 1. Create the task. Keep the Idempotency-Key if you retry after a network error.
export IDEMPOTENCY_KEY="$(uuidgen)"
curl -X POST https://api.popnow.ai/api/v1/jobs/createTask \
  -H "Authorization: Bearer $POPNOW_API_KEY" \
  -H "Content-Type: application/json" \
  -H "Idempotency-Key: $IDEMPOTENCY_KEY" \
  -d '{
  "model": "google/nano-banana-pro/edit",
  "input": {
    "prompt": "A ceramic teapot on a linen cloth, soft window light, muted palette",
    "image_urls": [
      "https://media.popnow.ai/influencer/examples/marco.webp"
    ],
    "aspect_ratio": "auto",
    "resolution": "1k"
  }
}'

# 2. Copy data.taskId from the response, then poll until state is succeeded, failed, canceled or expired.
TASK_ID="TASK_ID_FROM_RESPONSE"
curl "https://api.popnow.ai/api/v1/jobs/recordInfo?taskId=$TASK_ID" \
  -H "Authorization: Bearer $POPNOW_API_KEY"

Replace the prompt and any links with your own. The API tab has the response, polling and callback reference.

Nano Banana Pro API questions

How much does the Nano Banana Pro API cost?

Nano Banana Pro starts at 17 credits ($0.17) per image with Edit Image, its cheapest task. Prices by option: 1K 16.08 credits per image, 2K 16.08 credits per image, 4K 28.8 credits per image. Credits are the same as on the website (1 credit = $0.01), new accounts get 30 free credits, and failed tasks are refunded.

What is the model name for Nano Banana Pro in the API?

Put google/nano-banana-pro/text-to-image for Create Image; google/nano-banana-pro/edit for Edit Image in the model field of POST /jobs/createTask.

Can it write text into images?

Yes. Quote the text and say where it sits; our cover edit rendered the masthead NOCTURNE, an issue line and a cover line exactly as written.

What are the limits of the Nano Banana Pro API?

Resolutions: 1K · 2K · 4K; Aspect ratios: auto · 1:1 · 3:2 · 2:3 · 3:4 · 4:3 +5; Reference images: 14; Prompt length (characters): 5,000; Largest upload: 10 MB. Requests outside these limits are rejected before anything is charged.

Can I try Nano Banana Pro without writing code?

Yes. The Playground runs Nano Banana Pro on your PopNow credits, needs no API key, and shows the matching code for every run.

All Nano Banana models

Nano Banana 2.1 is faster and less than half the price, with 8:1 banners and web search. Choose Pro when the layout is complicated or the text is dense.

More about Nano Banana Pro