Skip to content
AI & Agents
Skill

/openai-image-gen

OpenAI Images API: batches, prompt sampler, gallery.

From plugin
agent-scripts
7.6k54 skills

Claude Code

$ npx -y skills add steipete/agent-scripts --skill openai-image-gen --agent claude-code

SKILL.md

openai-image-gen.SKILL.md
name: openai-image-gen
description: "OpenAI Images API: batches, prompt sampler, gallery."

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

From any directory (outputs to `~/Projects/tmp/...` when present; else `./tmp/...`):

python3 ~/Projects/agent-scripts/skills/openai-image-gen/scripts/gen.py
open ~/Projects/tmp/openai-image-gen-*/index.html

Useful flags:

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

Output

  • `*.png` images
  • `prompts.json` (prompt ↔ file mapping)
  • `index.html` (thumbnail gallery)
@steipete
Ships withagent-scripts

Shared agent instructions, skills, and small portable helpers for Peter's local workspaces.

Stars on GitHub

Momentum

stars in total
7.6k
Star history of steipete/agent-scripts on GitHub, a chart by star-history.com

Other skills on agent-scripts.

browser-use

browser-use

Control the user's existing signed-in Chrome: callable Codex Chrome plugin first, then OpenClaw extension-backed mcporter, with…

More skills from other plugins.

1password

1password

Set up and use 1Password CLI for sign-in, desktop integration, and reading or injecting secrets.

openclaw3w393k
@openclaw@openclawInstall Skill

Questions about openai-image-gen.

Which coding agents can use openai-image-gen?
openai-image-gen installs in Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, OpenCode and Windsurf with the skills CLI, using each agent's flag shown on this page. Flowy's auto-invocation, which fires a skill when your prompt matches, runs in Claude Code only.