Claude Code Plugins

Community-maintained marketplace

Feedback

openai-image-gen

@steipete/clawdis
432
0

Batch-generate images via OpenAI Images API. Random prompt sampler + `index.html` gallery.

Install Skill

1Download skill
2Enable skills in Claude

Open claude.ai/settings/capabilities and find the "Skills" section

3Upload to Claude

Click "Upload skill" and select the downloaded ZIP file

Note: Please verify skill by going through its instructions before using it.

SKILL.md

name openai-image-gen
description Batch-generate images via OpenAI Images API. Random prompt sampler + `index.html` gallery.
homepage https://platform.openai.com/docs/api-reference/images
metadata [object Object]

OpenAI Image Gen

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

Run

python3 {baseDir}/scripts/gen.py
open ~/Projects/tmp/openai-image-gen-*/index.html  # if ~/Projects/tmp exists; else ./tmp/...

Useful flags:

python3 {baseDir}/scripts/gen.py --count 16 --model gpt-image-1
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)