Now liveThe Skillselion MCP - thousands of ranked skills, loaded into your agent mid-task. No install.Get it →
cnemri avatar

Nano Banana Use

  • 70 installs
  • 124 repo stars
  • Updated February 6, 2026
  • cnemri/google-genai-skills

Generates, edits, and composes images with Gemini Nano Banana models via portable uv-run Python scripts, with API-key or Vertex AI auth.

About

Runs image generation, editing, and multi-image composition through Gemini Nano Banana models via ready-made scripts. A developer uses it to create or modify images from the CLI without writing SDK code.

  • generate, edit, and compose scripts run with uv
  • Configurable model, aspect ratio, and safety filter

Nano Banana Use by the numbers

  • 70 all-time installs (skills.sh)
  • Ranked #848 of 1,335 Generative Media skills by installs in the Skillselion catalog
  • Data as of Jul 29, 2026 (Skillselion catalog sync)
npx skills add https://github.com/cnemri/google-genai-skills --skill nano-banana-use

Add your badge

Show developers this skill is listed on Skillselion. Paste this into your README.

Listed on Skillselion
Installs70
repo stars124
Last updatedFebruary 6, 2026
Repositorycnemri/google-genai-skills

What it does

Generates, edits, and composes images with Gemini Nano Banana models via portable uv-run Python scripts, with API-key or Vertex AI auth.

Files

SKILL.mdMarkdownGitHub ↗

Nano Banana Use

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.

Prerequisites

Ensure you have one of the following authentication methods configured in your environment:

1. API Key:

  • GOOGLE_API_KEY or GEMINI_API_KEY

2. Vertex AI:

  • GOOGLE_CLOUD_PROJECT
  • GOOGLE_CLOUD_LOCATION
  • GOOGLE_GENAI_USE_VERTEXAI=1

Usage

Generate an Image

Step 1: Confirm Parameters Before running the script, confirm the following parameters with the user or state the defaults you will use:

  • Prompt: The image description.
  • Model: Default is gemini-3-pro-image-preview.
  • Aspect Ratio: Default is 1:1.
  • Safety Filter: Default is 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.png

Edit an Image

Modify 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.png

Compose Images

Generate 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.png

Options

  • prompt: 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.

Related skills

This week in AI coding

Five minutes, every Monday - the tools, releases and tactics for developers.

unsubscribe anytime.