← Back to Skills Marketplace
liwiw

Video Pipeline

by liwiw · GitHub ↗ · v1.0.1 · MIT-0
cross-platform ⚠ suspicious
61
Downloads
0
Stars
0
Active Installs
2
Versions
Install in OpenClaw
/install video-pipeline
Description
自动将自然语言描述转换为5-6分钟竖屏行业AI短视频,支持大小和时长自定义,集成多步骤AI生成流程。
README (SKILL.md)

video-pipeline

描述

一句话输入自然语言,自动生成5-6分钟行业AI短视频(竖屏1080x1920)。

触发词

  • 生成视频
  • 做视频
  • 短视频
  • 行业视频

前置依赖

  • Node.js (>=16.x)
  • Python 3 (>=3.8)
  • FFmpeg
  • Remotion(通过 npm 安装)
  • Edge-TTS(通过 pip 安装)
  • DashScope API(需要配置 API 密钥)

使用方法

运行主入口脚本 pipeline.py,支持自然语言输入和传统模式:

自然语言模式(推荐)

python pipeline.py "帮我做一个零售业AI智能推荐的短视频"

python pipeline.py "医疗AI如何改变诊断?做一个3分钟科普视频" --size 1920x1080 --duration 3

python pipeline.py "介绍AI在教育行业的应用" --size 1920x1080

传统模式

python pipeline.py --lesson 1 --action all
python pipeline.py --lesson 1 --action gen_html
python pipeline.py --lesson 1 --action render --size 1080x1920

参数说明

  • --duration: 目标视频时长(分钟),默认5分钟
  • --size: 视频尺寸,默认1080x1920(竖屏),支持1920x1080(横屏)等

配置项

credentials/dashscope.json 中配置 DashScope API 密钥:

{
  "api_key": "your-dashscope-api-key-here",
  "base_url": "https://dashscope.aliyuncs.com/compatible-mode/v1"
}

8步视频生成流程

  1. 环境检测 — 检查 Node.js、Python、FFmpeg、Remotion、Edge-TTS
  2. 缓存清理 — 清理旧文件
  3. 大纲生成 — AI 生成课程大纲(封面/钩子/内容页/总结/行动指南)
  4. 逐字稿生成 — 根据大纲生成详细配音文本
  5. HTML 课件生成 — 从配音文本生成 HTML 课件及 insights.json
  6. TSX 组件生成 — 根据 insights.json 生成 React 组件
  7. TTS 音频生成 — 将配音文本转换为 MP3
  8. Composition 生成 + 渲染 — 生成 Remotion Composition 并渲染最终视频

许可协议

MIT License

Copyright (c) 2026 郡城智能科技 (JunCheng AI Technology)

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

Usage Guidance
Install only if you are comfortable sending prompts, outlines, narration, and TTS text to third-party services and running it inside a dedicated Remotion project. Review and remove the hardcoded DashScope fallback key, pin or clean dependencies, use your own credential file, and keep the project under version control so Root.tsx and generated files can be reviewed or reverted.
Capability Tags
requires-sensitive-credentials
Capability Assessment
Purpose & Capability
The main behavior fits the stated purpose: it generates outlines, narration, HTML/TSX slides, TTS audio, and Remotion videos. The sensitive capabilities are expected for that purpose, but the hardcoded DashScope fallback key in gen_html.py creates a material under-disclosed credential and data-handling concern.
Instruction Scope
The skill uses broad trigger phrases for video requests and has no explicit confirmation before external API calls, cache deletion, generated source writes, Root.tsx edits, timing auto-fixes, rendering, or copying output to Desktop.
Install Mechanism
requirements.txt contains permissive unpinned dependencies and incorrectly lists standard-library module names such as json, re, shutil, subprocess, sys, and os, creating dependency-confusion and reproducibility risk if installed from the manifest.
Credentials
The workflow assumes access to ~/.openclaw/workspace/credentials/dashscope.json and ~/course-video-remotion, sends prompts and generated lesson material to DashScope and Edge-TTS, and writes/deletes files in the project tree. This is proportionate for a video pipeline only with clear user opt-in and a disposable project directory.
Persistence & Privilege
No background persistence was found, but the skill performs lasting local mutations: generated Composition files, Root.tsx registration edits, durations and subtitle writes, cache deletion, and Desktop export. These are not hidden, but safeguards and reversibility are limited.
How to Use
  1. Make sure OpenClaw is installed (local or Docker)
  2. Run the install command in chat: /install video-pipeline
  3. After installation, invoke the skill by name or use /video-pipeline
  4. Provide required inputs per the skill's parameter spec and get structured output
Version History
v1.0.1
License changed to MIT with JunCheng AI attribution, cleaned up local paths
v1.0.0
Initial release: AI-driven video generation pipeline using Remotion, Edge-TTS, and DashScope
Metadata
Slug video-pipeline
Version 1.0.1
License MIT-0
All-time Installs 0
Active Installs 0
Total Versions 2
Frequently Asked Questions

What is Video Pipeline?

自动将自然语言描述转换为5-6分钟竖屏行业AI短视频,支持大小和时长自定义,集成多步骤AI生成流程。 It is an AI Agent Skill for Claude Code / OpenClaw, with 61 downloads so far.

How do I install Video Pipeline?

Run "/install video-pipeline" in the OpenClaw or Claude Code chat to install it in one step — no extra setup required.

Is Video Pipeline free?

Yes, Video Pipeline is completely free, licensed under MIT-0. You can download, install and use it at no cost.

Which platforms does Video Pipeline support?

Video Pipeline is cross-platform and runs anywhere OpenClaw / Claude Code is available (cross-platform).

Who created Video Pipeline?

It is built and maintained by liwiw (@liwiw); the current version is v1.0.1.

💬 Comments