video-generation
ما الذي تفعله
تولّد هذه المهارة فيديو من وصف منظم وصورة مرجعية اختيارية. وهي لمن يريد مقطعًا مصنوعًا بالذكاء الاصطناعي بموضوع أو مزاج أو أسلوب معين.
متى تستخدمها
- ✓عندما يطلب أحد توليد مقطع فيديو أو إنشائه أو تخيّله.
- ✓عندما يريد أحد فيديو موجهًا بصورة مرجعية.
- ✓عندما يريد أحد مقطعًا قصيرًا بمزاج أو أسلوب أو إضاءة محددة.
رابط المهارة
https://github.com/bytedance/deer-flow/blob/main/skills/public/video-generation/SKILL.mdانسخه والصقه في الذكاء الاصطناعي الذي تستخدمه (Claude أو ChatGPT أو Cursor) واطلب منه اتباع التعليمات.
طريقة الاستخدام
أسهل طريقة: انسخ الرسالة والصقها في الذكاء الاصطناعي الذي تستخدمه. سيقرأ المهارة وينفّذ تعليماتها.
رسالة جاهزة للصق
لـ Claude Code أو Codex أو Cursor: شغّله داخل مجلد مشروعك وستُثبَّت المهارة.
نزّل ملف SKILL.md وضعه في مجلد مهارات وكيلك.
مثال على ما تطلبه من الذكاء الاصطناعي
“اصنع مقطع فيديو قصيرًا لشارع ماطر ليلًا بأضواء دافئة.”
5 مهارات جديدة كل أسبوع. قراءة في دقيقة واحدة.
كيف تعمل
تكتب المهارة ملف وصف منظم للفيديو، ويمكنها أولًا إنشاء صورة مرجعية. ثم تشغّل سكربت التوليد لإنتاج الفيديو، مع استخدام الصورة كإطار أول أو أخير إن أردت.
المحتوى التقني (ملف 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
- آخر تحديث
- 2/11/2026
التعليقات
- …
المزيد من المهارات من هذا المستودع
engineer-system-change
85kيساعد وكيلك على التحقق من أن تغييرًا برمجيًا مطلوب فعلًا قبل بنائه، عبر فحص المشكلة والمستخدمين والمخاطر.
academic-paper-review
85kيساعد وكيلك على مراجعة ورقة بحثية كما يفعل محكّم علمي، مع المنهجية ونقاط القوة والضعف والخطوات التالية.
bootstrap
85kيرشد إلى محادثة تعارف ودية تبني ملف SOUL.md شخصيًا، يحدد من هو شريكك الذكي وكيف يتصرف.
chart-visualization
85kيحوّل أرقامك إلى صورة رسم بياني، مختارًا من بين 26 نوعًا من المخططات، مثل الخطي والعمودي والدائري والخريطة والقمع.
مهارات مشابهة
blender-motion-state-inspection
280kيتيح فحص تفاصيل الرسوم المتحركة ثلاثية الأبعاد. مفيد للتحقق من الوضعيات والحركات ومحاذاة الشخصيات في الرسوم المتحركة.
manim-video
280kيتيح لوكيلك إنشاء فيديوهات شرح متحركة. يستخدم Manim لإنشاء رسوم بيانية ومخططات واضحة للمفاهيم التقنية.
remotion-video-creation
280kيرشد وكيلك في إنشاء فيديوهات باستخدام React ومكتبة Remotion. يغطي أفضل الممارسات للرسوم المتحركة والصوت والتعليقات النصية والعناصر البصرية الأخرى.