askill
openai-image-gen

openai-image-genSafety 95Repository

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

0 stars
1.2k downloads
Updated 2/5/2026

Package Files

Loading files...
SKILL.md

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)

Install

Download ZIP
Requires askill CLI v1.0+

AI Quality Score

72/100Analyzed 2/18/2026

Decent skill for batch-generating images via OpenAI Images API. Well-structured with clear run commands, useful flags, and good metadata (homepage, tags, install instructions). Missing explicit 'when to use' section but implied from description. Main weaknesses: relies on specific repo structure ({baseDir}), doesn't include the actual script, and lacks setup/error handling details. Located in proper skills folder which is good structure. The core functionality (API usage with flags) is accurate and reusable in concept.

95
85
55
60
65

Metadata

Licenseunknown
Version-
Updated2/5/2026
Publishercatchmeifyoucaan

Tags

apillmprompting
openai-image-gen - AI Agent Skill | askill