# OpenAI Image Gen

> Batch-generate images through the OpenAI Images API with a prompt sampler and gallery output.

- Skill: `agentskillexchange/openai-image-gen-2` (Agent Skill)
- Install (CLI): `npx skillmds@latest add agentskillexchange/openai-image-gen-2`
- Raw SKILL.md: https://api.skillmd.com/api/skills/agentskillexchange/openai-image-gen-2/raw
- Safety review: pending (external: skill-scanner PASS, skillspector PASS)
- Works with: Claude Code, Claude.ai, OpenAI Codex
- Category: AI & ML
- Author: agentskillexchange (https://skillmd.com/u/agentskillexchange)
- Updated: 2026-09-21
- Page: https://skillmd.com/skills/agentskillexchange/openai-image-gen-2

---


# OpenAI Image Gen

Batch-generate images through the OpenAI Images API with a prompt sampler and gallery output.

## Prerequisites

Node.js, npm

## Installation

Install or set up from the source-backed instructions:

npm install openai

- Source: https://github.com/openai/openai-node

## Documentation

- https://platform.openai.com/docs/api-reference

## Source

- [Agent Skill Exchange](https://agentskillexchange.com/skills/openai-image-gen/)

