imagegen

Generate and edit raster images with the built-in image_gen workflow.

1|Updated Mar 8, 2026
One-click install
npx skills add https://github.com/oozoofrog/codex-skills --skill imagegen-oozoofrog
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: imagegen
Source: https://github.com/oozoofrog/codex-skills/tree/main/.system/imagegen
Command: npx skills add https://github.com/oozoofrog/codex-skills --skill imagegen-oozoofrog

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires openai, Pillow, and includes scripts (resource) and references (resource) components.

What problem does it solve?

This skill enables automated generation and editing of raster images for project assets using AI, saving time on visual asset creation.

Core Features & Use Cases

  • Built-in image generation/editing with the default image_gen tool (no API key required).
  • Fallback CLI mode (scripts/image_gen.py) for explicit CLI usage with an OpenAI API key.
  • Guidance and governance around prompts, prompts augmentation, and asset management via references/prompting.md and references/sample-prompts.md.

Quick Start

Use the built-in image_gen tool by default to generate or edit images and consult the references for prompting guidelines.

Frequently Asked Questions about imagegen

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

FAQPage Schema
How do I generate raster images for UI design and game art assets using AI?

AI raster image generation for UI design and game art assets is handled by a built-in image_gen tool that creates brand-new bitmaps from text prompts without requiring an API key. It validates size, quality, and output format while producing multiple variants for project workflows.

Can I edit existing images and transform references into new variants with AI?

Editing existing images and transforming references into new variants is supported by the built-in image_gen tool for automated raster asset workflows. It applies prompt augmentation and validates output parameters to manage transformed marketing visuals and game art.

Do I need an OpenAI API key to use the CLI fallback for image generation?

An OpenAI API key is required only when using the explicit CLI fallback mode via scripts/image_gen.py. The default built-in image_gen tool operates without any API key, allowing automated generation and editing of raster images directly.

What's the best way to write prompts for AI image generation to get consistent project assets?

Writing prompts for AI image generation to get consistent project assets is guided by references/prompting.md and references/sample-prompts.md. These references provide prompting guidelines and governance for prompt augmentation, size validation, and asset management across visual workflows.

Does this image generation tool validate output size, quality, and format for project assets?

Output size, quality, and format validation is enforced natively by the built-in image_gen workflow to manage raster project assets properly. It checks these parameters during automated generation and editing to ensure generated bitmaps meet workflow specifications.