openai-image-gen
Generate images via OpenAI Images API (GPT Image, DALL-E 3, DALL-E 2).
Skill by swarmclawai
Install
Works with Claude Code, Claude apps, Codex, Cursor, Gemini CLI, GitHub Copilot, VS Code, OpenCode, Goose, Windsurf. Read the repository before you give any tool access to your data.
npx agentmarket install skill/swarmclawai-openai-image-gen
Asks which of your tools to add it to (Claude Code, Codex, Cursor, VS Code, Windsurf, Gemini CLI, Claude Desktop) and shows the change first. See https://agentmart.dev/cli.
Get the weekly diff
The weekly diff: one email a week with new agent tools, notable updates and grade changes, plus security alerts for tools you follow. Double opt-in, one-click unsubscribe.
About
Use cases: frontend, backend, agent-building
Reviews
Write a reviewNo reviews yet. Installed it? Reviews come from verified installers only. How reviews work
Permissions
What this skill can do and what it asks for, from its SKILL.md. Checked Oct 25, 2026.
- Tools
- No tools found
- Secrets
- None asked for
- Install scripts
- None found
- Runs as
- Python package
Network hosts it talks to 1
codeload.github.com· found in install command
Files it touches
~/.claude/skills/openai-image-gen
What's inside
- Skill name
openai-image-gen- Description
- Generate images via OpenAI Images API (GPT Image, DALL-E 3, DALL-E 2). Supports batch generation with random prompt sampler and HTML gallery output. Use when asked to generate images with OpenAI and an OPENAI_API_KEY is available.
- License
- MIT
- Instructions
- 56 lines in SKILL.md · view on GitHub
Before installing
- Ships executable scripts
Files (2)
- SKILL.md
- gen.py · scripts/
SKILL.md (first lines)
# OpenAI Image Gen
Generate images via the OpenAI Images API with an HTML gallery viewer.
## Run
Note: Image generation can take longer than typical timeouts. Set a higher timeout when running via shell (e.g., 300 seconds).
```bash
python3 {baseDir}/scripts/gen.py
```
## Useful Flags
```bash
# GPT image models with various options
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
python3 {baseDir}/scripts/gen.py --model gpt-image-1.5 --background transparent --output-format webp
# DALL-E 3 (note: count is automatically limited to 1)
python3 {baseDir}/scripts/gen.py --model dall-e-3 --quality hd --size 1792x1024 --style vivid
python3 {baseDir}/scripts/gen.py --model dall-e-3 --style natural --prompt "serene mountain landscape"
# DALL-E 2
python3 {baseDir}/scripts/gen.py --model dall-e-2 --size 512x512 --count 4
```
## Model-Specific Parameters
### Size
- **GPT image models** (`gpt-image-1`, `gpt-image-1-mini`, `gpt-image-1.5`): `1024x1024`, `1536x1024` (landscape), `1024x1536` (portrait), or `auto`. Default: `1024x1024`
- **dall-e-3**: `1024x1024`, `1792x1024`, or `1024x1792`. Default: `1024x1024`
- **dall-e-2**: `256x256`, `512x512`, or `1024x1024`. Default: `1024x1024`
### Quality
- **GPT image models**: `auto`, `high`, `medium`, or `low`. Default: `high`
- **dall-e-3**: `hd` or `standard`. Default: `standard`
- **dall-e-2**: `standard` only
### Other Parameters
- **GPT image models** support `--background` (`transparent`, `opaque`, `auto`) and `--output-format` (`png`, `jpeg`, `webp`)
- **dall-e-3** supports `--style` (`vivid` for hyper-real, `natural` for more natural looking)
- **dall-e-3** only supports `n=1`; the script automatically limits count to 1
## Output
- Image files (`*.png`, `*.jpeg`, or `*.webp` depending on model and format)
- `prompts.json` (prompt-to-file mapping)
- `index.html` (thumbnail gallery — open in browser to review)From swarmclawai/swarmclaw, MIT.
More from swarmclawai/swarmclaw
- 0.705score
nano-banana-pro
swarmclawai
Generate or edit images via Gemini 3 Pro Image (Nano Banana Pro).
SkillCFreshness: C★ 697Claude Code +9 - 0.701score
skill-creator
swarmclawai
Create, edit, improve, or audit skills for SwarmClaw agents.
SkillCFreshness: C★ 697Claude Code +9 - 0.700score
swarmclaw
swarmclawai
Manage your SwarmClaw agent fleet — agents, tasks, chats, chatrooms, goals, schedules, memory, wallets, connectors, autonomy, and 40+ more command groups.
SkillCFreshness: C★ 697Claude Code +9 - 0.700score
nano-pdf
swarmclawai
Edit or create PDFs with natural-language instructions using the nano-pdf CLI.
SkillCFreshness: C★ 697Claude Code +9 - 0.700score
coding-agent
swarmclawai
Delegate coding tasks to external coding agents (Claude Code, Codex, Pi, OpenCode) via shell.
SkillCFreshness: C★ 697Claude Code +9 - 0.700score
swarmvault
swarmclawai
Use when working with a SwarmVault knowledge vault (raw/, wiki/, swarmvault.schema.md).
SkillCFreshness: C★ 697Claude Code +9 - 0.700score
swarmclaw
swarmclawai
AI agent runtime and multi-agent orchestration platform.
SkillCFreshness: C★ 697Claude Code +9 - 0.700score
github
swarmclawai
GitHub operations via `gh` CLI: issues, PRs, CI runs, code review, API queries.
SkillCFreshness: C★ 697Claude Code +9 - 0.696score
resourceful-problem-solving
swarmclawai
Always-on guidance for solving tasks resourcefully.
SkillCFreshness: C★ 697Claude Code +9 - 0.693score
google-workspace
swarmclawai
Use Google Workspace CLI (`gws`) for Drive, Docs, Sheets, Gmail, Calendar, Chat, and related Workspace API tasks.
SkillCFreshness: C★ 697Claude Code +9 - 0.584score
summarize
swarmclawai
Summarize or extract text/transcripts from URLs, podcasts, YouTube videos, and local files using the summarize CLI.
SkillCFreshness: C★ 697Claude Code +9
Signals
- Stars
- 697
- Forks
- 140
- Open issues
- 12
- Last commit (this folder)
- Mar 17, 2026 (7 months ago)
- Last release
- Jun 30, 2026 (4 months ago)
From GitHub (fetched Oct 24, 2026).
Details
- License
- MIT
- Repository
- github.com/swarmclawai/swarmclaw
- Website
- www.swarmclaw.ai
- First seen
- Oct 24, 2026
- Last checked
- Oct 24, 2026
- Source
- GitHubgithub-graphql
More from swarmclawai
- 0.705score
nano-banana-pro
swarmclawai
Generate or edit images via Gemini 3 Pro Image (Nano Banana Pro).
SkillCFreshness: C★ 697Claude Code +9 - 0.702score
swarmvault
swarmclawai
Use SwarmVault when the user needs a local-first knowledge vault that writes durable markdown, graph, search, dashboard, review, chat-session, context-pack…
SkillCFreshness: C★ 730Claude Code +9 - 0.701score
skill-creator
swarmclawai
Create, edit, improve, or audit skills for SwarmClaw agents.
SkillCFreshness: C★ 697Claude Code +9 - 0.700score
coding-agent
swarmclawai
Delegate coding tasks to external coding agents (Claude Code, Codex, Pi, OpenCode) via shell.
SkillCFreshness: C★ 697Claude Code +9 - 0.700score
github
swarmclawai
GitHub operations via `gh` CLI: issues, PRs, CI runs, code review, API queries.
SkillCFreshness: C★ 697Claude Code +9 - 0.700score
nano-pdf
swarmclawai
Edit or create PDFs with natural-language instructions using the nano-pdf CLI.
SkillCFreshness: C★ 697Claude Code +9
Cite this page
openai-image-gen skill. Agent Mart. https://agentmart.dev/skills/swarmclawai-openai-image-gen (last updated 2026-10-24)