Agent skill · design visual · bytedance

image-generation

Use this skill when the user requests to generate, create, imagine, or visualize images including characters, scenes, products, or any visual content. Supports structured prompts and reference images for guided generation.

Why this skill is useful

Adds an executable Python script for generating high-quality images based on structured JSON prompts and reference images.

What it needs

Requires python installed locally. About 5k tokens when loaded. Last updated 2026-08-07. 79,444 stars on the source repository.

What this skill does

Image Generation Skill Overview This skill generates high-quality images using structured prompts and a Python script. The workflow includes creating JSON-formatted prompts and executing image generation with optional reference images. Core Capabilities Create structured JSON prompts for AIGC image generation Support multiple reference images for style/composition guidance Generate images through automated Python script execution Handle various image generation scenarios (character design, scenes, products, etc.) Workflow Step 1: Understand Requirements When a user requests image generation, identify: Subject/content: What should be in the image Style preferences: Art style, mood, color palette Technical specs: Aspect ratio, composition, lighting Reference images: Any images to guide generation You don't need to check the folder under /mnt/user-data Step 2: Create Structured Prompt Generate a structured JSON file in /mnt/user-data/workspace/ with naming pattern: {descriptive-name}.json Step 3: Execute Generation Call the Python script: Parameters: --prompt-file: Absolute path to JSON prompt file (required) --reference-images: Absolute paths to reference images (optional, space-separated) --output-file: Absolute path to output image file (required) --aspect-ratio: Aspect ratio of the generated image (optional, default: 16:9) [!NOTE] Do NOT read the python file, just call it with the parameters. Character Generation Example User request: "Create a Tokyo street style woman character in 1990s" Create prompt file: /mnt/user-data/workspace/asian-woman.json Execute generation: With reference images: Common Scenarios Use different JSON schemas for different scenarios. …

How to use it

Reference it in AdaL, Claude Code, Cursor or any coding agent — nothing to install:

@skills bytedance/image-generation

View the source on GitHub

Browse the @skills marketplace