Skip to content
openai-image-gen logo

OpenAI Image Gen

openai-image-gen

Batch-generate images via OpenAI Images API. Random prompt sampler + `index.html` gallery.

Carrerajorge/Hola0installs1stars

SKILL.md

Full skill instructions

OpenAI Image Gen

Generate a handful of “random but structured” prompts and render them via the OpenAI Images API.

Run

python3 {baseDir}/​scripts/​gen.py
open ~/​Projects/​tmp/​openai-image-gen-*/​index.html  # if ~/​Projects/​tmp exists; else ./​tmp/​...

Useful flags:

# 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)

More skills from Carrerajorge

blogwatcher logo
Carrerajorge/Hola

blogwatcher

Monitor blogs and RSS/Atom feeds for updates using the blogwatcher CLI.

1 0
View
imsg logo
Carrerajorge/Hola

imsg

iMessage/SMS CLI for listing chats, history, and sending messages via Messages.app.

1 0
View
things-mac logo
Carrerajorge/Hola

things-mac

Manage Things 3 via the `things` CLI on macOS (add/update projects+todos via URL scheme; read/search/list from the local Things database). Use when a user asks OpenClaw to add a task to Things, list inbox/today/upcoming, search tasks, or inspect projects/areas/tags.

1 0
View

Composition patterns for building flexible, maintainable React components. Avoid boolean prop proliferation by using compound components, lifting state, and composing internals. These patterns make codebases easier for both humans and AI agents to work with as they scale.

1 0
View
blucli logo
Carrerajorge/Hola

blucli

BluOS CLI (blu) for discovery, playback, grouping, and volume.

1 0
View
nano-banana-pro logo
Carrerajorge/Hola

nano-banana-pro

Generate or edit images via Gemini 3 Pro Image (Nano Banana Pro).

1 0
View
linear-issue logo
Carrerajorge/Hola

linear-issue

Fetch and analyze Linear issue with all related context. Use when starting work on a Linear ticket, analyzing issues, or gathering context about a Linear issue.

1 0
View
gifgrep logo
Carrerajorge/Hola

gifgrep

Search GIF providers with CLI/TUI, download results, and extract stills/sheets.

1 0
View
content-design logo
Carrerajorge/Hola

content-design

Product content designer for UI copy. Use when writing, reviewing, or auditing user-facing text: button labels, error messages, tooltips, empty states, modal copy, placeholder text, confirmation dialogs, onboarding flows, or i18n strings. Also use when the user says /copy, /content, or /ux-copy.

1 0
View
slack logo
Carrerajorge/Hola

slack

Use when you need to control Slack from OpenClaw via the slack tool, including reacting to messages or pinning/unpinning items in Slack channels or DMs.

1 0
View
eightctl logo
Carrerajorge/Hola

eightctl

Control Eight Sleep pods (status, temperature, alarms, schedules).

1 0
View
sonoscli logo
Carrerajorge/Hola

sonoscli

Control Sonos speakers (discover/status/play/volume/group).

1 0
View

Popular AI tools

Kaiber logo
Video

Kaiber

Generate, edit, and beat-sync AI video with leading models in one workspace.

Paid
View
Vimcal logo
Productivity

Vimcal

The world's fastest calendar for remote work

Free
View

Transform Your Design with AI Designer by ImgCreator.ai

Freemium
View
Akool AI logo
Content & writing

Akool AI

Revolutionizing Video Production with AI-Powered Creativity

Paid
View

Extend an image past the frame and let AI fill the new aspect ratio.

Freemium
View
StarByFace logo
Security

StarByFace

Discover your celebrity doppelgänger with StarByFace!

Free
View
C

ChainClarity explains 700+ crypto whitepapers in plain English, with layered summaries, comparisons, research tools, alerts, and a $4.99 Pro plan.

Freemium
View
Opus Clip logo
Coding & apps

Opus Clip

Opus.ai: Revolutionize Your Web Experience

Free
View