imagegen

Automate image generation and editing via the OpenAI Image API.

167|34|Updated Jan 3, 2026
One-click install
npx skills add https://github.com/tercumantanumut/selene --skill imagegen-tercumantanumut
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: imagegen
Source: https://github.com/tercumantanumut/selene/tree/main/lib/skills/catalog/bundled/imagegen
Command: npx skills add https://github.com/tercumantanumut/selene --skill imagegen-tercumantanumut

SYSTEM DOCUMENTATION & REQUIREMENTS

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

What problem does it solve?

Image generation and editing tasks are automated against the OpenAI Image API, enabling deterministic results via a bundled CLI and local workflow.

Core Features & Use Cases

Generate new visuals, edit existing images (inpainting, masking), perform background removal or replacement, create transparent backgrounds, and produce batch variants for websites, apps, or product visuals.

Quick Start

Run the bundled CLI to generate or edit images using prompts and an OpenAI API key.

Frequently Asked Questions about imagegen

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

FAQPage Schema
How do I automate batch image generation and edits with the OpenAI Image API?

You can automate batch image generation and edits with the OpenAI Image API by running the bundled CLI, which validates prompts, sizes, and output configurations to process multiple image variations locally. It requires an active OPENAI_API_KEY to execute live calls.

Can I do deterministic inpainting and background removal using an OpenAI image generation CLI?

Yes, deterministic inpainting and background removal are supported using the OpenAI image generation CLI. It applies masking techniques to edit existing images, remove backgrounds, or create transparent backgrounds while maintaining consistent output through local workflow automation.

Do I need an OPENAI_API_KEY to use this image generation and editing workflow?

Yes, you need an OPENAI_API_KEY to use this image generation and editing workflow. The bundled CLI relies on this key to make live calls to the OpenAI Image API for generating new visuals, applying masks, and producing batch variations.

What's the best way to generate batch image variations for websites and marketing visuals?

The best way to generate batch image variations for websites and marketing visuals is using a deterministic CLI that automates OpenAI Image API calls. This approach validates output configurations and handles prompt augmentation to streamline batch processing for apps and product visuals.

Does this image generation CLI work with Python and Pillow for image editing?

Yes, this image generation CLI works with Python and utilizes Pillow for image editing tasks. It integrates these dependencies to handle local workflow automation, prompt validation, and image manipulation when generating new visuals or replacing backgrounds via the OpenAI Image API.

Why does batch image generation fail when prompts or sizes are not validated?

Batch image generation fails when prompts or sizes are not validated because the CLI enforces strict output configurations before making OpenAI Image API calls. This validation prevents processing errors and ensures deterministic results for website, app, and marketing visuals.