OpenAI Image Gen

SkillMedia

Lets your agent generate batches of images with OpenAI and view them in a thumbnail gallery.

Then ask your AI: use the OpenAI Image Gen skill

Details

Instructions available. Your AI can read the instructions. Execution depends on the setup they require.

Add it as a step in a pipeline you build on Ahel, or connect Ahel to Claude, ChatGPT, Cursor, Claude Code or Codex and ask your AI to use it.

About this skill

OpenAI Images API: batches, prompt sampler, gallery.

What this skill tells your AI

The instructions your AI receives, as published by steipete/agent-scripts in skills/openai-image-gen/SKILL.md and read by Ahel’s review.

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)

Signals

GitHub stars
7k
Forks
635
Last commit
Oct 2026

Ahel review

  • S4info
    community integration, published by steipete, not openai

Automated review, not a security audit. Ruleset v1+k2.

Advanced
Item type
skill
Key
openai-image-gen-steipete
Source
github.com/steipete/agent-scripts