imagegen

Generate and edit raster images with AI models and CLI workflows.

Updated Jan 4, 2026
One-click install
npx skills add https://github.com/YeaChan05/Remittance --skill imagegen-yeachan05
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: imagegen
Source: https://github.com/YeaChan05/Remittance/tree/main/.codex/skills/.system/imagegen
Command: npx skills add https://github.com/YeaChan05/Remittance --skill imagegen-yeachan05

SYSTEM DOCUMENTATION & REQUIREMENTS

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

What problem does it solve?

Automates the generation and editing of raster images using AI, reducing manual graphic design time and enabling rapid iteration of visuals for projects.

Core Features & Use Cases

  • Built-in image generation and editing via the image_gen tool (no OPENAI_API_KEY required for basic use).
  • Fallback CLI mode using scripts/image_gen.py for explicit model/size/transparency controls and true-transparent workflow.
  • Transparent-image workflow: generate on a flat chroma-key background, then remove chroma key locally with the remove_chroma_key.py helper for alpha extraction.
  • Prompt augmentation and structure: automatic prompt shaping and optional augmentation fields to guide outputs for product visuals, UI mocks, infographics, game art, and marketing visuals.
  • References and scripts: modular resources in scripts/ and references/ for deterministic tasks and in-depth guidance.

Quick Start

Start by generating or editing images with the built-in image_gen tool, and switch to the CLI fallback by explicitly invoking the scripts/image_gen.py path when you need deterministic model controls or true-transparent outputs.

Frequently Asked Questions about imagegen

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

FAQPage Schema
How do I generate images with AI transparency for website graphics and UI mocks?

To generate AI images with transparency, you first generate the image on a flat chroma-key background, then remove the chroma key locally using a helper script for alpha extraction. This workflow supports true-transparent outputs for assets like website graphics and UI mocks.

Do I need an OpenAI API key to generate and edit raster images with AI?

You do not need an OpenAI API key for basic image generation and editing. The built-in tool handles these tasks natively without requiring an API key, though an explicit CLI fallback mode is available for advanced controls.

What is the best way to control AI image size, quality, and model parameters?

The best way to control AI image size, quality, and model parameters is by using the explicit CLI fallback mode. This mode provides deterministic controls for model selection, sizing, quality, and true-transparent workflows.

Can I use AI image generation for game art and marketing visuals with structured prompting?

Yes, you can use AI image generation for game art and marketing visuals. The process applies automatic prompt shaping and optional augmentation fields to safely structure prompts and guide outputs for these specific asset types.

Why does the transparent image workflow use a chroma key background instead of direct alpha extraction?

The transparent image workflow uses a chroma key background because AI image models struggle with direct alpha extraction. Generating on a flat chroma key background allows a local helper script to accurately remove the background and extract the alpha channel.

How do I automate raster image editing and ensure safe prompt structures for my projects?

You can automate raster image editing by using the built-in generation tools alongside modular reference scripts. These resources apply prompt augmentation and size, quality, and transparency validations to ensure safe, structured prompting for rapid project iteration.