Seedance 2.5 from ByteDance is officially available on Apiframe.
Image
Nano Banana 2 Lite logo

Nano Banana 2 Lite API

by Google

Generate and edit images with Google's Nano Banana 2 Lite through one unified API, the fastest, most cost-efficient model in the Nano Banana family. A single REST endpoint, async jobs, and webhooks, with no Google Cloud setup to manage.

~5s
Avg. generation
4 credits
From
Nano Banana 2 Lite scene of five named Orbit Tea staff around a cedar table, each keeping a consistent look Image · example

Playground

Try Nano Banana 2 Lite right here.

model: nano-banana-2-lite
Media inputs
Advanced settings
Estimated cost 4 credits · $0.04 Generate in Studio
Output

Your output lands here. Hit generate to run this request in Studio.

Pricing

Simple per-generation pricing.

4 credits per generation ≈ $0.04

  • You only pay for successful generations. Failed jobs are refunded automatically.
  • One credit balance across every model on Apiframe, no per-model plans.
  • Start with free credits. No subscription required.
  • Volume discounts on larger plans.
See plans and credit packs

Specs

At a glance.

Provider Google
Model ID nano-banana-2-lite
Aspect ratios 1:1, 3:4, 4:3, 9:16, 16:9
Image input Supported
Avg. time ~5s

Quickstart

How to call the Nano Banana 2 Lite API.

Send one POST /v2/images/generate request with your API key. The call returns a jobId you can poll, or pass a webhook_url and the result is pushed to you the moment it's ready.

Swap nano-banana-2-lite for any other model and nothing else changes.

const response = await fetch("https://api.apiframe.ai/v2/images/generate", {
  method: "POST",
  headers: {
    "X-API-Key": "afk_your_api_key_here",
    "Content-Type": "application/json",
  },
  body: JSON.stringify({
    "prompt": "a sleek silver sports car on a coastal highway at sunset, hyper-realistic",
    "model": "nano-banana-2-lite",
    "nanoBananaParams": {
      "image_input": "https://example.com/input.jpg",
      "output_format": "jpg",
      "google_search": false,
      "image_search": false
    }
  }),
});
const { jobId } = await response.json();
console.log(jobId);

Input schema

Every field Nano Banana 2 Lite accepts, with types and defaults. The full reference lives in the docs.

Field Type Description
prompt required string Text description of what to generate.
model required string The model identifier for this endpoint. Default:"nano-banana-2-lite" · "nano-banana-2-lite"
nanoBananaParams.image_input string (URL) Compose with or edit a reference image.
nanoBananaParams.output_format string Output format Default:"jpg" · "jpg", "png", "webp"
nanoBananaParams.google_search boolean Google search grounding Default:false
nanoBananaParams.image_search boolean Image search grounding Default:false

The Nano Banana flagship

Nano Banana 2 Lite is one of 4 Nano Banana image models on Apiframe. The full editorial page (showcase, comparison, and use cases) lives on the flagship.

Nano Banana 2 logo Flagship from 8 cr Nano Banana 2

Pro-level quality at Flash speed.

Explore Nano Banana 2
All image models

Nano Banana 2 Lite questions

What teams ask before shipping with Nano Banana 2 Lite. Everything else lives in the docs.

What is Nano Banana 2 Lite?

Google's Gemini 3.1 Flash Lite Image, the fastest and most cost-efficient model in the Nano Banana family, built for high-velocity, high-volume image generation.

How is it different from Nano Banana 2?

It is around 2.7x faster and cheaper, and generates at 1K resolution only, whereas Nano Banana 2 goes up to 4K and is better for the most demanding work.

What resolution does it produce?

1K resolution across 14 aspect ratios. There is no resolution parameter, it is optimized for speed and scale.

How fast is it?

Roughly 4 seconds per image, making it well suited to prototyping, real-time apps, and batch generation.

Can it edit images and use reference inputs?

Yes. Pass one or more image URLs to edit or compose, and optionally enable Google Search or Image Search grounding for real-world context.

Where can you access it?

Through Apiframe, as well as Google AI Studio, the Gemini API, and Gemini Enterprise Agent Platform.

9,800+

developers & companies

4.8 on G2

Official partner of

BytePlus Alibaba Cloud MiniMax

Power your next AI product with Apiframe.

Instant access to 70+ media models through a single API. Start free and scale when you're ready.