Gemini Image
tyrchen/geektime-bootcamp-ai
Reference guide for using google-genai Python library to generate images with gemini-3-pro-image-preview model.
Generate, edit, and compose images using Gemini Nano Banana models via portable Python scripts.
$ npx skills add cnemri/google-genai-skills --skill nano-banana-use -a claude-codeProject install by default; add -g for ~/.claude/skills/.
$ gh skill install cnemri/google-genai-skills nano-banana-use --agent claude-codeProject scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).
$ git clone --depth 1 https://github.com/cnemri/google-genai-skills.git skills-src && mkdir -p .claude/skills && cp -r skills-src/skills/nano-banana-use .claude/skills/nano-banana-use && rm -rf skills-srcUse ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.
Claude Code skills documentation · loads skills from .claude/skills/
Install the "nano-banana-use" agent skill from https://github.com/cnemri/google-genai-skills/tree/main/skills/nano-banana-use into .claude/skills/nano-banana-use/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "nano-banana-use", then confirm the skill loads.Claude Code copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$skill-installer install https://github.com/cnemri/google-genai-skills/tree/main/skills/nano-banana-useType this inside Codex. $skill-installer <name> installs a curated skill from openai/skills. The installer writes to $CODEX_HOME/skills (default ~/.codex/skills). Restart Codex if the skill does not show up.
$ npx skills add cnemri/google-genai-skills --skill nano-banana-use -a codexProject install goes to .agents/skills/; add -g for ~/.codex/skills/.
$ gh skill install cnemri/google-genai-skills nano-banana-use --agent codexProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/cnemri/google-genai-skills.git skills-src && mkdir -p .agents/skills && cp -r skills-src/skills/nano-banana-use .agents/skills/nano-banana-use && rm -rf skills-srcUse ~/.agents/skills/ instead of .agents/skills for a personal install.
Codex skills documentation · loads skills from .agents/skills/
Install the "nano-banana-use" agent skill from https://github.com/cnemri/google-genai-skills/tree/main/skills/nano-banana-use into .agents/skills/nano-banana-use/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "nano-banana-use", then confirm the skill loads.Codex copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ npx skills add cnemri/google-genai-skills --skill nano-banana-use -a cursorProject install goes to .agents/skills/; add -g for ~/.cursor/skills/.
$ gh skill install cnemri/google-genai-skills nano-banana-use --agent cursorProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/cnemri/google-genai-skills.git skills-src && mkdir -p .cursor/skills && cp -r skills-src/skills/nano-banana-use .cursor/skills/nano-banana-use && rm -rf skills-srcUse ~/.cursor/skills/ instead of .cursor/skills for a personal install.
Cursor skills documentation · loads skills from .cursor/skills/, .agents/skills/, .claude/skills/, .codex/skills/
Install the "nano-banana-use" agent skill from https://github.com/cnemri/google-genai-skills/tree/main/skills/nano-banana-use into .cursor/skills/nano-banana-use/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "nano-banana-use", then confirm the skill loads.Cursor copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ gemini skills install https://github.com/cnemri/google-genai-skills.git --path skills/nano-banana-use--scope user (default) or --scope workspace; --path is the subfolder of the repo that holds the skill; --consent skips the security confirmation prompt.
$ npx skills add cnemri/google-genai-skills --skill nano-banana-use -a gemini-cliProject install goes to .agents/skills/; add -g for ~/.gemini/skills/.
$ gh skill install cnemri/google-genai-skills nano-banana-use --agent gemini-cliProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/cnemri/google-genai-skills.git skills-src && mkdir -p .gemini/skills && cp -r skills-src/skills/nano-banana-use .gemini/skills/nano-banana-use && rm -rf skills-srcUse ~/.gemini/skills/ instead of .gemini/skills for a personal install, then run /skills reload.
Gemini CLI skills documentation · loads skills from .gemini/skills/, .agents/skills/
Install the "nano-banana-use" agent skill from https://github.com/cnemri/google-genai-skills/tree/main/skills/nano-banana-use into .gemini/skills/nano-banana-use/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "nano-banana-use", then confirm the skill loads.Gemini CLI copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ gh skill install cnemri/google-genai-skills nano-banana-useInstalls for Copilot at project scope by default; add --scope user for a personal install. Preview a skill first with gh skill preview. Needs GitHub CLI 2.90.0 or later (public preview).
$ npx skills add cnemri/google-genai-skills --skill nano-banana-use -a github-copilotProject install goes to .agents/skills/; add -g for ~/.copilot/skills/.
$ git clone --depth 1 https://github.com/cnemri/google-genai-skills.git skills-src && mkdir -p .github/skills && cp -r skills-src/skills/nano-banana-use .github/skills/nano-banana-use && rm -rf skills-srcUse ~/.copilot/skills/ instead of .github/skills for a personal install. Commit .github/skills so cloud agent and code review can use it.
GitHub Copilot skills documentation · loads skills from .github/skills/, .claude/skills/, .agents/skills/
Install the "nano-banana-use" agent skill from https://github.com/cnemri/google-genai-skills/tree/main/skills/nano-banana-use into .github/skills/nano-banana-use/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "nano-banana-use", then confirm the skill loads.GitHub Copilot copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ npx skills add cnemri/google-genai-skills --skill nano-banana-use -a opencodeOpenCode documents no install command of its own. Project install goes to .agents/skills/; add -g for ~/.config/opencode/skills/.
$ gh skill install cnemri/google-genai-skills nano-banana-use --agent opencodeProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/cnemri/google-genai-skills.git skills-src && mkdir -p .opencode/skills && cp -r skills-src/skills/nano-banana-use .opencode/skills/nano-banana-use && rm -rf skills-srcUse ~/.config/opencode/skills/ instead of .opencode/skills for a personal install.
OpenCode skills documentation · loads skills from .opencode/skills/, .claude/skills/, .agents/skills/
Install the "nano-banana-use" agent skill from https://github.com/cnemri/google-genai-skills/tree/main/skills/nano-banana-use into .opencode/skills/nano-banana-use/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "nano-banana-use", then confirm the skill loads.OpenCode copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
nano-banana-useGenerate, edit, and compose images using Gemini Nano Banana models via portable Python scripts.
Nano Banana Use is an agent skill from cnemri/google-genai-skills. Generate, edit, and compose images using Gemini Nano Banana models via portable Python scripts. Handles authentication via API Key or Vertex AI environment variables. Available parameters: prompt, model, aspect-ratio, safety-filter-level. Always confirm parameters with the user or explicitly state defaults before running.
Its SKILL.md is about 590 tokens, which your agent loads only when the skill is triggered. The skill folder holds 4 other files, including scripts (for example `scripts/compose_image.py`, `scripts/edit_image.py` and `scripts/generate_image.py`).
It sits in Media & Creative, covering Image generation and LLM guardrails. It works with Google Gemini, Vertex AI and Python. The licence is MIT.
2 steps, taken from the first numbered list in SKILL.md.
Read from SKILL.md and the folder at commit 7277476. It shows what the files ask for, not the result of running them.
Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.
From allowed-tools in the SKILL.md frontmatter.
Ships 3 files in scripts/ (Python), which the agent can run.
Shell commands in SKILL.md call:
uvFrom the folder's file list and the shell code blocks in SKILL.md.
No URLs in SKILL.md. Its commands use uv, which can reach the network depending on how they are called.
From URLs in SKILL.md, links to its own repository left out.
Names these keys or tokens, usually read from environment variables:
GOOGLE_API_KEYGEMINI_API_KEYFrom names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.
Nano Banana Use loads about 587 tokens when it runs. Until then it costs about 85 tokens; SKILL.md has 186 words of instructions outside code blocks.
Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.
The automated check found no risky patterns in SKILL.md.
Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); the scripts in this folder are not scanned.
The full file from cnemri/google-genai-skills at commit 7277476, republished under its MIT licence (© cnemri). 186 words, ~587 tokens.
.claude/skills/nano-banana-use/SKILL.md (or your agent's skills folder). This skill also uses 3 other files; get the full folder from GitHub.Use this skill to generate, edit, and compose images using Gemini's Nano Banana models (gemini-2.5-flash-image and gemini-3-pro-image-preview).
This skill uses portable Python scripts managed by uv.
Ensure you have one of the following authentication methods configured in your environment:
API Key:
GOOGLE_API_KEY or GEMINI_API_KEYVertex AI:
GOOGLE_CLOUD_PROJECTGOOGLE_CLOUD_LOCATIONGOOGLE_GENAI_USE_VERTEXAI=1Step 1: Confirm Parameters Before running the script, confirm the following parameters with the user or state the defaults you will use:
gemini-3-pro-image-preview.1:1.BLOCK_MEDIUM_AND_ABOVE.Step 2: Run the Script
Run the python script using uv:
uv run skills/nano-banana-use/scripts/generate_image.py "A futuristic banana city" --output city.pngModify an existing image based on a text prompt.
uv run skills/nano-banana-use/scripts/edit_image.py original.png "Make the sky purple" --output edited.pngGenerate a new image based on multiple input images and a prompt.
uv run skills/nano-banana-use/scripts/compose_image.py --image style.png --image subject.jpg "A painting of the subject in the style of the first image" --output composition.pngprompt: The text description of the image.--model: The model to use. Defaults to gemini-3-pro-image-preview.--output: The filename for the saved image. Defaults to generated_image.png.--aspect-ratio: The aspect ratio of the generated image. Defaults to 1:1. Supported: 1:1, 16:9, 4:3, 3:4, 9:16.--safety-filter-level: Safety filter threshold. Defaults to BLOCK_MEDIUM_AND_ABOVE.© cnemri, MIT. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file
SKILL.md and 3 other files (scripts) in skills/nano-banana-use of cnemri/google-genai-skills.
Open the folder on GitHubat commit 7277476
Nano Banana Use next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.
| Skill | Stars | Used in | Tokens | Auto-check | Licence | Repo updated |
|---|---|---|---|---|---|---|
| Nano Banana Use this skillcnemri/google-genai-skills | 127 | — | ~587 | Automated safety check: Pass | MIT | |
| Gemini Imagetyrchen/geektime-bootcamp-ai | 236 | — | ~1.1k | Automated safety check: Pass | None | |
| Gemini Interactions APIAyuilos/Miffan | 225 | — | ~4.6k | Automated safety check: Pass | AGPL-3.0 | |
| Gflow CLIffroliva/gflow-cli | 278 | — | ~4.8k | Automated safety check: Notes | MIT | |
| Nanobananakenneth-liao/ai-launchpad-marketplace | 126 | — | ~4k | Automated safety check: Notes | None | |
| Generate Imagehappycapy-ai/Happycapy-skills | 137 | — | ~2k | Automated safety check: Notes | MIT |
tyrchen/geektime-bootcamp-ai
Reference guide for using google-genai Python library to generate images with gemini-3-pro-image-preview model.
Ayuilos/Miffan
A skill your agent uses when writing code that calls the Gemini API for text generation, multi-turn chat, multimodal understanding, image generation, video generation, streaming responses…
ffroliva/gflow-cli
A skill your agent uses when the user wants to drive Google Flow (Veo image-to-video, Veo text-to-video, Imagen / Nano Banana image generation) from the terminal or a script — including…
kenneth-liao/ai-launchpad-marketplace
AI image generation and editing using Google Gemini models. An agent skill from kenneth-liao/ai-launchpad-marketplace.
happycapy-ai/Happycapy-skills
Generate and transform images using AI Gateway API. An agent skill from happycapy-ai/Happycapy-skills.
feiskyer/claude-code-settings
Generate or edit images via Google Gemini (nanobanana). An agent skill from feiskyer/claude-code-settings.
cnemri/google-genai-skills
Perform autonomous, multi-step research using the Gemini Deep Research Agent (Interactions API).
cnemri/google-genai-skills
Generate (TTS), Transcribe (STT), and Clone voices using Google's GenAI and Cloud Speech SDKs.
cnemri/google-genai-skills
Create and edit videos using Google's Veo 2 and Veo 3 models.
cnemri/google-genai-skills
Search and retrieve Google's developer documentation using the Developer Knowledge API.
cnemri/google-genai-skills
Expert guidance on the Google Agent Development Kit (ADK) for Python.
cnemri/google-genai-skills
Generate and edit high-quality images using Gemini 2.5 Flash Image and Gemini 3 Pro Image (Nano Banana).
Works with
Categories
Generate, edit, and compose images using Gemini Nano Banana models via portable Python scripts. Nano Banana Use is an agent skill from cnemri/google-genai-skills. Generate, edit, and compose images using Gemini Nano Banana models via portable Python scripts.
Nano Banana Use fits situations like: tasks that involve Image generation; tasks that involve LLM guardrails.
Run `npx skills add cnemri/google-genai-skills --skill nano-banana-use -a claude-code`. Or copy the skill folder (skills/nano-banana-use in cnemri/google-genai-skills) into .claude/skills/nano-banana-use in your project. Claude Code loads it when a task matches its description.
Run `npx skills add cnemri/google-genai-skills --skill nano-banana-use -a codex`. Or copy the skill folder (skills/nano-banana-use in cnemri/google-genai-skills) into .agents/skills/nano-banana-use in your project. Codex loads it when a task matches its description.
Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add cnemri/google-genai-skills --skill nano-banana-use -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/nano-banana-use, .gemini/skills/nano-banana-use, .github/skills/nano-banana-use and .opencode/skills/nano-banana-use in your project.
Going by SKILL.md and its folder, Nano Banana Use needs Python for the scripts in its folder, the command-line tools its instructions call (uv) and credentials named GOOGLE_API_KEY and GEMINI_API_KEY. Our summary lists: Python 3; A credential in GOOGLE_API_KEY; A credential in GEMINI_API_KEY.
SKILL.md contains no URLs. Its commands use uv, which can reach the network depending on how they are called. This is read from the text; nothing was executed.
Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. The check reads SKILL.md only: the scripts in the folder are not scanned, so read them before running anything.
Nano Banana Use is published under the MIT licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.
About 587 tokens (SKILL.md is roughly 2.3k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.
Skills that share tags, products or a category with Nano Banana Use: Gemini Image (tyrchen/geektime-bootcamp-ai, 236 stars), Gemini Interactions API (Ayuilos/Miffan, 225 stars), Gflow CLI (ffroliva/gflow-cli, 278 stars) and Nanobanana (kenneth-liao/ai-launchpad-marketplace, 126 stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.
cnemri (a GitHub user) maintains it in cnemri/google-genai-skills, which has 127 GitHub stars. The repository holds 10 skills in this directory. The repository was last updated on February 6, 2026.
Source: cnemri/google-genai-skills on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.