image-generation

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

1|Updated Feb 27, 2026
One-click install
npx skills add https://github.com/9Ashwin/aswin-skills --skill image-generation-9ashwin
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: image-generation
Source: https://github.com/9Ashwin/aswin-skills/tree/main/skills/image-generation
Command: npx skills add https://github.com/9Ashwin/aswin-skills --skill image-generation-9ashwin

SYSTEM DOCUMENTATION & REQUIREMENTS

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

What problem does it solve?

This Skill provides a solution for generating high-quality images with structured prompts and reference images, catering to various visual content creation needs.

Core Features & Use Cases

  • Structured Prompts: Create JSON-formatted prompts to guide image generation.
  • Reference Images: Utilize reference images for style and composition guidance.
  • Python Script Execution: Automated Python script execution for image generation.
  • Scalable Use Cases: Suitable for character design, scene generation, product visualization, etc.

Quick Start

Generate an image based on the prompt: "Create a futuristic cityscape with neon lights and skyscrapers, style: Cyberpunk, 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 structured prompts and reference photos?

To generate images using structured prompts, you create JSON-formatted text and supply reference images to guide style and composition. The Skill processes these inputs through an automated Python script to produce high-quality visual content.

Can I use Python scripts and Pillow for automated visual content creation?

Yes, automated Python script execution handles the image generation pipeline. It utilizes the Pillow library, along with requests and base64, to process JSON prompts and reference images into final visual outputs.

What is the best way to create character designs and product visualizations with JSON prompts?

The best way to create character designs and product visualizations is by defining detailed JSON-formatted prompts. This structures the generation parameters precisely, while reference images provide specific visual guidance for the output.

Does this image generation method support scene generation for different aspect ratios like 16:9?

Yes, scene generation supports specifying aspect ratios like 16:9 directly within the JSON prompt structure. This allows you to tailor the generated visual content for specific display formats and presentation needs.

Do I need to install specific dependencies like Pillow and requests before generating images?

Yes, you need to install Pillow, requests, and base64 dependencies in your environment. These libraries are required to execute the Python scripts that process your reference images and structured prompts.

How does providing reference images improve the image generation output?

Providing reference images improves output by directly guiding the visual style and composition of the generated content. The script uses these references alongside your structured JSON prompts to ensure the final image matches your desired aesthetic.