---
title: "OpenAI Image Gen"
description: "Batch-generate images through the OpenAI Images API with a prompt sampler and gallery output."
verification: "security_reviewed"
source: "https://github.com/openai/openai-node"
author: "openai"
publisher_type: "open_source_collective"
category:
  - "Image & Creative Automation"
framework:
  - "OpenClaw"
tool_ecosystem:
  github_repo: "openai/openai-node"
  github_stars: 10856
---

# OpenAI Image Gen

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

## Prerequisites

Node.js, npm

## Installation

Choose whichever fits your setup:

1. Copy this skill folder into your local skills directory.
2. Clone the repo and symlink or copy the skill into your agent workspace.
3. Add the repo as a git submodule if you manage shared skills centrally.
4. Install it through your internal provisioning or packaging workflow.
5. Download the folder directly from GitHub and place it in your skills collection.

Install command or upstream instructions:

```
npm install openai
```

## Documentation

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

## Source

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