Pricing
Compare models →Price per image. It depends on the resolution, and web search and image search each add a fixed amount when turned on. Aspect ratio and output format do not change the price.
| Resolution | No search | With web search | With image search | With web and image search |
|---|---|---|---|---|
| 1K (default) | ||||
| 2K | ||||
| 4K |
- Default settings (1K, no search):
$0.04$0.036 per run. - Web search adds
$0.014$0.0126 per image at any resolution. - Image search adds
$0.014$0.0126 per image at any resolution.
Input schema
| Parameter | Type | Description |
|---|---|---|
promptRequired | string | The positive prompt for the generation. |
aspect_ratio | string | The aspect ratio of the generated image. Defaults to 1:1.1:13:22:33:44:34:55:49:1616:921:91:44:11:88:1"1:1"JSON schema{
"x-placeholder": "Select aspect ratio"
} |
resolution | string | The resolution of the output image.1k2k4k"1k" |
enable_web_search | boolean | If enabled, the model will use web search to enhance the generation with real-time information.Default: false |
enable_image_search | boolean | If enabled, the model will use image search to enhance the generation with real-time information.Default: false |
output_format | string | The format of the output image.pngjpeg"png" |
README
Google Nano Banana 2.1 Text-to-Image
Nano Banana 2.1 Text-to-Image is Google's latest Nano Banana AI image generation model. Google reports that it outperforms its previous image models across the board, with notable leaps in visual design and subject consistency, tighter prompt adherence and cleaner text rendering.
Why Choose This?
- Google's newest Nano Banana
Upgraded over Nano Banana 2 in visual design, subject consistency and prompt adherence.
- Cleaner text rendering
Sharper labels, signs and typography inside the image.
- Multi-resolution support
Output in 1K, 2K, or 4K resolution based on your needs.
- Flexible aspect ratios
Fourteen options: 1:1, 3:2, 2:3, 3:4, 4:3, 4:5, 5:4, 9:16, 16:9, 21:9, 1:4, 4:1, 1:8, 8:1.
- Web & image search grounding
Optionally let the model use current information and real reference images from the web.
- Format choice
Export in PNG or JPEG format.
Parameters
| Parameter | Required | Description |
|---|---|---|
| prompt | Yes | Text description of the desired image |
| aspect_ratio | No | Aspect ratio: 1:1, 3:2, 2:3, 3:4, 4:3, 4:5, 5:4, 9:16, 16:9, 21:9, 1:4, 4:1, 1:8, 8:1 |
| resolution | No | Output resolution: 1k (default), 2k, 4k |
| enable_web_search | No | Enable web search to enhance generation with real-time info (default: false) |
| enable_image_search | No | Enable image search to ground the generation in real reference images (default: false) |
| output_format | No | Output format: png (default), jpeg |
How to Use
- Write your prompt — describe the image in detail, including subject, composition, lighting, style and any text in quotes.
- Choose aspect ratio (optional) — select a preset or leave empty for the default 1:1.
- Select resolution — choose 1K, 2K, or 4K based on your needs.
- Enable web or image search (optional) — for prompts that depend on current real-world information or how real things look.
- Choose output format — PNG or JPEG.
- Run — submit and download your generated image.
Pricing
Price per image. It depends on the resolution, and web search and image search each add a fixed amount when turned on. Aspect ratio and output format do not change the price.
| Resolution | No search | With web search | With image search | With web and image search |
|---|---|---|---|---|
| 1K (default) | ||||
| 2K | ||||
| 4K |
- Default settings (1K, no search):
$0.04$0.036 per run.
- Web search adds
$0.014$0.0126 per image at any resolution.
- Image search adds
$0.014$0.0126 per image at any resolution.
Best Use Cases
- Design-heavy visuals — Posters, social graphics and packaging mockups where layout and typography matter.
- Character & product consistency — Keep the same subject recognizable across a series.
- Marketing & Ads — Campaign images with clean in-image copy.
- Infographics & signage — Clear labels and text elements.
- Concept Art — Visualize complex, multi-part ideas faithfully.
Pro Tips
- Spell out the whole brief in one prompt — 2.1 follows long, multi-part instructions closely.
- Put exact on-image text in quotes and say where it goes.
- Match aspect ratio to your target platform: 9:16 for Stories/Reels, 16:9 for banners, 1:8 / 8:1 for skyscraper ads.
- Draft at 1K, then re-run the final prompt at 2K or 4K.
Notes
- Prompt is the only required field.
- If aspect_ratio is not selected, the output is 1:1.
- Ensure your prompts comply with Google's Safety Guidelines.
Related Models
- Nano Banana 2.1 Edit — Edit images with text instructions and up to 14 references.
- Nano Banana 2 Text-to-Image — Previous generation with a 0.5K option and Fast variants.
- Nano Banana Pro Text-to-Image — Pro tier image generation.
Catalog rates and input examples are published for reference. Contact OpenSI about access and applicable pricing.
Nano Banana 2.1 Text to Image API example
The catalog lists POST https://api.opensi.com.ai/api/v3/google/nano-banana-2.1/text-to-image for the submission step. Confirm the endpoint and access with your supplier before sending a request.
HTTP request body
{
"prompt": "A cinematic ocean wave at sunrise, highly detailed",
"aspect_ratio": "1:1",
"resolution": "1k",
"enable_web_search": false,
"enable_image_search": false,
"output_format": "png"
}Nano Banana 2.1 Text to Image API — Frequently asked questions
What is the Nano Banana 2.1 Text To Image API?
Nano Banana 2.1 Text To Image is a Google model for image generation, exposed as a REST API on OpenSIAI. Google Nano Banana 2.1 is the latest Nano Banana image generation model, with gains in visual design, subject consistency and prompt adherence, cleaner text rendering, 1K to 4K output and optional web search. Ready-to-use REST inference API, best performance, no coldstarts, affordable pricing. You can call it programmatically or try it from the playground above.
How do I call the Nano Banana 2.1 Text To Image API?
POST your input parameters to the model's REST endpoint (shown in the API tab of this playground) with your OpenSIAI API key in the Authorization header. Submission returns a prediction ID. Poll the result endpoint starting around every 2 seconds, increase the interval for long-running tasks, and stop on any terminal status. The playground generates Python, JavaScript, and cURL examples for submitting requests and polling results. Full request/response shape is documented at /docs/docs-api/google/nano-banana-2.1/text-to-image.
How much does Nano Banana 2.1 Text To Image cost per run or per second?
Nano Banana 2.1 Text To Image starts at $0.036 per run or per second. That figure is the base price — the final charge scales with the parameters you set in the form (output size, length, count, references, or whatever knobs this model exposes), so a higher-quality or larger output costs more than a minimal one. The exact cost for your current input is shown live next to the Generate button before you submit, and the actual per-call charge is recorded on the prediction afterwards.
What inputs does Nano Banana 2.1 Text To Image accept?
Key inputs: prompt, aspect_ratio, resolution, enable_image_search, enable_web_search, output_format. The full JSON schema (types, defaults, allowed values) is rendered above the Generate button and mirrored in the API reference at /docs/docs-api/google/nano-banana-2.1/text-to-image.
How long does Nano Banana 2.1 Text To Image take to generate?
Reported generation time on OpenSIAI is around 57 seconds per request. This is an estimate, not a latency guarantee; queue time and input settings can change the total wait. live status is visible in the prediction record.
Can I use Nano Banana 2.1 Text To Image outputs commercially?
Commercial usage rights depend on the model's license, set by its provider (Google). Check the provider's applicable terms and OpenSIAI's Terms of Service before commercial use.
