generate-nanobanana
Lets your agent create and edit videos and images using advanced models. It can use images as reference and log usage.
What it does
This tool creates and edits images and videos using Google Gemini's advanced models. You can use reference images to guide the creation, and everything is logged with details about the cost and the prompt used.
When to use it
- ✓When you want to create an image or video from a description.
- ✓When you want to use an existing image as inspiration or a template.
- ✓When you want to ensure the creation follows a specific style or brand.
Example of what to ask your AI
“Create an image of an astronaut cat using the reference image 'my_cat.jpg' and the brand style 'company_logo.png'.”
Want more? Open the sections below.
How to use
The easiest way: copy the message below and paste it into Claude, ChatGPT, Cursor or any AI. It reads the skill and follows the instructions.
Skill link
Ready-to-paste message
How it works
The tool selects the best Google Gemini model for your task, whether for images or videos. It uses your instructions and, if provided, reference images to create the output. Before each paid use, it asks for your permission and informs you of the cost.
Installation
Easiest way: copy the skill link and paste it into Claude, ChatGPT or Cursor asking it to follow the instructions.
In the terminal (Claude Code, Codex, Cursor), in your project folder:
npx skills add sickn33/agentic-awesome-skills --skill generate-nanobananaOr download just the file:
curl -L https://raw.githubusercontent.com/sickn33/agentic-awesome-skills/main/plugins/agentic-awesome-skills-claude/skills/generate-nanobanana/SKILL.md -o SKILL.mdTechnical content (original SKILL.md)
Original text by the author, straight from GitHub.
Generate Nanobanana
Overview
generate-nanobanana calls Google's Gemini media models directly through the Gemini API — no third-party routing layer — to generate and edit images and video. It routes each request to the right model tier (draft, standard, quality, or video), loads real reference images instead of relying on text descriptions, gates every paid call behind explicit user approval, and writes a JSON sidecar next to every output recording the exact prompt, model, and cost. It registers a single /generate command.
This skill adapts the workflow (model routing, reference-image handling, sidecar logging) from AntonioCardenas/generate-nanobanana. The actual request shapes in references/ were independently verified against the live Gemini API docs rather than copied from that upstream repo, whose examples predate Google's migration to the Interactions API and use stale, non-functional request methods. Model IDs, request contracts, and pricing all change on Google's own schedule — re-verify against the docs linked from each reference file before relying on this skill in a new session.
When to Use This Skill
- Use when the user asks to generate, create, or make an image or video, or wants a thumbnail.
- Use when the user wants to animate a still image, or says "generate on brand" or "generate from reference".
- Use when the user wants to link or import a folder of reference images (logos, faces, product shots) for reuse across generations.
- Use when the user invokes
/generateor/generate frf <set>, even without naming a specific model.
How It Works
Step 1: Route to a model
Pick the model for the job and read its reference file under references/ before calling anything — each file holds the current, verified request shape for that model.
| Task | Model | Model ID | Reference |
|---|---|---|---|
| Image (draft) | Nano Banana 2 Lite | gemini-3.1-flash-lite-image |
references/gemini-3.1-flash-lite-image.md |
| Image (standard) | Nano Banana 2 | gemini-3.1-flash-image |
references/gemini-3.1-flash-image.md |
| Image (quality, multi-image fusion) | Nano Banana Pro | gemini-3-pro-image |
references/gemini-3-pro-image.md |
| Video | Gemini Omni Flash | gemini-omni-flash-preview |
references/gemini-omni-flash-preview.md |
All four models are called through the Interactions API (client.interactions.create(...), REST POST /v1beta/interactions) — see each reference file for the exact shape, including reference-image input and, for video, large-output retrieval. Every call is billable; see Step 3.
Draft on Nano Banana 2 Lite first and rerun the picked favorite on Nano Banana 2 or Pro; reserve Pro for heavy multi-image fusion, character-consistent series, or dense on-image text.
Step 2: Load references
Pull real reference images from generations/refs/, or from a named reference set when the request says "on brand" or invokes /generate frf <set>. Never substitute a text description for a reference image (logo, face, brand mark) that already exists — stop and ask if a named reference is missing instead of approximating it.
Reference sets are registered by importing (copying files into generations/refs/<set>/, a snapshot) or linking (recording the source path in generations/refs/sets.json, read live at generation time). A set may carry a style.md whose contents are prepended verbatim to every prompt generated from that set.
Step 3: Generate
Call the Gemini API per the model's reference file. Every generation — image or video — is billable and requires an explicit approval gate: quote the current per-unit price from the live pricing page for the selected model and get explicit user go-ahead before that specific call. One approval covers exactly one call; a rerun needs its own. Run generations one at a time, never in parallel, so approval and cost tracking stay accurate.
…
FAQ
Can I generate videos?
Yes, the tool can generate videos using models like Gemini Omni Flash.
How do reference images work?
You can provide existing images (like logos or photos) for the AI to use as a base or inspiration for new creations.
Does each creation have a cost?
Yes, every image or video creation is paid. The tool will always show the cost and ask for your approval before proceeding.
Details
Original description by the author
Generate and edit images/video with Google's Gemini media models (Nano Banana 2/Pro, Gemini Omni Flash), with cost-approval gates, reference-image support, and a prompt/output log per call.
Popularity
- GitHub stars
- 48k
- Ranking position
- #3098
- License
- MIT
- Updated
- 10/15/2026
Comments
- …
More skills from this repository
00-andruia-consultant
Helps your agent start or improve AI projects. It analyzes code, suggests tools, and creates action plans in Spanish.
sickn33/agentic-awesome-skills
007
Lets your agent perform security audits and threat modeling. It's useful for protecting projects against attacks and vulnerabilities.
sickn33/agentic-awesome-skills
10-andruia-skill-smith
Helps your agent create or improve AI tools. It defines how tools work, writes documentation, and validates the structure.
sickn33/agentic-awesome-skills
20-andruia-niche-intelligence
Lets your agent create a summary about a specific industry. It's useful for understanding the context, rules, usage patterns, and risks of a project, using reliable sources.
sickn33/agentic-awesome-skills
Similar skills
taste-application
Helps your agent create videos in a specific style. It can copy the editing rhythm from a reference video, generate new scenes, adjust colors, and edit everything together with other footage.
affaan-m/ECC
taste-distillation
Lets your agent analyze videos to create a style pack. This includes colors, cutting rhythm, and visual elements that can be reused to create new videos with the same look.
affaan-m/ECC
ui-demo
Has your agent record polished UI demo videos. Useful for creating tutorials or showing how a web app works.
affaan-m/ECC