One-click install
npx skills add https://github.com/ZiadNagar/zeVillage-AI-Toolkit --skill imagegen-ziadnagar
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: imagegen
Source: https://github.com/ZiadNagar/zeVillage-AI-Toolkit/tree/main/skills/imagegen
Command: npx skills add https://github.com/ZiadNagar/zeVillage-AI-Toolkit --skill imagegen-ziadnagar

SYSTEM DOCUMENTATION & REQUIREMENTS

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

What problem does it solve?

Generate and edit images for projects using the OpenAI Image API, enabling rapid creation of visuals such as concept art, product shots, UI mockups, and marketing assets without manual design from scratch.

Core Features & Use Cases

  • Generate new images using the bundled CLI image_gen.py for deterministic, reproducible results.
  • Edit existing images (inpainting, masking, background changes) by providing prompts and optional masks.
  • Batch generate multiple variants to accelerate asset production and design exploration.

Quick Start

Use the bundled CLI image_gen.py to generate or edit images, and ensure OPENAI_API_KEY is set for live calls.

Frequently Asked Questions about imagegen

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

FAQPage Schema
How do I batch generate image variants using the OpenAI Image API?

Inpainting with the OpenAI Image API is performed by invoking the bundled CLI script in edit mode, supplying a text prompt alongside an input image and an optional mask to selectively modify specific regions like backgrounds.

Do I need an OPENAI_API_KEY to generate images with Python?

Yes, you need a valid OPENAI_API_KEY configured in your environment to execute live image generation and editing calls through the Python CLI, ensuring authenticated access to the OpenAI Image API.

Can I use Python and Pillow for background removal and image downscaling?

Python and Pillow are used within this workflow for image handling and optional downscaling, supporting post-processing tasks like background removal and resizing after the OpenAI Image API returns the generated or edited visual assets.

What's the best way to automate UI mockup and product visual creation?

Automating UI mockup and product visual creation is best achieved by using the bundled CLI script for deterministic prompt engineering, generating reproducible concept art and marketing assets directly through the OpenAI Image API.

Does prompt engineering affect reproducible results in AI image generation?

Prompt engineering directly impacts AI image generation by guiding the OpenAI Image API to produce deterministic, reproducible results, ensuring consistent concept art and product visuals across batch processing workflows.