imagegen

Generate and edit images using the OpenAI Image API.

1.1k|99|Updated Feb 12, 2026
One-click install
npx skills add https://github.com/dp-archive/archive --skill imagegen-dp-archive
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: imagegen
Source: https://github.com/dp-archive/archive/tree/main/seed_skills/imagegen
Command: npx skills add https://github.com/dp-archive/archive --skill imagegen-dp-archive

SYSTEM DOCUMENTATION & REQUIREMENTS

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

What problem does it solve?

This Skill allows users to generate new images from text descriptions or edit existing images based on specific instructions, streamlining creative workflows and content creation.

Core Features & Use Cases

  • Image Generation: Create original images for concept art, product mockups, illustrations, and more.
  • Image Editing: Modify existing images through inpainting, background replacement, style transfer, and other edits.
  • Batch Processing: Generate or edit multiple images efficiently using a JSONL file.
  • Use Case: A marketing team needs several ad creatives for a new product. They can use this Skill to generate variations of product shots with different backgrounds and styles, or to edit existing photos to highlight specific features.

Quick Start

Use the imagegen skill to generate an image of a futuristic cityscape at sunset.

Frequently Asked Questions about imagegen

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

FAQPage Schema
How do I generate images from text descriptions using the OpenAI Image API?

To generate images from text descriptions, this Skill uses a bundled CLI script that sends structured requests to the OpenAI Image API, supporting use cases from photorealistic scenes to UI mockups. Prompt augmentation refines inputs for deterministic execution.

Can I edit existing images through inpainting and background replacement?

Yes, you can edit existing images through inpainting, background replacement, and style transfer. This Skill modifies photos based on specific instructions and leverages the optional Pillow dependency to streamline image manipulation workflows.

Do I need an OPENAI_API_KEY to use this image generation script?

Yes, you need an OPENAI_API_KEY to make live calls. This Skill requires the key to access the OpenAI Image API for generating new images or editing existing ones via its bundled CLI script.

What is the best way to generate multiple ad creatives for a marketing campaign?

The best way to generate multiple ad creatives is batch processing with a JSONL file. This Skill efficiently generates or edits multiple images, allowing marketing teams to create variations of product shots with different backgrounds and styles.

Does this image generation Skill work with Pillow for image manipulation?

Yes, this image generation Skill works with Pillow as an optional dependency. While the OpenAI Image API handles core generation and editing, Pillow provides additional support for advanced image manipulation tasks within your workflow.