image-generation

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

6|2|Updated Apr 10, 2026
One-click install
npx skills add https://github.com/hackeshackes/deerfllow-BY --skill image-generation-hackeshackes
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: image-generation
Source: https://github.com/hackeshackes/deerfllow-BY/tree/main/skills/public/image-generation
Command: npx skills add https://github.com/hackeshackes/deerfllow-BY --skill image-generation-hackeshackes

SYSTEM DOCUMENTATION & REQUIREMENTS

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

What problem does it solve?

This skill addresses the challenge of creating, visualizing, or imagining various types of images using structured prompts and optional reference images.

Core Features & Use Cases

  • Structured JSON Prompts: Customize image generation with structured JSON prompts.
  • Reference Images: Utilize reference images for style and composition guidance.
  • Automated Image Generation: Execute Python scripts to generate images programmatically.
  • Use Case: Generate a detailed character design for a story or a stylized scene for a video game concept art.

Quick Start

Run the following command to create an image based on a prompt and reference images:

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 \
  --aspect-ratio 16:9

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 using a Python script and structured JSON prompts?

To generate images using a Python script, execute the generate.py script with your structured JSON prompt file and optional reference images to output a customized generated image. You can specify the output file and aspect ratio directly via command line arguments.

Can I use reference images to guide the style and composition of AI image creation?

Yes, you can use reference images to guide AI image creation by passing their file paths to the script. The image generation process utilizes these reference images to inform the specific styles and composition details of the final output.

What is the best way to create character design concept art programmatically?

The best way to create character design concept art programmatically is by defining detailed styles and specifics in a structured JSON prompt. You then execute the Python script to generate high-quality character designs or stylized scenes for video game concepts.

Do I need to install PIL and requests to run this image generation script?

Yes, you need the PIL and requests dependencies installed in your Python environment to run this image generation script. The script relies on these libraries alongside base64 and json to process inputs and execute the image generation successfully.

What are the limitations of using structured prompts for AI image generation?

A limitation of using structured prompts for AI image generation is that the output quality heavily depends on the precision of your JSON structure and reference images. If the prompt lacks specific style details or the references are unclear, the generated image may not match your exact visualization.

Does image generation work with specific aspect ratios for video game concept art?

Yes, image generation works with specific aspect ratios for video game concept art by utilizing the aspect-ratio command line argument. This allows you to tailor the dimensions of the generated output to fit your project requirements precisely.