openai-image-gen

Generate images from text prompts using the OpenAI DALL-E 3 API.

53|7|Updated Jun 28, 2025
One-click install
npx skills add https://github.com/0xBigBoss/claude-code --skill openai-image-gen-0xbigboss
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: openai-image-gen
Source: https://github.com/0xBigBoss/claude-code/tree/main/.claude/skills/openai-image-gen
Command: npx skills add https://github.com/0xBigBoss/claude-code --skill openai-image-gen-0xbigboss

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires curl, jq.

What problem does it solve?

This skill enables developers and designers to generate on-demand AI visuals for projects without leaving the terminal, streamlining the creation of banners, icons, and assets.

Core Features & Use Cases

  • CLI-based image generation via OpenAI's DALL-E 3 API for rapid asset production.
  • Presets for Gothic cathedral visuals demonstrated in the repository, plus how to customize prompts for hero images, backgrounds, and windows.
  • Use Case: You need a set of website hero images; run the CLI to generate several prompts and save to files for iteration and review.

Quick Start

~/.claude/skills/openai-image-gen/generate.sh 'Divine light rays through Gothic cathedral rose window, purple-blue glass, gold accents' hero.png 1792x1024 hd

Frequently Asked Questions about openai-image-gen

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I generate DALL-E 3 images via CLI for web design assets?

Generate DALL-E 3 images via CLI by running a shell script that uses curl to call the OpenAI API and jq to parse responses, directly outputting visual assets like banners and icons to files.

Do I need an OpenAI API key to generate AI images from the terminal?

Yes, an OPENAI_API_KEY must be configured in your environment to authenticate terminal requests when generating AI images through the DALL-E 3 API.

Can I specify custom dimensions and quality for DALL-E 3 image generation?

Yes, you can specify custom dimensions like 1792x1024 and quality settings such as hd as CLI parameters to generate tailored hero images and visual assets.

What dependencies are required to automate image generation with OpenAI?

Automating OpenAI image generation requires curl for making HTTP API requests and jq for parsing JSON responses, alongside an active OPENAI_API_KEY in your environment.

How do I create consistent visual presets like Gothic cathedral themes using DALL-E 3?

Create consistent visual presets by customizing text prompts with specific descriptive vocabulary like 'Gothic cathedral rose window' and passing them to the CLI for iterative DALL-E 3 image generation.