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

Video Generation

Structured JSON prompt and reference-image video generation that runs through a Python script with Gemini or MiniMax.

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

What it does

  • Covers the video workflow: write a structured JSON prompt, optionally add a reference image, then run generation
  • Includes a generate.py call with flags --prompt-file, --reference-images, --output-file, and --aspect-ratio
  • Enforces image extensions of .png, .jpg, .jpeg, .webp, or .gif, rejecting any others before submission
  • Selects Gemini Veo or MiniMax from environment variables, with MiniMax resolution and duration set by env vars

Install

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

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

Files

Video Generation Skill

Overview

This skill generates high-quality videos using structured prompts and a Python script. The workflow includes creating JSON-formatted prompts and executing video generation with optional reference image.

Core Capabilities

  • Create structured JSON prompts for AIGC video generation
  • Support reference image as guidance or the first/last frame of the video
  • Generate videos through automated Python script execution

Workflow

Step 1: Understand Requirements

When a user requests video generation, identify:

  • Subject/content: What should be in the image
  • Style preferences: Art style, mood, color palette
  • Technical specs: Aspect ratio, composition, lighting
  • Reference image: Any image 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: Create Reference Image (Optional when image-generation skill is available)

Generate reference image for the video generation.

  • If only 1 image is provided, use it as the guided frame of the video

Details

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

More from bytedance/deer-flow

All 18

Similar to Video Generation

More AI Image, Video & Voice