Batch-generate images via OpenAI Images API. Random prompt sampler + `index.html` gallery.
Scanned 9/8/2026
Install to Claude Code
npx -y skills add infometa/workbuddyskills --skill openai-image-gen --agent claude-codeInstalls into .claude/skills of the current project.
Are you the author of Openai Image Gen?
Add the live security badge to your README — it updates automatically with every re-scan.
[](https://www.skillsdirectory.com/skills/infometa-openai-image-gen-workbuddyskills)More formats (shields.io, HTML) on the badges page.
---
name: openai-image-gen
description: "Batch-generate images via OpenAI Images API. Random prompt sampler + `index.html` gallery."
description_zh: "批量生成图片并创建图库"
description_en: "Batch image generation with gallery view"
version: 1.0.1
---
# 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
```bash
python3 {baseDir}/scripts/gen.py
```
Useful flags:
```bash
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)
Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.
No comments yet. Be the first to comment!
Ultra-compressed communication mode. Cuts token usage ~75% by speaking like caveman while keeping full technical accuracy. Supports intensity levels: lite, full (default), ultra, wenyan-lite, wenyan-full, wenyan-ultra. Use when user says "caveman mode", "talk like caveman", "use caveman", "less tokens", "be brief", or invokes /caveman. Also auto-triggers when token efficiency is requested.