TollNode

Nano Banana 2 API and MCP for AI agents

TollNode gives Claude, Cursor or any AI agent Nano Banana 2, Google's image model with conversational edits, sharp text and up to 14 reference images, over API and MCP, from $0.092 per image, with no subscription.

Ask for 'a cozy bakery window on a rainy evening with a chalkboard sign that reads FRESH BREAD DAILY' and get a finished image link back.

No subscription · Sign-up optional · From $0.092 per call · Charged only when it works · No Google account needed

Claude Code

Generate a 4:3 photo of a cozy bakery window on a rainy evening with a chalkboard sign reading FRESH BREAD DAILY, 1K

TollNode · Google · 1K$0.092 · 1 image

ResultDetail
File1 image link, does not expire
Resolution1K
Aspect ratio4:3

Real result, shown below.

Works in Claude Code, Cursor, Codex, VS Code and any MCP agent.

Nano Banana 2 image examples

Made by this node in our own tests, from the request shown under each.

Nano Banana 2 image generation and editing output: A cosy bakery window on a rainy evening, warm light inside, a chalkboard sign in the window that reads FRESH BREAD DAILY, raindrops on the glass, photograph

“A cosy bakery window on a rainy evening, warm light inside, a chalkboard sign in the window that reads FRESH BREAD DAILY, raindrops on the glass, photograph”

AI-generatedresolution: 1Kaspect_ratio: 4:3

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.

request body
{
  "prompt": "A cosy bakery window on a rainy evening, warm light inside, a chalkboard sign in the window that reads FRESH BREAD DAILY, raindrops on the glass, photograph",
  "resolution": "1K",
  "aspect_ratio": "4:3"
}

What you control with Nano Banana 2

Failed calls are never charged, and image links returned by TollNode don't expire.

What people ask their AI to do with it

Use it as a Nano Banana 2 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.

terminal
npx agentcash add https://tollnode.com

Copy for your AI agent

Paste this into your agent so it knows what this node does and how to call it.

prompt
You can use TollNode's Nano Banana 2 node to create and edit images. Call POST https://tollnode.com/api/v1/nodes/nano-banana-2 with prompt (required, up to 2,000 characters), resolution (1K, 2K or 4K, default 1K), aspect_ratio (10 fixed shapes or match_input_image), image_input (up to 14 https image URLs, optional) and output_format (jpg or png). The price depends on resolution and is charged only when an image is returned. Over MCP, call the "nano-banana-2" tool; use list_models to see prices. Give me the image link when it is done.

Price

from $0.092

per image

The price depends on the resolution you choose. If you don't choose, you get 1K.

1Kdefault$0.092 per image
2K$0.138 per image
4K$0.205 per image

Charged only when a call returns a result. Failed or empty calls cost $0.

Nano Banana 2 without a Google account

FAQ

Is this the official Google API?
No. TollNode is an independent service. It gives your agent access to Nano Banana 2 through its own API and MCP server, priced per image, with no Google account needed.
Can I use it as a Nano Banana 2 MCP server in Claude?
Yes. Add https://tollnode.com/mcp in Claude Code, Claude Desktop or Cursor, and the "nano-banana-2" tool appears with its options and prices.
What resolutions and shapes can I get?
1K, 2K or 4K, in 10 fixed aspect ratios from 1:1 to 21:9, or match_input_image to keep your source photo's shape. The resolution you pick sets the price.
Can it edit my own photos?
Yes. Send up to 14 image URLs in image_input and describe the change, like adding rain or swapping a background. Use match_input_image to keep the original shape.
How good is text inside the images?
It is built for sharp text, which suits signs, chalkboards, labels and ads. Put the exact wording in quotes in your prompt.
What if no image comes back?
You're not charged. TollNode only collects payment when a usable image is returned.
How long are the image links valid?
They don't expire. Download the file or keep the link.

Ready in a minute

Connect your AI
For developers: endpoint, inputs and an example response

POST https://tollnode.com/api/v1/nodes/nano-banana-2

Input

FieldTypeNotes
prompt*stringWhat to create or change
resolutionenumOutput resolution; sets the price. Default 1K (1K, 2K, 4K)
image_inputarrayReference or source image URLs (https), optional. Or send the file inline as a base64 data: URI (up to 4.5 MB)
aspect_ratioenumAspect 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_formatenum (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.