Google Nano Banana 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.
ว่าง

$0.035ต่อครั้ง·~28 / $1

A young foreign man standing on a city rooftop at sunrise, holding a shepherd’s staff, surrounded by small fluffy clouds like sheep, dreamy surreal fantasy, soft pastel sky.
Google Nano Banana 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.
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, size, 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 WaveSpeed prediction response.
| Parameter | Required | Description |
|---|---|---|
| prompt | Yes | Text prompt describing the image to generate. |
| size | No | Output aspect ratio preset. Default: 1:1. |
| output_format | No | Output image format: png, jpeg, or webp. Default: png. |
size based on your target layout.png, jpeg, or webp depending on your workflow.| Output Images | Price |
|---|---|
| 1 | $0.035 |
png for higher-quality general output.jpeg for smaller file sizes.webp when you need web-friendly image output.Grab a WaveSpeedAI API key, then call POST https://api.wavespeed.ai/api/v3/google/nano-banana-lite/text-to-image with your input as JSON. The endpoint returns a prediction id; poll the prediction endpoint until status flips to completed, then read the output URL from data.outputs[0]. Examples for Nano Banana Lite Text To Image below.
# Submit the prediction
curl -X POST "https://api.wavespeed.ai/api/v3/google/nano-banana-lite/text-to-image" \
-H "Content-Type: application/json" \
-H "Authorization: Bearer $WAVESPEED_API_KEY" \
-d '{
"prompt": "A cinematic shot of a city at sunset, soft golden light",
"size": "1:1",
"output_format": "png"
}'
# Response includes a prediction id. Poll for the result:
curl -X GET "https://api.wavespeed.ai/api/v3/predictions/{request_id}/result" \
-H "Authorization: Bearer $WAVESPEED_API_KEY"
# When status is "completed", read the output from data.outputs[0].// npm install wavespeed
const WaveSpeed = require('wavespeed');
const client = new WaveSpeed(); // reads WAVESPEED_API_KEY from env
const result = await client.run("google/nano-banana-lite/text-to-image", {
"prompt": "A cinematic shot of a city at sunset, soft golden light",
"size": "1:1",
"output_format": "png"
});
console.log(result.outputs[0]); // → URL of the generated output# pip install wavespeed
import wavespeed
output = wavespeed.run(
"google/nano-banana-lite/text-to-image",
{
"prompt": "A cinematic shot of a city at sunset, soft golden light",
"size": "1:1",
"output_format": "png"
}
)
print(output["outputs"][0]) # → URL of the generated outputNano Banana Lite Text To Image is a Google model for image generation, exposed as a REST API on WaveSpeedAI. Google Nano Banana 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.
POST your input parameters to the model's REST endpoint (shown in the API tab of this playground) with your WaveSpeedAI API key in the Authorization header. Submission returns a prediction ID; poll the prediction endpoint until status flips to "completed", then read the output URL from the result. The playground generates a ready-to-paste code sample in Python, JavaScript, or cURL for whatever inputs you've set. Full request/response shape is documented at https://wavespeed.ai/docs/docs-api/google/google-nano-banana-lite-text-to-image.
Nano Banana Lite Text To Image starts at $0.035 per run. 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.
Key inputs: `prompt`, `size`, `output_format`. The full JSON schema (types, defaults, allowed values) is rendered above the Generate button and mirrored in the API reference at https://wavespeed.ai/docs/docs-api/google/google-nano-banana-lite-text-to-image.
Sign up for a free WaveSpeedAI account to claim starter credits, copy your API key from /accesskey, then call the endpoint shown in the API tab of the playground. The playground also auto-generates a code sample in Python, JavaScript, or cURL for the parameters you've set.
Commercial usage rights depend on the model's license, set by its provider (Google). The license summary appears on the model card above; see WaveSpeedAI's Terms of Service for platform-level conditions.