video-generation
Skill by bytedance
Generates short videos from structured JSON or plain-text prompts, with optional reference images. Built for product ads, Reels and Shorts, and multi-shot short films across Gemini, MiniMax, and BytePlus Agent Plan.
Install video-generation
Built from the published package, never by AI.
git clone --depth 1 https://github.com/bytedance/deer-flow /tmp/deer-flow && mkdir -p ~/.claude/skills && cp -r /tmp/deer-flow/skills/public/video-generation ~/.claude/skills/video-generationRun in your terminal. Claude Code loads skills from ~/.claude/skills automatically.
git clone --depth 1 https://github.com/bytedance/deer-flow /tmp/deer-flow && mkdir -p ~/.gemini/antigravity-cli/skills && cp -r /tmp/deer-flow/skills/public/video-generation ~/.gemini/antigravity-cli/skills/video-generationAntigravity CLI loads skills from ~/.gemini/antigravity-cli/skills, or .agents/skills for one project.
Skills can run scripts on your machine. Some need an API key: check the README.
About
The video-generation skill creates videos from structured prompts. It accepts single-clip JSON prompts and beat-synced plain-text prompts for commercial ads. Reference images can guide the output or act as first and last frame anchors. The skill uses three scripts: generate.py renders a clip, preflight.py validates commercial ad prompts before rendering, and stitch.sh joins clips with ffmpeg.
The skill works with Gemini Veo, MiniMax video, and BytePlus Agent Plan Seedance 2.5. The provider is selected from environment variables, and API keys are read from the runtime environment rather than from prompt files. The source describes it for users who want product ads, vertical Reels or Shorts, report-to-video explainers, or multi-shot short films. Prompts should be written in English.
Written from the project's SKILL.md and checked against it.
What it can do
- Single clip generationRenders one video clip from a JSON or plain-text prompt file using generate.py.
- Commercial ad promptsCreates beat-synced plain-text prompts for 15 to 30 second product ads.
- Prompt preflight checksValidates commercial beat-synced prompts with preflight.py before rendering.
- Reference image guidanceUses reference images as guidance or as first and last frame anchors.
- Multi-shot stitchingAssembles multiple clips into one deliverable with stitch.sh and ffmpeg.
- Multiple providersSwitches between Gemini Veo, MiniMax, and BytePlus Agent Plan Seedance 2.5 by environment variable.
What you need
- Python
- ffmpeg for clip stitching
- An API key for Gemini, MiniMax, or BytePlus Agent Plan
- BytePlus Agent Plan Large, Max, or Enterprise Shared Package tier for Seedance 2.5 video
Try asking
- Make a 15 second vertical product ad for my skincare bottle using this photo.
- Turn this JSON scene prompt into a 16:9 video clip with the reference image.
- Stitch these three generated clips into one multi-shot short film.
Good to know
- Reference images must have a .png, .jpg, .jpeg, .webp, or .gif extension.
- Prompts should be written in English.
- Video downloads are limited to allowlisted HTTPS hosts on port 443.
- With MiniMax Hailuo 2.3, supported settings are 768P at 6 or 10 seconds, or 1080P at 6 seconds.
Security check
ANo download-and-run commands, hidden instructions or signs of sending keys out were found.
Checked automatically: skills/public/video-generation/SKILL.md, skills/public/video-generation/scripts/generate.py, skills/public/video-generation/scripts/preflight.py, skills/public/video-generation/scripts/stitch.sh. This looks for known risky patterns and is not a full audit. How grades work
Inside the skill
-
AGENTS.md2 KB -
SKILL.md11 KB -
scripts/generate.py23 KB -
scripts/preflight.py16 KB -
scripts/stitch.sh10 KB
Show all 6 files
-
templates/commercial-short-ad.md21 KB
Alternatives to video-generation
All alternatives →Keeps customer-facing CopilotKit Intelligence docs on one approved name per concept. Useful for writers, editors and reviewers of docs, nav labels, signup labels and image alt text in showcase/shell-docs.
Gets, makes and treats media for HyperFrames videos. It sources music, sound effects, images, voiceover, avatars and transcripts with HeyGen or free local tools, and applies colour grades and looks to footage.
Searches the user's uploaded photo library and connected device galleries to find, date, and describe photos. Built for personal photo requests and for cases where a photo could ground or personalize an answer.
Converts text, markdown, or another skill's summary into a listenable MP3 using local CPU-only neural text-to-speech. It rewrites the prose for listening first. Aimed at people who want audio briefings.
Generate Image creates new images and edits existing ones using OpenRouter models such as FLUX.2 Pro and Gemini 3 Pro. It is aimed at photos, illustrations, concept art and other visuals that are not technical diagrams.
Gives an AI assistant the HyperFrames CLI for building, checking, previewing and rendering video projects. It suits people who make videos from HTML compositions and want the assistant to run the full workflow.
Compare with intelligence-vocabulary, media-use or media_library
video-generation: common questions
Which video providers does this skill support?
The source lists Gemini Veo, MiniMax video, and BytePlus Agent Plan Seedance 2.5. Gemini is the default when GEMINI_API_KEY is set.
Can I use a reference image with generated videos?
Yes. Reference images can guide the video or serve as first and last frame anchors. Images must use a recognized extension such as .png, .jpg, .jpeg, .webp, or .gif.
What happens if video generation fails?
The generation command exits with status 1 and writes errors to stderr, including missing provider credentials. The skill says a video should only be presented after the command succeeds.
How do I install video-generation?
Run the command above to copy the skill into ~/.claude/skills/. Claude Code picks it up automatically.
Is video-generation free?
The code is published under the MIT licence. The service it connects to may have its own pricing.
Is video-generation safe to use?
It scores 91 of 100. Grades: maintenance A, licence A, quality A. Security check: grade A, no risky patterns found in the files checked. Review the code before you install. How grades work.
What are alternatives to video-generation?
Similar skills: intelligence-vocabulary, media-use, media_library, speak-summary.
