Skip to contentAI Media Studio
Open the studio

Nano Banana skill for Claude Code

Use Nano Banana in Claude Code: a skill and an MCP server

A Nano Banana skill for Claude has two parts: an MCP server that gives Claude the tools to call Google’s Nano Banana models, and a SKILL.md file that tells Claude when to use them and which model to pick. AI Media Studio runs the MCP server for you, with Nano Banana Pro and Nano Banana 2.1, and below is a skill file to copy into Claude Code. You need no Gemini API key: images are paid from your AI Media Studio credits. This is not the open-source banana-claude project.

Plans start at $19/month. The same credits pay for every model in the studio.

How to add the Nano Banana skill to Claude Code

A few commands in a terminal. The MCP server is the part that generates images; the skill file only guides Claude, so the server alone also works.

  1. 01

    Have a paid AI Media Studio workspace

    Images spend the credits of an AI Media Studio workspace, and agent calls need a paid plan: Starter is $19/month for 1,000 credits. Only the workspace’s owner or an admin can approve the connection.

  2. 02

    Add the Nano Banana MCP server

    One command registers the hosted server for all your projects. It is a remote server, so there is nothing to install or keep updated.

    Terminal
    claude mcp add --transport http --scope user aims https://app.ai-media-studio.com/mcp
    Output of claude mcp list, before you sign in
    Checking MCP server health…
    
    aims: https://app.ai-media-studio.com/mcp (HTTP) - ! Needs authentication

    We ran both commands with Claude Code on November 23, 2026.

  3. 03

    Sign in

    Start Claude Code, type /mcp, pick aims and choose Authenticate. In the browser page “Connect … to AI Media Studio”, sign in, pick the workspace and click Allow. This adds an API key you can revoke under Workspace Settings → API Keys.

  4. 04

    Add the skill file

    Create the folder and save the file below as SKILL.md in it. Claude Code picks up new skills in a running session. The skill pins the Nano Banana model ids, so Claude does not fall back to another model.

    Terminal
    mkdir -p ~/.claude/skills/nano-banana
    ~/.claude/skills/nano-banana/SKILL.md
    ---
    name: nano-banana
    description: Generate or edit images with Google's Nano Banana models (Nano Banana Pro and Nano Banana 2.1) through the AI Media Studio MCP server. Use when the user asks for an image, photo, product shot, thumbnail, icon or picture edit, or mentions Nano Banana.
    ---
    
    # Nano Banana through AI Media Studio
    
    Use the tools of the `aims` MCP server. Every call spends credits from the connected AI Media Studio workspace.
    
    ## Pick the model
    
    - `fal-ai/nano-banana-pro` (Nano Banana Pro): realistic photos, products and text in the image. 30 credits per image at 1K or 2K, 60 at 4K.
    - `google/nano-banana-2.1` (Nano Banana 2.1): fast drafts and variations. 8 credits at 1K, 12 at 2K, 27 at 4K.
    
    Use Nano Banana 2.1 for drafts. Use Nano Banana Pro when the user wants the best quality or a final image.
    
    ## Make a new image
    
    Call `generate_image` with `prompt`, `model`, `aspect_ratio` (such as 16:9, 1:1 or 9:16) and `resolution` (1K, 2K or 4K). Use `n` (1 to 4) for variations. Write a specific prompt: subject, setting, light, framing, and any exact text in quotes.
    
    ## Edit an image
    
    Call `edit_image` with the instruction as `prompt`, the source in `image_urls` and the same `model`. Sources must be workspace URLs, such as the link of an earlier result. For a local file, run `aims upload <file> --print url` if the aims CLI is installed and use the URL it prints.
    
    ## Reply
    
    Give the user each image URL, credits_used and credits_remaining. If some images failed, keep the finished ones and retry only the failed ones. If a call returns 402 with code PAID_PLAN_REQUIRED, ask the user to choose a plan at https://app.ai-media-studio.com/billing instead of retrying.
    

    The file passes claude plugin validate. Put it in .claude/skills/nano-banana/ inside a repository instead to share it with your team. Want video and editing skills too? npx skills add liebhardt-io/aims-agent installs our full skill pack instead.

  5. 05

    Use it

    Type /nano-banana followed by what you want, or just ask for an image and Claude loads the skill on its own. It replies with the image links and the credits used.

    In Claude Code
    /nano-banana a 16:9 hero image for a coffee subscription landing page, beans and a pour-over on a dark wood table, final quality

What to ask once the skill is installed

Each card is a prompt for Claude Code, the tool call the skill leads to and its cost. More real Nano Banana results are on our Nano Banana model page.

1.A realistic photo from one prompt

Nano Banana Pro is strong at realistic scenes with people, light and texture. Ask for the shape you need; this one is 9:16 for a story or a phone screen.

Prompt to send

/nano-banana final quality, 9:16: A red vintage convertible sports car with a smiling couple inside, driving toward the camera on a winding coastal cliff road at sunset, the woman’s silk scarf blowing in the wind, turquoise Mediterranean sea far below, warm golden light, cinematic photograph, vertical composition
Tool call:
generate_image · fal-ai/nano-banana-pro · aspect_ratio 9:16
Cost:
30 credits at 1K or 2K
AI-generated photo of a red vintage convertible with a smiling couple on a coastal cliff road at sunset, the sea below
Made with Nano Banana Pro from the description in this prompt, in AI Media Studio with the same model the MCP server calls, not through Claude Code. Illustrative, not customer work.

2.A hero image for a project

Ask for final quality and the skill picks Nano Banana Pro. 2K is the sweet spot: the same price as 1K.

Make it yourself: prompt to send

/nano-banana a 16:9 hero image for a coffee subscription landing page, beans and a pour-over on a dark wood table, morning light, final quality, 2K
Tool call:
generate_image · fal-ai/nano-banana-pro · aspect_ratio 16:9 · resolution 2K
Cost:
30 credits, about $0.57 on Starter

3.Four drafts to choose from

Drafts go to Nano Banana 2.1, so exploring is cheap. Pick one and ask for a Pro version of it.

Make it yourself: prompt to send

/nano-banana four square drafts of a mascot for a budgeting app: a friendly coin character, flat vector, mint and navy
Tool call:
generate_image · google/nano-banana-2.1 · n 4 · aspect_ratio 1:1 · resolution 1K
Cost:
32 credits for four

4.Edit a photo from your project

With the aims CLI installed and logged in, Claude Code uploads the file and edits it. Without the CLI, edit images that are already in your workspace.

Make it yourself: prompt to send

/nano-banana take ./assets/product.jpg, put the bottle on wet black slate with soft studio light, keep the label as it is
Tool call:
aims upload ./assets/product.jpg --print url, then edit_image · fal-ai/nano-banana-pro · image_urls [the uploaded URL]
Cost:
30 credits for the edit at 1K or 2K

Nano Banana models through the MCP server

Both models generate and edit. Nano Banana Pro is also what the server uses when a request names no model.

ModelModel idUse it for1K2K4K
Nano Banana Profal-ai/nano-banana-proFinal images, realism, text in the image30 credits30 credits60 credits
Nano Banana 2.1google/nano-banana-2.1Drafts and variations8 credits12 credits27 credits

Prices per new image; a Nano Banana 2.1 edit at 1K is 9 credits. Up to 4 images per call. Checked in the app code on .

The Nano Banana MCP server

The server URL is https://app.ai-media-studio.com/mcp. It speaks Streamable HTTP with OAuth sign-in, so any MCP client that supports remote servers can use it, not only Claude Code. These are its tools.

  • generate_image: prompt, model, aspect_ratio, resolution (0.5K to 4K), n, output_format, seed, and image_urls to start from existing images.
  • edit_image: prompt and one to ten image_urls from your workspace.
  • upload_image: raw base64 contents of an image up to 20 MiB, returns a workspace URL. It reads no local files.
  • generate_video, list_models and get_account: video, the live model list with credit costs, and your balance.
  • get_media: the status and URL of an image or video that is still generating, so Claude checks it instead of paying for it again.
  • Every result is JSON with hosted URLs and the credits used and left; images are not returned inline.

Good to know

  • Results come back as links to images saved in your AI Media Studio workspace. Claude Code can open or download them; they are not returned as image data.
  • Editing a local file needs the aims CLI (npm install -g @ai-media-studio/cli, then aims login) for the upload. The server’s upload tool takes raw image data and reads no files.
  • Only an owner or admin of the AI Media Studio workspace can approve the connection, and everyone using it spends that workspace’s credits. Image requests are limited to 60 per 10 minutes per workspace.
  • This page shows our own Nano Banana skill file. Our broader skill pack for images, edits and video installs with npx skills add liebhardt-io/aims-agent. The open-source banana-claude project is a different project with its own setup.

What it costs

Each image spends credits at the studio’s price. Nano Banana Pro is 30 credits at 1K or 2K, about $0.57 on the Starter plan ($19/month for 1,000 credits). A Nano Banana 2.1 draft at 1K is 8 credits, about $0.15.

You need no Google account or Gemini API key, and there is no separate fee for the MCP server. If an image fails, its credits are returned.

See plans and credits

Nano Banana Claude skill FAQ

What is the Nano Banana Claude skill?

A SKILL.md file in Claude Code that tells Claude how to make and edit images with Nano Banana: which model to pick and which tool to call. The images themselves come from an MCP server, here AI Media Studio’s, which runs Nano Banana Pro and Nano Banana 2.1.

Is there a Nano Banana MCP server?

Yes. AI Media Studio hosts one at https://app.ai-media-studio.com/mcp. Add it with claude mcp add --transport http --scope user aims https://app.ai-media-studio.com/mcp and sign in with /mcp. It also works in claude.ai, Cursor and other MCP clients.

Do I need a Gemini API key?

No. AI Media Studio runs the Nano Banana models and bills the images in credits from your plan. You never handle a Google key.

Does it support Nano Banana 2?

The current version is Nano Banana 2.1, which replaced Nano Banana 2 in the studio, and the skill uses it for drafts. Nano Banana Pro is the higher-quality model.

Can I use the skill in claude.ai?

The skill file is for Claude Code. In claude.ai, add the same server as a custom connector under Customize > Connectors and ask for a Nano Banana image; see our Claude image generation guide.

Is there a ready-made skill pack?

Yes. npx skills add liebhardt-io/aims-agent installs three skills: image generation (Nano Banana Pro by default, Nano Banana 2.1 for drafts), image editing and video. In Claude Code, claude plugin marketplace add liebhardt-io/aims-agent and claude plugin install aims@aims add the same skills together with the MCP server. The skill on this page is the narrower choice: it keeps Claude on Nano Banana.

Is this the banana-claude repository?

No. banana-claude is a separate open-source project. This page uses AI Media Studio’s hosted MCP server and our own skill file.

Can I share the skill with my team?

Yes. Commit the file as .claude/skills/nano-banana/SKILL.md in your repository. Each teammate adds the MCP server and signs in; a workspace owner or admin approves the connection.

AI Media Studio is not affiliated with Anthropic, ByteDance, Google or xAI. Claude is a trademark of Anthropic. How we handle your files: privacy policy.