gemini-image-generation
Installation
SKILL.md
Gemini Image Generation
Generate images using Google's Gemini API with an interactive, AI-guided workflow.
Executing the Script
When this skill loads, your agent platform provides the skill's base directory path. Run the script relative to that path:
python scripts/generate-image.py \
--prompt "your prompt" \
--output "output.png" \
--aspect-ratio "16:9" \
--size "1K" \
--model "gemini-3-pro-image-preview"
API Key: The script reads GEMINI_API_KEY from (in order): --env-file flag, environment variable, .env.local, .env, ~/.env.local, ~/.env