Nano Banana 2 Lite API and MCP for AI agents
TollNode gives Claude, Cursor or any AI agent Nano Banana 2 Lite, Google's fastest, lowest-cost Nano Banana, over API and MCP, from $0.047 per image, with no subscription.
Ask for 'A stack of pastel macarons on a marble counter beside a...' and get a finished image link back in seconds.
No subscription · Sign-up optional · From $0.047 per call · Charged only when it works · No Google account needed
Make this image: A stack of pastel macarons on a marble counter beside a small vase of tulips...
TollNode · Google · nano-banana-2-lite$0.047 · 1 image
| Result | Detail |
|---|---|
| File | 1 image link, does not expire |
| Shape | 4:3 |
Real result, shown below.
Nano Banana 2 Lite image examples
Made by this node in our own tests, from the request shown under each.

“A stack of pastel macarons on a marble counter beside a small vase of tulips, soft morning daylight, shallow depth of field, photograph”
The request that made it
Send the same body to get this kind of result. Change the prompt or the options to get your own.
{
"prompt": "A stack of pastel macarons on a marble counter beside a small vase of tulips, soft morning daylight, shallow depth of field, photograph",
"aspect_ratio": "4:3"
}What you control with Nano Banana 2 Lite
Prompt and style
Nano Banana 2 Lite prompt to image
Describe the picture in plain words, including any text.
- Prompt
- A stack of pastel macarons on a marble counter beside a small vase...
- Aspect ratio
- 4:3
- Returns
- 1 image link
You get
- prompt: what to create, in plain words
- aspect_ratio: the shape of the result: 11 options
- output_format: file type: jpg, png
Reference images
Add photos to edit, restyle or combine.
- image input
- https://.../photo.jpg
- Prompt
- A stack of pastel macarons on a marble counter beside a...
- Up to
- 14 images
You get
- image_input: reference or source images (https links)
- prompt: what to create, in plain words
Result and price
Nano Banana 2 Lite image output
One flat price per image.
- Returns
- 1 image link
- Price
- flat, image
- Charged
- only when a result comes back
You get
- result: a link to the finished image file
- price: one flat price per image
Failed calls are never charged. Image and audio links returned by TollNode don't expire.
What people ask their AI to do with it
Ecommerce sellers
Product photos without a shoot
“Make a studio photo of my ceramic mug on a marble counter in morning light”
1 call
Cost today$0.047
Marketers
Ad and social images
“Create three portrait Instagram ad images for a coffee subscription, bold and bright”
3 calls
Cost today$0.141
Designers
Concept art and mockups
“Generate three packaging concepts for an oat milk brand, flat lay on a gray background”
3 calls
Cost today$0.141
Founders
Pitch deck visuals
“Draw a wide hero image of a delivery drone over a US suburb at sunset for my seed deck”
1 call
Cost today$0.047
Content creators
Thumbnails and blog headers
“Make a wide YouTube thumbnail of me pointing at a glowing laptop with big bold text”
2 calls
Cost today$0.094
Educators
Diagrams and class visuals
“Illustrate the water cycle for fourth graders, labeled, clean flat style”
1 call
Cost today$0.047
Use it as a Nano Banana 2 Lite MCP server in Claude, Cursor or Codex
Connect once. Then just ask.
Paste this into Claude Code, Cursor or Codex. It connects TollNode and gives your agent a small wallet. Add a few dollars of USDC and you're done.
npx agentcash add https://tollnode.comCopy for your AI agent
Paste this into your agent so it knows what this node does and how to call it.
You can use TollNode's Nano Banana 2 Lite node to make an image. Call POST https://tollnode.com/api/v1/nodes/nano-banana-2-lite with prompt (required), image_input (optional), aspect_ratio (optional), output_format (optional). The price is one flat price per call and is charged only when a result is returned. Over MCP, call the "nano-banana-2-lite" tool; use list_models to see prices. Give me the file link when it is done.Price
$0.047
per image
Charged only when a call returns a result. Failed or empty calls cost $0.
Nano Banana 2 Lite without a Google account
No subscription, no credit packs
Pay per image: $0.047 for every call, whatever you ask for.
No Google account, no quota form
Your agent calls TollNode. You never set up billing with the model's maker or request access.
Only charged when it works
If generation fails or returns nothing, the call costs nothing.
One connection, many image models
The same setup also gives your agent other models and live data tools, so it can compare results.
FAQ
- Is this the official Google API?
- No. TollNode is an independent service. It gives your agent access to Nano Banana 2 Lite through its own API and MCP server, priced per image, with no Google account needed.
- Can I use it as a Nano Banana 2 Lite MCP server in Claude?
- Yes. Add https://tollnode.com/mcp in Claude Code, Claude Desktop or Cursor, and the "nano-banana-2-lite" tool appears with its options and prices.
- How much does a call cost?
- One flat price per image, the same for every call, shown above. There is nothing to choose that changes it.
- Can I start from my own image?
- Yes. Send an image link in image_input (https) along with your prompt. The result is built from it. Up to 14 images are accepted.
- What if nothing comes back?
- You're not charged. TollNode only collects payment when a usable result is returned.
- How long are the links valid?
- They don't expire. Download the file or keep the link.
- How do I pay for Nano Banana 2 Lite?
- Your agent sends the request, gets an HTTP 402 with the exact price (from $0.047 per call), signs a USDC payment on Base and retries. Or use an account balance with an API key. Either way you are charged only when a result comes back.
- What does the Nano Banana 2 Lite response look like?
- A JSON object with a link to the finished file. The link does not expire, so you can download it later or keep the link.
Works well with
- Crisp image upscalerEnlarge the finished image for print$0.010
- Nano Banana Pro image generationA high-quality image model to comparefrom $0.204
- GPT Image 2 generation and editingOpenAI's image model, good with textfrom $0.018
- Veo 3.1 video with soundTurn a finished image or idea into a video with soundfrom $2.161
Ready in a minute
Connect your AIFor developers: endpoint, inputs and an example response
POST https://tollnode.com/api/v1/nodes/nano-banana-2-lite
Input
| Field | Type | Notes |
|---|---|---|
| prompt* | string | What to create or change |
| image_input | array | Reference or source image URLs (https), optional. Or send the file inline as a base64 data: URI (up to 4.5 MB) |
| aspect_ratio | enum | Aspect ratio, default match_input_image (match_input_image, 1:1, 2:3, 3:2, 3:4, 4:3, 4:5, 5:4, 9:16, 16:9, 21:9) |
| output_format | enum | (jpg, png) |
Example response
{
"images": [
"https://tollnode.com/api/v1/files/00000000-0000-0000-0000-000000000000/0"
]
}Also described in the OpenAPI file and llms.txt. Setup for every app: Agents & MCP.