Skip to content
Back to skills

Image Generation

ASecurity

Generate images using OpenAI's GPT Image model. Use for creating images from text prompts. Keywords: image, generate, openai, gpt-image, dalle, picture, art, create.

  • 57 stars
  • 0 votes
  • 0 copies
  • 0 views
  • Added October 17, 2026
ai-agentsbashapi

Works with

  • cli
  • api

Security analysis

A100/100

Scanned October 17, 2026

npx -y skills add diegosouzapw/awesome-omni-skill --skill image-generation --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Image Generation?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Image Generation
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/diegosouzapw-image-generation-awesome-omni-skill/badge)](https://www.skillsdirectory.com/skills/diegosouzapw-image-generation-awesome-omni-skill)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: Image Generation
description: Generate images using OpenAI's GPT Image model. Use for creating images from text prompts. Keywords: image, generate, openai, gpt-image, dalle, picture, art, create.
---

# Image Generation

AI image generation powered by OpenAI's GPT Image model (chatgpt-image-latest).

## Variables

- **IMAGE_GEN_CLI_PATH**: `.claude/skills/image-gen/image_gen_cli/`

## Instructions

Run from IMAGE_GEN_CLI_PATH:
```bash
cd .claude/skills/image-gen/image_gen_cli/
uv run img --help                  # Discover all commands
uv run img generate --help         # Image generation options
uv run img emojify --help          # Discord emoji conversion
```

## Naming Convention

Images and emojis follow a strict naming convention:

| Type | Format | Example |
|------|--------|---------|
| Source images | `word_word.png` (underscores) | `town_guard.png` |
| Discord emojis | `word-word.png` (hyphens) | `town-guard.png` |

**Rules:**
- Names must have **at least 2 words**
- Source images use **underscores** (`_`)
- Emoji versions use **hyphens** (`-`)
- The `emojify` command auto-converts naming

## Rules

- **Requires OPENAI_API_KEY** - must be set in environment or .env
- **Cost aware** - high quality + large size = more tokens = higher cost
- **Discord emoji limits** - 128x128px recommended, 256KB max file size

## Troubleshooting

- **"OPENAI_API_KEY not found"**: Add `OPENAI_API_KEY=sk-...` to .env
- **"Rate limit exceeded"**: Wait and retry, or upgrade API tier
- **Emoji too large**: Use `--max-size` to target smaller file size

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.