Agent skill · creative production · intellectronica

gpt-image-1-5

Generate and edit images using OpenAI's GPT Image 1.5 model. Use when the user asks to generate, create, edit, modify, change, alter, or update images. Also use when user references an existing image file and asks to modify it in any way (e.g., "modify this image", "change the background", "replace X with Y"). Supports text-to-image generation and image editing with optional mask. DO NOT read the image file first - use this skill directly with the --input-image parameter.

Why this skill is useful

Adds executable scripts for image generation and editing using OpenAI's GPT Image 1.5 model, which are not available in public documentation.

What it needs

Requires uv installed locally. Requires openai account access. About 3k tokens when loaded. Last updated 2026-04-25. 281 stars on the source repository.

What this skill does

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 imagegeneration 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: Edit existing image (without mask - full image edit): Edit existing image (with mask - precise inpainting): Important: Always run from the user's current working directory so images are saved where the user is working, not in the skill directory. Parameters Quality Options low - Fastest generation, lower quality medium (default) - Balanced quality and speed high - Best quality, slower generation Map user requests: No mention of quality -> medium "quick", "fast", "draft" -> low "high quality", "best", "detailed", "high-res" -> high Size Options 1024x1024 (default) - Square format 1024x1536 - Portrait format 1536x1024 - Landscape format auto - Let the model decide based on prompt Map user requests: No mention of size -> 1024x1024 "square" -> 1024x1024 "portrait", "vertical", "tall" -> 1024x1536 "landscape", "horizontal", "wide" -> 1536x1024 Background Options (generation only) auto (default) - Model decides transparent - Transparent background (PNG/WebP output) opaque - Solid background API Key The script checks for API key in this order: 1. --api-key argument (use if user provided key in chat) 2. OPENAIAPIKEY environment variable If neither is available, the script exits with an error message. …

How to use it

Reference it in AdaL, Claude Code, Cursor or any coding agent — nothing to install:

@skills intellectronica/skills--959d47

View the source on GitHub

Browse the @skills marketplace