imagegen

Generate and edit raster images via image_gen tool or CLI fallback.

Updated May 25, 2026
One-click install
npx skills add https://github.com/pawan0631/AI_OpenAISkill --skill imagegen-pawan0631
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: imagegen
Source: https://github.com/pawan0631/AI_OpenAISkill/tree/main/skills/.system/imagegen
Command: npx skills add https://github.com/pawan0631/AI_OpenAISkill --skill imagegen-pawan0631

SYSTEM DOCUMENTATION & REQUIREMENTS

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

What problem does it solve?

Automates the creation and modification of raster images for projects by providing a built-in image generation tool and an explicit CLI fallback, reducing manual artwork tasks and ensuring consistent outputs.

Core Features & Use Cases

  • Built-in image_gen tool for normal image generation and editing without requiring an API key.
  • Fallback CLI path (scripts/image_gen.py) for explicit CLI-based workflows including generate, edit, and generate-batch.
  • Prompt augmentation, input handling, output format/size validation, and robust error handling with clear guidance and safety checks.
  • Rich reference materials and copy-paste prompts in references/prompting.md and references/sample-prompts.md to accelerate iteration.
  • Flexible output management including multiple images, downscaling, and workspace integration.

Quick Start

Use the built-in image_gen tool to start generating images for your project.

Frequently Asked Questions about imagegen

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

FAQPage Schema
How do I automate raster image generation for website assets without an API key?

You can automate raster image generation using the built-in image_gen tool, which creates website assets without requiring an API key while handling prompt augmentation and output validation directly.

What is prompt augmentation and how does it work for image creation?

Prompt augmentation enhances your base text prompts with structured modifications to guide image creation, ensuring outputs meet specific size and format requirements for your project assets.

Can I generate a batch of images using a CLI fallback workflow?

Yes, you can generate a batch of images using the explicit CLI fallback path (scripts/image_gen.py), which supports generate, edit, and generate-batch commands for CLI-based workflows.

Does this image generation workflow require external dependencies like Pillow?

The image generation workflow requires Python dependencies including openai and Pillow to process raster images, validate output formats, and handle image manipulation tasks.

What should I do if image generation fails or encounters an error?

If image generation fails, robust error handling provides clear guidance and safety checks, while the CLI fallback path offers an alternative route to complete your asset creation task.