Flash-speed iteration
Explore several scene directions or refine reference edits with a model designed for rapid generation.
Nano Banana 2 API · Generate and edit
Explore compositions from 0.5K through 4K, with text generation and reference editing in one task API.
Explore several scene directions or refine reference edits with a model designed for rapid generation.
Choose 0.5K, 1K, 2K or 4K to move from small drafts to detailed production assets.
Use Gemini’s visual knowledge to draft scenes with recognizable objects, settings and relationships.
Add signage, captions or short marketing copy in the image, and check spelling when adapting the same design for another language.
Reuse reference images to carry character likeness or product appearance into different settings and story panels.
Describe the time of day, surface materials and light direction to bring out detail in product and editorial images.
Specify how subjects should be arranged and what must appear in frame to guide layouts with several requirements.
Use a reference image to change colors, restyle a specific element or improve the clarity of a draft while guiding what to retain.
For ecommerce teams, explore product lighting and camera placement before commissioning a finished campaign.
For editors, sketch a cover composition with deliberate space for typography added during layout.
For interior designers, compare materials and lighting in a reading-room concept before selecting furnishings.
For travel publishers, develop an illustrated destination concept and check geographic details before use.
For packaging designers, explore surface patterns and colorways; add final labels in production artwork.
For illustrators, develop a scene and use approved references when revisiting the same character.
For food brands, compare tabletop styling and framing while checking that ingredients remain recognizable.
For campaign designers, prepare an uncluttered background for compositing approved brand text and logos.
The first card shows an image generated using the displayed prompt. The remaining cards offer prompts to try.
Image1:1Editorial travel photograph of a whitewashed Mediterranean coastal village above turquoise water at golden hour, winding stone steps, blue shutters, pink bougainvillea, layered foreground and distant horizon, clear natural color, no text.
Editorial cover illustration of an orange bicycle beside a quiet canal, generous empty space above, clean geometric composition, no lettering.
A small reading room with walnut bookshelves, a linen armchair and warm morning light, realistic materials, eye-level interior photograph.
A watercolor postcard illustration of a mountain village in autumn, red roofs, winding footpath, muted gold foliage, no text.
A minimalist cylindrical tea tin in sage green on a warm grey studio background, subtle embossed leaf pattern, front three-quarter view, no logos.
A small fox carrying a lantern across a snowy bridge at dusk, hand-painted storybook style, warm amber light and cool blue shadows.
Top-down food photograph of three figs on a cream ceramic plate, wrinkled linen napkin, soft side lighting, simple balanced composition.
Abstract paper-cut landscape with layered coral and indigo hills, small golden sun, open central space for later typography, crisp edges.
Output prices compare one 1:1 image at the same resolution with zero reference images. Prices are in USD.
| Resolution | APIstable standard | Final fallback | WaveSpeed | fal |
|---|---|---|---|---|
| 0.5K | With bonus ≈ $0.017 / imageRegular $0.019 / image3.8 credits / image | With bonus ≈ $0.060 / imageRegular $0.066 / image13.2 credits / image | $0.045 / image160.5% more than APIstable | $0.06 / image247.4% more than APIstable |
| 1K | With bonus ≈ $0.014 / imageRegular $0.015 / image3 credits / image | With bonus ≈ $0.080 / imageRegular $0.088 / image17.6 credits / image | $0.07 / image413.3% more than APIstable | $0.08 / image486.7% more than APIstable |
| 2K | With bonus ≈ $0.016 / imageRegular $0.0175 / image3.5 credits / image | With bonus ≈ $0.120 / imageRegular $0.132 / image26.4 credits / image | $0.105 / image560% more than APIstable | $0.12 / image654.3% more than APIstable |
| 4K | With bonus ≈ $0.020 / imageRegular $0.0225 / image4.5 credits / image | With bonus ≈ $0.160 / imageRegular $0.176 / image35.2 credits / image | $0.14 / image584.4% more than APIstable | $0.16 / image682.2% more than APIstable |
The request follows the form. The website uses your session; API clients use your API key. See the docs for parameters, task creation and task queries.
Write a prompt and optionally add references.
Choose resolution, output count and optional fallback. Review the account quote before submitting.
Query the returned task ID or receive a signed callback. Save result images within 14 days.
| Parameter | Description |
|---|---|
model | nano-banana-2 |
input | Image generation parameters. |
input.prompt | Describe the image or edit. Limits depend on the model; see the schema. |
input.image_urls | Up to 14 reference images from public HTTP(S) URLs. |
input.resolution | 0.5K / 1K / 2K / 4K |
input.aspect_ratio | Auto / 1:1 / 4:3 / 3:4 / 16:9 / 9:16 / 3:2 / 2:3 / 21:9 / 4:5 / 5:4 / 1:4 / 4:1 / 1:8 / 8:1 |
input.google_search | Google Search |
input.google_image_search | Requires Google Search. |
input.output_count | 1–4 independent image items; default 1. |
input.official_fallback | Allow the final fallback tier; default false. |
{
"model": "nano-banana-2",
"input": {
"prompt": "Editorial travel photograph of a whitewashed Mediterranean coastal village above turquoise water at golden hour, winding stone steps, blue shutters, pink bougainvillea, layered foreground and distant horizon, clear natural color, no text.",
"resolution": "1K",
"aspect_ratio": "auto",
"image_urls": [],
"google_search": false,
"google_image_search": false,
"output_count": 1,
"official_fallback": false,
"nsfw_check": true
}
}The request follows the form. The website uses your session; API clients use your API key. See the docs for parameters, task creation and task queries.
Compare five models by what you want to create, how you edit and the output size you need. All five support text prompts and reference images through APIstable.
| Model | Strengths and best uses | Output size |
|---|---|---|
| Nano Banana | Keeps familiar subjects recognizable through prompt-based edits and combines elements from several photos. Suits 1K product mockups, style experiments and simple retouching. | 1K |
| Nano Banana Pro | Handles complex layouts, multilingual typography and detailed visual briefs. Suits finished posters, infographics and production assets that benefit from 4K. | 1K / 2K / 4K |
| Nano Banana 2You’re here | Balances rapid iteration with subject consistency and detailed output. Use 0.5K for early drafts and up to 4K for campaign visuals or storyboards. | 0.5K / 1K / 2K / 4K |
| Nano Banana 2 Lite | Optimized for fast 1K drafts and lightweight reference edits. Suits reviewing variations of product scenes, thumbnails and social posts. | 1K |
| Nano Banana 2.1 | Emphasizes targeted edits, character and product consistency, and multilingual layout. Suits refining product imagery, adapting campaign graphics and editing across several references. | 1K / 2K / 4K |
Find answers about pricing, generation results, and API access.
Explore compositions from 0.5K through 4K, with text generation and reference editing in one task API.
0.5K, 1K, 2K, 4K. Choose the resolution before submitting.
Add public HTTPS URLs in image_urls and explain what to change and preserve. Outputs are not guaranteed to preserve every pixel.
Yes, output_count supports 1–4 independent items. Only successful items are charged.
Each resolution has a fixed standard and fallback price. Credits round up to 0.1 per successful image.
Only if fallback is explicitly enabled and the preceding channel definitely fails. Unknown acceptance does not trigger another generation.
Result storage may still be recovering. Keep polling the original task instead of creating a duplicate. Supplier billing is reconciled separately.
The API supports Google text search and image search. Image search requires text search to be enabled.
Failed items release their reserved credits. Daily cleanup fails unfinished items older than 24 hours at 00:00 Asia/Shanghai.
No. Check spelling, small details and likeness before use. Describe targeted edits and review each result.
Generated results are retained for 14 days. Download or copy them to your own storage.
These are editable prompt recipes, not verified model outputs. The model cover is concept artwork.
Write a prompt or add references to generate an image.