Generate images using Google's Nano Banana Pro (gemini-3-pro-image-preview). Use when user asks to create, generate, or draw images, infographics, visualizations, diagrams, charts, illustrations, or any visual content. Excellent for data-accurate infographics and text rendering.
Generate images using Google's Nano Banana Pro model. Use when users request to create images, infographics, diagrams, charts, or visual content with accurate text rendering and data visualization.
/plugin marketplace add QuesmaOrg/quesma-claude-skills/plugin install gemini-skills@quesma-claude-skillsThis skill is limited to using the following tools:
generate_image.pyGenerate images using Google's advanced Nano Banana Pro model (gemini-3-pro-image-preview).
The user must have GEMINI_API_KEY environment variable set with a valid Google AI API key.
The script is located in the same directory as this SKILL.md file. Run it with uv run:
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.
| Parameter | Required | Description |
|---|---|---|
prompt | Yes | Text description of the image to generate |
-o, --output | Yes | Output filename (you decide the path based on context) |
--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) |
Basic image generation:
uv run generate_image.py "A sunset over mountains" -o sunset.png
Infographic with specific aspect ratio:
uv run generate_image.py "Infographic showing the water cycle with labeled stages" -o water_cycle.png --aspect-ratio 9:16
High-resolution ultrawide:
uv run generate_image.py "Professional photo of a modern office space" -o office.png --aspect-ratio 21:9 --size 4K
Nano Banana Pro excels at:
The script prints: