Nano Banana 2 Lite API
Fast 1K image generation and editing from text and reference images.
- Text to image
- Image editing
Starting at
$0.005
per generation
Nano Banana 2 Lite playground
Input
User's prompt
Reference image URLs for image generation or editing
Runs are charged to your balance.
Output

Output will appear here.
Check the price and run the model. Your result will appear here; browser use does not need an API key.
Nano Banana 2 Lite API pricing
| Option | Price per generation |
|---|---|
| Standard | $0.005 |
Quick start
Full API reference →1curl -X POST https://api.api-stock.com/api/v1/generation/create \2 -H "Authorization: Bearer $API_STOCK_KEY" \3 -H "Content-Type: application/json" \4 -d '{5 "model": "nano-banana-2-lite",6 "input": {7 "prompt": "A cinematic shot of a city at dusk",8 "size": "16:9",9 "resolution": "1K"10 }11 }'
Parameters
| Name | Type | Required | Default | Description |
|---|---|---|---|---|
prompt | string | Yes | — | User's prompt |
urls | string[] | No | — | Reference image URLs for image generation or editing |
size | string | No | 16:9 | Output image size ratioOne of: 1:1, 2:3, 3:2, 3:4, 4:3, 4:5, 5:4, 9:16, 16:9, 21:9, 1:4, 1:8, 4:1, 8:1 |
resolution | string | No | 1K | Output image resolutionOne of: 512px, 1K, 2K, 4K |
Frequently asked questions
How much does Nano Banana 2 Lite cost?
Nano Banana 2 Lite starts at $0.005 per generation on API Stock. The final charge depends on the selected settings.
When was Nano Banana 2 Lite released?
Nano Banana 2 Lite was released on June 30, 2026 and is available through API Stock.
How do I get an API key for Nano Banana 2 Lite?
Create an account and API key on API Stock, then fund your balance. The same key works with Nano Banana 2 Lite and other catalog models.
How do I call the Nano Banana 2 Lite API?
POST to https://api.api-stock.com/api/v1/generation/create with your API key and model "nano-banana-2-lite". Use the returned task id for polling or receive a webhook.
What input parameters does Nano Banana 2 Lite accept?
Nano Banana 2 Lite accepts 4 input parameters, including the required field(s) prompt. See their types, defaults and allowed values above.
What happens if a Nano Banana 2 Lite request fails?
API Stock automatically retries the request on a reserve provider. If every provider fails, the charge is refunded to your balance.
Can I use Nano Banana 2 Lite with the same API key as other models?
Yes. Use your API Stock API key and balance for Nano Banana 2 Lite and other catalog models.
Other Image models
- GPT Image 2.5 FlareOpenAI$0.01/ generation
- GPT Image 2.5 SunburstOpenAI$0.01/ generation
- Z-ImageAlibaba$0.01/ generation
- Nano BananaGoogle$0.012/ generation
- GPT Image 2OpenAI$0.013/ generation
- GPT Image 2.6 FlareOpenAI$0.013/ generation
- Nano Banana 2.1Google$0.014/ generation
- Nano Banana 2Google$0.018/ generation
- Nano Banana ProGoogle$0.029/ generation
Read next
Use caseAI avatar from a photo: prompts, likeness checks and costMake a square AI avatar from your photo with Seedream Pro, starting at $0.042 per image; use portrait prompts and check likeness before the circular crop.·9 min read
Use caseAI product photos for an online store: models, prompts, costPlan AI product photos from $0.014 per 2K request: compare models, adapt prompts, inspect product details and budget a store catalog before scaling.·10 min read
Guides
- Image generationWhich image model to use for the picture you need, prompts that produce it, batching for variants, and the API run from prompt to file URL.8 min read
- Image editingEditing photos with references instead of prompts — background swaps, product composites, style matching, and the Midjourney action chain from imagine to inpaint.8 min read
- GPT Image 2.5 — Sunburst, Flare, prompts and real examplesChoose a GPT Image model, compare Sunburst and Flare, copy four practical prompts, inspect six real renders, and generate or edit images through API Stock.9 min read
