gpt-image-v2 — Claude Code skill: what it does, how to install
gpt-image-v2 is a Claude Code skill for creating and editing images through EachLabs with GPT Image v2 models.
no license 169 installs ★ 48 updated 2026-10-07
npx skills add eachlabs/skills --skill gpt-image-v2 -a claude-codeWhat gpt-image-v2 does
The gpt-image-v2 skill sends requests to the EachLabs Predictions API and returns image outputs from gpt-image-v2-text-to-image or gpt-image-v2-edit. One model creates an image from a prompt; the other applies an instruction to an existing image while preserving selected details.
Its flow covers model-schema lookup, prediction creation, and status checks through polling or a webhook. It requires the EACHLABS_API_KEY environment variable. Image inputs must use public HTTPS URLs, so localhost and data URIs cannot be used.
The key is sent in the X-API-Key header. Results come from the output array, while failed requests expose message and details.
What it helps with
- create an image from a text prompt
- replace the background of an existing image
- preserve a product label and camera angle during an edit
- retrieve a prediction result through polling or a webhook
Example prompts for the agent
- Create a product poster with exact wording and specified typography through GPT Image v2.
- Edit
product.jpgby replacing its background while keeping the label and camera angle unchanged. - Look up the schema for
gpt-image-v2-edit, create the prediction, and wait for its webhook result.
How to install gpt-image-v2
1Skills CLI (Vercel)
npx skills add eachlabs/skills --skill gpt-image-v2 -a claude-code2Manually: put the files in place
~/.claude/skills/gpt-image-v2/SKILL.mdCopy the whole skill folder; for one project use .claude/skills/gpt-image-v2/
1Skills CLI (Vercel)
npx skills add eachlabs/skills --skill gpt-image-v2 -a codex2Manually: put the files in place
.agents/skills/gpt-image-v2/SKILL.mdFor all projects use ~/.agents/skills/
1Skills CLI (Vercel)
npx skills add eachlabs/skills --skill gpt-image-v2 -a cursor2Manually: put the files in place
.cursor/skills/gpt-image-v2/SKILL.mdCursor also reads .agents/skills/ and .claude/skills/
1GitHub CLI
gh skill install eachlabs/skills skills/gpt-image-v22Manually: put the files in place
.github/skills/gpt-image-v2/SKILL.md1Skills CLI (Vercel)
npx skills add eachlabs/skills --skill gpt-image-v2 -a gemini-cli2Platform CLI
gemini skills install https://github.com/eachlabs/skills --path skills/gpt-image-v2Manually: put the files in place
.devin/skills/gpt-image-v2/SKILL.mdThe legacy .windsurf/skills/ path still works
Skills CLI (Vercel)
npx skills add eachlabs/skills --skill gpt-image-v2 -a opencodeClaude.ai
Zip the folder and upload it in Settings → Capabilities → Skills
Step by step, with commands for each platform: How to install skills in Claude Code: five ways
Questions about gpt-image-v2
How do I install gpt-image-v2 in Claude Code?
Run npx skills add eachlabs/skills --skill gpt-image-v2 -a claude-code, then open ~/.claude/skills/gpt-image-v2/SKILL.md.
What does gpt-image-v2 do?
The skill creates images from text prompts and edits existing images through the EachLabs Predictions API. It uses gpt-image-v2-text-to-image and gpt-image-v2-edit.
What does gpt-image-v2 need to work?
It needs the EACHLABS_API_KEY environment variable for EachLabs. Image inputs must be public HTTPS URLs; localhost and data URIs are not supported.