Nano Banana Pro
Quality-focused image generation and editing with reference-image support.
- Text to image
- Image editing
Playground
Input
User's prompt
Reference image URLs for image generation or editing
Runs are charged to your balance.
Output
Output will appear here.
Pricing
Quick start
Full API reference →1curl -X POST https://api.apihubs.ru/api/v1/generation/create \2 -H "Authorization: Bearer $API_STOCK_KEY" \3 -H "Content-Type: application/json" \4 -d '{5 "model": "nano-banana-pro",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 Pro cost?
Nano Banana Pro starts at $0.04 per generation through the API Hubs API. You pay per use from a single prepaid balance — there is no subscription — and the final price scales with parameters such as resolution or duration.
How do I call the Nano Banana Pro API?
Send a POST request to https://api.apihubs.ru/api/v1/generation/create with your API key and the model id "nano-banana-pro". The call returns a task id you poll, or a webhook callback when the result is ready. A ready-to-run example is in the quick start above.
What input parameters does Nano Banana Pro accept?
Nano Banana Pro accepts 4 input parameters, including the required field(s) prompt. Their types, defaults and allowed values are listed in the parameters table above.
What happens if a Nano Banana Pro request fails?
API Hubs automatically retries the request on a reserve provider. If every provider fails, the charge is refunded to your balance.
Can I use Nano Banana Pro with the same API key as other models?
Yes. Every model on API Hubs — video, image, music and chat — shares one API key and one prepaid balance, so you can switch to Nano Banana Pro without new credentials.
Other Image models
- Nano Banana 2 LiteGoogle0.005 coins/ generation
- GPT Image 2.5 FlareOpenAI0.01 coins/ generation
- GPT Image 2.5 SunburstOpenAI0.01 coins/ generation
- Z-ImageAlibaba0.01 coins/ generation
- GPT Image 2OpenAI0.013 coins/ generation
- Nano BananaGoogle0.015 coins/ generation
- Grok Imagine 1.5 ImagexAI0.023 coins/ generation
- Grok Imagine 2.0 ImagexAI0.023 coins/ generation
- Nano Banana 2Google0.023 coins/ generation
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 Hubs.9 min read