image-generation

Generate images from structured JSON prompts and reference images via Python scripts.

34|4|Updated Mar 25, 2026
One-click install
npx skills add https://github.com/darknetopencv-alt/autodev --skill image-generation-darknetopencv-alt
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: image-generation
Source: https://github.com/darknetopencv-alt/autodev/tree/main/src/autodev/skills/image-generation
Command: npx skills add https://github.com/darknetopencv-alt/autodev --skill image-generation-darknetopencv-alt

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires PIL, requests, base64, and includes scripts (resource) and assets (resource) components.

What problem does it solve?

This Skill helps users generate images from structured prompts and reference images, eliminating the need for manual image creation and providing high-quality, on-demand visual content.

Core Features & Use Cases

  • Structured Prompt Creation: Supports creating JSON-formatted prompts for AI-generated images.
  • Reference Images: Incorporates multiple reference images for style and composition guidance.
  • Automated Generation: Executes image generation using a Python script with optional reference images.
  • Scalable Use: Handles various image generation scenarios, including character design, scenes, and products.
  • Use Case: Imagine a designer needing a custom character image. The Skill allows them to define the character's attributes, upload reference images, and generate the desired image.

Quick Start

To generate an image using a structured prompt and reference images, execute the following command:

python /mnt/skills/public/image-generation/scripts/generate.py \
  --prompt-file /mnt/user-data/workspace/prompt-file.json \
  --reference-images /path/to/ref1.jpg /path/to/ref2.png \
  --output-file /mnt/user-data/outputs/generated-image.jpg

Frequently Asked Questions about image-generation

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

FAQPage Schema
How do I generate images from structured prompts and reference images?

To generate images from structured prompts, execute the Python script with a JSON prompt file and optional reference images. This automates visual content creation by utilizing your defined attributes and style guidance to produce the desired output.

Can I use multiple reference images for AI image creation in a single run?

Yes, AI image creation supports incorporating multiple reference images in a single execution. You can pass multiple image file paths to the script to provide comprehensive style and composition guidance for the generated visual.

What is a structured prompt for AI image creation and how does it work?

A structured prompt for AI image creation is a JSON-formatted file defining specific attributes for the desired visual. It works by passing these defined parameters to the Python script, ensuring automated generation precisely matches your character, scene, or product requirements.

Do I need Python and PIL to automate image generation with this approach?

Yes, you need Python and dependencies including PIL, requests, and base64 to automate image generation. This environment executes the script that processes your structured prompts and reference images to output the final generated file.

What are the limitations of using reference images for design visualization?

Reference images provide style and composition guidance but do not guarantee exact replication in design visualization. The generated output interprets these references alongside your structured prompt, meaning results may vary based on the AI's rendering of the combined inputs.