Use this skill to generate high-quality images, icons, and assets for frontend web development using Gemini 3 Pro.
This skill leverages the gemini-3-pro-image-preview model to create visual assets on demand. Use this when the user needs:
Prerequisites:
google-genai package installed (pip install google-genai).GEMINI_API_KEY environment variable set.Use this to fill empty spots in a layout (Hero section, Feature cards, etc.).
python3 scripts/generate_image.py --prompt "A futuristic city skyline at sunset, cyberpunk style, wide angle, high resolution, web design hero image" --output "assets/hero_city.png"
Use this to create consistent icon sets.
python3 scripts/generate_image.py --prompt "Minimalist flat vector icon of a shopping cart, blue color, white background" --output "assets/icon_cart.png"
gemini-3-pro-image-previewscripts/generate_image.py