nano-banana-illustrator
Generate illustrations using Google's Nano Banana (Gemini Image) API. Use when creating images, illustrations, visual content from text prompts, or illustrating documents/stories. Defaults to Pro model with landscape (16:9) aspect ratio. Requires GOOGLE_API_KEY in environment.
When & Why to Use This Skill
The Nano Banana Illustrator is a high-performance Claude skill that integrates Google's Gemini Image API to generate professional-grade illustrations and visual assets directly from text prompts. It supports 4K quality via the Pro model and offers versatile aspect ratios like landscape, portrait, and cinematic, making it an essential tool for automating visual content creation within AI-driven workflows.
Use Cases
- Editorial Illustration: Automatically generate high-quality images to accompany blog posts, news articles, or internal documents based on the text content.
- Marketing Asset Generation: Create custom visual content for social media campaigns and advertisements in specific aspect ratios (e.g., 16:9 for YouTube, 9:16 for TikTok/Reels).
- Creative Storytelling: Enhance digital storytelling by generating consistent visual scenes and character illustrations from descriptive narrative prompts.
- Rapid Prototyping: Quickly produce mood boards, concept art, and visual placeholders for UI/UX design and branding projects using the 'Flash' model for speed.
| name | nano-banana-illustrator |
|---|---|
| description | Generate illustrations using Google's Nano Banana (Gemini Image) API. Use when creating images, illustrations, visual content from text prompts, or illustrating documents/stories. Defaults to Pro model with landscape (16:9) aspect ratio. Requires GOOGLE_API_KEY in environment. |
Nano Banana Illustrator
Generate images using Google's Gemini Image models.
Setup
pip install google-genai
export GOOGLE_API_KEY=your_key_here
Usage
python generate_image.py "A sunset over mountains" -o sunset.jpg
python generate_image.py "A robot" -o robot.jpg -a portrait -m flash
Models
pro(default): High quality, 4Kflash: Fast generation
Aspect Ratios
landscape(default): 16:9portrait: 9:16square: 1:1cinematic: 21:9