nibzard avatar

brand-illustrator

Generate Builder Methods hand-drawn line art illustrations (icons, scenes, periphery) with a single

提供方 nibzard|开源

Builder Methods Brand Illustrator

Generate on-brand hand-drawn line art illustrations with warm off-white backgrounds, confident black ink lines, and a single accent color.

Quick Start

# Install dependencies
pip install google-genai

# Set your API key
export GEMINI_API_KEY="your-key-here"

# Generate an illustration
python3 scripts/generate.py \
  --prompt "A worn leather notebook with handwritten wireframe sketches" \
  --color coral \
  --type scene \
  --output my-illustration.png

Image Types

TypeDescriptionDefault Size
iconSingle object, isolated, quick punctuation512×512
scene2–4 objects with suggested environment, hero/header moments1200×630
periphery1–3 objects for corner/edge decorations500×500

Accent Colors

  • coral#ff6b6b
  • teal#2ec4b6
  • indigo#5b5fdd
  • amber#f4b400

Documentation

Environment Variables

  • GEMINI_API_KEY — Google Gemini API key (also accepts GOOGLE_API_KEY or GENAI_API_KEY)
  • GEMINI_IMAGE_MODEL — Optional override (default: gemini-2.0-flash-image)

Get an API key from: https://ai.google.dev/

brand-illustrator - 适用于 Claude Code 与 Cursor 的 AI 智能体 Skill | Agent Skills