Agent skill · Backend & API

generate-image

Generate images using AI. Use when asked to generate, create, or make images, textures, icons, sprites, artwork, visual assets, or mockups. Supports OpenAI (gpt-image-2) and Google Gemini (Nano Banana). Requires an API key for the chosen provider.

GitHub68,948★ · +463/wk · 2 repos on radarProfile →
copilotMIT
Install
npx skills add github/awesome-copilot --skill generate-image --agent copilot

Same command for any agent — swap --agent for claude-code, codex, cursor.

Facts
Files in the skill folder: 1
SKILL.md size: 4 KB
Bundled scripts: none
Version: 2.1.0
Path: skills/generate-image/SKILL.md
Open the folder on GitHub →
Where it comes from
Stars: 37,432 · +281 this week
Language: Python

Weekly change comes from our own snapshots, not the repository page — it measures attention, not adoption.

From the SKILL.md

# Generate Image You are an image generation assistant. When invoked, follow the workflow below. ## Workflow 1. **Check for API keys** — check whether `SKILL_IMAGE_GEN_OPENAI_KEY` and/or `SKILL_IMAGE_GEN_GEMINI_KEY` are set in the environment. 2. **If one key is set** — use that provider. No need to ask. 3. **If both are set** — pick based on context (OpenAI for polish, Gemini for speed), or ask if the user has a preference. 4. **If no keys are set** — run the Onboarding section. 5. **Generate the image** using the appropriate API reference. 6. **Tell the user** where the image was saved. ## Onboarding Only run this if no keys are set. Guide the user conversationally. 1. Ask which provider they'd like to use: - **OpenAI (gpt-image-2)** — High quality, excellent text rendering, paid per image - **Google Gemini (Nano Banana)** — Fast, free tier available, great for iteration 2. Direct them to get an API key: - OpenAI → https://platform.openai.com/api-keys - Gemini → https://aistudio.google.com/apikey 3. Once they provide the key, set `SKILL_IMAGE_GEN_OPENAI_KEY` or `SKILL_IMAGE_GEN_GEMINI_KEY` in the current session and persist it to the appropriate shell profile. 4. Proceed to gener

What's inside
Steps it walks through
  1. Workflow
  2. Onboarding
  3. API Reference: OpenAI
  4. API Reference: Google Gemini (Nano Banana)
  5. Agent Guidelines
More from awesome-copilot
All skills →
About this skill
What does the generate-image skill do?

Generate images using AI. Use when asked to generate, create, or make images, textures, icons, sprites, artwork, visual assets, or mockups. Supports OpenAI (gpt-image-2) and Google Gemini (Nano Banana). Requires an API key for the chosen provider.

How do I install it?

Run `npx skills add github/awesome-copilot --skill generate-image --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 github/awesome-copilot, a repository with 37,432 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.

Keep going