Google Nano Banana 2 Lite is optimized for quick 1K image generation and editing where teams need low latency, predictable cost, and many creative variations.
Real image and video examples made through our models. Preview freely; using a preset never starts generation.
Actual generation model: nano-banana-2-lite
Generation parameters
{
"model": "nano-banana-2-lite",
"prompt": "Photorealistic tabletop arrangement of a small leafy plant, an unglazed ceramic bowl and a clear water carafe on pale wood, soft daylight, simple balanced shapes and believable materials. No text, letters, numbers, labels, branding, logos, watermark, interface, captions or graphic overlays anywhere in the image. One coherent scene, no collage."
}
History
Saved locally in this browser
0 running · 0 completed
Your generation history will appear here
Billing Rules
• Price shown is charged from the model configuration in admin.
• Calls consume current account credits and write usage records.
• Media tasks are processed with the same async pipeline as the public API.
Pricing
Model ID
Type
Quality
Price
nano-banana-2-lite
Image Generation
Default
45 credits per request · ≈ $0.0225
Model IDnano-banana-2-lite
TypeImage Generation
QualityDefault
Price45 credits per request · ≈ $0.0225
API Reference
Call this model through a standard REST API. Authenticate with your API key, then pick an endpoint below to see its parameters and examples.
Authentication
Every request needs a Bearer token in the Authorization header. Create an API key in the console.
Authorization: Bearer YOUR_API_KEY
POSThttps://apiany.ai/v1/images/generations
Request parameters
Parameter
Type
Required
Notes
model
string
Required
Model identifier to invoke. Use this model's ID.
prompt
string
Required
Text prompt describing what you want to generate.
size
string
Optional
Output aspect ratio. Custom WxH pixel sizes remain accepted in JSON mode when supported upstream. · Options: auto, 1:1, 2:3, 3:2, 4:3, 3:4, 16:9, 9:16 · Default: auto
callback_url
string
Optional
Optional webhook URL called when the async task finishes.
Request example
curl "https://apiany.ai/v1/images/generations" \
-H "Authorization: Bearer YOUR_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"model": "nano-banana-2-lite",
"prompt": "Photorealistic tabletop arrangement of a small leafy plant, an unglazed ceramic bowl and a clear water carafe on pale wood, soft daylight, simple balanced shapes and believable materials. No text, letters, numbers, labels, branding, logos, watermark, interface, captions or graphic overlays anywhere in the image. One coherent scene, no collage.",
"size": "auto"
}'
This endpoint is asynchronous: it returns a task_id immediately. Poll the task-status endpoint until status becomes succeeded, then read the result. Generated media links stay valid for 24 hours.
Google Nano Banana 2 Lite is optimized for quick 1K image generation and editing where teams need low latency, predictable cost, and many creative variations.
Start with the desired visual outcome, references, and delivery format, then shape the generation workflow around them.
Nano Banana 2 Lite is available on APIAny as one documented API surface with live pricing, model status, request examples, and an on-page playground. Teams can evaluate the model here, then keep authentication, usage records, and production routing in the same platform.
Hiking backpack — Scene illustration, not an output of this model.
Sources
Which official references does this page cite?
The quotations below are from official API documentation that APIAny implements against.
The Gemini API provides access to Google's most capable generative AI models.
The Images API provides several endpoints that let you generate images from text prompts or create edits of existing images.
Use cases
What can you build with the Nano Banana 2 Lite API?
The Nano Banana 2 Lite API is used for product workflows that need this model's output. Test the same inputs in the playground, compare related models, and choose the route that meets your quality, latency, and budget requirements.
01
Rapid creative iteration
Turn a brief into multiple directions with Nano Banana 2 Lite, then refine the strongest option through prompt changes or reference inputs. API-based iteration keeps experiments reproducible and easier to evaluate.
White earbuds — Scene illustration, not an output of this model.
02
Product and catalog content
Generate product scenes, catalog assets, presentation imagery, or review-ready content with Nano Banana 2 Lite. Batch requests through the API when a catalog needs consistent formats and repeatable output.
Nano Banana 2 Lite API features are the input, output, and workflow traits that matter when you evaluate this model. Available request parameters remain visible in the live API reference on this page.
Natural interior — Scene illustration, not an output of this model.
/01
Text prompt input
Describe the requested output or task in text and send it through the documented Nano Banana 2 Lite API request.
/02
Image and reference input
Provide supported image inputs to guide editing, visual identity, composition, or motion in Nano Banana 2 Lite workflows.
/03
Low-latency execution
Use the faster Nano Banana 2 Lite route for interactive experiences, rapid iteration, and workloads where response time matters.
/04
Cost-efficient scaling
Run higher-volume Nano Banana 2 Lite workloads while using live pricing and request-level usage records to control spend.
/05
APIAny advantages
Why use Nano Banana 2 Lite through APIAny?
Nano Banana 2 Lite on APIAny is a production route with one key, live prices, status, and usage records, so you do not maintain a separate provider integration.
Woven sneaker — Scene illustration, not an output of this model.
One stable API surface
Call Nano Banana 2 Lite with an APIAny key and a documented request format. Keep your application integration stable while model versions and upstream routes evolve behind the gateway.
Transparent usage and pricing
Review the live Nano Banana 2 Lite pricing rules before a request, estimate credits in the playground, and inspect request-level usage records after the call completes.
Integration
How to integrate the Nano Banana 2 Lite API
Integrating the Nano Banana 2 Lite API is a three-step path from playground test to authenticated production request. The page keeps the model identifier, request schema, pricing, and response examples together. Treat generation as an asynchronous media pipeline with durable task tracking, validation, and asset delivery.
Celadon tea — Scene illustration, not an output of this model.
01
Create an API key
Sign in to APIAny, create a project API key, and assign only the model scope and budget controls your application needs.
02
Send a Nano Banana 2 Lite request
Copy the request example from this page, set the model field to the selected Nano Banana 2 Lite version, and send it to the documented APIAny endpoint.
03
Monitor and refine
Track status, latency, credits, and returned usage. Compare versions or related models with the same workload before shifting production traffic.
FAQ
Nano Banana 2 Lite API frequently asked questions
Direct answers about capabilities, use cases, integration, and choosing the right Nano Banana 2 Lite route.
What is the Nano Banana 2 Lite API?
Google Nano Banana 2 Lite is optimized for quick 1K image generation and editing where teams need low latency, predictable cost, and many creative variations. APIAny makes this model callable through an authenticated API with live pricing, status information, request examples, and a browser playground on the same page.
What can I build with the Nano Banana 2 Lite API?
Common Nano Banana 2 Lite workflows include Rapid creative iteration, Product and catalog content, Campaign and marketing visuals. The best fit depends on the input format, output quality, latency, and cost your product requires.
How do I call Nano Banana 2 Lite through APIAny?
Glass origami — Scene illustration, not an output of this model.
03
Campaign and marketing visuals
Use Nano Banana 2 Lite to create visual directions for launches, ads, landing pages, and social campaigns. Standardize prompts and reference assets so a team can compare variants without rebuilding the generation workflow.
Ceramic workbench — Scene illustration, not an output of this model.
Multiple aspect ratios
Choose a supported frame shape for square, portrait, landscape, or platform-specific Nano Banana 2 Lite output.
Production routing controls
Use model status, channel health, retry policy, and usage logs to operate Nano Banana 2 Lite as part of a production workflow instead of treating it as an isolated demo.
Create an APIAny key, use the endpoint documented on this page, and set the request model field to the selected Nano Banana 2 Lite version. The playground can generate a working payload before you integrate it into application code.
How should I choose a Nano Banana 2 Lite version?
Compare the versions shown on this page by price, supported parameters, and capabilities such as Text prompt input, Image and reference input, Low-latency execution. Test a representative production input before choosing the default route.