nano-banana-illustrator

omkamal's avatarfrom omkamal

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.

⭐0stars🔀0forks📁View on GitHub🕐Updated Dec 17, 2025⬇️1downloads

When & Why to Use This Skill

The Nano Banana Illustrator is a high-performance Claude skill that integrates Google's Gemini Image API to automate professional image generation. It streamlines visual content workflows by transforming text prompts into high-quality 4K illustrations, offering flexible aspect ratios and model selection (Pro for quality, Flash for speed) to enhance digital storytelling and creative production.

Use Cases

  • Content Illustration: Automatically generate high-quality visuals to accompany blog posts, articles, or technical documentation to increase reader engagement.
  • Marketing Asset Creation: Produce tailored visual content for social media, ads, and landing pages using specific aspect ratios like landscape (16:9) or portrait (9:16).
  • Creative Storyboarding: Rapidly visualize scenes and concepts for stories, scripts, or presentations directly from descriptive text prompts.
  • Design Prototyping: Generate high-fidelity placeholder art and conceptual visuals during the UI/UX design phase to communicate ideas more effectively.
namenano-banana-illustrator
descriptionGenerate 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, 4K
  • flash: Fast generation

Aspect Ratios

  • landscape (default): 16:9
  • portrait: 9:16
  • square: 1:1
  • cinematic: 21:9