From claude-code-settings
Generates or edits images using OpenAI GPT Image models (gpt-image-2, gpt-image-1, etc.) via bundled Python script with openai and Pillow. For AI image creation/editing requests.
npx claudepluginhub feiskyer/claude-code-settings --plugin claude-code-settingsThis skill is limited to using the following tools:
Generate or edit images using OpenAI's GPT Image models through a bundled Python script.
Generates and edits images using OpenAI's GPT Image 1.5 model via Python CLI scripts. Supports text-to-image, full edits without mask, and precise mask-based inpainting.
Generates AI images from text prompts using OpenAI gpt-image-1 or Stability AI SD 3.5 Large via Python CLI. Supports sizes, quality levels, transparent backgrounds; useful for illustrations, logos, banners.
Generates or edits images using OpenRouter AI models (FLUX.2 Pro, Gemini 3 Pro) via Python script. For photos, illustrations, artwork, visual assets, concept art; not technical diagrams.
Share bugs, ideas, or general feedback.
Generate or edit images using OpenAI's GPT Image models through a bundled Python script.
~/.gpt-image.env or export OPENAI_API_KEY=<your-key>~/.gpt-image.env or export it.python3 -m pip install -r ./requirements.txt if not installed yet../gpt_image.pyAsk the user for:
Run the script:
python3 ./gpt_image.py --prompt "description of image" --output "filename.png"
Show the user the saved image path when complete.
Ask the user for:
Run with input images:
python3 ./gpt_image.py edit --prompt "editing instructions" --input image1.png image2.png --output "edited.png"
gpt-image-2 (default) — Latest model with strong instruction following, text rendering, and broad world knowledgegpt-image-1.5 — Mid-tier modelgpt-image-1 — First-generation GPT image modelgpt-image-1-mini — Lightweight, faster generation1024x1024 (default) — Square1024x1536 — Portrait (2:3)1536x1024 — Landscape (3:2)auto — Let the model decideauto (default) — Model decides optimal qualityhigh — Higher detail, slowermedium — Balancedlow — Fastestpng (default) — Losslessjpeg — Smaller file sizewebp — Modern format, good compressionauto (default) — Model decidestransparent — Transparent background (png/webp only)opaque — Solid background--n <count> — Number of images to generate (default: 1)--output <filename> — Output filename (default: auto-generated)python3 ./gpt_image.py --prompt "A serene mountain landscape at sunset with a lake"
python3 ./gpt_image.py \
--prompt "Modern minimalist logo for a tech startup" \
--size 1024x1024 \
--quality high \
--output "logo.png"
python3 ./gpt_image.py \
--prompt "Futuristic cityscape with flying cars" \
--size 1536x1024 \
--output "cityscape.png"
python3 ./gpt_image.py \
--prompt "A cute cartoon cat mascot" \
--background transparent \
--format png \
--output "mascot.png"
python3 ./gpt_image.py \
--prompt "Abstract art in the style of Kandinsky" \
--n 3 \
--output "art.png"
python3 ./gpt_image.py edit \
--prompt "Add a rainbow in the sky" \
--input photo.png \
--output "photo-with-rainbow.png"
python3 ./gpt_image.py edit \
--prompt "Create a gift basket containing all items shown" \
--input item1.png item2.png item3.png \
--output "gift-basket.png"
python3 ./gpt_image.py \
--prompt "Detailed portrait of a cat in watercolor style" \
--model gpt-image-1 \
--output "cat-portrait.png"
If the script fails:
OPENAI_API_KEY is exportedOPENAI_API_BASE is correcthigh quality for final output, auto for quick iterations