AI资讯大全AIPPXP.CN搜索 ↗
手把手教程 · 图文步骤

Graphic tutorial: Use Jianying Headless to let AI help you edit, and the draft can be refined directly图文教程:用 Jianying Headless 让 AI 帮你剪映,草稿可直接精修

The complete process from downloading the source code package to generating the first editable cut draft: preparing materials, writing an editing plan, constructing the draft, and registering to the cut homepage, with pictures for every step.

从下载源码包到生成第一个可编辑剪映草稿的完整流程:准备素材、写剪辑计划、构建草稿、登记到剪映首页,每一步都有图。

2026-09-27 更新 · 免费
图文教程:用 Jianying Headless 让 AI 帮你剪映,草稿可直接精修
1

Step 1: Download the source code package and prepare the environment第一步:下载源码包并准备环境

Go to the "AI Plug-in" section of this site to download "Jianying Headless Source Code Package" and unzip it to a fixed directory.

Preparation for macOS users: Apple Silicon Mac, Clip Pro 11.5.0, Python 3.9+ and Xcode command line tools; Windows users can use the FFmpeg export path without installing Clip.

中文

到本站「AI插件」栏目下载《Jianying Headless 源码包》,解压到固定目录。

macOS 用户准备:Apple Silicon Mac、剪映专业版 11.5.0、Python 3.9+ 和 Xcode 命令行工具;Windows 用户可走 FFmpeg 导出路径,无需安装剪映。

第一步:下载源码包并准备环境
2

Step 2: Environmental physical examination (doctor command)第二步:环境体检(doctor 命令)

Enter the decompression directory and first build the native codec component: python3 tools/build_native_codec.py.

Then run python3 skills/yichen-jianying-edit/scripts/headless_draft.py doctor, which will check the clip version, component identity and necessary tools. Only proceed to the next step if the check passes.

中文

进入解压目录,先构建本机编解码组件:python3 tools/build_native_codec.py。

再运行 python3 skills/yichen-jianying-edit/scripts/headless_draft.py doctor,它会检查剪映版本、组件身份和必要工具。检查通过才继续下一步。

第二步:环境体检(doctor 命令)
3

Step 3: Write an editing plan and build a draft第三步:写剪辑计划并构建草稿

Refer to examples/basic.plan.json to write your own plan: which track to put the video on, how long each segment lasts, and what the subtitles say, all described in JSON.

Run the build command to generate a draft: python3 headless_draft.py build --plan plan.json --out work/new-build, and then use verify-build to verify the integrity of the draft.

The material path must be replaced with a file that your computer has permission to use.

中文

参照 examples/basic.plan.json 写自己的计划:视频放哪条轨、每段几秒、字幕说什么,全部用 JSON 描述。

运行 build 命令生成草稿:python3 headless_draft.py build --plan 计划.json --out work/new-build,再用 verify-build 校验草稿完整性。

素材路径必须换成你本机有权使用的文件。

第三步:写剪辑计划并构建草稿
4

Step 4: Register to the editing homepage and export the film第四步:登记到剪映首页并导出成片

Save the current work and exit the editing completely, run the publish command to register the new draft to the editing homepage; open playback, save and reopen to confirm everything is correct.

When you need to make a movie, run the export command. render.mp4 in the output directory is the exported H.264 video. If you want to change it later, you can just go back and trim it by hand.

Official case verification: A complete project with 23 tracks and 154 clips can be transferred and exported normally, and 1507 frames pass frame-by-frame inspection.

中文

保存当前工作并完全退出剪映,运行 publish 命令把新草稿登记到剪映首页;打开播放、保存重开确认无误。

需要成片时运行 export 命令,输出目录里的 render.mp4 就是导出的 H.264 视频。后续想改,回剪映里手工精修即可。

官方案例验证:23 条轨道、154 个片段的完整工程可正常交接导出,1507 帧逐帧检查通过。

第四步:登记到剪映首页并导出成片

Notes使用提醒

This article is compiled from public sources and ships with the matching resource. Product features and pricing are subject to the official page. Resources are for learning and exchange only — please respect the original license.

中文

本文整理自公开资料并附上配套资源;涉及产品的功能与价格以官方页面为准。资源仅供学习交流,请遵循来源许可。

资源下载 · Download

本篇为图文教程,直接按步骤操作即可,无需下载文件。

0阅读0 条评论

阅读与点赞数据保存在你的浏览器本地,欢迎留下你的想法。

评论 文明发言,让讨论更有价值

正能量公益广告今日正能量学一点,用一点;今天种下的种子,会长成明天的能力。去免费下载专区 →广告