openai-image-gen

Generate images from text prompts via the OpenAI Images API and save a gallery.

9|2|Updated Mar 12, 2026
One-click install
npx skills add https://github.com/hongmaple0820/agent-academy --skill openai-image-gen-hongmaple0820
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: openai-image-gen
Source: https://github.com/hongmaple0820/agent-academy/tree/main/skills/ai-ml/openai-image-gen
Command: npx skills add https://github.com/hongmaple0820/agent-academy --skill openai-image-gen-hongmaple0820

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) components.

What problem does it solve?

Generate images efficiently from text prompts using the OpenAI Images API, enabling rapid visual asset creation for demos and prototypes.

Core Features & Use Cases

  • Batch image generation from prompts with model-aware defaults and output customization.
  • Auto-creates a browsable gallery (index.html) and a prompts mapping (prompts.json) for easy review and sharing.
  • Use cases include design exploration, marketing visuals, and rapid prototyping of UI mockups.

Quick Start

Run the script to generate a gallery of images from prompts.

Frequently Asked Questions about openai-image-gen

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

FAQPage Schema
How do I batch generate AI images from text prompts using the OpenAI Images API?

You can batch generate AI images by running the script with your text prompts, which calls the OpenAI Images API and saves a local gallery with thumbnails and a prompts.json mapping file.

Can I use DALL-E and GPT image models to automate AI art generation?

Yes, the script supports both DALL-E and GPT image models, allowing you to automate AI art generation with model-aware defaults for different sizes and styles.

Do I need an OPENAI_API_KEY to batch generate images from prompts?

Yes, a valid OPENAI_API_KEY is required to authenticate your requests when you batch generate images from prompts using this script.

What is the best way to create a browsable gallery of AI generated images?

The script auto-creates a browsable index.html gallery with thumbnails and a prompts.json mapping, providing an efficient way to review and share your batch-generated visual assets.

How does batch image generation work for rapid UI prototyping and design exploration?

Batch image generation works by processing multiple text prompts through the OpenAI Images API, rapidly producing visual assets that you can use for design exploration and UI mockup prototyping.