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/understudy-ai-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: not checked yet.
What's inside
- Skill name
openai-image-gen- Description
- Batch-generate images via OpenAI Images API. Random prompt sampler + `index.html` gallery.
- License
- MIT
- Instructions
- 69 lines in SKILL.md · view on GitHub
Before installing
- Ships executable scripts
Files (3)
- SKILL.md
- gen.py · scripts/
- test_gen.py · scripts/
SKILL.md (first lines)
# OpenAI Image Gen
Generate a handful of “random but structured” prompts and render them via the OpenAI Images API.
## Run
Note: Image generation can take longer than common exec timeouts (for example 30 seconds).
When invoking this skill via Understudy’s exec tool, set a higher timeout to avoid premature termination/retries (e.g., exec timeout=300).
```bash
python3 {baseDir}/scripts/gen.py
open ~/Projects/tmp/openai-image-gen-*/index.html # if ~/Projects/tmp exists; else ./tmp/...
```
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
Different models support different parameter values. The script automatically selects appropriate defaults based on the model.
### 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
- Default: `standard`
### Other Notable Differences
- **dall-e-3** only supports generating 1 image at a time (`n=1`). The script automatically limits count to 1 when using this model.
- **GPT image models** support additional parameters:
- `--background`: `transparent`, `opaque`, or `auto` (default)
- `--output-format`: `png` (default), `jpeg`, or `webp`
- Note: `stream` and `moderation` are available via API but not yet implemented in this script
- **dall-e-3** has a `--style` parameter: `vivid` (hyper-real, dramatic) or `natural` (more natural looking)
## Output
- `*.png`, `*.jpeg`, or `*.webp` images (output format depends on model + `--output-format`)
- `prompts.json` (prompt → file mapping)
- `index.html` (thumbnail gallery)From understudy-ai/understudy, MIT.
More from understudy-ai/understudy
- 0.687score
xquik
understudy-ai
Use Xquik REST and MCP APIs for X data workflows: search public posts, inspect users, export datasets, download media, monitor accounts or keywords, and send…
SkillCFreshness: C★ 464Claude Code +9 - 0.615score
skill-creator
understudy-ai
Create, edit, improve, review, audit, or clean up AgentSkills.
SkillDFreshness: D★ 464Claude Code +9 - 0.614score
researcher
understudy-ai
Research current topics with multiple sources and produce a structured brief, comparison, recommendation, or fact-check.
SkillDFreshness: D★ 464Claude Code +9 - 0.614score
slack
understudy-ai
Use when you need to control Slack from Understudy via the slack tool, including reacting to messages or pinning/unpinning items in Slack channels or DMs.
SkillDFreshness: D★ 464Claude Code +9 - 0.614score
things-mac
understudy-ai
Manage Things 3 via the `things` CLI on macOS (add/update projects+todos via URL scheme; read/search/list from the local Things database).
SkillDFreshness: D★ 464Claude Code +9 - 0.614score
healthcheck
understudy-ai
Host security hardening and risk-tolerance guidance for Understudy deployments.
SkillDFreshness: D★ 464Claude Code +9 - 0.528score
synthesize-brief
understudy-ai
Turn context findings into a summary packet and short brief.
SkillDFreshness: D★ 464Claude Code +9 - 0.528score
render-brief-assets
understudy-ai
Render polished cover and summary-card image assets for the brief package.
SkillDFreshness: D★ 464Claude Code +9 - 0.528score
compose-summary-video
understudy-ai
Compose the final draft summary video from the generated assets and brief.
SkillDFreshness: D★ 464Claude Code +9 - 0.528score
prepare-delivery-preview
understudy-ai
Prepare the delivery preview payload from the generated assets.
SkillDFreshness: D★ 464Claude Code +9 - 0.528score
target-brief-studio
understudy-ai
Hand-written end-to-end playbook for a reusable target brief workflow.
SkillDFreshness: D★ 464Claude Code +9 - 0.528score
target-brief-baseline-stage
understudy-ai
Single-stage acceptance playbook for the baseline context phase.
SkillDFreshness: D★ 464Claude Code +9
Signals
- Stars
- 464
- Forks
- 36
- Open issues
- 2
- Last commit (this folder)
- Mar 12, 2026 (7 months ago)
From GitHub (fetched Oct 24, 2026).
Details
- License
- MIT
- Repository
- github.com/understudy-ai/understudy
- First seen
- Oct 24, 2026
- Last checked
- Oct 24, 2026
- Source
- GitHubgithub-graphql
Same skill elsewhere
Copies of this SKILL.md published by others; search shows only one of them.
- 0.795score
openai-image-gen
Bitterbot-AI
Batch-generate images via OpenAI Images API.
SkillAFreshness: A★ 2.5KClaude Code +9 - 0.351score
openai-image-gen
CraftOS-dev
Batch-generate images via OpenAI Images API.
SkillAFreshness: A★ 400Claude Code +9 - 0.349score
openai-image-gen
openaeon
Batch-generate images via OpenAI Images API.
SkillCFreshness: C★ 90Claude Code +9 - 0.306score
openai-image-gen
hvwin8
Batch-generate images via OpenAI Images API.
SkillDFreshness: D★ 61Claude Code +9 - 0.306score
openai-image-gen
NJX-njx
Batch-generate images via OpenAI Images API.
SkillDFreshness: D★ 59Claude Code +9 - 0.302score
openai-image-gen
GenTelLab
Batch-generate images via OpenAI Images API.
SkillDFreshness: D★ 49Claude Code +9 - 0.299score
openai-image-gen
lllooollpp
Batch-generate images via OpenAI Images API.
SkillDFreshness: D★ 38Claude Code +9 - 0.292score
openai-image-gen
openxjarvis
Batch-generate images via OpenAI Images API.
SkillDFreshness: D★ 67Claude Code +9 - 0.290score
openai-image-gen
Flexasaurusrex
Batch-generate images via OpenAI Images API.
SkillDFreshness: D★ 16Claude Code +9 - 0.289score
openai-image-gen
x402agent
Batch-generate images via OpenAI Images API.
SkillCFreshness: C★ 25Claude Code +9 - 0.288score
openai-image-gen
ApiliumCode
Batch-generate images via OpenAI Images API.
SkillDFreshness: D★ 13Claude Code +9 - 0.283score
openai-image-gen
hongmaple0820
Batch-generate images via OpenAI Images API.
SkillDFreshness: D★ 11Claude Code +9
More from understudy-ai
- 0.687score
xquik
understudy-ai
Use Xquik REST and MCP APIs for X data workflows: search public posts, inspect users, export datasets, download media, monitor accounts or keywords, and send…
SkillCFreshness: C★ 464Claude Code +9 - 0.615score
skill-creator
understudy-ai
Create, edit, improve, review, audit, or clean up AgentSkills.
SkillDFreshness: D★ 464Claude Code +9 - 0.614score
things-mac
understudy-ai
Manage Things 3 via the `things` CLI on macOS (add/update projects+todos via URL scheme; read/search/list from the local Things database).
SkillDFreshness: D★ 464Claude Code +9 - 0.614score
researcher
understudy-ai
Research current topics with multiple sources and produce a structured brief, comparison, recommendation, or fact-check.
SkillDFreshness: D★ 464Claude Code +9 - 0.614score
slack
understudy-ai
Use when you need to control Slack from Understudy via the slack tool, including reacting to messages or pinning/unpinning items in Slack channels or DMs.
SkillDFreshness: D★ 464Claude Code +9 - 0.614score
healthcheck
understudy-ai
Host security hardening and risk-tolerance guidance for Understudy deployments.
SkillDFreshness: D★ 464Claude Code +9
Cite this page
openai-image-gen skill. Agent Mart. https://agentmart.dev/skills/understudy-ai-openai-image-gen (last updated 2026-10-24)