Agent skill

nano-banana-pro

Generate images using Google's Nano Banana Pro (gemini-3-pro-image-preview). Accepts text prompts and optionally images (for editing/transformation) as INPUT. Returns generated IMAGES as OUTPUT. Use when user asks to create, generate, edit, or draw images, infographics, visualizations, diagrams, charts, or illustrations. Excellent for data-accurate infographics and text rendering.

Stars 149
Forks 27

Install this agent skill to your Project

npx add-skill https://github.com/nicepkg/ai-workflow/tree/main/workflows/talk-to-slidev-workflow/.claude/skills/nano-banana-pro

SKILL.md

Nano Banana Pro Image Generator

Generate images using Google's advanced Nano Banana Pro model (gemini-3-pro-image-preview).

Prerequisites

The user must have GEMINI_API_KEY environment variable set with a valid Google AI API key.

Usage

The script is located in the same directory as this SKILL.md file. Run it with uv run:

bash
uv run /path/to/skills/nano-banana-pro/generate_image.py "your prompt" -o output.png

When this skill is invoked, locate generate_image.py in the skill directory and run it.

Parameters

Parameter Required Description
prompt Yes Text description of the image to generate or transformation to apply
-o, --output Yes Output filename (you decide the path based on context)
-i, --image No Input image(s) for editing/transformation or as context/reference (can be used multiple times)
--aspect-ratio No One of: 1:1, 2:3, 3:2, 3:4, 4:3, 4:5, 5:4, 9:16, 16:9, 21:9 (default: 1:1)
--size No Image size: 1K, 2K, 4K (default: 1K)

Examples

Basic image generation:

bash
uv run generate_image.py "A sunset over mountains" -o sunset.png

Infographic with specific aspect ratio:

bash
uv run generate_image.py "Infographic showing the water cycle with labeled stages" -o water_cycle.png --aspect-ratio 9:16

High-resolution ultrawide:

bash
uv run generate_image.py "Professional photo of a modern office space" -o office.png --aspect-ratio 21:9 --size 4K

Edit an existing image:

bash
uv run generate_image.py "Add a sunset sky to this image" -i photo.png -o edited.png

Transform with style:

bash
uv run generate_image.py "Make this look like a watercolor painting" -i input.jpg -o watercolor.png

Combine multiple images:

bash
uv run generate_image.py "Create a collage blending these images together" -i img1.png -i img2.png -o collage.png

Use image as context/reference:

bash
uv run generate_image.py "Generate a new landscape in the same style as this reference" -i reference.png -o new_landscape.png

Model Capabilities

Nano Banana Pro excels at:

  • Accurate infographics with real data (uses Google Search grounding)
  • Text rendering in images
  • Image editing and transformation from input images
  • Context-aware generation using reference images for style, composition, or subject
  • Cartographic visualizations and maps
  • Detailed instruction following
  • Chain-of-thought reasoning for complex visual tasks

Output

The script prints:

  • Progress message while generating
  • Path to saved image on success
  • Any text response from the model
  • Error message if no image was generated

Expand your agent's capabilities with these related and highly-rated skills.

nicepkg/ai-workflow

workflow-creator

Create complete Claude Code workflow directories with curated skills. Use when user wants to (1) create a new workflow for specific use case (media creator, developer, marketer, etc.), (2) set up a Claude Code project with pre-configured skills, (3) download and organize skills from GitHub repositories, or (4) generate README.md and AGENTS.md documentation for workflows. Triggers on phrases like "create workflow", "new workflow", "set up workflow", "build a xxx-workflow".

149 27
Explore
nicepkg/ai-workflow

add-new-skills-to-workflow

Add new skills to an existing workflow and update all related documentation. Use when user wants to add skills from GitHub URLs to a workflow (e.g., "add this skill to the workflow", "为工作流添加技能"). Triggers on adding skills to workflows, updating workflow documentation after skill additions.

149 27
Explore
nicepkg/ai-workflow

remove-old-skills-from-workflow

Guide for removing skills from an existing workflow and updating all related documentation. Use when user wants to remove skills from a workflow (e.g., "remove skill", "delete skill", "移除技能", "删除技能").

149 27
Explore
nicepkg/ai-workflow

legacy-to-ai-ready

Transform legacy codebases into AI-ready projects with Claude Code configurations. Use when (1) analyzing old projects to generate AI coding configurations, (2) creating CLAUDE.md, skills, subagents, slash commands, hooks, or rules for existing projects, (3) user wants to enable vibe coding for a codebase, (4) onboarding new team members with AI-assisted development, (5) user mentions "make project AI-ready", "generate Claude config", or "create coding standards for AI".

149 27
Explore
nicepkg/ai-workflow

skill-downloader

Download and install Claude Code skills from various sources. Supports GitHub repositories, compressed archives (.zip, .tar.gz, .skill), and direct URLs. Use when user wants to download, install, or add a skill from GitHub, URL, or archive file. Triggers on "download skill", "install skill", "add skill from", "get skill".

149 27
Explore
nicepkg/ai-workflow

skill-creator

Guide for creating effective skills. This skill should be used when users want to create a new skill (or update an existing skill) that extends Claude's capabilities with specialized knowledge, workflows, or tool integrations.

149 27
Explore

Didn't find tool you were looking for?

Be as detailed as possible for better results