# Openclaw Openai Image Gen

> python3 C:\\Users\\Administrator\\.openclaw\\workspace\\Projects\\agent-scripts/skills/openai-image-gen/scripts/gen.py

- Skill: `urjuyaimon09/openclaw-openai-image-gen` (Agent Skill, multi-file: 2 files)
- Install (CLI): `npx skillmds@latest add urjuyaimon09/openclaw-openai-image-gen`
- Raw SKILL.md: https://api.skillmd.com/api/skills/urjuyaimon09/openclaw-openai-image-gen/raw
- Safety review: pending
- Works with: Claude Code, Claude.ai, OpenAI Codex
- Category: AI & ML
- Author: urjuyaimon09 (https://skillmd.com/u/urjuyaimon09)
- Updated: 2026-09-17
- Page: https://skillmd.com/skills/urjuyaimon09/openclaw-openai-image-gen

---

python3 C:\\Users\\Administrator\\.openclaw\\workspace\\Projects\\agent-scripts/skills/openai-image-gen/scripts/gen.py
open C:\\Users\\Administrator\\.openclaw\\workspace\\Projects\\tmp/openai-image-gen-*/index.html

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

Openai Image Gen Batch-generate images via OpenAI Images API. Random prompt sampler + `index.html` gallery. MIT-0 · Free to use, modify, and redistribute. No attribution required. ⭐ 25 · 18.9k · 1k current installs · 1k all-time installs by Peter Steinberger · @steipete MIT-0 Security Scan VirusTotal VirusTotal Benign View report → OpenClaw OpenClaw Suspicious high confidence The code does what the name/description claim (batch-generate images via the OpenAI Images API), but the skill metadata omits the required API key and the script allows overriding the API base URL (which could send your key to an arbitrary host) — these inconsistencies warrant caution. Details ▾ ✓ Purpose &amp; Capability The included script implements batch image generation, prompt sampling, saving PNGs, prompts.json, and an index.html gallery — this matches the skill name and description. ℹ Instruction Scope SKILL.md tells the user to run the included Python script and open the gallery; it expects outputs in C:\\Users\\Administrator\\.openclaw\\workspace\\Projects\\tmp when present or ./tmp otherwise. The runtime instructions do not ask the agent to read unrelated system files or exfiltrate data, but they reference a specific repo-like path (C:\\Users\\Administrator\\.openclaw\\workspace\\Projects\\agent-scripts/skills/openai-image-gen/scripts/gen.py) which may be incorrect for some installs and could confuse users. ✓ Install Mechanism No install spec or external downloads — the skill is instruction + a local script only, so nothing is fetched or installed automatically. ! Credentials SKILL.md and the script require an OpenAI API key (OPENAI_API_KEY) and accept OPENAI_BASE_URL / OPENAI_API_BASE overrides, but the registry metadata lists no required env vars or primary credential — this is an incoherence. Additionally, allowing OPENAI_BASE_URL/OPENAI_API_BASE to point anywhere means the script will send your Authorization header (the API key) to whatever host is configured, which could be abused if misconfigured or maliciously set. ✓ Persistence &amp; Privilege The skill does not request persistent/always-on inclusion, does not modify other skills, and only writes output files into the chosen out directory; no elevated platform privileges are requested. What to consider before installing This skill&#x27;s code looks consistent with its stated function, but the registry metadata failed to declare the required OPENAI_API_KEY (and optional OPENAI_BASE_URL / OPENAI_API_BASE). Before installing or running: (1) verify you want to provide your OpenAI API key and prefer using the --api-key flag or a dedicated environment variable; (2) do NOT set OPENAI_BASE_URL or OPENAI_API_BASE to unknown hosts (that would cause your API key to be sent to that host); (3) run with --dry-run first to inspect prompts, and review the script locally to satisfy yourself there are no surprises; and (4) be cautious about the SKILL.md file paths (they assume a particular local layout) and adjust commands to the actual install location. Like a lobster shell, security has layers — review code before you run it. Current version v 1.0.1 Download zip latest v k97awchpxwkedanrjxfqqdkdhs7yndjm License MIT-0 Free to use, modify, and redistribute. No attribution required. Terms https://spdx.org/licenses/MIT-0.html Files Compare Versions SKILL.md 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 C:\\Users\\Administrator\\.openclaw\\workspace\\Projects\\tmp/... when present; else ./tmp/... ): python3 C:\\Users\\Administrator\\.openclaw\\workspace\\Projects\\agent-scripts/skills/openai-image-gen/scripts/gen.py open C:\\Users\\Administrator\\.openclaw\\workspace\\Projects\\tmp/openai-image-gen-*/index.html Useful flags: python3 C:\\Users\\Administrator\\.openclaw\\workspace\\Projects\\agent-scripts/skills/openai-image-gen/scripts/gen.py --count 16 --model gpt-image-1.5 python3 C:\\Users\\Administrator\\.openclaw\\workspace\\Projects\\agent-scripts/skills/openai-image-gen/scripts/gen.py --prompt &quot;ultra-detailed studio photo of a lobster astronaut&quot; --count 4 python3 C:\\Users\\Administrator\\.openclaw\\workspace\\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) Files 2 total SKILL.md 1.0 KB scripts/gen.py 7.5 KB Select a file Select a file to preview. Comments Loading comments…
