image-generator
Generate and edit images using Gemini's Nano Banana Pro model (gemini-3-pro-image-preview). Use this skill when the user asks you to generate images, create visuals, edit photos, create logos, generate product mockups, or perform any image generation/editing task.
npx skills add sickn33/agentic-awesome-skills --skill image-generator --agent claude-code
Same command for any agent — swap --agent for codex, cursor, copilot.
Weekly change comes from our own snapshots, not the repository page — it measures attention, not adoption.
# Image Generator ## When to Use Use when this workflow matches the user request: Generate and edit images using Gemini's Nano Banana Pro model (gemini-3-pro-image-preview). Use this skill when the user asks you to generate images, create visuals, edit photos, create logos, generate product mockups, or perform any image generation/editing task. _Source: [dair-ai/dair-academy-plugins](https://github.com/dair-ai/dair-academy-plugins) (MIT)._ This skill generates and edits images using Google's Gemini Nano Banana Pro model (`gemini-3-pro-image-preview`). ## IMPORTANT: Setup Required Before using this skill, the user must set the `GEMINI_API_KEY` environment variable: 1. Get a free API key from [Google AI Studio](https://aistudio.google.com/) 2. Export the key in your shell profile (`~/.zshrc`, `~/.bashrc`, etc.): ```bash read -rsp "Gemini API key: " GEMINI_API_KEY echo export GEMINI_API_KEY ``` 3. Restart your terminal or run `source ~/.zshrc` (or `~/.bashrc`) **The skill will not work without this configuration.** ## Pre-flight Check Before making any API call, verify the key is set: ```bash if [ -z "$GEMINI_API_KEY" ]; then echo "ERROR: GEMINI_API_KEY is not set. Please export it in
- When to Use
- IMPORTANT: Setup Required
- Pre-flight Check
- Configuration
- Iterating on User-Provided Images
- Step 1: Read and encode the image to base64
- Step 2: Send image with edit prompt (File-Based Approach)
- Step 3: Extract and save the edited image
- Complete Example (File-Based)
- Multi-Image Input (Combine/Compose)
- Capabilities
- Text-to-Image Generation
- Image Editing
- Advanced Features
read -rsp "Gemini API key: " GEMINI_API_KEY echo export GEMINI_API_KEY if [ -z "$GEMINI_API_KEY" ]; then echo "ERROR: GEMINI_API_KEY is not set. Please export it in your shell profile." exit 1 fi Get the image path from user Detect mime type if [[ "$IMG_PATH" == *.png ]]; then
What does the image-generator skill do?
Generate and edit images using Gemini's Nano Banana Pro model (gemini-3-pro-image-preview). Use this skill when the user asks you to generate images, create visuals, edit photos, create logos, generate product mockups, or perform any image generation/editing task.
How do I install it?
Run `npx skills add sickn33/agentic-awesome-skills --skill image-generator --agent claude-code` — it drops the skill into your project so the agent can pick it up. Swap the --agent value for codex, cursor or copilot if you use one of those.
Where does this skill come from?
From sickn33/agentic-awesome-skills, a repository with 44,414 stars. We read it straight from the repository tree rather than a submitted listing, so what you see here is what is actually published.
Is a popular skill a good skill?
Not necessarily. Stars measure attention, not adoption — a repository can trend for a week and be abandoned. That is why we show the weekly change from our own snapshots next to the total, instead of a single flattering number.