gpt-image-1-5

Generate and edit images with GPT Image 1.5 via scripts/generate_image.py.

281|25|Updated Jan 20, 2026
One-click install
npx skills add https://github.com/intellectronica/agent-skills --skill gpt-image-1-5-intellectronica
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: gpt-image-1-5
Source: https://github.com/intellectronica/agent-skills/tree/main/plugins/gpt-image-1-5/skills
Command: npx skills add https://github.com/intellectronica/agent-skills --skill gpt-image-1-5-intellectronica

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) components.

What problem does it solve?

This skill enables you to generate new images or edit existing ones using OpenAI's GPT Image 1.5 model, including mask-based inpainting for targeted changes, and without needing to pre-read the image file.

Core Features & Use Cases

  • Generate new images from text prompts using GPT Image 1.5.
  • Edit existing images with or without a mask for precise inpainting.
  • Apply to marketing visuals, product mockups, and asset updates.

Quick Start

Provide a prompt describing the image to generate or editing instructions, then run the script at the given absolute path (e.g., scripts/generate_image.py) with optional --input-image and --mask parameters.

Frequently Asked Questions about gpt-image-1-5

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I generate marketing visuals and product mockups from text prompts?

You can generate marketing visuals and product mockups from text prompts using the GPT Image 1.5 model. Provide a prompt describing the desired image and run the generate_image.py script to create the visual asset without needing to pre-read any image file.

How does mask-based inpainting work for editing existing images?

Mask-based inpainting works by applying targeted changes to an existing image using a mask. You run the generate_image.py script with the --input-image and --mask parameters to perform precise edits on specific areas of the image.

Can I edit image backgrounds and styles without pre-reading the image file?

Yes, you can edit image backgrounds and styles without pre-reading the image file. The skill processes the --input-image parameter directly to perform style and background edits using the GPT Image 1.5 model.

Do I need an OpenAI API key to run the image generation script?

Yes, you need an OpenAI API key to run the image generation script. You can provide it via the --api-key parameter when running generate_image.py, or set the OPENAI_API_KEY environment variable beforehand.

What's the best way to update existing assets with targeted changes?

The best way to update existing assets with targeted changes is using mask-based inpainting. Provide the original image and a mask to the generate_image.py script to isolate and modify specific regions for asset updates.