Skip to content

Generates and edits images with OpenAI's GPT Image 1.5, including mask-based inpainting for precise regional changes.

CCM score
63 of 100
skills.sh installs
636
GitHub stars
305
last updated
Aug 21, 2026
View on GitHub

Own this skill? Claim it

What it does

  • Covers text-to-image generation and editing of existing files, with prompts, sizes, quality tiers, and transparent backgrounds
  • Runs generate_image.py via uv with --prompt, --filename, --input-image, --mask, --quality, --size, and --background flags
  • Enforces timestamped yyyy-mm-dd-hh-mm-ss-name.png filenames and saves output to the current working directory
  • Designed for requests to create, modify, or update images, and reads the API key from --api-key or OPENAI_API_KEY

Install

$ npx -y skills add intellectronica/agent-skills --skill gpt-image-1-5 -y

Installs into .agents/skills for every agent it finds here, and .claude/skills for Claude Code.

Files

GPT Image 1.5 - Image Generation & Editing

Generate new images or edit existing ones using OpenAI's GPT Image 1.5 model.

  • Generation: Uses the Responses API with image_generation tool
  • Editing: Uses the Image API for reliable mask-based inpainting

Usage

Run the script using absolute path (do NOT cd to skill directory first):

Generate new image:

uv run ~/.claude/skills/gpt-image-1-5/scripts/generate_image.py --prompt "your image description" --filename "output-name.png" [--quality low|medium|high] [--size 1024x1024|1024x1536|1536x1024|auto] [--background transparent|opaque|auto] [--api-key KEY]

Edit existing image (without mask - full image edit):

uv run ~/.claude/skills/gpt-image-1-5/scripts/generate_image.py --prompt "editing instructions" --filename "output-name.png" --input-image "path/to/input.png" [--size 1024x1024|1024x1536|1536x1024|auto] [--api-key KEY]

Details

Repository
github.com/intellectronica/agent-skills
Categories
AI Image, Video & Voice, Design & UI/UX
First seen
Jun 3, 2026

More from intellectronica/agent-skills

All 22

Similar to Gpt Image 1 5

More AI Image, Video & Voice