Video Generator CLI for Openclaw

A command-line interface for automating the end-to-end production of AI-generated videos with stock footage and voiceovers.

itspremkumar
v5.0.0
Apr 8, 2026
0
749
0

Install & Download

1. ClawHub CLI

The fastest way to install a skill directly from the registry.

npx clawhub@latest install video-gen-cli

2. Manual Installation

Copy the skill folder to one of these locations

Global
~/.openclaw/skills/
Workspace
<project>/skills/

Priority: Workspace > Local > Bundled

3. Prompt Installation

Copy this prompt to OpenClaw to install it automatically.

Help me install video-gen-cli using Clawhub. If Clawhub is not installed, install it first (npm i -g clawhub).

Prefer to download?

Get the raw skill files in a ZIP archive.

What is Video Generator CLI?

The Video Generator CLI is a comprehensive toolset designed for developers and content creators to automate the entire video production pipeline. By utilizing Openclaw Skills, users can transform simple JSON scripts into professional-grade videos complete with stock footage, AI-generated voiceovers, and dynamic subtitles. It handles the heavy lifting of asset fetching and scene-by-scene rendering, allowing for highly scalable video content generation.

This skill is particularly powerful for those building automated social media channels or internal communication tools. Integrating Openclaw Skills into your development environment ensures that technical complexities like FFmpeg configurations and asset caching are handled efficiently, providing a reliable foundation for any video-based project.

Video Generator CLI Use Cases

  • Creating fresh AI-generated videos from JSON scripts
  • Resuming interrupted long-running video generations without data loss
  • Manually re-stitching video segments if the final assembly fails
  • Debugging visual components in a local browser environment

How Video Generator CLI Works

  1. Script Analysis: The tool parses the input-scripts.json file to understand the narrative and visual requirements.
  2. Asset Cleanup: For fresh starts, old cache and temporary media files are purged to prevent conflicts.
  3. Asset Acquisition: The system downloads relevant stock footage via API and generates high-quality voiceovers.
  4. Segmented Rendering: The video is rendered scene-by-scene to optimize memory usage and allow for recovery.
  5. Final Assembly: All rendered segments and audio tracks are stitched together into a final MP4 file.

Video Generator CLI Setup

Ensure you have node, npm, ffmpeg, and python installed on your system. You must also provide a PEXELS_API_KEY in your environment variables.

# Install dependencies
npm install

# Set your API Key
export PEXELS_API_KEY='your_api_key_here'

# Start a fresh generation
npm run generate

Video Generator CLI Data Schema & Taxonomy

Path Description
input/input-scripts.json The primary configuration file containing script text and settings.
.video-cache.json Stores metadata about the current generation progress and assets.
public/videos/ Destination for downloaded stock footage and rendered segments.
public/audio/ Destination for generated voiceover audio files.

Video Generator CLI Advanced Features

  • Intelligent resume functionality via npm run resume to save time and compute resources
  • Support for multiple orientations including portrait and landscape modes
  • Custom AI voice selection using standard neural voice IDs
  • Granular control over subtitle visibility via the showText property

SKILL.md


Loading

Related Openclaw Skills

METADATA

Github Stars: 0
forks: 0

Featured*