imagegen

Generate and edit images via the OpenAI Image API.

Updated Mar 14, 2026
One-click install
npx skills add https://github.com/thanhquan3010/hospital-management-system-v3 --skill imagegen-thanhquan3010
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: imagegen
Source: https://github.com/thanhquan3010/hospital-management-system-v3/tree/main/.agents/skills/imagegen
Command: npx skills add https://github.com/thanhquan3010/hospital-management-system-v3 --skill imagegen-thanhquan3010

SYSTEM DOCUMENTATION & REQUIREMENTS

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

What problem does it solve?

This Skill enables users to create new images from text descriptions or modify existing ones, streamlining visual content creation for various applications.

Core Features & Use Cases

  • Image Generation: Create original images based on detailed prompts.
  • Image Editing: Modify existing images through inpainting, background replacement, and other edits.
  • Batch Processing: Generate or edit multiple images efficiently.
  • Use Case: Generate a hero image for a website landing page, or edit a product photo to change its background.

Quick Start

Use the imagegen skill to generate an image of a cat wearing a hat.

Frequently Asked Questions about imagegen

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

FAQPage Schema
How do I generate images from text using the OpenAI Image API?

Yes, you can edit existing images using the OpenAI Image API through inpainting and background replacement. It processes your provided images to apply modifications based on specific text prompts for visual content updates.

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

For batch processing, you can generate or edit multiple images efficiently by submitting multiple image requests. The skill handles these requests sequentially using the bundled CLI script to deliver bulk visual content outputs.

What is the best way to create concept art and UI design mockups with AI?

Yes, this image generation approach handles visual design tasks like concept art, product mockups, and UI design. It uses bundled reference materials and prompting guidelines to ensure outputs meet specific visual content creation requirements.

Are there limitations when using Python and Pillow for AI image generation?

Limitations of using Python and Pillow for AI image generation include relying entirely on the OpenAI Image API for creative rendering. Pillow handles local image processing, but deterministic execution depends on API availability and your OpenAI API key limits.