imagegen

Generate and edit images via a CLI with gpt-image-1.5 and JSONL batch support.

Updated Mar 21, 2026
One-click install
npx skills add https://github.com/DanialHaseeb/dotfiles --skill imagegen-danialhaseeb
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: imagegen
Source: https://github.com/DanialHaseeb/dotfiles/tree/main/codex/skills/imagegen
Command: npx skills add https://github.com/DanialHaseeb/dotfiles --skill imagegen-danialhaseeb

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires openai, pillow, and includes scripts (resource) and references (resource) components.

What problem does it solve?

Provides a reproducible, CLI-driven workflow to generate, edit, and batch-produce images so teams can create production-ready visuals (product shots, UI assets, concept art) without ad-hoc tooling or manual export/import steps.

Core Features & Use Cases

  • Deterministic image generation using a bundled CLI that defaults to gpt-image-1.5 and sensible defaults.
  • Edit and inpaint existing images with optional PNG masks, preserve invariants, and perform transparent-background extraction.
  • Batch generation from JSONL, downscaling for web assets, concurrency controls, retry/backoff logic, and output management for reliable pipelines.
  • Use cases: website hero images, product mockups, logo/illustration variants, compositing and precise object edits, and high-volume asset generation.

Quick Start

Generate a 1024x1024 photorealistic hero image of a ceramic coffee mug with generous right-side negative space and no logos using the bundled CLI.

Frequently Asked Questions about imagegen

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

FAQPage Schema
How do I batch generate production-ready images from a JSONL file using a CLI?

Batch image generation from a JSONL file is handled by a bundled CLI that processes high-volume requests using concurrency controls and retry logic to reliably output website assets and product mockups.

Can I perform masked inpainting and transparent background extraction on existing images?

Masked inpainting and transparent background extraction are supported, allowing you to apply PNG masks to edit specific image regions while preserving invariants and isolate subjects for production assets.

How do I automate product mockup generation with OpenAI's gpt-image-1.5 model?

Automating product mockup generation uses a CLI defaulting to the gpt-image-1.5 model, applying sensible defaults to create reproducible visual assets without manual export or import steps.

Do I need an OpenAI API key to run batch image generation pipelines?

An OPENAI_API_KEY and network access are required to execute the CLI, as it makes live OpenAI Image API calls to generate, edit, and downscale images for iterative creative workflows.

What's the best way to manage downscaling and output management for web image assets?

Downscaling and output management for web assets are managed natively by the CLI, which handles file outputs and retries to ensure reliable pipelines for high-volume UI asset generation.