Agent skill · Backend & API

ai-image-generator

Generate AI images using Gemini or GPT APIs directly. Covers model selection (Gemini for scenes; GPT Image 2 for text rendering, batch variations, multi-reference compositing; GPT Image 1.5 for transparent icons), the 5-part prompting framework, API calling patterns, multi-turn editing, and quality assurance. Produces photorealistic scenes, icons, illustrations, OG images, posters, infographics, and product shots. Use when building websites that need images, creating marketing assets, or generating visual content. Triggers: 'generate image', 'ai image', 'create hero image', 'make an icon', 'ge

jezwebgithub.com/jezwebGitHub ↗
claude-codecan modify filesMIT
Install
npx skills add jezweb/claude-skills --skill ai-image-generator --agent claude-code

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

Facts
Files in the skill folder: 2
SKILL.md size: 15 KB
Bundled scripts: none
Allowed tools: -Read-Write-Bash-Glob-Grep
Requires: claude-code-only
Path: plugins/design-assets/skills/ai-image-generator/SKILL.md
Open the folder on GitHub →
Where it comes from
Stars: 954
Language: Python

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

From the SKILL.md

# AI Image Generator Generate images using AI APIs (Google Gemini and OpenAI GPT). This skill teaches the prompting patterns and API mechanics for producing professional images directly from Claude Code. > **Managed alternative**: If you don't want to manage API keys, [ImageBot](https://imagebot.au) provides a managed image generation service with album templates and brand kit support. ## Model Selection Choose the right model for the job: | Need | Model | Why | |------|-------|-----| | **Photorealistic scenes / stock photos** | Gemini 3.1 Flash Image | Best depth, complexity, environmental context | | **Final client scenes (higher detail)** | Gemini 3 Pro Image | Higher detail, better style consistency | | **Text on images** (posters, OG with copy, infographics) | GPT Image 2 | Text rendering actually works — including multi-script | | **10-variation style exploration** | GPT Image 2 | Native batch — one prompt, 10 variants sharing composition + palette | | **Multi-reference compositing** (product + lifestyle) | GPT Image 2 | Handles lighting, scale, perspective across references | | **Transparent icons / logos** | GPT Image 1.5 | Native RGBA alpha — **GPT Image 2 cannot do transp

What's inside
Steps it walks through
  1. Model Selection
  2. Model IDs
  3. GPT Image 2 Specifics
  4. 1. Text rendering actually works
  5. 2. Multi-variation batching
  6. 3. Multi-reference compositing
  7. Modes
  8. Aspect ratios
  9. Resolution
  10. Generation time
  11. Constraints
  12. Pricing (per 1024×1024 image)
  13. The 5-Part Prompting Framework
  14. 1. Image Type
Ships with 1 file
  • references/prompting-guide.md
Commands it runs
Convert to WebP for web use
python3 -c "
from PIL import Image
img = Image.open('hero-image.png')
Trim whitespace from transparent icons
img = Image.open('icon.png')
trimmed = img.crop(img.getbbox())
export GEMINI_API_KEY="your-key-here"
export OPENAI_API_KEY="your-key-here"
More from claude-skills
All skills →
About this skill
What does the ai-image-generator skill do?

Generate AI images using Gemini or GPT APIs directly. Covers model selection (Gemini for scenes; GPT Image 2 for text rendering, batch variations, multi-reference compositing; GPT Image 1.5 for transparent icons), the 5-part prompting framework, API calling patterns, multi-turn editing, and quality assurance. Produces photorealistic scenes, icons, illustrations, OG images, posters, infographics, and product shots. Use when building websites that need images, creating marketing assets, or generating visual content. Triggers: 'generate image', 'ai image', 'create hero image', 'make an icon', 'ge

How do I install it?

Run `npx skills add jezweb/claude-skills --skill ai-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 jezweb/claude-skills, a repository with 954 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