Models / Text to image

Nano Banana 2 Lite - API, Playground & Pricing

Google Nano Banana 2 Lite (Gemini 3.1 Flash Lite Image) is the fastest, lowest-cost Nano Banana 2 tier: 1K images and edits in volume. Run it in the playground, call its API, or let Claude Code, Codex or Cursor run it through one FlyMy.AI MCP. No Google API key: runs are billed to your FlyMy.AI balance.

Provider
Google
Category
Text to image / Text and image to image
Price
from $0.0376 / run ($0.0376 at the defaults)
Aspect ratio
1:1, 2:3, 3:2, 3:4, 4:3, 4:5 and 4 more
Results per run
up to 10
Returns
description, images, token_usage
Commercial use
Allowed
Model ID
flymyai/nano-banana-2-lite
Nano Banana 2 Lite by Google: text and image to image sample, fast 1K images
Nano Banana 2 Lite sample from the FlyMy.AI catalog

$ YOUR NEXT RUN

Claude CodeCodexCursorAny agent

Use Nano Banana 2 Lite in your assistant

Paste this prompt into Claude Code, Codex, Cursor or any agent. It reads the guide and helps you connect.

Read https://flymy.ai/skill.md and https://flymy.ai/models/nano-banana-2-lite.md. Help me connect the FlyMy.AI MCP to this assistant, then run Nano Banana 2 Lite (flymyai/nano-banana-2-lite) for this task: Generate a 9:16 product photo of a matte black headphone set floating on a purple gradient with Nano Banana 2 Lite.
Open FlyMy.AIDownload brief

What Nano Banana 2 Lite does

Lite keeps the prompt understanding of Nano Banana 2 at about half its cost and outputs 1K only; use Nano Banana 2 or Nano Banana Pro for 2K and 4K. Inputs: prompt, image_urls for edits, aspect_ratio, num_images up to 10, safety_tolerance and enable_web_search.

Nano Banana 2 Lite inputs

Every input of flymyai/nano-banana-2-lite as its live schema lists them. Returns description (string), images (array), token_usage (string).

InputType, values and default
# prompt
string required
# aspect_ratio
string optional Allowed: 1:1, 2:3, 3:2, 3:4, 4:3, 4:5, 5:4, 9:16, 16:9, 21:9, auto Default: auto
# resolution
string optional Default: 1K
# image_urls
array optional
# num_images
integer optional Allowed: 1 to 10 Default: 1
# safety_tolerance
integer optional Allowed: 1 to 6 Default: 4

Ask your agent

Requests to paste as they are, once the FlyMy.AI MCP is connected.

“Generate a 9:16 product photo of a matte black headphone set floating on a purple gradient with Nano Banana 2 Lite.”runs flymyai/nano-banana-2-lite
“Make three versions of a poster for a tech meetup about AI agents with Nano Banana 2 Lite in one run and send me the links.”runs flymyai/nano-banana-2-lite
“Use Nano Banana 2 Lite to place the product from the photo I attach on a minimalist studio with soft shadows.”runs flymyai/nano-banana-2-lite

Nano Banana 2 Lite price

From $0.0376 per run, depending on num_images. A run at the default settings costs $0.0376. A run costs $0.0376 to $0.34, depending on num_images. Billed to your FlyMy.AI balance; no seats, no subscription and no minimum.

Nano Banana 2 Lite vs similar models

Popular text to image models beside it, with prices from billing and settings from each live schema.

ModelProviderKindPriceDefault runAspect ratioSizes
Nano Banana 2 LiteGoogleText and image to imagefrom $0.0376 / run$0.03761:1, 2:3, 3:2, 3:4, 4:3, 4:5 and 4 more
Seedream 5.0 ProByteDanceText and image to imagefrom $0.045 / run$0.0911 sizes, up to 2048x2048
Seedream 5.5ByteDanceText and image to imagefrom $0.02 / run$0.03511 sizes, up to 2048x2048
Nano Banana 2.1GoogleText and image to imagefrom $0.0336 / image$0.03361:1, 2:3, 3:2, 3:4, 4:3, 4:5 and 8 more

Nano Banana 2 Lite API

The same model from your own code or from an agent. Send your FlyMy.AI API key in the X-API-KEY header; get a key in your account.

cURL

Form fields, not JSON; files go as uploads or public URLs. The answer is a prediction_id; read the result at https://api.flymy.ai/api/v1/flymyai/nano-banana-2-lite/predict/async/result/?request_id=<prediction_id>.

curl -X POST https://api.flymy.ai/api/v1/flymyai/nano-banana-2-lite/predict/async/ \
  -H "X-API-KEY: $FLYMYAI_API_KEY" \
  -F 'prompt=A ceramic mug on a sunlit kitchen counter, product photo'

Python

The FlyMy.AI SDK sends the same fields; a file input also takes a public URL.

# pip install flymyai
import os

from flymyai import client

fma = client(apikey=os.environ["FLYMYAI_API_KEY"])
response = fma.predict(
    model="flymyai/nano-banana-2-lite",
    payload={
        "prompt": "A ceramic mug on a sunlit kitchen counter, product photo"
    },
)
print(response.output_data)

JavaScript / TypeScript

The FlyMy.AI SDK sends the same fields; a file input also takes a public URL.

// npm install flymyai-js-client
import { FlyMyAI } from "flymyai-js-client";

const client = new FlyMyAI({ apiKey: process.env.FLYMYAI_API_KEY });
const response = await client.predict(
  {
    "prompt": "A ceramic mug on a sunlit kitchen counter, product photo"
  },
  "flymyai/nano-banana-2-lite",
);
console.log(response.output_data);

MCP

Your agent calls get_model_schema, then run_model with:

{
  "endpoint_id": "flymyai/nano-banana-2-lite",
  "input": {
    "prompt": "A ceramic mug on a sunlit kitchen counter, product photo"
  }
}

Questions about Nano Banana 2 Lite

Do I need a Google API key for Nano Banana 2 Lite?

No. Nano Banana 2 Lite runs on FlyMy.AI's account, so you need no Google key or plan: sign in to FlyMy.AI once and each run is billed to your FlyMy.AI balance.

How much does Nano Banana 2 Lite cost?

From $0.0376 per run, depending on num_images. There is no subscription or minimum; the price comes from FlyMy.AI billing and was checked on 2026-11-18.

Can I try Nano Banana 2 Lite before I write code?

Yes. Open Nano Banana 2 Lite in the FlyMy.AI playground at https://app.flymy.ai/models/flymyai/nano-banana-2-lite, fill in its inputs and run it; the same run is one API call later, billed the same way.

How do I use Nano Banana 2 Lite in Claude Code, Codex or Cursor?

Add the FlyMy.AI MCP with one command and sign in, then ask in plain words, for example: "Generate a 9:16 product photo of a matte black headphone set floating on a purple gradient with Nano Banana 2 Lite." Your agent reads the inputs with get_model_schema and runs flymyai/nano-banana-2-lite with run_model.

What does Nano Banana 2 Lite need as input?

Nano Banana 2 Lite requires prompt; it also takes 6 optional inputs, each listed on this page with its allowed values and default.

Can I call Nano Banana 2 Lite from my own code?

Yes. Send form fields to https://api.flymy.ai/api/v1/flymyai/nano-banana-2-lite/predict/async/ with your FlyMy.AI API key in the X-API-KEY header.

Go to the source

From the FlyMy.AI model catalog of 2026-11-18: inputs from each model's live schema, prices from FlyMy.AI billing. Requests are examples to paste, not recorded runs.