Pricing
Compare models →| Output Images | Price |
|---|---|
| 1 | $0.04 |
Input schema
| Parameter | Type | Description |
|---|---|---|
promptRequired | string | Text prompt describing the image to generate.JSON schema{
"x-rows": 4
} |
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"
} |
output_format | string | Format of the generated image.pngjpeg"png" |
README
Google Nano Banana 2 Lite Text-to-Image
Google Nano Banana 2 Lite Text-to-Image generates images from text prompts with a fast, lightweight image model. The public interface keeps the workflow simple: write a prompt, choose an aspect ratio, select an output format, and generate a single image result.
Why Choose This?
- Fast text-to-image generation
Generate images quickly from natural-language prompts.
- Flexible aspect ratios
Choose common square, portrait, landscape, and wide-format aspect ratio presets.
- Simple generation controls
The public form focuses on prompt, aspect_ratio, and output_format.
- Single-image output
Each request generates one image for predictable cost and behavior.
- Standard image output
Generated images are returned as URLs in the standard OpenSI prediction response.
Parameters
| Parameter | Required | Description |
|---|---|---|
| prompt | Yes | Text prompt describing the image to generate. |
| aspect_ratio | No | Output aspect ratio preset. Default: 1:1. |
| output_format | No | Output image format: png or jpeg. Default: png. |
| enable_sync_mode | No | Wait for the result to be generated and uploaded before returning the response. API only. Synchronous requests may hit timeouts because Google inference time can fluctuate. Default: false. |
| enable_base64_output | No | Return output as a BASE64 string instead of a URL. API only. Default: false. |
How to Use
- Write your prompt — Describe the subject, scene, style, lighting, and composition.
- Choose aspect ratio — Select the output
aspect_ratiobased on your target layout.
- Choose output format — Use
pngorjpegdepending on your workflow.
- Submit — Generate the image and retrieve the output URL.
Pricing
| Output Images | Price |
|---|---|
| 1 | $0.04 |
Best Use Cases
- Creative image generation — Generate concept art, illustrations, thumbnails, and visual ideas from text.
- Marketing assets — Create campaign images, social visuals, blog graphics, and promotional content.
- Prompt testing — Quickly iterate on prompt wording, style direction, and composition.
- Layout-specific generation — Generate square, portrait, landscape, or banner-style images for different use cases.
Pro Tips
- Use clear prompts with subject, scene, lighting, style, and composition.
- Keep the prompt focused on the main subject and visual intent.
- Use
pngfor higher-quality general output.
- Use
jpegfor smaller file sizes.
- Choose the aspect ratio based on the final placement, such as square, portrait, landscape, or wide banner.
Related Models
- Nano Banana 2 Lite Text-to-Image — Generate images directly from text prompts with Nano Banana 2 Lite.
- Nano Banana 2 Lite Edit — Edit existing images with text instructions using Nano Banana 2 Lite.
Catalog rates and input examples are published for reference. Contact OpenSI about access and applicable pricing.
Google Nano Banana Lite Text-to-Image API example
The catalog lists POST https://api.opensi.com.ai/api/v3/google/nano-banana-2-lite/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",
"output_format": "png"
}Google Nano Banana Lite Text-to-Image API — Frequently asked questions
What is the Nano Banana 2 Lite Text To Image API?
Nano Banana 2 Lite Text To Image is a Google model for image generation, exposed as a REST API on OpenSIAI. Google Nano Banana 2 Lite Text to Image generates high-quality images from text prompts with low latency, flexible aspect ratios, and fast image creation for creative and production workflows. 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 Lite 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-lite/text-to-image.
How much does Nano Banana 2 Lite Text To Image cost per run or per second?
Nano Banana 2 Lite Text To Image starts at $0.04 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 Lite Text To Image accept?
Key inputs: prompt, aspect_ratio, 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-lite/text-to-image.
How long does Nano Banana 2 Lite Text To Image take to generate?
Reported generation time on OpenSIAI is around 17 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 Lite 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.
