davinci-auto-editor
Generate DaVinci Resolve import packages from local media plus a cloud editing API. Use when Codex needs to scan a material folder, request a cloud editing plan, and write a Resolve-importable EDL package with pure Node on the user machine.
Install via CLI (Recommended)
clawhub install openclaw/skills/skills/afengzi/davinci-auto-editorDaVinci Auto Editor
使用这个 skill 时,按下面顺序执行:
- 读取
examples/config.example.json同结构的配置文件。 - 校验
api_base_url、api_key、material_path、timeline_fps等关键参数。 - 递归扫描素材目录,并向云端上报素材索引。
- 调用云端 API 创建任务并获取剪辑计划。
- 在本地只生成最小执行计划,不要把完整云端内部逻辑写入本地文件。
- 由 Node 生成 Resolve 可导入的
timeline.edl和导入说明文件。 - 将准备结果回传云端。
输入参数
至少提供这些字段:
api_base_urlapi_keyproject_typeaspect_ratiomaterial_pathtemplate_idsubtitle_modemusic_policypace_policyoutput_moderender_presettimeline_fpstimeline_resolution
可选字段:
task_timeout_mspoll_interval_msrequest_timeout_mstask_namewebhook_urlextra_metadata
输出结果
默认在素材目录旁创建 _davinci_auto_editor/<taskId>/,包含:
resolve-import.json:最小本地导入计划timeline.edl:Resolve 导入文件IMPORT-TO-RESOLVE.txt:导入说明execution-report.json:本地执行报告
推荐工作流
- 把核心决策、模板逻辑、API Key 鉴权和配额管理放在云端服务。
- 本地只保留素材扫描、结果导出和回传逻辑。
- 优先使用短路径、稳定命名的素材目录,减少 EDL relink 成本。
- 在正式任务前先用样本素材验证时间线 FPS 和素材命名。
依赖要求
- Node.js 18 或更高版本
- 已安装 DaVinci Resolve
- 可访问云端 API 的网络环境
错误处理原则
- 缺少配置、素材目录不存在、API 调用失败时立即停止并返回非 0 退出码。
- 始终写出
execution-report.json以便排查。 - 不在本地输出完整云端推理结果,只输出导入所需的最小执行数据。
- 明确提示第一版只覆盖基础拼接和时间线导入准备。
Metadata
Not sure this is the right skill?
Describe what you want to build — we'll match you to the best skill from 16,000+ options.
Find the right skillPaste this into your clawhub.json to enable this plugin.
{
"plugins": {
"official-afengzi-davinci-auto-editor": {
"enabled": true,
"auto_update": true
}
}
}Related Skills
quant-strategy
辅助编写和回测量化交易策略,支持因子分析
A Share Site Crawl
Skill by afengzi
jianying-auto-editor
Automate Jianying draft generation from local media plus a cloud editing API. Use when Codex needs to scan a material folder, request editing decisions, and write Jianying-oriented draft output for short-form video workflows.
market-news
自动搜索和总结最新财经新闻与市场动态
stock-filter-skills
股票多条件筛选、热门因子管理、Jiuyan 数据查询和抖音热点分析。提供 17 个 CLI 工具覆盖四大模块。