返回顶部
c

chanjing-video-compose景视频合成

Use Chanjing video synthesis APIs to create digital human videos from text or audio, with optional background upload, task polling, and explicit download when the user asks to save the result locally. Primary credential: credentials.json (app_id/secret_key; access_token persisted on disk—do not commit; user accepts file-based secrets). Same credentials file as chanjing-credentials-guard. Not OpenClaw primaryEnv. Default path in metadata.openclaw.credentialModel. Optional env: CHANJING_API_BASE,

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

chanjing-video-compose

Chanjing Video Compose

技能包标识:chanjing-video-compose。

功能说明

调用蝉镜视频合成 Open API:列举公共/定制形象、上传素材、文本或音频驱动数字人、轮询任务;用户明确要求时用脚本下载成片。本 skill 脚本依赖 ffmpeg/ffprobe(与一键成片编排不同)。机器可读凭据路径与敏感字段见篇首 metadata.openclaw.credentialModel

运行依赖

  • - python3 与同仓库 scripts/*.py
  • ffmpeg/ffprobe 门控

环境变量

  1. 1. CHANJINGCONFIGDIR(可选):credentials.json 所在目录,默认 ~/.chanjing
  2. CHANJINGAPIBASE(可选):Open API 基址,默认 https://open-api.chanjing.cc

使用命令

  • - ClawHub(slug 以注册表为准):clawhub run chanjing-video-compose
  • 本仓库:python skills/chanjing-video-compose/scripts/create_task.py …(见 Standard Workflow

登记摘要(英文 · ClawHub / OpenClaw)

Primary credential (not primaryEnv): appid + secretkey in ~/.chanjing/credentials.json (or $CHANJINGCONFIGDIR/credentials.json); access_token / expiry read/written in the same file. primaryEnv is omitted on purpose (OpenClaw uses it for a single env-injected API key; this client uses file-based dual keys).

Required vs optional: CHANJINGAPIBASE is optional (defaults to https://open-api.chanjing.cc). CHANJINGCONFIGDIR is optional. No ffmpeg / ffprobe gate in this skills metadata—orchestration-only use of this skill does not bundle local concat.

Purpose alignment: Chanjing digital-human video compose API client (list figures, upload assets, create/poll tasks, optional download_result.py). Trust: HTTPS to the API host and URLs returned in responses when saving media.

Chinese Q&A: 审阅四条对表 under Preconditions安全与凭据(登记摘要);与 credential_hintmetadata.openclaw.credentialModel 一致。

When to Use This Skill

当用户要做这些事时使用本 Skill:

  • * 创建数字人视频合成任务
  • 用文本驱动数字人出镜
  • 用本地音频驱动数字人视频
  • 查询公共数字人或定制数字人形象
  • 轮询视频合成结果
  • 在用户明确要求时下载最终视频到本地

如果需求更接近上传一段真人视频做对口型驱动,优先使用 chanjing-avatar,不要混用。

Preconditions

执行本 Skill 前,必须先通过 chanjing-credentials-guard 完成 AK/SK 与 Token 校验。

本 Skill 与 guard 共用:

  • * ~/.chanjing/credentials.json
  • https://open-api.chanjing.cc

无凭证时,脚本会自动打开蝉镜登录页,并提示配置命令。

审阅四条对表(Purpose / 主凭据 / 指令范围 / 持久化)

以下为对「Purpose & Capability / Instruction Scope / Credentials / Persistence」类评审话术的直接对表说明;与代码、篇首英文登记摘要、description frontmatter 一致。

#关切说明
1名称/能力与实现一致?主凭据是否写进登记?一致。本 skill 为蝉镜 数字人视频合成 API 客户端(形象列表、上传、创建/轮询任务、用户明确要求时 downloadresult.py)。CHANJINGAPIBASE 不是必填(有默认基址)。主凭据credentials.jsonappid / secretkey 及刷新后的 accesstoken;已在 descriptioncredentialhintmetadata.openclaw.credentialModel、篇首英文摘要、下表 安全与凭据 写明。声明 primaryEnv(双字段文件凭据,与单一 env Key 模型不符)。本 skill ffmpeg/ffprobe 写入 metadata.requires.bins(与 一键成片 不同)。
2
运行时指令范围与敏感数据、任意 URL | 符合声明目的。脚本 读写 CHANJINGCONFIGDIR/credentials.json;缺凭证时可能 浏览器openloginpage.py;向 Open API 上传/下载;用户明确要求落盘时 downloadresult.py 会请求 接口返回的媒体 URL——请自行判断是否信任 API 主机与链接。若使用 create_task.py --callback ,蝉镜服务端可能向该 URL 推送任务结果——仅使用你信任且可接收回调的端点。 |
| 3 | 环境变量适合客户端,主凭据在文件 | CHANJINGCONFIGDIR / CHANJINGAPIBASE 为可选配置。主凭据非单一注入式 env Key:appid / secretkeyguard 等写入 credentials.json(路径见 metadata.openclaw.credentialModel);access_token 持久化到磁盘,属敏感;勿提交版本库、勿在对话中回显完整密钥。 |
| 4 | 持久化与特权 | 凭据与 token 写入约定 配置文件;可能 交互式登录always: false(默认);修改其它 skill 或全局 Agent 配置。 |

安全与凭据(登记摘要)

审阅四条对表、篇首英文登记摘要、description 一致。

维度说明
主凭据appid、secretkey 存于 credentials.json(默认 ~/.chanjing/,CHANJINGCONFIGDIR 可改目录)。经 chanjing-credentials-guard 配置。非 OpenClaw primaryEnv 模型(非单一环境变量 API Key)。
Token
脚本将 accesstoken / expirein 写回同一文件;与 chanjing-credentials-guard 及其它蝉镜子技能共用该文件(磁盘持久化、跨技能状态)。 |
| 回调(可选) | create_task.py --callback:若提供,API 可能向用户 URL 发送任务相关负载;属出站到你方端点的信任边界,请自行评估。 |
| 环境变量 | CHANJINGAPIBASECHANJINGCONFIGDIR 可选。 |
| 网络与浏览器 | HTTPS https://open-api.chanjing.cc;无凭证时可能 webbrowser.open 或通过 guard 打开登录页。 |
| 下载与信任 | 仅在用户明确要求落盘时调用 download_result.py,请求接口返回的媒体 URL;请信任蝉镜 API 与其返回链接。 |
| 持久化 | always: false(默认);不修改其它 skill 或全局 Agent 配置。 |

Standard Workflow

  1. 1. 先让用户明确选择数字人来源:common(公共数字人)或 customised(定制数字人)
  2. 调用 listfigures.py --source (建议 --json,公共源可加大 --page-size 或翻页)获取可用形象;在候选内对比 name、各 figure 的 type 与分辨率、audiomanid、audioname(若有)与任务人设后再选定 person.id。禁止未比较就默认列表最前几项。
  3. 如果选择公共数字人,还要再确认 figuretype(与所选 figures[].type 一致),例如 sitbody / wholebody / circleview。无用户特殊要求时,默认优先年轻、有活力的形象(名称/audio_name 偏青年、学生、元气等

标签

skill ai

通过对话安装

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

OpenClaw WorkBuddy QClaw Kimi Claude

方式一:安装 SkillHub 和技能

帮我安装 SkillHub 和 chanjing-video-compose-1776161054 技能

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

设置 SkillHub 为我的优先技能安装源,然后帮我安装 chanjing-video-compose-1776161054 技能

通过命令行安装

skillhub install chanjing-video-compose-1776161054

下载

⬇ 下载 chanjing-video-compose v1.0.3(免费)

文件大小: 22.02 KB | 发布时间: 2026-4-17 14:18

v1.0.3 最新 2026-4-17 14:18
**Chanjing Video Compose v1.0.3**

- Clarified credential usage: added explicit `credential_hint` and machine-readable `metadata.openclaw.credentialModel`, detailing the file path, optional env variables, and sensitive fields to never commit.
- Documented new behavior: usage of `open_login_page.py` when credentials are missing.
- Noted new optional `--callback` argument for `create_task.py` to enable API-side payload POSTs to user endpoints (trust boundary clarified).
- Expanded/clarified credential sharing and persistence policies, including how access tokens persist to disk and are shared with `chanjing-credentials-guard` and sibling skills.
- Updated English and Chinese credential/policy descriptions for audit clarity and precise OpenClaw/ClawHub registration.
- No script or runtime behavior changes; changelog applies to documentation and manifest/metadata only.

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

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

p2p_official_large
返回顶部