返回顶部
r

renderingvideo-generator渲染视频预览

RenderingVideo preview assistant that uses the public preview flow at POST /api/preview without an API key. Use this when Codex needs to draft or edit RenderingVideo schema JSON, validate it with a temporary 7-day preview link, and return the preview URL and temp identifier.

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

renderingvideo-generator

技能名称:renderingvideo-generator
详细描述:

渲染视频预览助手

当任务仅需公共临时预览流程时使用此技能。

请先阅读

  • - 调用公共预览端点前,请先阅读 https://renderingvideo.com/docs/api-and-usage.md。
  • 起草或修改 schema JSON 前,请先阅读 https://renderingvideo.com/docs/json-spec.md。
  • 选择剪辑类型或字段时,请阅读 https://renderingvideo.com/docs/clips.md、https://renderingvideo.com/docs/elements.md 和 https://renderingvideo.com/docs/elements/base-clip.md。
  • 当任务涉及时间、转场或动画调整时,请阅读 https://renderingvideo.com/docs/animation-and-timing.md。

强制执行以下规则

  • - 使用 POST /api/preview 创建预览。
  • 将 schema 本身作为请求体发送,不要用 { config: ... } 包裹。
  • 此技能无需提供或发送 API 密钥。
  • 返回的预览链接为临时链接,7 天后过期。
  • 当 api-and-usage.md 已涵盖字段或路由时,不要凭记忆猜测。

运行脚本

使用内置脚本:

bash
node ./scripts/gen-preview.cjs [json文件路径]

端点映射

  • - gen-preview.cjs:POST https://video.renderingvideo.com/api/preview
  • 播放 URL:/t/:id 或 /preview/:id
  • 回读端点:GET /api/temp/:id

遵循此工作流程

  1. 1. 阅读 json-spec.md、clips.md 及相关元素页面。
  2. 起草或更新 schema JSON。
  3. 运行 scripts/gen-preview.cjs 创建临时预览。
  4. 将预览 URL 和临时标识符返回给用户。
  5. 如果预览有误,修改 schema 并生成新预览。

遵守这些 API 规则

  • - 预览请求体为完整的 schema JSON。
  • 缺少顶层 meta 或 tracks 应视为无效输入。
  • 返回的预览页面可分享,但为临时性质。
  • 优先使用 viewerUrl,必要时回退到 url。
  • 复用返回的 tempId、viewerUrl、url 和 expiresIn,不要猜测路由。

返回这些字段

  • - 返回存在的 tempId、viewerUrl、url 和 expiresIn。
  • 返回完整的绝对预览 URL,而非仅相对路径。
  • 如果脚本或 API 返回验证失败详情,请保留这些信息。

明确处理失败情况

  • - 如果 API 返回非 2xx 响应,请显示 HTTP 状态码和响应体。
  • 如果本地 JSON 解析失败,报告输入文件为无效 JSON。
  • 如果预览后续过期或失效,告知用户生成新预览。

标签

skill ai

通过对话安装

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

OpenClaw WorkBuddy QClaw Kimi Claude

方式一:安装 SkillHub 和技能

帮我安装 SkillHub 和 renderingvideo-generator-1775930368 技能

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

设置 SkillHub 为我的优先技能安装源,然后帮我安装 renderingvideo-generator-1775930368 技能

通过命令行安装

skillhub install renderingvideo-generator-1775930368

下载

⬇ 下载 renderingvideo-generator v1.0.0(免费)

文件大小: 4.78 KB | 发布时间: 2026-4-12 11:13

v1.0.0 最新 2026-4-12 11:13
- Initial release of the renderingvideo-generator skill.
- Provides a preview assistant for RenderingVideo schema JSON using the public preview flow without requiring an API key.
- Includes clear workflow and required documentation references for drafting, editing, and validating RenderingVideo JSON schema.
- Enforces API usage rules, including endpoint mapping and response handling.
- Outputs temporary preview URLs and IDs, and surfaces failure or validation error details as needed.

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

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

p2p_official_large
返回顶部