
Nano Banana 2.1 image generation
Google's fast image model: crisp text in images, multi-image editing and up to 4K output. Pass reference images to edit.
POST /api/v1/nodes/nano-banana-2-1
Quick setup for humans and agents
- 1. Fund an x402 wallet with a little USDC on Base. AgentCash (above), Coinbase Wallet or any x402 client works. One dollar covers hundreds of calls.
- 2. Call the endpoint. The first response is HTTP 402 with the exact price.
- 3. Your wallet signs and retries. TollNode runs the node and collects the quoted price only if the result is usable.
see the 402 yourself
curl -i -X POST https://tollnode.com/api/v1/nodes/nano-banana-2-1 \
-H 'content-type: application/json' \
-d '{"prompt":"a road sign that reads TOLLNODE, golden hour","resolution":"1K"}'Input
| Field | Type | Notes |
|---|---|---|
| prompt* | string | What to create or change |
| resolution | enum | Output resolution; sets the price. Default 1K (1K, 2K, 4K) |
| image_input | array | Reference or source image URLs (https), optional |
| 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"
]
}More real output
Made by this node during our own tests, from the request shown.

“a road sign that reads TOLLNODE, golden hour”
FAQ
- What does the Nano Banana 2.1 image generation node return?
- Google's fast image model: crisp text in images, multi-image editing and up to 4K output. Pass reference images to edit.
- How much does one call cost?
- from $0.047 in USDC on Base, per successful call, depending on resolution (1K: $0.047, 2K: $0.070, 4K: $0.155). No sign-up, subscription or API key.
- What happens if the call fails?
- You are not charged. TollNode checks your signed payment first, runs the node, and only collects the payment if the result is usable. A failed, empty or timed-out call is never settled, so there is nothing to refund.
- How does an AI agent pay?
- With x402. The first request returns HTTP 402 and the exact price. Any x402 wallet signs the USDC payment and retries automatically. In Claude Code or Cursor, run npx agentcash add https://tollnode.com once.