Batch-generate images via OpenAI Images API. Random prompt sampler + `index.html` gallery.
Installation
$skills install @clawdbot/openai-image-gen
Claude Code
Cursor
Copilot
Codex
Antigravity
Details
Repositoryclawdbot/clawdbot
Pathskills/openai-image-gen/SKILL.md
Branchmain
Scoped Name@clawdbot/openai-image-gen
Usage
After installing, this skill will be available to your AI coding assistant.
Verify installation:
skills listSkill Instructions
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: {"clawdbot":{"emoji":"🖼️","requires":{"bins":["python3"],"env":["OPENAI_API_KEY"]},"primaryEnv":"OPENAI_API_KEY","install":[{"id":"python-brew","kind":"brew","formula":"python","bins":["python3"],"label":"Install Python (brew)"}]}}
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
*.pngimagesprompts.json(prompt → file mapping)index.html(thumbnail gallery)
More by clawdbot
View allspotify-player
2,354Terminal Spotify playback/search via spogo (preferred) or spotify_player.
notion
2,354Notion API for creating and managing pages, databases, and blocks.
summarize
2,354Summarize URLs or files with the summarize CLI (web, PDFs, images, audio, YouTube).
oracle
2,354Best practices for using the oracle CLI (prompt + file bundling, engines, sessions, and file attachment patterns).
