Now liveThe Skillselion MCP - thousands of ranked skills, loaded into your agent mid-task. No install.Get it →
bighardperson avatar

Openai Image Gen

  • 8 installs
  • 33 repo stars
  • Updated April 26, 2026
  • bighardperson/computer-science-skills-collection

openai-image-gen is a Claude skill that batch-generates images via the OpenAI Images API and builds an HTML gallery of the results.

About

openai-image-gen is a skill that batch-generates images through the OpenAI Images API. It samples random-but-structured prompts and renders them, then outputs PNG images, a prompts.json mapping, and an index.html thumbnail gallery. A developer uses it to quickly produce a batch of images with configurable count, model, size, and quality; it needs an OpenAI API key.

  • Batch-generates images via the OpenAI Images API
  • Random structured prompt sampler plus an index.html thumbnail gallery
  • Configurable count, model, size, and quality flags

Openai Image Gen by the numbers

  • 8 all-time installs (skills.sh)
  • Ranked #1,074 of 1,337 Generative Media skills by installs in the Skillselion catalog
  • Data as of Jul 30, 2026 (Skillselion catalog sync)
At a glance

openai-image-gen capabilities & compatibility

Requires an OpenAI API key (OPENAI_API_KEY); image generation billed by OpenAI.

Capabilities
image generation · batch generation
Works with
openai
Use cases
image generation
Runs
Remote server
Pricing
Bring your own API key
From the docs

What openai-image-gen says it does

Batch-generate images via OpenAI Images API. Random prompt sampler + `index.html` gallery.
SKILL.md
`index.html` (thumbnail gallery)
SKILL.md
npx skills add https://github.com/bighardperson/computer-science-skills-collection --skill openai-image-gen

Add your badge

Show developers this skill is listed on Skillselion. Paste this into your README.

Listed on Skillselion
Installs8
repo stars33
Last updatedApril 26, 2026
Repositorybighardperson/computer-science-skills-collection

What it does

Batch-generate images via the OpenAI Images API and produce a thumbnail gallery.

Who is it for?

Batch-generating multiple images from the OpenAI Images API and reviewing them in a gallery.

Skip if: Local or offline image generation; it requires an OpenAI API key.

When should I use this skill?

You want to batch-generate images from prompts using the OpenAI Images API.

What you get

A set of PNG images, a prompts.json mapping, and an index.html thumbnail gallery.

  • Generated PNG images
  • prompts.json mapping
  • index.html gallery

Files

SKILL.mdMarkdownGitHub ↗

OpenAI Image Gen

Generate a handful of "random but structured" prompts and render them via OpenAI Images API.

Setup

  • Needs env: OPENAI_API_KEY

Run

python3 {baseDir}/scripts/gen.py

Useful flags:

python3 {baseDir}/scripts/gen.py --count 16 --model gpt-image-1.5
python3 {baseDir}/scripts/gen.py --prompt "ultra-detailed studio photo of a lobster astronaut" --count 4
python3 {baseDir}/scripts/gen.py --size 1536x1024 --quality high --out-dir ./out/images

Output

  • *.png images
  • prompts.json (prompt > file mapping)
  • index.html (thumbnail gallery)

Related skills

FAQ

What does it output?

PNG images, a prompts.json mapping prompts to files, and an index.html thumbnail gallery.

What key does it need?

The OPENAI_API_KEY environment variable.

This week in AI coding

Five minutes, every Monday - the tools, releases and tactics for developers.

unsubscribe anytime.