Finds useful illustration points in an article and generates consistent raster visuals from saved prompts.
Coding
Jianying Auto Editor
Turn local media and cloud editing decisions into Jianying draft files and an execution report.
What it does
Generate a local Jianying draft from a folder of video, audio, and image assets using editing decisions from a cloud API. The workflow validates configuration, indexes media recursively, creates and polls the cloud task, then writes timeline data, metadata, and an execution report. If no detailed storyboard is returned, it can fall back to joining assets in source order.
When to use it
- Building Jianying drafts from a project media folder
- Applying cloud-generated editing plans to local assets
- Creating a source-order fallback draft
- Producing execution reports for failed editing runs
The skill document
Jianying Auto Editor
使用这个 skill 时,按下面顺序执行:
- 读取
examples/config.example.json同结构的配置文件。 - 校验
api_base_url、api_key、material_path、template_id、jianying_draft_path等关键参数。 - 递归扫描素材目录,只收集常见视频、音频、图片素材。
- 调用云端 API 创建任务、上报素材索引、获取剪辑计划。
- 在本地生成剪映草稿输出,不要承诺 GUI 点击或桌面 RPA。
- 将执行结果写入输出目录,并向云端回传执行报告。
输入参数
至少提供这些字段:
api_base_urlapi_keyproject_typeaspect_ratiomaterial_pathtemplate_idsubtitle_modemusic_policypace_policyoutput_modejianying_draft_pathdraft_versionexport_mode
可选字段:
task_timeout_mspoll_interval_msrequest_timeout_mstask_namewebhook_urlextra_metadata
输出结果
默认输出到 jianying_draft_path 指向的目录,包含:
draft-meta.json:任务与导出元信息draft-content.json:草稿时间线和片段描述execution-report.json:本地执行报告
推荐工作流
- 先用示例配置复制出一份真实配置。
- 保持
material_path只放本次任务素材,避免无关文件进入索引。 - 先验证云端
/v1/tasks/create和/v1/tasks/{id}/plan可用,再跑正式任务。 - 若云端未返回细粒度分镜,允许回退到“按素材顺序串接”的保底草稿。
依赖要求
- Node.js 18 或更高版本
- 可访问云端 API 的网络环境
- 本地可写的剪映草稿输出目录
错误处理原则
- 缺少配置、素材目录不存在、API 调用失败时立即停止并返回非 0 退出码。
- 本地始终尽量写出
execution-report.json,便于排查。 - 对云端返回的未知字段保持容忍,只消费已知字段。
- 明确提示第一版不覆盖复杂 GUI 自动化和全部剪映版本兼容性。
Questions people ask
- What files does it create?
- It writes `draft-meta.json`, `draft-content.json`, and `execution-report.json` to the directory specified by `jianying_draft_path`.
- Does it control the Jianying desktop interface?
- No. It generates local draft output and explicitly does not promise GUI clicking or desktop RPA.
- What happens when configuration, media, or API access fails?
- Missing configuration, a nonexistent material directory, or an API failure stops execution with a non-zero exit code. It still attempts to write `execution-report.json` for troubleshooting.
Related skills
Convert content into shareable slide images, with reviewable outlines and reproducible prompts.
Find and revise AI-writing patterns while preserving unaffected prose and protected content.
Capture entries, restart a lapsed practice, review past writing, and assess recurring themes.
Writes and revises Mandarin Chinese for the right audience, region, channel, and level of formality.
Draft legal documents, policies, memos, and compliance checklists from detailed natural-language requirements.