Nano Banana 2 & Pro Image Editor & Generator avatar

Nano Banana 2 & Pro Image Editor & Generator

Under maintenance

Pricing

from $130.00 / 1,000 image (nano banana 2 lite)s

Go to Apify Store
Nano Banana 2 & Pro Image Editor & Generator

Nano Banana 2 & Pro Image Editor & Generator

Under maintenance

Edit photos by prompt or generate images with Google Nano Banana 2, Nano Banana 2 Lite and Nano Banana Pro (Gemini 3 Pro Image), up to 4K. No API key, paid Apify plans only, pay per successful image.

Pricing

from $130.00 / 1,000 image (nano banana 2 lite)s

Rating

0.0

(0)

Developer

PNDA

PNDA

Maintained by Community

Actor stats

0

Bookmarked

1

Total users

0

Monthly active users

20 hours ago

Last modified

Share

Nano Banana image editor and generator: edit photos with a sentence or create images from text with Google Nano Banana 2 Lite, Nano Banana 2 and Nano Banana Pro (Gemini 3 Pro Image), up to 4K.

  • ✏️ Image editing: give a public image URL and describe the change ("replace the background with a beach", "make the jacket red").
  • 🎨 Text-to-image: leave the image URL empty and describe the picture you want.
  • 🖼️ 1K, 2K or 4K, 12 aspect ratios, up to 10 variants per run, permanent Apify-hosted image URLs.
  • 🔑 No API key: no Replicate, OpenAI, Google or ByteDance account needed.
  • 💳 Paid Apify plans only. Runs from a free plan stop immediately with an upgrade message, at no cost.
  • 💸 Pay only for successful outputs. Failures are never charged.

Works from the Apify Console, the API, the JavaScript / Python clients, n8n, Make, Zapier and AI agents / MCP.

💡 Who is it for?

  • E-commerce: packshots to lifestyle scenes, color variants, background swaps
  • Marketing: ads, Stories, banners
  • Developers and AI agents: a synchronous Nano Banana API without keys or polling

⚙️ How it works

  1. You send a prompt, plus an image URL if you want to edit a picture, and pick a model.
  2. The Actor generates each output and waits for the result (no task id to poll).
  3. Each file is copied to your Apify key-value store, so the link does not expire after an hour.
  4. One dataset row per output: URL, model, options.

💰 Pricing

Available on paid Apify plans only. Pay per event, one event per successful output, no start fee:

ModelOptionEventPrice per output
Nano Banana 2 Lite (Gemini 3.1 Flash Lite Image)—image-standard$0.13
Nano Banana 2 (Gemini 3.1 Flash Image)1Kimage-pro$0.26
Nano Banana 2 (Gemini 3.1 Flash Image)2Kimage-premium$0.39
Nano Banana 2 (Gemini 3.1 Flash Image)4Kimage-ultra$0.57
Nano Banana Pro (Gemini 3 Pro Image)1Kimage-ultra$0.57
Nano Banana Pro (Gemini 3 Pro Image)2Kimage-ultra$0.57
Nano Banana Pro (Gemini 3 Pro Image)4Kimage-ultra-4k$1.13
  • A failed output is not charged; a run where nothing could be produced is marked Failed and nothing is charged.
  • Set a maximum cost per run: the Actor stops before generating an output your budget would not cover.

📥 Input

FieldTypeDescription
promptstringText description of the image to generate, or the edit to make to the source image.
modelstringWhich AI model to use. Each option is billed at its own price, see the Pricing section of the README.
imageUrlstringPublic URL of an image to edit (or to upscale). Leave empty for text-to-image.
aspectRatiostringOutput aspect ratio. "auto" keeps the model default (for edits: the source image ratio). Not every model supports every ratio; an unsupported ratio stops the run before anything is charged.
resolutionstringOutput resolution for models that offer it (Nano Banana 2 / Pro). Leave empty for 1K. 2K and 4K cost more.
numberOfVariantsintegerHow many separate outputs to generate (1 to 10). Each successful one is billed; failures are free.
includeFailedVariantsbooleanAlso write failed outputs (with the reason) to the dataset. Failed outputs are never billed.

Example: Edit a photo (Nano Banana 2 Lite)

{
"prompt": "Replace the background with a sunny tropical beach, keep the product identical",
"imageUrl": "https://example.com/my-product.jpg",
"model": "google/nano-banana-2-lite"
}

Example: Text-to-image in 4K (Nano Banana Pro)

{
"prompt": "A ripe yellow banana on a white marble table, studio product photo",
"model": "google/nano-banana-pro",
"resolution": "4K",
"aspectRatio": "16:9"
}

📤 Output

One dataset row per output:

{
"model": "google/nano-banana-2-lite",
"mode": "text-to-image",
"index": 1,
"imageUrl": "https://api.apify.com/v2/key-value-stores/<STORE_ID>/records/image-1",
"contentType": "image/png",
"chargedEvent": "image-standard",
"chargedUnits": 1,
"success": true
}

Export the dataset as JSON, CSV, Excel or HTML, or read it from the API.

🧠 Models

  • Nano Banana 2 Lite (Gemini 3.1 Flash Lite Image) (google/nano-banana-2-lite): optional edit image, 12 aspect ratios.
  • Nano Banana 2 (Gemini 3.1 Flash Image) (google/nano-banana-2): optional edit image, resolutions 1K / 2K / 4K, 12 aspect ratios.
  • Nano Banana Pro (Gemini 3 Pro Image) (google/nano-banana-pro): optional edit image, resolutions 1K / 2K / 4K, 10 aspect ratios.

🛟 Errors and reliability

  • Invalid options (unsupported ratio, duration or resolution for the chosen model) stop the run before anything is generated or charged, with a message listing the supported values.
  • If the generation service is temporarily unavailable, the run stops right away with a clear message instead of burning time on the remaining outputs.
  • If one output is refused (safety filter, unreadable source image), the others still run.

❓ FAQ

Which Gemini model is behind each option?

Nano Banana 2 Lite = Gemini 3.1 Flash Lite Image, Nano Banana 2 = Gemini 3.1 Flash Image, Nano Banana Pro = Gemini 3 Pro Image.

Do I need an API key (Replicate, OpenAI, Google...)?

No. Your Apify account is enough: no key, no subscription, no quota to manage.

Can I use it on the free Apify plan?

No. This Actor is available on paid Apify plans only. Runs started from a free plan stop immediately with an upgrade message, at no cost.

Am I charged when a generation fails?

No. You pay only for outputs that are delivered. Invalid inputs are rejected before any generation starts.

How do I cap my spending?

Set Maximum cost per run in the run options. The Actor stops before generating an output your budget would not cover.

How long are files kept?

Outputs are copied to the run key-value store and follow your Apify data retention. Download them or copy them to your own storage for long-term use.

Can I call it from code, n8n, Make, Zapier or an AI agent?

Yes. Use the "Run Actor synchronously and get dataset items" API endpoint, the Apify clients, the integrations, or the Apify MCP server.

Who owns the generated content?

Use of generated content is subject to the terms of each model provider. Do not submit images you do not have the right to use.

▶️ Start now

Pick a model, type a prompt, click Start.