nano-banana-pro

v2026.09.24

Generate images using AI. Use when the user asks to create, generate, or make images, pictures, graphics, illustrations, visuals, or artwork. Also use for image editing with reference images.

GitHub
安装命令
npx skhub add idanbeck/nano-banana-pro
Markdown
SKILL.md

Nano Banana Pro - AI Image Generation

Generate images using Google's Gemini 3 Pro Image model.

Usage

Run the generation script:

python ~/.claude/skills/nano-banana-pro/generate_image.py "your prompt here" [options]

Options

OptionDescriptionDefault
--resolutionOutput size: 1K, 2K, or 4K2K
--aspectAspect ratio: 16:9, 1:1, 4:3, 9:16, 3:416:9
--outputOutput directory path./generated_images
--referenceReference image(s) for style/editing (up to 14)None
--formatOutput format: png, jpeg, webppng
--no-textAdd instruction to exclude text/typographyoff
--cinematicAdd cinematic film style (ARRI, shallow DoF, grain)off
--photorealisticAdd photorealistic style hintsoff

Examples

Basic generation

python ~/.claude/skills/nano-banana-pro/generate_image.py "a serene mountain landscape at sunset, photorealistic"

Square image for social media

python ~/.claude/skills/nano-banana-pro/generate_image.py "abstract geometric pattern in blue and gold" --aspect 1:1 --resolution 2K

High-res with custom output

python ~/.claude/skills/nano-banana-pro/generate_image.py "futuristic city skyline" --resolution 4K --output ~/Pictures/ai-generated

Style transfer with reference image

python ~/.claude/skills/nano-banana-pro/generate_image.py "transform this into a watercolor painting" --reference input.jpg

Image editing with reference

python ~/.claude/skills/nano-banana-pro/generate_image.py "add a rainbow in the sky" --reference landscape.png

Output

Images are saved with timestamp filenames:

  • Format: {timestamp}_{sanitized_prompt}.{format}
  • Example: 20260106_143052_serene_mountain_landscape.png

The script outputs the full path to the generated image.

Requirements

  • Python 3.10+
  • google-genai library
  • GEMINI_API_KEY environment variable

Notes

  • Gemini 3 Pro Image requires paid billing (no free tier)
  • Generated images include SynthID watermarking
  • Reference images enable style transfer and editing capabilities
  • Raw prompts by default: Prompts are sent unadulterated. Use --no-text, --cinematic, or --photorealistic flags to add style hints.
发现
标签

此技能尚未发布标签。

版本
最新版本元数据

版本

v2026.09.24

发布时间

2026年9月24日

分类

未分类

许可证

未指定

源路径

nano-banana-pro

默认分支

main

最新提交

37ba03e

Tree SHA

265ac91