/nano-skills:nano-image-generatorfrom nano-skills
Generates images via Nano Banana Pro (Gemini 3 Pro Preview) for app icons, logos, banners, illustrations, and diagrams. Run from CLI with prompt, output path, aspect ratio, and size options.
Ships in nano-skills. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them; scripts run unread.
Generate images using Nano Banana Pro (Gemini 3 Pro Preview) for any visual asset needs.
Set the GEMINI_API_KEY environment variable. Get a key at: https://aistudio.google.com/apikey
python scripts/generate_image.py "A friendly robot mascot waving" --output ./assets/mascot.png
python scripts/generate_image.py <prompt> --output <path> [options]
Required:
prompt - Image description--output, -o - Output file pathOptions:
--aspect, -a - Aspect ratio (default: 1:1)
1:12:3, 3:4, 4:5, 9:163:2, 4:3, 5:4, 16:9, 21:9--size, -s - Resolution: 1K, 2K (default), 4KDetermine output location - Place images where contextually appropriate:
./assets/icons/ or ./public/icons/./marketing/ or ./assets/images/./src/assets/ or ./public/images/./generated/Craft effective prompts - Be specific and descriptive:
Choose appropriate settings:
--aspect 1:1--aspect 16:9--aspect 9:16--aspect 3:2 or 4:3App icon:
python scripts/generate_image.py "Minimalist flat design app icon of a lightning bolt, purple gradient background, modern iOS style" \
--output ./assets/app-icon.png --aspect 1:1
Marketing banner:
python scripts/generate_image.py "Professional website hero banner for a productivity app, abstract geometric shapes, blue and white color scheme, modern and clean" \
--output ./public/images/hero-banner.png --aspect 16:9
High-quality illustration:
python scripts/generate_image.py "Detailed isometric illustration of a cozy home office setup with plants, warm lighting, digital art style" \
--output ./assets/illustrations/office.png --size 4K
What SKILL.md sets; muted values are Claude Code's defaults
Other plugins' skills for the same job
npx claudepluginhub livelabs-ventures/nano-skills --plugin nano-skills