video-generation
できること
このスキルは、構造化された説明と任意の参照画像から動画を生成します。特定の被写体、雰囲気、スタイルを持つAI動画のクリップがほしい人のためのものです。
使う場面
- ✓ユーザーが動画のクリップを生成、作成、想像するよう依頼するとき。
- ✓参照画像をもとにした動画がほしいとき。
- ✓雰囲気、スタイル、照明を決めた短いクリップがほしいとき。
スキルのリンク
https://github.com/bytedance/deer-flow/blob/main/skills/public/video-generation/SKILL.mdコピーしてAI(Claude、ChatGPT、Cursor)に貼り付け、指示に従うよう頼んでください。
使い方
いちばん簡単な方法:メッセージをコピーしてAIに貼り付けるだけ。AIがスキルを読んで指示に従います。
貼り付け用メッセージ
Claude Code、Codex、Cursorの場合:プロジェクトのフォルダで実行するとスキルがインストールされます。
SKILL.mdをダウンロードして、エージェントのスキル用フォルダに入れてください。
AIへの頼み方の例
“雨の夜の通りを、温かい光で短い動画にしてください。”
毎週5つの新しいスキル。1分で読めます。
仕組み
スキルは動画の構造化された説明ファイルを書き、必要なら先に参照画像を作ります。そのうえで生成スクリプトを実行して動画を作ります。画像は最初または最後のフレームとして使えます。
技術的な内容(元のSKILL.md)
作者による元のテキスト(英語)をGitHubからそのまま表示しています。
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
Step 3: Execute Generation
Call the Python script:
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
Parameters:
--prompt-file: Absolute path to JSON prompt file (required)--reference-images: Absolute paths to reference images (optional). Images used by the provider must have a recognized filename extension:.png,.jpg,.jpeg,.webp, or.gif(case-insensitive). Missing or other extensions are rejected before submission. Filenames must match their contents: the script neither validates image contents nor converts bytes. Recognizing an extension does not guarantee that the selected provider accepts that format.--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, instead just call it with the parameters.
Video Generation Example
User request: "Generate a short video clip depicting the opening scene from "The Chronicles of Narnia: The Lion, the Witch and the Wardrobe"
Step 1: Search for the opening scene of "The Chronicles of Narnia: The Lion, the Witch and the Wardrobe" online
Step 2: Create a JSON prompt file with the following content:
{
"title": "The Chronicles of Narnia - Train Station Farewell",
"background": {
"description": "World War II evacuation scene at a crowded London train station. Steam and smoke fill the air as children are being sent to the countryside to escape the Blitz.",
"era": "1940s wartime Britain",
"location": "London railway station platform"
},
"characters": ["Mrs. Pevensie", "Lucy Pevensie"],
"camera": {
"type": "Close-up two-shot",
"movement": "Static with subtle handheld movement",
"angle": "Profile view, intimate framing",
"focus": "Both faces in focus, background soft bokeh"
},
"dialogue": [
{
"character": "Mrs. Pevensie",
"text": "You must be brave for me, darling. I'll come for you... I promise."
},
{
"character": "Lucy Pevensie",
"text": "I will be, mother. I promise."
}
],
"audio": [
{
"type": "Train whistle blows (signaling departure)",
"volume": 1
},
{
"type": "Strings swell emotionally, then fade",
"volume": 0.5
},
{
"type": "Ambient sound of the train station",
"volume": 0.5
}
]
}
Step 3: Use the image-generation skill to generate the reference image
Load the image-generation skill and generate a single reference image narnia-farewell-scene-01.jpg according to the skill.
Step 4: Use the generate.py script to generate the video
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
Do NOT read the python file, just call it with the parameters.
Output Handling
The generation command exits with status 1 and writes errors to stde
よくある質問
写真を出発点にできますか?
はい。参照画像で動画を導いたり、最初または最後のフレームとして使ったりできます。
画像生成スキルが必要ですか?
必ずしも必要ではありません。画像生成スキルが使える場合は、それで参照画像を作ることができます。
どんな点を指定できますか?
被写体、スタイル、雰囲気、アスペクト比、構図、照明を指定できます。
詳細
作者による元の説明
Use this skill when the user requests to generate, create, or imagine videos. Supports structured prompts and reference image for guided generation.
repo: bytedance/deer-flow
人気
- GitHubのスター
- 85k
- ランキング
- #1393
- ライセンス
- MIT
- 更新日
- 2026/11/2
コメント
- …
このリポジトリの他のスキル
engineer-system-change
85kエージェントが、ソフトウェアの変更を作る前に、問題、利用者、リスクを確認して、本当に必要かを判断できるよう支援します。
academic-paper-review
85kエージェントが、研究論文を査読者のように、方法、強み、弱み、次のステップを含めてレビューできるよう支援します。
bootstrap
85kエージェントが、あなたの人格を形作るSOUL.mdファイルを作る、親しみやすいオンボーディングのチャットを導きます。AIのパートナーが誰で、どう振る舞うかを定義します。
chart-visualization
85kエージェントが、数字を、折れ線、棒、円、地図、ファネルなど26種類のグラフから選んで、グラフ画像に変えられるよう支援します。
似ているスキル
blender-motion-state-inspection
280k3Dアニメーションの細部を確認できるようにします。ポーズ、動き、キャラクターの位置合わせをチェックするのに役立ちます。
manim-video
280kエージェントがアニメーション付きの解説動画を作成するのを支援します。Manimを使い、技術的な概念を分かりやすく示すグラフや図を生成します。
remotion-video-creation
280kReactとライブラリの Remotion を使って、エージェントが動画を作成するためのガイドです。アニメーション、音声、字幕などの視覚要素に関するベストプラクティスを扱います。