video-toolkit
它能做什么
这项技能指导你通过一个工具包制作讲解视频,该工具包结合了语音、图片、音乐和视频渲染。适合希望借助 AI,根据文字方案得到一段成品视频的人。
适用场景
- ✓当你已有一份文字说明,并希望从头到尾制作一段讲解视频时。
- ✓当你希望把 AI 配音、图片和音乐合并到同一段视频中时。
- ✓当你需要在制作第一段视频之前先完成工具包的设置时。
技能链接
https://github.com/calesthio/OpenMontage/blob/main/.agents/skills/video-toolkit/SKILL.md复制后粘贴给你的 AI(Claude、ChatGPT 或 Cursor),让它按照说明操作。
使用方法
最简单的方法:复制下面的消息,粘贴给你的 AI。它会读取这个技能并按说明操作。
可直接粘贴的消息
适用于 Claude Code、Codex 或 Cursor:在项目文件夹中运行,即可安装该技能。
下载 SKILL.md,放进智能体的技能文件夹。
可以这样问 AI
“请制作一段 60 秒的讲解视频,介绍太阳能板如何工作,并加上配音和音乐。”
每周 5 个新技能,1 分钟读完。
工作原理
智能体会检查工具包的设置,连接用于语音和图片的云端 GPU 服务,然后用 Remotion 编排并渲染视频。
技术内容(原始 SKILL.md)
作者在 GitHub 上的英文原文。
Video Toolkit
Create professional explainer videos from a text brief. The toolkit uses open-source AI models on cloud GPUs (Modal or RunPod) for voiceover, image generation, music, and talking head animation. Remotion (React) handles composition and rendering.
CRITICAL: Toolkit Path
The toolkit lives at a fixed path. ALWAYS cd here before running any tool command.
TOOLKIT=~/.openclaw/workspace/claude-code-video-toolkit
cd $TOOLKIT
NEVER run tool commands from inside a project directory. Tools resolve paths relative to the toolkit root.
Setup
Step 1: Check Current State
cd ~/.openclaw/workspace/claude-code-video-toolkit
python3 tools/verify_setup.py
If everything shows [x], skip to "Quick Test" below. Otherwise continue setup.
Step 2: Install Python Dependencies
cd ~/.openclaw/workspace/claude-code-video-toolkit
pip3 install --break-system-packages -r tools/requirements.txt
Note: --break-system-packages is needed on Debian/Ubuntu with managed Python (PEP 668). Safe inside containers.
Step 3: Configure Cloud GPU Endpoints
The toolkit needs cloud GPU endpoint URLs in .env. Check if .env exists and has Modal endpoints:
cat ~/.openclaw/workspace/claude-code-video-toolkit/.env | grep MODAL
If Modal endpoints are configured, you're ready. If not, ask the user to provide Modal endpoint URLs or set up Modal:
pip3 install --break-system-packages modal
python3 -m modal setup # Opens browser for authentication
# Deploy each tool — capture the endpoint URL from output
cd ~/.openclaw/workspace/claude-code-video-toolkit
modal deploy docker/modal-qwen3-tts/app.py
modal deploy docker/modal-flux2/app.py
modal deploy docker/modal-music-gen/app.py
modal deploy docker/modal-sadtalker/app.py
modal deploy docker/modal-image-edit/app.py
modal deploy docker/modal-upscale/app.py
modal deploy docker/modal-propainter/app.py
modal deploy docker/modal-ltx2/app.py # Requires: modal secret create huggingface-token HF_TOKEN=hf_...
LTX-2 prerequisite: Before deploying LTX-2, create a HuggingFace secret and accept the Gemma 3 license:
modal secret create huggingface-token HF_TOKEN=hf_your_read_access_token
Add each URL to .env:
MODAL_QWEN3_TTS_ENDPOINT_URL=https://...modal.run
MODAL_FLUX2_ENDPOINT_URL=https://...modal.run
MODAL_MUSIC_GEN_ENDPOINT_URL=https://...modal.run
MODAL_SADTALKER_ENDPOINT_URL=https://...modal.run
MODAL_IMAGE_EDIT_ENDPOINT_URL=https://...modal.run
MODAL_UPSCALE_ENDPOINT_URL=https://...modal.run
MODAL_DEWATERMARK_ENDPOINT_URL=https://...modal.run
MODAL_LTX2_ENDPOINT_URL=https://...modal.run
Optional but recommended — Cloudflare R2 for reliable file transfer:
R2_ACCOUNT_ID=...
R2_ACCESS_KEY_ID=...
R2_SECRET_ACCESS_KEY=...
R2_BUCKET_NAME=video-toolkit
Step 4: Verify and Quick Test
cd ~/.openclaw/workspace/claude-code-video-toolkit
python3 tools/verify_setup.py
All tools should show [x]. Then run a quick test to confirm the GPU pipeline works:
cd ~/.openclaw/workspace/claude-code-video-toolkit
python3 tools/qwen3_tts.py --text "Hello, this is a test." --speaker Ryan --tone warm --output /tmp/video-toolkit-test.mp3 --cloud modal
If you get a valid .mp3 file, setup is complete. If it fails, check:
.envhas the correctMODAL_QWEN3_TTS_ENDPOINT_URL- Run
python3 tools/verify_setup.py --jsonand checkmodal_toolsfor which endpoints are missing
Cost: Modal includes $30/month free compute. A typical 60s video costs $1-3.
Creating a Video
Step 1: Create Project
cd ~/.openclaw/workspace/claude-code-video-toolkit
cp -r templates/product-demo projects/PROJECT_NAME
cd projects/PROJECT_NAME
npm install
Templates: product-demo (marketing/explainer), sprint-review, sprint-review-v2 (composable scenes).
Step 2: Write Config
Edit projects/PROJECT_NAME/src/config/demo-config.ts:
export const demoConfig: ProductDemoConfig = {
product: {
name: 'My Product',
tagline: 'What it does in one line',
website: 'example.com',
},
scenes: [
{ type: 'title', durationSeconds: 9, content: { headline: '...', subheadline: '...' } },
{ type: 'problem', durationSeconds: 14, content: { headline: '...', problems: ['...', '...'] } },
{ type: 'solution', durationSeconds: 13, content: { headline: '...', highlig
常见问题
需要云端 GPU 账号吗?
需要。这项技能说明,工具包需要来自 Modal 或 RunPod 的云端 GPU 端点,并保存在其设置文件中。
我能在项目文件夹中运行这些工具吗?
不能。这项技能说明,工具命令应在工具包文件夹中运行,而不是在项目文件夹中。
它是完全自动的吗?
这项技能描述的是自主工作流程,但设置仍需要你提供端点信息。
详情
作者的原始描述
Create professional videos autonomously using claude-code-video-toolkit — AI voiceovers, image generation, music, talking heads, and Remotion rendering.
repo: calesthio/OpenMontage
热度
- GitHub 星标
- 75k
- 排名
- #2698
- 许可证
- AGPL-3.0
- 更新时间
- 2026/10/28
评论
- …