APIKO MCP

Nano Banana MCP

Nano Banana MCP lets Claude Code and Codex generate and edit images with Nano Banana 2.1, Nano Banana 2 and Nano Banana Pro, at 1K, 2K or 4K. Add it with one command, describe the image in plain language, and approve the price your agent quotes before anything runs.

Which agent are you using?
  1. Paste your key

    Stays in this browser and only fills the prompt below.

  2. Copy and send to Claude Code

    Prompt

    Set up APIKO so I can generate and edit images with Nano Banana here.
    1. Add the MCP server: run `claude mcp add apiko --scope user -e APIKO_API_KEY=sk-... -- npx -y apiko-mcp`, using my APIKO API key in place of `sk-...`.
    2. Check the connection: run `claude mcp list` and confirm apiko is listed.
    3. Once it works, tell me I can ask for an image.

    Works in the Claude Code CLI and the desktop app, which picks up the user-scope server. Start a new session and ask your agent to look up a model; a reply means you are connected.

WHAT YOU CAN DO

Ask for the image you want.

Four requests Nano Banana handles well.
Copy one to your agent and change the details.

Text to image

Describe a scene, then choose the aspect ratio and a resolution from 1K to 4K.

Use APIKO with Nano Banana 2.1 to generate a 16:9 hero image for a small bakery landing page: warm morning light, flour dust in the air, a wooden counter with fresh bread, soft film look. Quote the cost first and wait for my approval before generating.

Edit with reference images

Point to a photo and say what to change. Nano Banana 2.1 takes up to 14 reference images; Nano Banana 2 and Pro take up to 9.

Upload ./product.png, then use Nano Banana 2.1 to place this product on a marble kitchen counter in morning light. Keep the product's shape and label unchanged. Quote the cost first.

Combine several images

Bring a person, an object and a setting from separate images into one picture.

Upload ./model.jpg, ./jacket.jpg and ./street.jpg. With Nano Banana 2.1, dress the person from the first image in the jacket from the second and place them on the street from the third. Estimate the cost before generating.

4K and search grounding

Render at 4K, or switch on Google web search and image search so the picture follows real places and current facts. Search grounding is available on Nano Banana 2.1 and costs nothing extra.

Use Nano Banana 2.1 at 4K with web_search on to make a 16:9 travel poster of Lisbon's Alfama district at golden hour, with the real tram line visible. Quote the cost first.

MODELS AND PRICES

Pick a Nano Banana model.

Prices are per image, read live from the APIKO catalog.
Smaller grey figures are Google's list prices.

Nano Banana 2.1, 2 and Pro compared: reference images, aspect ratios, search grounding and live price per image at 1K, 2K and 4K
ModelReference imagesAspect ratiosSearch grounding, thinking level1K2K4K
Nano Banana 2.1Up to 1414, from 1:8 to 8:1, plus autoYes$0.0142$0.0336$0.0157$0.0504$0.0189$0.113
Nano Banana 2Up to 98, from 9:16 to 21:9—$0.0147$0.067$0.0157$0.101$0.0168$0.151
Nano Banana ProUp to 98, from 9:16 to 21:9—$0.0168$0.134$0.0180$0.134$0.0192$0.24
HOW A RUN WORKS

Quote first,
then generate.

Every Nano Banana MCP run follows the same order.
Nothing is billed before step 4.

01

Pick a model

The agent reads the live parameters of the Nano Banana models: reference limit, ratios and resolutions.

02

Get a quote

estimate_cost returns the price for the exact model, size and resolution.

03

You approve

The agent shows the quote and waits. A max_cost_usd cap refuses any run that would cost more.

04

Generate

generate_image starts the task. With reference images it calls the edit endpoint instead.

05

Get the link

get_task returns the link to the finished image.

Video models and the full tool list

The same server also runs Seedance, Wan and Kling video models.

See APIKO MCP
QUESTIONS & ANSWERS

Before you start,
get your questions answered.

Accounts, billing, models and local files.

Do I need a Google account or a Gemini API key?

No. Nano Banana MCP only needs an APIKO API key. Create one in your dashboard and put it in the setup command.

Get an API key
How is it billed?

Model lookups, quotes and image uploads are free. Each generated image is billed at the price in the table above, from your APIKO balance, and a failed task is refunded. To cap spending, set a limit on the key you gave the agent.

Which Nano Banana model should I use?

Start with Nano Banana 2.1: it takes the most reference images, the widest ratios and search grounding. Keep Nano Banana 2 or Pro when your prompts already work well on them. Our blog post compares 2.1 and Pro on the same prompts.

Nano Banana 2.1 vs Pro
Can I edit images that are on my computer?

Yes. Name the file and the agent uploads it with upload_image, then passes the link to the model as a reference. The uploaded copy stays reachable by its link for 72 hours.

Codex already makes images. Why add Nano Banana MCP?

Claude Code cannot create images by itself, and Codex's built-in tool uses GPT Image 2 on your Codex usage. This adds Nano Banana and the other APIKO models, and the agent quotes the price before each run.

Does it work in the desktop apps?

Yes, for the Claude Code and Codex desktop apps. Both read the same configuration as their command-line tools, so the setup command above is enough.