What problem does it solve?
This skill provides an easy way to generate AI-created images from natural language prompts, eliminating the manual overhead of sourcing and producing visuals for interfaces, docs, and diagrams.
Core Features & Use Cases
- Generate images from prompts using Google Gemini's image generation model.
- Save generated images to a configurable location for direct integration into projects.
- Use during frontend development, documentation visuals, architecture diagrams, and placeholder artwork.
Quick Start
Use the imagen skill to generate an image from a prompt, for example:
python scripts/generate_image.py "A futuristic city skyline at sunset"
Save to a custom location:
python scripts/generate_image.py "App icon for a weather app" "./assets/weather-icon.png"
Optional: set size or model via environment variables or command options:
IMAGE_SIZE=2K GEMINI_MODEL=gemini-3-pro-image-preview python scripts/generate_image.py "High-res landscape" "./wallpaper.png"