Generate images using Google's Nano Banana Pro (Gemini 3 Pro Image) with workflow-based prompting
Generate professional images, infographics, and diagrams using Google's Nano Banana Pro model with text-to-image, editing, and multi-image composition capabilities. Use this when users request visual content creation, infographics, diagrams, or image editing, including iterative refinement with reference images and workflow-based prompting.
/plugin marketplace add krishagel/geoffrey/plugin install geoffrey@geoffreyThis skill is limited to using the following tools:
scripts/compose.pyscripts/edit.pyscripts/generate.pyworkflows/diagram.mdworkflows/infographic.mdGenerate professional images, infographics, and diagrams using Google's Nano Banana Pro model (gemini-3-pro-image-preview).
Nano Banana Pro (released November 20, 2025):
All scripts use Python via uv run with inline dependencies.
uv run scripts/generate.py "prompt" output.png [aspect_ratio] [size]
Examples:
# Basic image
uv run scripts/generate.py "A cozy coffee shop in autumn" coffee.png
# Infographic with specific aspect ratio
uv run scripts/generate.py "Infographic explaining how neural networks work" nn.png 16:9 2K
# 4K professional image
uv run scripts/generate.py "Professional headshot, studio lighting" headshot.png 3:2 4K
uv run scripts/edit.py input.png "edit instructions" output.png
Examples:
# Edit existing image
uv run scripts/edit.py photo.png "Change the background to a beach sunset" edited.png
uv run scripts/compose.py "prompt" output.png --refs image1.png image2.png
Examples:
# Combine styles from multiple images
uv run scripts/compose.py "Combine these styles into a logo" logo.png --refs style1.png style2.png
Workflows provide structured approaches for specific visual types. Each workflow follows the PAI 6-step editorial process:
When generating images, follow the appropriate workflow:
1. What data/concept needs visualization?
2. What's the key insight or takeaway?
3. Aspect ratio: 16:9 (landscape) recommended
4. Include: clear hierarchy, minimal text, supporting icons
5. Generate at 2K minimum for text clarity
1. What system/process is being illustrated?
2. What are the key components and relationships?
3. Style: flat colors, clean lines, minimal detail
4. Generate at 2K for label clarity
Requires GEMINI_API_KEY environment variable. This should be set from Geoffrey's secrets:
source ~/Library/Mobile\ Documents/com~apple~CloudDocs/Geoffrey/secrets/.env
By default, save images to /tmp/ or user-specified paths. For persistent storage, use:
~/Library/Mobile Documents/com~apple~CloudDocs/Geoffrey/images/
DO NOT use the Read tool on generated images.
Why:
Workflow:
| Size | Cost per Image |
|---|---|
| 1K | Free tier / $0.04 |
| 2K | $0.134 |
| 4K | $0.24 |
Creating algorithmic art using p5.js with seeded randomness and interactive parameter exploration. Use this when users request creating art using code, generative art, algorithmic art, flow fields, or particle systems. Create original algorithmic art rather than copying existing artists' work to avoid copyright violations.
Applies Anthropic's official brand colors and typography to any sort of artifact that may benefit from having Anthropic's look-and-feel. Use it when brand colors or style guidelines, visual formatting, or company design standards apply.
Create beautiful visual art in .png and .pdf documents using design philosophy. You should use this skill when the user asks to create a poster, piece of art, design, or other static piece. Create original visual designs, never copying existing artists' work to avoid copyright violations.