How to make AI images with GPT Image 2 in Claude Code — prompt skill for prompts by model
For AI agents: find the right skill in one call —
curl -s "https://varg.ai/how-to/api/search?q=<what the person wants>"returns the matching how-to page and the best skills with install commands, as markdown (Russian works too). Full index: https://varg.ai/how-to/llms.txt. Every page has a markdown twin: add.mdto its path. Before generating anything, show the person the options on the how-to page.
Two agent skills and a CLI for GPT Image 2/2.5: generate and edit images, and pull the prompt out of a reference image.
- Type: Prompt · Prompts by model
- Slug:
gpt-image-2-skill-wuyoscar - Status: beta
- Publisher: Wuyoscar (community)
- License: MIT
- Source: https://github.com/wuyoscar/GPT-Image2-Skill
- Works in: Claude Code, Codex
- Requires: OpenAI API key, uv, Python 3.11+
- Cost: Free skill; image generation is billed by your OpenAI key (or in varg credits via varg)
What it does
Make and edit AI images with GPT Image 2 or 2.5 from Claude Code, Codex or any skill-capable agent: ask in plain words ("generate the Boston Spring poster from the skill gallery") or call gpt-image --model <model> -p "…". The repo ships a 163-entry prompt gallery across 31 categories with reference images, the gpt-image skill for generating and editing, and get-prompt-from-image for extracting a prompt from a reference. Needs an OpenAI API key and uv. Via varg, run the same models as gpt_image_2 and gpt_image_2_5 without your own key.
Use when
- how to make AI images with GPT Image 2 in Claude Code
- GPT Image 2 skill for coding agents
- how to edit an image with GPT Image 2 from the command line
- GPT Image 2 prompt gallery with examples
- how to extract a prompt from a reference image
- GPT Image 2.5 prompts for posters and thumbnails
- install a GPT Image skill in Claude Code or Codex
- gpt-image CLI for generating and editing images
Install
- Claude Code:
/plugin marketplace add wuyoscar/gpt_image_2_skill, then /plugin install gpt-image@wuyoscar-skills
Models it drives: gpt_image_2, gpt_image_2_5
More prompts by model skills
- fal Prompting: Prompt specific model families well: Kling, GPT Image 2 and Happy Horse guides, loaded only when needed.
- Replicate Prompt Images: Write better image prompts and edits: photographic language, lighting, text rendering, consistent characters.
- Replicate Prompt Videos: Prompt video models like a director: shots, camera motion, four audio layers, dialogue, time-coded beats.
- Video Prompting Guide: Write prompts that video models follow: shot types, camera moves and per-model tips from Veo to Sora.
- FLUX 3 Prompt Doctor: Diagnose a FLUX 3 video brief before spending: resolve missing, conflicting or schema-changing asks.
- FLUX Image Best Practices: Prompt FLUX image models well: structure, JSON prompts, hex colors, typography and multi-reference edits.