imagegen

Generate or edit raster images using AI-driven tooling with structured output paths.

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

SYSTEM DOCUMENTATION & REQUIREMENTS

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

What problem does it solve?

Generates or edits raster images for projects using AI-driven tooling, reducing manual image production time and enabling rapid iteration across assets like website banners, product shots, and UI visuals.

Core Features & Use Cases

  • Built-in image_gen tool (default) for normal image generation and editing, not requiring an API key.
  • Fallback CLI mode (explicit-only) via scripts/image_gen.py for batch tasks, advanced prompts, and output control (requires OPENAI_API_KEY).
  • Guidance and references live in references/prompting.md and references/sample-prompts.md to standardize prompt construction and augmentation.

Quick Start

Describe your image goal and choose between the built-in image_gen tool or the explicit CLI fallback to proceed.

Frequently Asked Questions about imagegen

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

FAQPage Schema
How do I generate AI images for a project without manual design work?

AI image generation for projects is handled by a built-in tool that processes input prompts to create raster images. It validates inputs, manages output paths, and supports rapid iteration for assets like website banners and UI visuals.

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

An OpenAI API key is not required for the default built-in image generation and editing tool. You only need the OPENAI_API_KEY if you explicitly use the CLI fallback mode for batch tasks, advanced prompts, and output control.

Can I use a CLI fallback for batch image generation and advanced prompts?

Batch image generation via CLI is supported through an explicit fallback script. It requires the OPENAI_API_KEY and provides advanced prompt control and structured output path management for complex, high-volume image workflows.

How do I structure prompts for AI image generation and editing?

Prompt construction for AI image generation is standardized using guidance and reference files. These resources cover prompt augmentation and sample prompts to help you build effective inputs for generating or editing raster images.

Does this image generation workflow support optional references for editing?

Optional references are supported within the image generation workflow. The system coordinates these references alongside input prompts and prompting guidance to support end-to-end image editing and generation tasks.

What are the limitations of using the built-in image_gen tool versus the CLI fallback?

The built-in image_gen tool handles normal generation and editing without an API key, but lacks batch processing and advanced output control. For batch tasks and customized output formats, you must use the explicit CLI fallback mode.