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.
Collected from public GitHub. Every version is saved exactly as it was and never changes. Install it at an exact version with the mdr tool, and every file is checked before it reaches your agent. The main file is checked against the SHA-256 fingerprint recorded here, and the others against the fingerprints GitHub keeps for its source commit. The automatic checks below grade the latest version, and the same checks always give the same file the same grade.
What the file says
# 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.
…
The line at the top of this page pins the label v2.1.0, which is what most people want. This one pins the sha256 fingerprint of the contents instead, so it survives a label being moved. Either way the exact version is written to mdr.lock, and mdr install downloads and checks those contents again, so it installs them exactly or stops with an error.
GET https://markdownregistry.com/api/v1/artifacts/art_lfm5ttfyp4d2cmx3
GET https://markdownregistry.com/api/v1/resolve?ref=github/awesome-copilot/generate-image
GET https://markdownregistry.com/api/v1/blob/95e604ccc07f7c81370361ef5afe63de3d99c8165eb5f700fc464d175d79a206
Your AI assistant does the legwork. You hear about the deals worth your word. Hand yours the standing instructions at modelranch.com and it joins the network that reads files like this one.
github/awesome-copilot · .github/skills/create-canvas-extension/SKILL.md · Create or register a canvas extension in the awesome-copilot repository. Use when asked to scaffold a new canvas…
github/awesome-copilot · skills/acquire-codebase-knowledge/SKILL.md · Use this skill when the user explicitly asks to map, document, or onboard into an existing codebase. Trigger for…
github/awesome-copilot · skills/acreadiness-assess/SKILL.md · Run the AgentRC readiness assessment on the current repository and produce a static HTML dashboard at…
github/awesome-copilot · skills/acreadiness-policy/SKILL.md · Help the user pick, write, or apply an AgentRC policy. Policies customise readiness scoring by disabling irrelevant…
github/awesome-copilot · skills/ad-campaign-analyzer/SKILL.md · Use this skill when the user shares ad campaign performance data and asks what to cut, scale, or test. Trigger for…
github/awesome-copilot · skills/add-educational-comments/SKILL.md · Add educational comments to the file specified, or prompt asking for file to comment if one is not provided.
github/awesome-copilot · skills/adobe-illustrator-scripting/SKILL.md · Write, debug, and optimize Adobe Illustrator automation scripts using ExtendScript (JavaScript/JSX). Use when creating…
github/awesome-copilot · skills/agent-architecture/SKILL.md · Design AI agent architectures through requirements discovery, or audit and diagnose architectural flaws in existing…
k-dense-ai/scientific-agent-skills · skills/generate-image/SKILL.md · Generates or edits images with AI models through the OpenRouter Image API (Gemini, Seedream, Recraft, GPT-Image…
foryourhealth111-pixel/vibe-skills · bundled/skills/generate-image/SKILL.md · Generate or edit images using AI models (FLUX, Nano Banana 2). Use for general-purpose image generation including…
openclaudia/openclaudia-skills · skills/ai-image-gen/SKILL.md · Generate images using AI (OpenAI GPT Image or Stability AI). Use when the user asks to generate an image, create an AI…
dojocodinglabs/remotion-superpowers · skills/generate-image/SKILL.md · Generate AI images for your Remotion project. Describe what you need — backgrounds, thumbnails, characters, abstract…
labs21-dev/agents-stack · agent-plugin/generate-image/SKILL.md · Generate or edit raster images with OpenRouter. Use when the user asks to create, draw, illustrate, or restyle an…
getedgehq/skills · generate-image/SKILL.md · Generate images with OpenAI GPT Image 2 via the Codex CLI, billed through the user's ChatGPT Plus subscription (no…
marielynneblock/arcanum-artifex · skills/scientific/generate-image/SKILL.md · Generate or edit images using AI models (FLUX, Nano Banana 2). Use for general-purpose image generation including…