Install any skill in seconds. Free to start, no credit card required.
Get Started Free →Generates AI images via Gemini or GPT Image APIs, covering model selection, prompting, API calls, editing, and quality checks.
50% 100%+50 ptsof test cases passed
Passed 22 of 22 test cases with the skill, and 11 of 22 without it.
What are the relative per-image cost tiers for low, medium, and high quality generations when using gpt-image-2 at 1024x1024 resolution?
The response lists low quality at $0.006 per image.
3 of 3 safety checks passed
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 provides a managed image generation service with album templates and brand kit support.
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 transparency |
| Quick drafts / iteration | Gemini 2.5 Flash Image | Free tier (~500/day) |
Rule of thumb: any image with readable text → GPT Image 2 (unless you need transparency, then GPT 1.5). Otherwise → Gemini.
| Model | API ID | Provider |
|---|---|---|
| Gemini 3.1 Flash Image | gemini-3.1-flash-image-preview | Google AI |
| Gemini 3 Pro Image | gemini-3-pro-image-preview | Google AI |
| Gemini 2.5 Flash Image | gemini-2.5-flash-image | Google AI |
| GPT Image 2 (default) | gpt-image-2 | OpenAI |
| GPT Image 2 (ChatGPT-parity output) | chatgpt-image-latest | OpenAI |
| GPT Image 1.5 (transparency-only) | gpt-image-1.5 | OpenAI |
Verify model IDs before use — they change frequently:
curl -s "https://generativelanguage.googleapis.com/v1beta/models?key=$GEMINI_API_KEY" | python3 -c "import sys,json; [print(m['name']) for m in json.load(sys.stdin)['models'] if 'image' in m['name'].lower()]"
Skills that do similar work, with their benchmark result.
Next to this one in the catalogue, plus more from the same author.