GPT Image 2

Writes structured GPT Image 2 prompts from about 80 templates and, with an OpenAI key, generates or edits the images and saves them for you.

AI Images & Photosimage generationpromptsgpt image 2postersby ConardLi14kGitHub

What it is

GPT Image 2 is a prompt-and-generation kit for people who make visuals with OpenAI's GPT Image 2 model: marketers, designers, creators, students and researchers. It covers posters, UI mockups, product shots, maps, infographics, comics, avatars, sticker sets, brand boards, academic figures and technical diagrams, plus photo edits such as background replacement and object removal. Its instructions are written in Chinese, and several templates target Chinese formats such as Xiaohongshu posts, Douyin covers, WeChat chat screens and Chinese e-commerce sales boards.

Instead of a loose one-line prompt, the agent picks the closest of about 80 templates across 18 categories, fills its fields from your request, and asks pointed questions only when something important is missing, such as the product name or price on a shopping image. It works in three modes. With an OpenAI API key and the skill's switch turned on, its own scripts create or edit the image and save it. If your agent already has an image tool, it hands the finished prompt to that tool. Otherwise it acts as a prompt adviser.

Every final prompt is saved with a descriptive, timestamped filename so you can reuse or tweak it later, and generated images go to a matching folder. In adviser mode you only get the prompt to paste into ChatGPT, Midjourney or another tool, and the agent says so plainly. Technical diagrams come out as images, not editable diagram files, and the academic templates forbid inventing data.

What it can do

  • Chooses from about 80 structured templates in 18 categories, from posters and UI mockups to academic figures
  • Generates new images or edits existing ones, including masked edits of one area, through OpenAI-compatible APIs
  • Detects whether to generate images itself, pass prompts to your agent's own image tool, or only write prompts
  • Asks targeted questions tied to template fields instead of vague questions about style
  • Saves every final prompt and image with task-based, timestamped filenames for reuse
  • Works with third-party gateways by changing the base URL and model name

When to use it

  • You need a white-background product photo and a lifestyle scene for an online store listing.
  • You are preparing a thesis defense and want a clean method-overview figure or graphical abstract.
  • You run a small brand and want a mascot kit or packaging concept to show a client.
  • You have a product photo with a messy background and want it replaced with a clean studio look.

How it works

  1. 1Runs a small check script to see whether it can generate images directly, should use your agent's image tool, or should only write prompts.
  2. 2Decides whether the task is a new image or an edit, then opens the single most relevant template.
  3. 3Maps your request onto the template's fields, using defaults where sensible and asking only about missing essentials.
  4. 4Saves the final prompt, then generates or edits the image with its Node.js scripts, passes it to your agent's image tool, or shows it to you to use elsewhere.
  5. 5Tells you which mode was used and where the prompt and any image were saved.

Try asking

“Make an exploded-view product poster for our new wireless earbuds.”
“Create a four-panel comic about a cat who hates Mondays.”
“Replace the background of assets/shoe.png with a clean studio scene.”
“Write me a GPT Image 2 prompt for a hand-drawn food map of Chengdu.”

How to install

Install with the skills CLI (recommended)

Works with Claude Code, Codex, Cursor, OpenCode and other agents, and asks which ones to install to. Needs Node.js 22.20+. Add -g to make it available in every project.

npm
npx skills add https://github.com/ConardLi/garden-skills/tree/main/skills/gpt-image-2
pnpm
pnpm dlx skills add https://github.com/ConardLi/garden-skills/tree/main/skills/gpt-image-2

Install as a Claude Code plugin

Run these inside Claude Code. The plugin may bundle related skills from the same author.

Claude Code
/plugin marketplace add ConardLi/garden-skills
/plugin install image-generation-skills@garden-skills

Install manually

Copies the skill folder into Claude Code's personal skills directory. For claude.ai, zip the gpt-image-2 folder and upload it in the Skills section of Settings.

Terminal
git clone --depth 1 https://github.com/ConardLi/garden-skills.git
mkdir -p ~/.claude/skills
cp -r garden-skills/skills/gpt-image-2 ~/.claude/skills/gpt-image-2

Then just ask in plain language, for example: “Make an exploded-view product poster for our new wireless earbuds.”