Nano Banana 2 Lite API

Generate 1K images from text with the Nano Banana 2 Lite model through GoEnhance's independent API. Submit a prompt, receive an asynchronous image task ID, then poll or use a callback. GoEnhance is not Google, and this endpoint is not Google's official Gemini API.
Create an API Key
Golden ceramic banana sculpture representing Nano Banana 2 Lite image generation

A focused 1K text-to-image API

Glowing fruit sculpture in a botanical greenhouse
Golden light trail in an unbranded data center corridor
Validate these fields before submission to keep integrations predictable.

Nano Banana 2 Lite API parameters

Model

Required. Set <code>model</code> to <code>nano-banana-2-lite</code>.

Prompt

Required text description from 1 to 2000 characters.

Aspect ratio

Optional <code>ratio</code>; defaults to <code>auto</code>. Supported values include 1:1, 16:9, 9:16, 4:3, 3:4, 2:3, 3:2, 4:5, 5:4, 1:4, 4:1, 1:8, 8:1, and 21:9.

Thinking level

Optional reasoning depth with <code>High</code> or <code>Minimal</code>.

Callback URL

Optional <code>custom_callback_url</code> must be a publicly accessible HTTPS URL.

Authorization

Authenticate requests with the <code>Authorization</code> header and send JSON to the generations endpoint.
Use the documented per-image rate and asynchronous response contract when estimating usage.

Nano Banana 2 Lite API pricing and task behavior

2 tokens per image

The documented Nano Banana 2 Lite API price is 2 tokens, equal to $0.04, for each generated image.

1K output

Nano Banana 2 Lite generates 1K output only; this route does not expose 2K or 4K size controls.

Task-based results

Submission returns <code>img_uuid</code>, not the final image. Retrieve the terminal result by polling or callback.

Integrate in three steps

1. Create the request
1

1. Create the request

POST JSON to https://api.goenhance.ai/api/v1/images/generations with your authorization header, model ID, prompt, and optional ratio, thinking level, or callback URL.
2. Store img_uuid
2

2. Store img_uuid

Read data.img_uuid from a successful response and associate it with your own request record.
3. Poll or receive callbacks
3

3. Poll or receive callbacks

Poll GET /api/v1/jobs/detail or process callback events. If a callback response is not HTTP 200, GoEnhance documents up to three retries with a three-second timeout per attempt.
A low-complexity text-to-image route can support repeatable creative production while your application controls prompts, review, and delivery.

Where developers can use Nano Banana 2 Lite

Blog illustrations

Generate visual concepts from article briefs and route outputs into an editorial review queue.

Product storytelling

Create campaign-ready scene concepts from structured product descriptions without adding source-image inputs.

Ad concept variants

Produce prompt variations for creative testing while tracking each asynchronous task separately.

Social creative pipelines

Generate aspect-ratio-specific assets for later human review, resizing, and publishing.

Game and story ideation

Turn character, prop, and environment descriptions into fast visual references.

Automated content workflows

Connect callbacks to storage, moderation, approval, or downstream asset-processing services.
Answers to common pricing, parameter, output, callback, and Google API questions.

Nano Banana 2 Lite API FAQ

Build with Nano Banana 2 Lite

Nano Banana 2 Lite API: Pricing & Integration | GoEnhance Open API