Nanobanana
Creates and edits images with Google's Nano Banana Pro model from a text prompt, in the shape you need and up to 4K resolution.
What it is
Nanobanana lets your AI agent make pictures using Google's Gemini 3 Pro Image model, nicknamed Nano Banana Pro. It suits anyone who needs visuals: product photos, mascots, pixel art, landscapes, illustrations or social media graphics. You describe the image in plain words, or hand over an existing picture and say what to change, and the agent runs a small Python script that sends the request to Google and saves the result as an image file on your computer.
The skill gives the agent a ready-made script and a prompt guide, so it does not have to work out Google's interface from scratch. It can set the shape of the image, from square to vertical 9:16, widescreen 16:9 or cinematic 21:9, choose standard, 2K or 4K output, and edit photos by changing backgrounds, adding or removing objects or restyling them. A second script makes a batch of variations from one prompt, for example 10 or 20 logo ideas with numbered filenames and pauses between requests to avoid rate limits.
You end up with PNG files in a folder of your choosing. The prompt guide covers styles such as pixel art, photorealism, illustration, flat design, 3D and isometric. Limits: you need your own Gemini API key on a project with billing turned on, prompts can be blocked by Google's safety filters, and the script accepts a Google Search option that it does not actually apply.
What it can do
- Generates images from a text description using Gemini 3 Pro Image, also called Nano Banana Pro.
- Edits an existing photo from plain instructions, such as changing the background or adding objects.
- Sets aspect ratios from square to 9:16 vertical, 16:9 widescreen and 21:9 cinematic.
- Produces standard, 2K or 4K output; 4K is suggested when the image contains text.
- Batch-generates numbered variations of one prompt, one after another or several at once.
- Includes prompt templates for pixel art, product photography, illustration, flat design and 3D styles.
When to use it
- You need a square product photo of your handmade candle on a marble table for an online shop listing.
- You want 20 pixel-art mascot ideas for a new podcast so you can pick the best one.
- You have a portrait photo and want the plain wall behind you replaced with a blue background.
- You need a 16:9 header image for a blog post or a 9:16 background for a phone story.
How it works
- 1Turns your request into a detailed prompt covering subject, style, lighting, composition and colors.
- 2Runs a Python script that sends the prompt, plus any photo to edit, to Google's Gemini image model.
- 3Applies the aspect ratio and resolution you asked for, or uses square, standard-size output by default.
- 4Saves the returned image as a PNG file, in a nanobanana-images folder unless you name another location.
- 5For batches, runs a second script that repeats the prompt and numbers each file.
Try asking
How to install
Install with the skills CLI (recommended)
Works with Claude Code, Codex, Cursor, OpenCode and other agents, and asks which ones to install to. Needs Node.js 22.20+. Add -g to make it available in every project.
npx skills add https://github.com/ReScienceLab/opc-skills/tree/main/skills/nanobanana
pnpm dlx skills add https://github.com/ReScienceLab/opc-skills/tree/main/skills/nanobanana
Install as a Claude Code plugin
Run these inside Claude Code. The plugin may bundle related skills from the same author.
/plugin marketplace add ReScienceLab/opc-skills /plugin install nanobanana@opc-skills
Install manually
Copies the skill folder into Claude Code's personal skills directory. For claude.ai, zip the nanobanana folder and upload it in the Skills section of Settings.
git clone --depth 1 https://github.com/ReScienceLab/opc-skills.git mkdir -p ~/.claude/skills cp -r opc-skills/skills/nanobanana ~/.claude/skills/nanobanana
Then just ask in plain language, for example: “Generate a cozy coffee shop interior in a 35mm film style, 16:9.”
More AI Images & Photos skills
GPT Image 2 Style Library
35kTurns a rough image idea into a structured, ready-to-paste GPT Image 2 prompt, built from a library of tested templates, style tags and example cases.
Baoyu Article Illustrator
27kReads your article, finds the spots that need a picture, and generates matching illustrations such as infographics, flowcharts and scenes.
GPT Image 2
14kWrites structured GPT Image 2 prompts from about 80 templates and, with an OpenAI key, generates or edits the images and saves them for you.