gpt-image-2
Installation
SKILL.md
GPT Image 2 (Replicate)
Generate and edit images with OpenAI GPT Image 2 (openai/gpt-image-2) on Replicate. Strengths: precise instruction-following, accurate in-image text, photorealism, and character consistency — it preserves the identity of reference images at high fidelity, which is ideal for character sheets and storyboards.
Setup
Install dependencies (one-time, usually already present from sibling skills):
pip3 install -r ~/.cursor/skills/gpt-image-2/scripts/requirements.txt
The Replicate API token is shared with the other Replicate skills (avatar-video-reel, brand-asset-studio, bg-music, sound-effects, ...). It is auto-discovered from REPLICATE_API_TOKEN, this skill's config.json, or any sibling skill's config. Only run setup if no valid token is found:
python3 ~/.cursor/skills/gpt-image-2/scripts/setup_key.py YOUR_REPLICATE_API_TOKEN
python3 ~/.cursor/skills/gpt-image-2/scripts/setup_key.py --show # check current token