返回顶部
c

chanjing-one-click-video-creation一键视频创作

>-

作者: admin | 来源: ClawHub
源自
ClawHub
版本
V 1.0.10
安全检测
已通过
199
下载量
免费
免费
0
收藏
概述
安装方式
版本历史

chanjing-one-click-video-creation

一键式视频渲染器

功能说明

一键调用 Chanjing API 完成口播 TTS、数字人合成、文生视频与本地封装;集成 ffmpeg / ffprobe 做拼接、转码与轨对齐。编排与安全细则见 §3§8 与 templates/;成片命令§5

运行依赖

必须可用的二进制或等价封装(具体调用方式见 §5、run_render.py):

  • - ffmpeg:拼接、转码、封装
  • ffprobe:时长、分辨率、旋转等元数据(与数字人轨对齐)
  • chan-skill(或同仓库下直接 python 调用子技能脚本):驱动 chanjing-tts、chanjing-video-compose、chanjing-ai-creation 等 CLI

环境变量与机器可读声明

  • - 可选环境变量覆盖(均有默认或路径推断、非运行前必填):scripts/run_render.py 顶部及子 skill 源码;凭据路径manifest.yaml credentials
  • 合规 permissionsclientPermissionsagentPolicy、凭据模型:manifest.yaml

§3.2run_render.py 对齐;若与 manifest.yaml 冲突,以 manifest.yaml 为准

使用命令

  • - ClawHub(slug 以注册表为准,常与技能包名一致):clawhub run chanjing-one-click-video-creation
  • 本仓库直连:python scripts/runrender.py --input workflow.json --output-dir ./outputs/run1(在技能目录或配合 SKILLSDIR / CHANJINGONECLICKVIDEOSKILLSROOT / CHANSKILLS_DIR 使用)

速查

内容位置
工作流、durationsec、null/合并、选题校验§4.1
切段、奇偶镜、scenes[]、scenecount/videotype;首镜 voiceover ≤20 字(硬)
storyboardprompt.md 篇首「文本切段」;scriptprompt.md 首镜口播;videobrief_plan.md | | 渲染技术、状态、partial/success、硬约束 | render_rules.md §1–§4;§7§8 | | refprompt / 文生提示词 | storyboardprompt.md + historystoryboardprompt.md§4.2 指针 | | 请求体字段与默认 | §6 | | run_render.py、子进程 CLI | §5 | | 安全、凭据、信任边界、策略 | manifest.yaml + §3.1(§3.1 不重复 manifest 表格) | | 环境变量、二进制、副作用、落盘 | §3.2 |

冲突:渲染实现以 renderrules.md 为准;refprompt 条文以 storyboardprompt.md / historystoryboardprompt.md 为准(§4.2 汇总指针)。runrender.py 只实现 §5 + renderrules.md,不增业务规则。执行:手工编排子 skill、仅 runrender、或混用。



1. 做什么

  1. 1. 选题或全文 → videoplan、口播全文、分镜
  2. TTS:整段优先;超长按分镜少批合并(细则与字数见 renderrules.md §3·C.4
  3. 按镜切音频
  4. 数字人分镜:chanjing-video-compose(音频驱动)
  5. AI 分镜:ref_prompt → chanjing-ai-creation → 与镜内音频合成
  6. 封装:对齐公共数字人轨 → ffmpeg concat → 本地 mp4

2. 何时用 / 何时不用

适合要成片;口播与画面混剪;用户明确要生成短视频
不适合
仅文案/标题;未要视频;只剪已有素材 |

3. 前置条件

  • - 鉴权:chanjing-credentials-guard;凭据路径与字段见 manifest.yaml§3.1;无凭证时子进程可 openloginpage.py
  • Plan/Script/分镜:本地 Agent 逻辑,无需外部 LLM API key(本 skill 必选路径不依赖外部 LLM)
  • 本机二进制与仓库布局§3.2(ffmpeg / ffprobe、SKILLSDIR 等)
  • 数字人与音色用环境变量或仓库内缓存文件保存跨任务的「默认」audioman / personid / figuretype。每次任务在 workflow.json 根级显式填写;由 Agent 按 videoplan(如 videotype)、口播人设与选题语义,调用 listvoices.pylistfigures.py(--source 取 common / customised 等与本次任务一致)选型后写入;audioman 宜与所选形象的 audiomanid 一致。
  • 公共数字人选型(禁止「只取列表前几项」):须用 listfigures.py --source common --json 拉取候选(必要时增大 --page-size 或翻页,覆盖足够条目),在候选内逐项对比后再定稿:name、figures[].type(→ figuretype)、figures[].width/height(画幅与 D.1c 一致)、audiomanid、audioname(若有)与 videoplan/口播人设(性别、气质、行业、年龄感)是否匹配。默认偏好年轻、有活力的形象:名称或 audioname 中含青年/少女/小哥哥/小姐姐/学生/元气/青春/年轻等正向信号时优先;仅当选题或用户明确要求成熟、权威、中老年等气质时,再选对应人设。定制源 customised 同样对比 name、width/height、audiomanid 等,勿未经比较直接取页首。

3.1 安全、凭据与信任边界

环境变量与二进制以 manifest.yaml§3.2 为据。审阅时可对照 descriptionmanifest.yaml(含 agentPolicy)。

  • - 能力与管道:步骤级说明见 §1;runrender 职责与子进程见 §5(不在此重复链路)。
  • 主凭据 / 路径 / primaryEnv:见 manifest.yaml;路径与写回行为另见 §3.2 持久性表「凭据状态」及 CHANJINGOPENAPICREDENTIALSDIR(兼容 CHANJINGCONFIGDIR)。
  • 敏感与合规:勿回显完整密钥、勿将 credentials.json 提交版本库;权限建议 0700 / 0600(配置脚本尽量设置)。
  • 信任与出站行为:HTTPS、按返回 URL 拉取媒体、--output-dir 落盘等细节见 §3.2「典型副作用」与持久性表;须自行判断是否信任蝉镜主机与链接。
  • 浏览器:缺凭证时的 webbrowser.open / openloginpage.py§3.2 同表。
  • Agent 策略manifest.yamlagentPolicy(非 always、不改其它 skill)。

3.2 运行时契约(环境变量、二进制、副作用与落盘)

scripts

标签

skill ai

通过对话安装

该技能支持在以下平台通过对话安装:

OpenClaw WorkBuddy QClaw Kimi Claude

方式一:安装 SkillHub 和技能

帮我安装 SkillHub 和 chanjing-one-click-video-creation-1776052203 技能

方式二:设置 SkillHub 为优先技能安装源

设置 SkillHub 为我的优先技能安装源,然后帮我安装 chanjing-one-click-video-creation-1776052203 技能

通过命令行安装

skillhub install chanjing-one-click-video-creation-1776052203

下载

⬇ 下载 chanjing-one-click-video-creation v1.0.10(免费)

文件大小: 66.82 KB | 发布时间: 2026-4-14 13:16

v1.0.10 最新 2026-4-14 13:16
Version 1.0.10

- Added detailed intermediate and result output files including scene and concat states (e.g., `final_concat.txt`, `scene_times.json`, `tts_state.json`, `workflow_result.json`).
- Updated `SKILL.md` to simplify and clarify environment variable descriptions and remove redundant tables.
- Adjusted environment variable handling in documentation to specify only optional overlays, matching current script logic.
- No changes to core features or inputs/outputs; all new files aid pipeline transparency and debugging.

Archiver·手机版·闲社网·闲社论坛·羊毛社区· 多链控股集团有限公司 · 苏ICP备2025199260号-1

Powered by Discuz! X5.0   © 2024-2025 闲社网·线报更新论坛·羊毛分享社区·http://xianshe.com

p2p_official_large
返回顶部