imagegen

Generate and edit raster bitmap images for web, game, and UI assets.

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

SYSTEM DOCUMENTATION & REQUIREMENTS

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

What problem does it solve?

This Skill streamlines creating and editing raster bitmap images so designers and developers can quickly produce photos, illustrations, mockups, sprites, and transparent-background cutouts without wrestling with prompt structure, tool selection, or file handling.

Core Features & Use Cases

  • Built-in image_gen tool first with a clear decision tree for generate vs edit, plus an explicit CLI fallback for advanced controls.
  • Prompt augmentation templates, taxonomy-aligned use cases, and workspace-aware save/move policies to ensure project assets are preserved and versioned.
  • Use Case Example: produce a hero product mockup, edit a product photo to remove background, or generate many visual variants for A/B testing.

Quick Start

Generate a 1024x1024 photorealistic product mockup of a matte black mug for the landing page using the built-in image_gen tool.

Frequently Asked Questions about imagegen

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

FAQPage Schema
How do I generate raster bitmap images for web and UI assets from text prompts?

To generate raster bitmap images, this Skill uses a built-in image_gen tool with prompt augmentation templates, automatically handling workspace-aware output paths to save web and UI assets directly to your project.

Can I edit existing images and remove backgrounds using masks?

Yes, you can edit existing raster images by applying masks for inpainting and background removal, using the explicit CLI fallback to control mask fidelity and output quality when the built-in tool is insufficient.

What's the best way to batch generate multiple visual variants for product mockups?

The best way to batch generate mockup variants is using the built-in image generation tool, which applies taxonomy-aligned use cases and workspace-aware save policies to preserve and version multiple asset outputs.

Do I need an OPENAI_API_KEY to use the image generation CLI fallback?

Yes, you need an OPENAI_API_KEY environment variable to use the explicit CLI fallback, which provides advanced controls for quality, input_fidelity, mask parameters, and custom output paths.

Does this image editing workflow support transparent background cutouts for game sprites?

Yes, the image editing workflow supports creating transparent-background cutouts for game sprites and illustrations, handling compositing and workspace-aware file handling to preserve project assets.

Why use prompt augmentation templates for AI image generation?

Prompt augmentation templates streamline AI image generation by automatically structuring your text inputs, ensuring the built-in tool produces accurate photos, illustrations, and mockups without manual prompt engineering.