← 返回
未分类 Key 中文

Video Generator CLI

Guide for running the Video Generator CLI commands.
视频生成器CLI命令运行指南
itspremkumar itspremkumar 来源
未分类 clawhub v5.0.0 1 版本 100000 Key: 需要
★ 0
Stars
📥 373
下载
💾 0
安装
1
版本
#latest

概述

Video Generator CLI Operations Skill

This skill explains the different terminal commands available to run, resume, or fix video generations.

1. Standard Generation Commands

These commands are used for a "Fresh Start." They clean up old temporary files to prevent conflicts.

npm run generate (or npm run build)

  • What it does:
  1. Wipes the .video-cache.json file.
  2. Cleans the public/videos and public/audio folders.
  3. Parses your script from input/input-scripts.json.
  4. Downloads new stock footage and generates voiceovers.
  5. Renders the video scene-by-scene (Segmented Mode).
    • When to use: When you have a new script or want to see fresh visuals for an existing script.

2. Advanced Recovery Commands

These commands save time by reusing already-completed work.

npm run resume

  • What it does:
  1. Preserves everything in public/ and the .video-cache.json.
  2. Only downloads visuals/audio that are missing.
  3. Only renders segments that don't exist yet in the output folder.
  4. Automatically stitches everything together at the end.
    • When to use: If your computer crashed, or you lost internet during a long generation. It will pick up exactly where it left off.

npm run segment

  • What it does:
  1. Skips ALL asset fetching and generation.
  2. Jumps directly to "Phase 7: Assembly."
  3. Takes the existing .mp4 segments in your output folder and merges them.
    • When to use: Use this if the video was rendered successfully but the final "stitching" failed or if you want to manually re-assemble the segments.

3. Developer / Debugging Tools

npm run dev

  • What it does: Starts the local asset server.
  • When to use: Only needed if you are manually debugging the Remotion components in the browser.

4. Operational Summary

| Command | Action | Fresh/Resume |

| :--- | :--- | :--- |

| npm run generate | Full Process | Fresh (Wipes old data) |

| npm run build | Full Process | Fresh (Alias for generate) |

| npm run resume | Skip Existing | Resume (Saves time) |

| npm run segment | Assembly Only | Fix (Stitching only) |


5. Configuration (JSON Script)

When editing input/input-scripts.json, agents can use these newer properties:

| Property | Type | Description |

| :--- | :--- | :--- |

| showText | Boolean | Set to false to disable on-screen subtitles. |

| defaultVideo | String | Filename in input/input-assests/ to use as a visual fallback. |

| orientation | String | portrait or landscape. |

| voice | String | AI voice ID (e.g., en-US-JennyNeural). |

版本历史

共 1 个版本

  • v5.0.0 当前
    2026-05-07 04:56 安全 安全

安全检测

腾讯云安全 (Keen)

安全,无风险
查看报告

腾讯云安全 (Sanbu)

安全,无风险
查看报告

🔗 相关推荐

design-media

Nano Banana Pro

steipete
使用 Nano Banana Pro (Gemini 3 Pro Image) 生成或编辑图像。支持文生图、图生图及 1K/2K/4K 分辨率,适用于图像创建、修改及编辑请求,使用 --input-image 指定输入图像。
★ 435 📥 118,140
design-media

Openai Whisper

steipete
使用 Whisper CLI 进行本地语音转文字(无需 API 密钥)
★ 335 📥 94,886
design-media

UI/UX Pro Max

xobi667
提供 UI/UX 设计智能与实现指导,帮助打造精美界面。适用于 UI 设计、UX 流程、信息架构、视觉风格、设计系统/标记、组件规格、文案/微文案、无障碍及前端 UI(HTML/CSS/JS、React、Next.js、Vue、Svelte
★ 231 📥 49,198