image-generation

Generate images from JSON prompt files and reference images via Python scripts.

4|Updated Mar 29, 2026
One-click install
npx skills add https://github.com/syusama/deer-flow-wechat --skill image-generation-syusama
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: image-generation
Source: https://github.com/syusama/deer-flow-wechat/tree/main/deer-flow/skills/public/image-generation
Command: npx skills add https://github.com/syusama/deer-flow-wechat --skill image-generation-syusama

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) components.

What problem does it solve?

This Skill addresses the need for generating images from structured prompts and reference images, providing a streamlined process for visual content creation.

Core Features & Use Cases

  • Structured Prompt Creation: Create JSON-formatted prompts to guide the image generation process.
  • Reference Images: Utilize reference images for style and composition guidance.
  • Automated Script Execution: Execute Python scripts to generate images with specified parameters.
  • Scalable Application: Handle various image generation scenarios such as character design, scenes, and product visualization.

Quick Start

Use the image-generation skill to create an image of a futuristic cityscape. First, create a structured prompt file and save it to /mnt/user-data/workspace/futuristic-city.json. Then, execute the generation script with the following command:

python /mnt/skills/public/image-generation/scripts/generate.py \
  --prompt-file /mnt/user-data/workspace/futuristic-city.json \
  --output-file /mnt/user-data/outputs/futuristic-cityscape.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 from structured prompts and reference images?

To generate images from structured prompts, you create a JSON-formatted prompt file and execute the Python generation script. You can optionally include reference images to guide the style and composition of the output visual content.

What is a structured prompt file for image generation?

A structured prompt file is a JSON-formatted document that defines parameters and guidance for the image generation process. It provides the Python script with specific instructions to create tailored visual content.

Can I use reference images to guide the style of generated visual content?

Yes, you can use reference images to guide the style and composition of the generated visual content. The Python script processes these optional inputs alongside the structured prompt to direct the image output.

Do I need Python to run the image generation script?

Yes, Python is required to execute the image generation script. The skill utilizes Python scripts and libraries for image processing to generate visual content from your structured prompts and reference images.

What visual content creation scenarios does structured prompt image generation support?

Structured prompt image generation supports various scalable visual content scenarios including character design, scenes, and product visualization. It handles these by utilizing Python scripts with your specified parameters.

How do I set the aspect ratio when generating an image with a Python script?

You set the aspect ratio by passing the --aspect-ratio argument when executing the Python generation script. This parameter works with your structured prompt file to define the dimensions of the output image.