Back to list
r1di

generate

by r1di

Windows-compatible fork of BuildAtScale Claude Code plugins: git workflow commands (/commit, /pr, /ceo) + Nano Banana Pro AI image generation with Gemini. Fixes 'Could not fork child process' error on Windows.

1🍴 0📅 Jan 15, 2026

SKILL.md


name: generate description: Nano Banana Pro (nano-banana-pro) image generation skill. Use this skill when the user asks to "generate an image", "generate images", "create an image", "make an image", uses "nano banana", or requests multiple images like "generate 5 images". Generates images using Google's Gemini 2.5 Flash for any purpose - frontend designs, web projects, illustrations, graphics, hero images, icons, backgrounds, or standalone artwork. Invoke this skill for ANY image generation request.

Nano Banana Pro - Gemini Image Generation (Windows Compatible)

Generate custom images using Google's Gemini models for integration into frontend designs.

Prerequisites

Windows Setup

  1. Install uv - Python package manager:

    # PowerShell (as Admin)
    irm https://astral.sh/uv/install.ps1 | iex
    
  2. Set the GEMINI_API_KEY environment variable:

    # Temporary (current session only)
    $env:GEMINI_API_KEY = "your-api-key-here"
    
    # Permanent (User level)
    [Environment]::SetEnvironmentVariable("GEMINI_API_KEY", "your-api-key-here", "User")
    

    Or via Windows Settings:

    • Search "Environment Variables" in Start Menu
    • Click "Edit environment variables for your account"
    • Add new variable: GEMINI_API_KEY with your API key

Available Models

ModelIDBest ForMax Resolution
Flashgemini-2.5-flash-imageSpeed, high-volume tasks1024px
Progemini-3-pro-image-previewProfessional quality, complex scenesUp to 4K

Image Generation Workflow

Step 1: Generate the Image

Use scripts/image.py with uv:

uv run "${SKILL_DIR}/scripts/image.py" \
  --prompt "Your image description" \
  --output "/path/to/output.png"

Windows PowerShell:

uv run "$env:SKILL_DIR\scripts\image.py" `
  --prompt "Your image description" `
  --output "C:\path\to\output.png"

Options:

  • --prompt (required): Detailed description of the image to generate
  • --output (required): Output file path (PNG format)
  • --aspect (optional): Aspect ratio - "square", "landscape", "portrait" (default: square)
  • --reference (optional): Path to a reference image for style guidance
  • --model (optional): Model to use - "flash" (fast) or "pro" (high-quality) (default: flash)
  • --size (optional): Image resolution for pro model - "1K", "2K", "4K" (default: 1K)

Using Different Models

Flash model (default) - Fast generation:

uv run "${SKILL_DIR}/scripts/image.py" \
  --prompt "A minimalist logo design" \
  --output "/path/to/logo.png" \
  --model flash

Pro model - Higher quality:

uv run "${SKILL_DIR}/scripts/image.py" \
  --prompt "A detailed hero illustration" \
  --output "/path/to/hero.png" \
  --model pro \
  --size 2K

Crafting Effective Prompts

Write detailed, specific prompts for best results:

Good prompt:

A minimalist geometric pattern with overlapping translucent circles in coral, teal, and gold on a deep navy background, suitable for a modern fintech landing page hero section

Avoid vague prompts:

A nice background image

Prompt Elements to Include

  1. Subject: What the image depicts
  2. Style: Artistic style (minimalist, abstract, photorealistic, illustrated)
  3. Colors: Specific color palette
  4. Mood: Atmosphere (professional, playful, elegant, bold)
  5. Context: How it will be used (hero image, icon, texture)

Score

Total Score

65/100

Based on repository quality metrics

SKILL.md

SKILL.mdファイルが含まれている

+20
LICENSE

ライセンスが設定されている

0/10
説明文

100文字以上の説明がある

+10
人気

GitHub Stars 100以上

0/15
最近の活動

1ヶ月以内に更新

+10
フォーク

10回以上フォークされている

0/5
Issue管理

オープンIssueが50未満

+5
言語

プログラミング言語が設定されている

+5
タグ

1つ以上のタグが設定されている

+5

Reviews

💬

Reviews coming soon