New advertisers: 50% off your first month with code FIRSTMONTHSee slots
bytedance avatar

Image Generation

Generates images from structured JSON prompts with optional reference images for style and composition guidance.

skills.sh installs
2.9K
GitHub stars
85.6K
last updated
Aug 21, 2026
View on GitHub

What it does

  • Covers character design, scene generation, and product visualization, each with its own JSON schema for attributes and composition
  • Runs a Python generate.py script with --prompt-file, --reference-images, --output-file, and --aspect-ratio (default 16:9)
  • Includes a Doraemon comic template that is read only when the request matches it
  • Saves output to /mnt/user-data/outputs/ and shares results via the present_files tool

Install

$ npx -y skills add bytedance/deer-flow --skill image-generation -y

Installs into .agents/skills for every agent it finds here, and .claude/skills for Claude Code.

Files

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

Details

Repository
github.com/bytedance/deer-flow
Category
AI Image, Video & Voice
First seen
May 16, 2026

More from bytedance/deer-flow

All 18

Similar to Image Generation

More AI Image, Video & Voice