MCP / Model / Nano Banana MCP

Nano Banana in Claude Code and Cursor, without a Gemini key

Every Nano Banana id on one hosted MCP server: generate makes the image and hands it back to the client inline, so the model sees what it made; media_quote prices the exact settings first; the edit ids take the image URL back for changes. The same key runs the other image and video models when you want to compare.

Connect

Add the server to your client

The server is https://api.relayswitch.io/mcp, Streamable HTTP, with your key sent as a Bearer header. Keys start sk-relay-.

Claude Code

bash
1claude mcp add --transport http relayswitch https://api.relayswitch.io/mcp \
2 --header "Authorization: Bearer $RELAYSWITCH_KEY"

Then /mcp in Claude Code lists the server and its tools.

Cursor

json
1// .cursor/mcp.json (this project) or ~/.cursor/mcp.json (every project)
2{
3 "mcpServers": {
4 "relayswitch": {
5 "url": "https://api.relayswitch.io/mcp",
6 "headers": { "Authorization": "Bearer ${env:RELAYSWITCH_KEY}" }
7 }
8 }
9}

Check it from a terminal

bash
1curl https://api.relayswitch.io/mcp \
2 -H "Authorization: Bearer $RELAYSWITCH_KEY" \
3 -H "Content-Type: application/json" \
4 -H "Accept: application/json, text/event-stream" \
5 -d '{"jsonrpc": "2.0", "id": 1, "method": "tools/list"}'
Tools

What the client can call

The tools this page is about. The server lists 15 in all; the rest are on the MCP server page.

ToolWhat it doesKey
media_modelOne media model’s settings (every parameter, its values, range and default) and price tiers.none
media_quoteWhat generate would charge for exactly these settings, next to the developer’s price. Nothing runs.Bearer
generateRuns any image, video, speech, music or 3D model and returns the files, a finished image inline.Bearer
generationsThe organization’s generations, newest first, with status, files and charge.Bearer
Prices

What each call costs, read live

From the catalog at render. The developer’s list price is shown where the catalog has it.

ModelSettingPriceDeveloper’s list
Nano Banana 2nano-banana-2resolution 1K$0.0402 per image$0.067
resolution 2K$0.056 per image$0.101
resolution 4K$0.072 per image$0.151
Nano Banana Pronano-banana-proresolution 1K$0.08 per image$0.134
resolution 2K$0.08 per image$0.134
resolution 4K$0.12 per image$0.24
Nano Banana 2 Litenano-banana-2-liteany$0.0313 per image$0.0336
Nano Banananano-bananaany$0.0313 per image—
Nano Banana 2 Editnano-banana-2-editresolution 1K$0.0402 per image$0.067
resolution 2K$0.056 per image$0.101
resolution 4K$0.072 per image$0.151
Nano Banana Pro Editnano-banana-pro-editresolution 1K$0.08 per image$0.134
resolution 2K$0.08 per image$0.134
resolution 4K$0.12 per image$0.24

Charged when the model accepts the task; a failed generation is refunded in full.

Try it

What to ask once it is connected

Plain requests; the client picks the tool.

  • Generate a 16:9 hero image for this landing page with nano-banana-2 at 2K. Quote it first.
  • Take that image and make the sky dusk with nano-banana-2-edit.
  • Make the same prompt with nano-banana-pro and nano-banana-2, show me both, and tell me which reads better at thumbnail size.
FAQs

Nano Banana MCP: questions

Setup, models and billing.

Open the console

A key in under a minute

Get a key

Or email hello@relayswitch.io

Every model as a tool in your AI

From $10 by card or in USDT, USDC, BTC, ETH, SOL. Prepaid, no subscription, no KYC.

Join on Telegram