Add skill-image-gen plugin: AI image generation with OpenAI and Gemini (#1696)

Adds a skill that lets users generate images (icons, sprites, textures,
mockups) directly from their coding workflow using OpenAI gpt-image-2 or
Google Gemini. BYO API key — the skill guides users through setup on
first use.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
This commit is contained in:
Adam
2026-05-15 11:26:59 +10:00
committed by GitHub
parent 2cc70c8236
commit ca8412356a
6 changed files with 168 additions and 0 deletions
+25
View File
@@ -0,0 +1,25 @@
{
"name": "skill-image-gen",
"description": "Generate images using AI directly from your coding workflow. Supports OpenAI (gpt-image-2) and Google Gemini. BYO API key — the skill guides you through setup on first use.",
"version": "1.0.0",
"keywords": [
"image-generation",
"openai",
"gemini",
"ai",
"art",
"sprites",
"textures",
"icons"
],
"author": {
"name": "adamd9",
"url": "https://github.com/adamd9"
},
"homepage": "https://github.com/adamd9/skill-image-gen",
"repository": "https://github.com/github/awesome-copilot",
"license": "MIT",
"skills": [
"./skills/generate-image/"
]
}
+35
View File
@@ -0,0 +1,35 @@
# Skill Image Gen
Generate images using AI directly from your coding workflow. Supports **OpenAI (gpt-image-2)** and **Google Gemini (Nano Banana)**.
## What it does
Use natural language to generate images — icons, sprites, textures, mockups, artwork — without leaving your editor. The skill handles API calls, file saving, and guides you through setup on first use.
## Providers
| Provider | Model | Strengths |
|---|---|---|
| OpenAI | gpt-image-2 | High quality, excellent text rendering |
| Google Gemini | gemini-2.0-flash-exp | Fast, free tier available |
## Setup
BYO API key. On first use, the skill walks you through:
1. Choosing a provider
2. Getting an API key ([OpenAI](https://platform.openai.com/api-keys) · [Gemini](https://aistudio.google.com/apikey))
3. Setting the environment variable (`SKILL_IMAGE_GEN_OPENAI_KEY` or `SKILL_IMAGE_GEN_GEMINI_KEY`)
## Usage
Ask Copilot to generate an image:
- "Generate a pixel art treasure chest"
- "Create a seamless grass texture for my game"
- "Make a minimalist logo for my app"
## Links
- **Source repo**: [adamd9/skill-image-gen](https://github.com/adamd9/skill-image-gen)
- **License**: MIT