Nano Banana API: pricing and image generation
Compare Nano Banana 2 and Pro rates for your resolution, then generate images with one Arlee Labs key. Get exact model IDs and a curl example.
Choose a Nano Banana model
Choose a model for your quality target and budget: compare per-image rates below, then test the result on your own task. For other providers' rates, see the Nano Banana pricing comparison.
Nano Banana is a family name. Nano Banana 2 uses gemini-3.1-flash-image, Nano Banana Pro uses gemini-3-pro-image, and the original model uses gemini-2.5-flash-image. Use the exact ID available to your key, not a marketing name.
Current Nano Banana API prices
Standard public Arlee Labs rates in USD from the model catalog, generated 2026-10-17T14:12:29.105Z.
| Model / API ID | Rate and conditions |
|---|---|
gemini-2.5-flash-image (Nano Banana)gemini-2.5-flash-image | $0.0117 / 1 images $0.09 / 1,000,000 input tokens |
gemini-3-pro-image (Nano Banana Pro)gemini-3-pro-image | $0.0402 / 1 images · size=1K $0.0402 / 1 images · size=2K $0.072 / 1 images · size=4K $0.6 / 1,000,000 input tokens $3.6 / 1,000,000 output tokens |
gemini-3.1-flash-image (Nano Banana 2)gemini-3.1-flash-image | $0.0201 / 1 images · size=1K $0.0303 / 1 images · size=2K $0.0453 / 1 images · size=4K $0.15 / 1,000,000 input tokens $0.9 / 1,000,000 output tokens |
gemini-3.1-flash-lite-image (Nano Banana 2 Lite)gemini-3.1-flash-lite-image | $0.01008 / 1 images · size=1K $0.075 / 1,000,000 input tokens $0.45 / 1,000,000 output tokens |
Image prices are not the full request cost. Input text, reference images and other billable operations may add charges. A published model does not prove access for your key: check GET /v1/models.
Get an API key and generate an image
Create a key in your Arlee Labs account, check your balance and confirm model access. Set ARLEE_API_KEY as a server-side environment variable. This example makes a paid request.
curl https://api.arleelabs.com/v1/images/generations \
-H "Authorization: Bearer $ARLEE_API_KEY" \
-H "Content-Type: application/json" \
-d '{"model":"gemini-3.1-flash-image","prompt":"Product photograph of a ceramic mug on a light table, no text","n":1,"size":"1024x1024","response_format":"b64_json"}'Decode the returned base64 image and save it in your application storage. Keep your key off the browser. See the API documentation for the request contract and response handling.
Plan a bulk image-generation budget
Calculate the image component as the number of billable output images multiplied by the rate for the selected model and resolution. Add other billable operations and account for results you reject during review. Divide the total actual spend by the number of accepted images to compare usable output cost.
A client-side queue of individual requests is different from a provider Batch API. Confirm model support, input format, completion time and pricing before using a batch route. A Google Batch discount does not automatically apply to Arlee Labs.
Generation, editing and application use
Use text-to-image generation for illustrations, creative drafts and product-media concepts. Editing an existing product photo is a separate operation: check support for reference images and /v1/images/edits. Review product details, faces and text before publishing results.
Store each job and its result. After a timeout, reconcile the original request before retrying: an unanswered request may still have completed and been billed. Limit concurrency according to your available limits and measured results.
Frequently asked questions
Is the API free or unlimited?
Arlee Labs charges for usage. Access depends on balance, model availability and account limits; an API key is not an unlimited generation subscription.
Is Arlee Labs the official Google API?
No. Arlee Labs is an independent gateway with its own endpoint, key and billing. Check the supported request format in our documentation before migrating a Google integration.
Where can I check pricing before a large job?
Use the current catalog and your account. Fix the model and resolution, run a small pilot and inspect actual charges before scaling.