Community코딩 & 개발github.com

비디오 생성

사용자가 비디오 생성, 제작, 상상을 요청할 때 이 스킬을 사용하세요. 구조화된 프롬프트와 참조 이미지를 지원하여 안내된 생성을 가능하게 합니다.

비디오 생성란 무엇인가요?

이 스킬은 구조화된 프롬프트와 Python 스크립트를 사용하여 고품질 비디오를 생성하는 AI 에이전트 스킬입니다. JSON 형식의 프롬프트를 생성하고, 선택적 참조 이미지(첫 번째/마지막 프레임 또는 가이드 프레임)를 사용하여 비디오 생성을 유도합니다. 주로 Claude Code, Cursor, Codex와 같은 터미널 기반 AI 코딩 에이전트에서 실행되며, Python 스크립트(generate.py)를 직접 호출하여 비디오를 생성합니다. Gemini Veo와 MiniMax Hailuo 비디오 모델을 지원하며, 환경 변수(GEMINI_API_KEY, MINIMAX_API_KEY)나 VIDEO_GENERATION_PROVIDER를 통해 제공자를 자동 선택할 수 있습니다. 또한 이미지 생성 스킬과 연계하여 참조 이미지를 먼저 생성한 후 비디오 생성에 활용할 수 있어, 일관된 시각적 결과물을 얻을 수 있습니다.

지원 대상~Claude Code~Codex CLI~Cursor✓Gemini CLI
npx skills add https://github.com/bytedance/deer-flow/tree/main/skills/public/video-generation

Installed? Explore more 코딩 & 개발 skills: steipete/bluebubbles, steipete/eightctl, steipete/blucli · View all 6 →

즐겨 사용하는 AI에게 물어보기

이 에이전트 스킬이 미리 로드된 새 채팅을 엽니다.

문서

비디오 생성 스킬

개요

이 스킬은 구조화된 프롬프트와 Python 스크립트를 사용하여 고품질 비디오를 생성합니다. 워크플로우에는 JSON 형식의 프롬프트 생성과 선택적 참조 이미지를 사용한 비디오 생성 실행이 포함됩니다.

핵심 기능

  • AIGC 비디오 생성을 위한 구조화된 JSON 프롬프트 생성
  • 비디오 가이드 또는 첫 번째/마지막 프레임으로 참조 이미지 지원
  • 자동화된 Python 스크립트 실행을 통한 비디오 생성

워크플로우

1단계: 요구 사항 파악

사용자가 비디오 생성을 요청하면 다음을 식별하세요:

  • 주제/내용: 비디오에 포함되어야 할 내용
  • 스타일 선호: 아트 스타일, 분위기, 색상 팔레트
  • 기술 사양: 종횡비, 구도, 조명
  • 참조 이미지: 생성을 안내할 이미지
  • /mnt/user-data 아래 폴더를 확인할 필요는 없습니다.

2단계: 구조화된 프롬프트 생성

/mnt/user-data/workspace/에 {설명적인-이름}.json 패턴으로 구조화된 JSON 파일을 생성합니다.

3단계: 참조 이미지 생성 (이미지 생성 스킬이 사용 가능한 경우 선택 사항)

비디오 생성을 위한 참조 이미지를 생성합니다.

  • 이미지가 1개만 제공된 경우 비디오의 가이드 프레임으로 사용합니다.

3단계: 생성 실행

Python 스크립트 호출:

python /mnt/skills/public/video-generation/scripts/generate.py \
  --prompt-file /mnt/user-data/workspace/prompt-file.json \
  --reference-images /path/to/ref1.jpg \
  --output-file /mnt/user-data/outputs/generated-video.mp4 \
  --aspect-ratio 16:9

매개변수:

  • --prompt-file: JSON 프롬프트 파일의 절대 경로 (필수)
  • --reference-images: 참조 이미지의 절대 경로 (선택 사항)
  • --output-file: 출력 비디오 파일의 절대 경로 (필수)
  • --aspect-ratio: 생성된 비디오의 종횡비 (선택 사항, 기본값: 16:9)

[!참고] Python 파일을 읽지 말고, 매개변수와 함께 직접 호출하세요.

비디오 생성 예시

사용자 요청: "'나니아 연대기: 사자, 마녀, 그리고 옷장'의 오프닝 장면을 묘사하는 짧은 비디오 클립을 생성해 주세요."

1단계: '나니아 연대기: 사자, 마녀, 그리고 옷장'의 오프닝 장면을 온라인에서 검색합니다.

2단계: 다음 내용으로 JSON 프롬프트 파일을 생성합니다:

{
  "title": "나니아 연대기 - 기차역 작별",
  "background": {
    "description": "2차 세계대전 대피 장면, 혼잡한 런던 기차역. 증기와 연기가 공기를 가득 채우고, 아이들이 블리츠를 피해 시골로 보내지고 있습니다.",
    "era": "1940년대 전시 영국",
    "location": "런던 기차역 플랫폼"
  },
  "characters": ["페벤시 부인", "루시 페벤시"],
  "camera": {
    "type": "클로즈업 투샷",
    "movement": "정적, 미세한 핸드헬드 움직임",
    "angle": "프로필 뷰, 친밀한 프레이밍",
    "focus": "두 얼굴 모두 초점, 배경은 소프트 보케"
  },
  "dialogue": [
    {
      "character": "페벤시 부인",
      "text": "날 위해 용감해야 한단다, 자기야. 내가 널 데리러 올게... 약속해."
    },
    {
      "character": "루시 페벤시",
      "text": "그럴게요, 어머니. 약속해요."
    }
  ],
  "audio": [
    {
      "type": "기차 기적 소리 (출발 신호)",
      "volume": 1
    },
    {
      "type": "현악기가 감정적으로 고조되었다가 사라짐",
      "volume": 0.5
    },
    {
      "type": "기차역의 주변 소리",
      "volume": 0.5
    }
  ]
}

3단계: 이미지 생성 스킬을 사용하여 참조 이미지를 생성합니다.

이미지 생성 스킬을 로드하고 스킬에 따라 단일 참조 이미지 narnia-farewell-scene-01.jpg를 생성합니다.

4단계: generate.py 스크립트를 사용하여 비디오를 생성합니다.

python /mnt/skills/public/video-generation/scripts/generate.py \
  --prompt-file /mnt/user-data/workspace/narnia-farewell-scene.json \
  --reference-images /mnt/user-data/outputs/narnia-farewell-scene-01.jpg \
  --output-file /mnt/user-data/outputs/narnia-farewell-scene-01.mp4 \
  --aspect-ratio 16:9

Python 파일을 읽지 말고, 매개변수와 함께 직접 호출하세요.

출력 처리

생성 후:

  • 비디오는 일반적으로 /mnt/user-data/outputs/에 저장됩니다.
  • 생성된 비디오(먼저)와 해당되는 경우 생성된 이미지를 present_files 도구를 사용하여 사용자와 공유합니다.
  • 생성 결과에 대한 간략한 설명을 제공합니다.
  • 조정이 필요한 경우 반복 작업을 제안합니다.

참고 사항

  • 사용자 언어와 관계없이 프롬프트는 항상 영어를 사용합니다.
  • JSON 형식은 구조화되고 구문 분석 가능한 프롬프트를 보장합니다.
  • 참조 이미지는 생성 품질을 크게 향상시킵니다.
  • 최적의 결과를 위해 반복적인 개선이 일반적입니다.

제공자 (Gemini / MiniMax)

환경 변수에 의해 자동 선택됨 (CLI 변경 없음):

  • GEMINI_API_KEY 설정 → Gemini Veo (기본값, 변경 없음).
  • MINIMAX_API_KEY만 설정됨 → MiniMax 비디오 (/v1/video_generation, 비동기 3단계 폴링/다운로드).
  • VIDEO_GENERATION_PROVIDER=gemini|minimax로 강제 지정.

MiniMax 재정의: MINIMAX_API_HOST (기본값 https://api.minimaxi.com), MINIMAX_VIDEO_MODEL (기본값 MiniMax-Hailuo-2.3). 첫 번째 참조 이미지는 MiniMax first_frame_image로 사용됩니다. MiniMax는 --aspect-ratio를 무시합니다 (해상도/지속 시간 사용).

Individual skills in this repo

This repo contains 20 individual skills — each has its own dedicated page.

academic-paper-review

Use this skill when the user requests to review, analyze, critique, or summarize academic papers, research articles, preprints, or scientific publications. Supports comprehensive structured reviews covering methodology assessment, contribution evaluation, literature positioning, and constructive feedback generation. Trigger on queries involving paper URLs, uploaded PDFs, arXiv links, or requests like "review this paper", "analyze this research", "summarize this study", or "write a peer review".

bootstrap

Generate a personalized SOUL.md through a warm, adaptive onboarding conversation. Trigger when the user wants to create, set up, or initialize their AI partner's identity — e.g., "create my SOUL.md", "bootstrap my agent", "set up my AI partner", "define who you are", "let's do onboarding", "personalize this AI", "make you mine", or when a SOUL.md is missing. Also trigger for updates: "update my SOUL.md", "change my AI's personality", "tweak the soul".

bytedance/academic-paper-review

Use this skill when the user requests to review, analyze, critique, or summarize academic papers, research articles, preprints, or scientific publications. Supports comprehensive structured reviews covering methodology assessment, contribution evaluation, literature positioning, and constructive feedback generation. Trigger on queries involving paper URLs, uploaded PDFs, arXiv links, or requests like "review this paper", "analyze this research", "summarize this study", or "write a peer review".

bytedance/chart-visualization

This skill should be used when the user wants to visualize data. It intelligently selects the most suitable chart type from 26 available options, extracts parameters based on detailed specifications, and generates a chart image using a JavaScript script.

bytedance/claude-to-deerflow

Interact with DeerFlow AI agent platform via its HTTP API. Use this skill when the user wants to send messages or questions to DeerFlow for research/analysis, start a DeerFlow conversation thread, check DeerFlow status or health, list available models/skills/agents in DeerFlow, manage DeerFlow memory, upload files to DeerFlow threads, or delegate complex research tasks to DeerFlow. Also use when the user mentions deerflow, deer flow, or wants to run a deep research task that DeerFlow can handle.

bytedance/consulting-analysis

Use this skill when the user requests to generate, create, or write professional research reports including but not limited to market analysis, consumer insights, brand analysis, financial analysis, industry research, competitive intelligence, investment due diligence, or any consulting-grade analytical report. This skill operates in two phases — (1) generating a structured analysis framework with chapter skeleton, data query requirements, and analysis logic, and (2) after data collection by other skills, producing the final consulting-grade report with structured narratives, embedded charts, and strategic insights.

bytedance/data-analysis

Use this skill when the user uploads Excel (.xlsx/.xls) or CSV files and wants to perform data analysis, generate statistics, create summaries, pivot tables, SQL queries, or any form of structured data exploration. Supports multi-sheet Excel workbooks, aggregation, filtering, joins, and exporting results to CSV/JSON/Markdown.

bytedance/deep-research

Use this skill instead of WebSearch for ANY question requiring web research. Trigger on queries like "what is X", "explain X", "compare X and Y", "research X", or before content generation tasks. Provides systematic multi-angle research methodology instead of single superficial searches. Use this proactively when the user's question needs online information.

bytedance/find-skills

Helps users discover and install agent skills when they ask questions like "how do I do X", "find a skill for X", "is there a skill that can...", or express interest in extending capabilities. This skill should be used when the user is looking for functionality that might exist as an installable skill.

bytedance/frontend-design

Create distinctive, production-grade frontend interfaces with high design quality. Use this skill when the user asks to build web components, pages, artifacts, posters, or applications (examples include websites, landing pages, dashboards, React components, HTML/CSS layouts, or when styling/beautifying any web UI). Generates creative, polished code and UI design that avoids generic AI aesthetics.

bytedance/github-deep-research

Conduct multi-round deep research on any GitHub Repo. Use when users request comprehensive analysis, timeline reconstruction, competitive analysis, or in-depth investigation of GitHub. Produces structured markdown reports with executive summaries, chronological timelines, metrics analysis, and Mermaid diagrams. Triggers on Github repository URL or open source projects.

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.

bytedance/podcast-generation

Use this skill when the user requests to generate, create, or produce podcasts from text content. Converts written content into a two-host conversational podcast audio format with natural dialogue.

bytedance/ppt-generation

Use this skill when the user requests to generate, create, or make presentations (PPT/PPTX). Creates visually rich slides by generating images for each slide and composing them into a PowerPoint file.

bytedance/skill-creator

Create new skills, modify and improve existing skills, and measure skill performance. Use when users want to create a skill from scratch, edit, or optimize an existing skill, run evals to test a skill, benchmark skill performance with variance analysis, or optimize a skill's description for better triggering accuracy.

bytedance/surprise-me

Create a delightful, unexpected "wow" experience for the user by dynamically discovering and creatively combining other enabled skills. Triggers when the user says "surprise me" or any request expressing a desire for an unexpected creative showcase. Also triggers when the user is bored, wants inspiration, or asks for "something interesting".

bytedance/vercel-deploy

Deploy applications and websites to Vercel. Use this skill when the user requests deployment actions such as "Deploy my app", "Deploy this to production", "Create a preview deployment", "Deploy and give me the link", or "Push this live". No authentication required - returns preview URL and claimable deployment link.

bytedance/video-generation

Use this skill when the user requests to generate, create, or imagine videos. Supports structured prompts and reference image for guided generation.

bytedance/web-design-guidelines

Review UI code for Web Interface Guidelines compliance. Use when asked to "review my UI", "check accessibility", "audit design", "review UX", or "check my site against best practices".

chart-visualization

This skill should be used when the user wants to visualize data. It intelligently selects the most suitable chart type from 26 available options, extracts parameters based on detailed specifications, and generates a chart image using a JavaScript script.

관련 스킬