jianying-mcp 实验室测试版 0.3.0b1
开源发布预览 · 桌面 AI 零视觉直控剪映桥梁

让桌面助手通过 MCP 直控剪映:0 视觉、不用 Computer Use、全程编码直操

面向苹果自研芯片电脑上的剪映专业版,无需截图识屏,也不用模仿人工瞎点鼠标。通过开放模型上下文协议(MCP)提供 38 项 MCP 工具与 4 项资源,直接串联标准工程无损入轨、苹果无障碍树直控、键鼠让路守卫与一式两份执行报告,安全自动完成剪辑与导出。

38 项 MCP 工具 · 4 项资源 40 张零积分卡库:20 张特效 + 20 张转场
双层开源许可(可商用) 主服务层 MPL-2.0 · 底层补丁 Apache-2.0
代码与隐私核查 151 项单元测试零警告全通 · 零外部 pip 依赖
123 动作键位 · 45 简写别名 115 项键盘 + 8 项非键盘动作 · 122 项已绑定 · 0 误冲突 · 3 项语境隔离复用
实机 9 步 · 288.4 秒全链路 全自动打通 · 0 积分消耗 · 60.7 秒同屏演示(10.37 MiB)
全程零截图 · 静默让路 停顿期按 40 毫秒内轮询,触碰键鼠立刻停手
jianying-mcp 项目封面主图
项目封面主图(新版重绘) 点击看原图
品牌视觉系统

核心配图总览

全部切换为浅色工作室编辑视觉规范,适配公开仓库主页与中文推广图文

三层抗加密直控架构图

标准工程无损导入 → 苹果无障碍直控与 10 秒让路守卫 → 123 动作键位、45 简写别名与一式两份报告;离线编译器支持 20 类高级剪辑指令编排与键位校验。

三层抗加密直控架构图
架构图点击放大查看

一式两份执行报告双端图

左侧是给人看的中文白话网页报告,右侧是给助手精准复改的结构化数据账本;40 张零积分卡库与 151 项离线单测提供可核查基础。

一式两份执行报告双端示意图
报告示意点击放大查看
60.7 秒同屏演示 · 10.37 MiB

操作演示视频专区

全屏预览 + 关键交互平滑放大特写 + 同步提示词字幕

60.7 秒同屏演示成片(10.37 MiB,1920×1080,30fps):左侧展示 MCP 工具调用与响应,右侧展示剪映操作;使用脱敏合成素材,顶部账户区已裁去。自动化操作不依赖屏幕图像识别。

开源内容原文实景审阅

开源仓库文档全览

五个标签页直读开源仓库公开正文,包含中英文说明、合规声明与双层许可。

jianying-mcp

让桌面 AI 通过 MCP 直控剪映专业版(macOS 11.8+):0 视觉识别、不用 Computer Use、全程结构化编码直操。
实验测试版(Experimental Beta · v0.3.0b1)|纯 Python 3.10+ 标准库(零第三方 pip 依赖)· 零屏幕抓图 · MPL-2.0 可商用(原生无障碍补丁保留上游 Apache-2.0)。
jianying-mcp 开源项目封面横幅
jianying-mcp 开源项目封面横幅

English Documentation (README.md) · 一式两份中文执行报告示例 · 法律风险声明 (DISCLAIMER.md) · 开源等级与贡献指南 (CONTRIBUTING.md)

实验室测试版与法律合规声明:本项目目前处于实验室/早期测试阶段(v0.3.0b1),仅适配 Apple Silicon macOS。本项目系独立第三方开源接口层,与字节跳动 / 剪映官方无任何关联或授权背书;不破解加密草稿、不绕过会员或积分墙(默认 allow_paid=False 拦截付费提示)、不分发任何官方软件或内置素材、全程零抓图,并内置 10.0s 键鼠让路守卫(操作间等待 guarded_sleep 按 <=40ms 轮询,让路静默恢复 wait_for_silence 按 100ms 轮询;受保护的交互式/界面无障碍调用(--headed 或 click/press/set-value/mouse-click/hover)与修改类 AppleScript 调用(mutate=True)按 pointer/keyboard/non_input 分类,启动主程序调用以 non_input 启用守卫,仅在这些调用前后校准跨通道物理输入;只读查询类无障碍读取与 mutate=False 的 AppleScript 不触发该跨通道前置/后置守卫,同步系统调用本身期间同通道物理输入无法中断调用体,且不可逆操作提交后若遭介入会直接抛出异常终止而不自动盲重放)。软件用户协议与合规使用责任由使用者自行承担,详阅 DISCLAIMER.md。

为什么选择 jianying-mcp?(三层抗加密直控架构)

早期剪映开源脚本普遍直接修改磁盘上的 draft_content.json。但在剪映 6.x–11.8+ 版本中,本地草稿 JSON 已全面加密,编辑器运行期间会锁定文件,且改 JSON 无法驱动剪映内置转场/特效库、检查器或硬件导出。

jianying-mcp 不破解加密草稿、全程零截图,采用可验证的三层架构直接联动桌面端:

三层抗加密直控架构总览
三层抗加密直控架构总览
  1. 第一层:标准 FCPXML 1.11 + UTF-8 SRT 无损导入
    • 由 Python 精确按帧生成标准 FCPXML 1.11 工程(精准支持源素材裁切起止点与多段拼接),通过系统文件面板无损导入剪映(jianying_import_fcpxml / jianying_import_srt)。
  2. 第二层:零抓图 macOS 无障碍树(AXUIElement)+ IdleYieldGuard 守卫
    • 基于零抓图守卫版 agent-desktop(开源仓库仅保留 native/ 源码补丁与构建脚本,本地执行 python3 native/build_native.py 编译到 bin/macos-arm64/,或通过 JIANYING_MCP_AGENT_DESKTOP / PATH 指定)与 System Events 读取原生控件树,完全不抓取屏幕图像。
    • 动态窗口锚点与单/双栏自适应:按当前主窗口 bounds 与相对比例动态定位,自动兼容常规单时间线布局与工程对照时的双时间线右栏布局。
    • IdleYieldGuard(默认 10.0s 静默让路):在操作间 guarded_sleep 停顿期内按 <=40ms 轮询键鼠与光标位移(>4px),在让路后的 wait_for_silence 连续静默恢复阶段按 100ms 轮询;对受保护的交互式/界面无障碍调用(--headed 或 click/press/set-value/mouse-click/hover)与修改类 AppleScript 调用(mutate=True)按 pointer / keyboard / non_input 分类,启动主程序调用以 non_input 启用守卫,仅在这些调用前后校对非重叠通道物理输入(如指针点击期间检测键盘/滚轮、按键期间检测光标/滚轮、激活/菜单项等非键鼠操作期间全通道检测)并配合指针竞争检查;只读查询类无障碍读取与 mutate=False 的 AppleScript 不触发该跨通道前置/后置守卫;停手时还原剪贴板;未提交或幂等步骤可在连续静默 10s 后自动恢复,已触发不可逆提交的操作则抛出 UserTouchYieldAfterCommit 停止重放(注:与正在执行的同步系统调用同通道的瞬间输入无法在调用体中途强行打断)。
    • VIP 与积分拦截门禁(JIANYING_MCP_ALLOW_PAID=0):禁止进入付费 AI 积分分类,并在导出弹窗检索会员/充值关键词,命中即中断。
  3. 第三层:Custom1 防冲突键位 + 8 维免费语义卡 + 一式两份中文报告
    • 内置 Custom1 安全检查、备份安装与一键回滚工具:共 123 个动作 ID(115 项键盘快捷键 + 8 项非键盘/鼠标滚轮动作),122 项已绑定、0 误冲突、3 项语境隔离复用。编译器内置 45 个简写别名(29 个兼容历史简写 + 16 个扩展自定义别名);非键盘动作不能作为键盘快捷键执行。
    • 收录 src/jianying_mcp/data/semantic_catalog.jsonl 共 40 张已实测零积分免费卡(20 张画面特效 + 20 张转场),带时序包络、字幕区遮挡风险、音频峰值与黑场告警。
    • 原生“一式两份”执行报告引擎(v0.3.0b1 新增):自动记录每次会话的素材选段、操作流水、特效转场与调色参数、字幕明细及让路异常,同步生成给用户看的 5 段式纯中文白话网页/清单报告(开启弹窗时只弹人话报告)与给 AI 精准二改的结构化 JSON。
一式两份执行报告双端示意图
一式两份执行报告双端示意图

操作录屏演示

  • 点击查看实机操作演示视频(全屏导览 + 重点平滑放大 + 中文提示词字幕)
  • 脱敏同屏演示成片:60.7 秒,1920×1080、30fps、10.37 MiB,使用合成素材同步展示工具调用、响应与剪映界面变化。
  • Stage 2 既有实机记录完成 9 步全自动链路,耗时 288.4 秒:媒体导入、位置与缩放、精准分割、免费转场、字幕导入与样式、变速、入出场动画、调色和导出。执行报告记录 0 积分消耗,但未记录账户余额前后独立对照;完整链路耗时与剪辑后的演示片时长分别统计。
  • 自动化依赖结构化无障碍与快捷键,零图像识别、不用 Computer Use;演示片是对操作过程的录屏,不是供自动化识别的图像输入。

运行前提与环境依赖

  • 系统:Apple Silicon macOS(arm64)
  • 应用:剪映专业版 11.8+(/Applications/VideoFusion-macOS.app,Bundle ID com.lemon.lvpro)
  • Python:3.10+(仅依赖标准库,零 pip 三方包)
  • 音视频工具:ffmpeg 与 ffprobe(brew install ffmpeg 或 brew install ffmpeg-full)
  • 守卫版 agent-desktop 原生后端:本开源仓库保持 100% 无预编译二进制,随附 Apache-2.0 源码补丁(native/agent-desktop-v1.3.1-*.patch)与 native/build_native.py。运行真机 GUI 控制前请二选一准备:
    • 本机装有 Rust/Cargo 与 git 时,一键编译至 bin/macos-arm64/(构建脚本内置 --remap-path-prefix 路径擦除,不残留本机用户信息,bin/ 已加入 .gitignore):
    • 或在环境变量 JIANYING_MCP_AGENT_DESKTOP(或系统 PATH)中指向已编译的守卫版 agent-desktop(同目录须含 agent-desktop-macos-helper)。
    bash
        python3 native/build_native.py
  • macOS 权限:
    • 辅助功能(Accessibility):请在 系统设置 → 隐私与安全性 → 辅助功能 为运行本服务的终端 / IDE / 客户端开启授权。
    • 首次工程导入授权:首次导入 .fcpxml 或本地媒体时,macOS 可能弹出一次访问文件夹的系统权限弹窗,在界面上点击一次允许即可。

快速开始(免安装运行)

如尚未在 PATH 或 JIANYING_MCP_AGENT_DESKTOP 指定后端,先在本机编译原生无障碍助手(仅真机 GUI 操作需要):

bash
python3 native/build_native.py

离线体检环境与目录状态:

bash
PYTHONPATH=/path/to/jianying-mcp/src python3 -m jianying_mcp --health

以标准 MCP stdio 模式启动服务端:

bash
PYTHONPATH=/path/to/jianying-mcp/src python3 -m jianying_mcp

或以可编辑模式安装:

bash
pip install --no-build-isolation --no-deps -e /path/to/jianying-mcp
jianying-mcp

环境变量

变量名默认值说明
JIANYING_MCP_IDLE_SEC10.0执行界面操作前需满足的键鼠连续静默秒数(0 可临时关闭守卫)。
JIANYING_MCP_ALLOW_PAID0默认 0,拦截付费 AI 积分分类及 VIP 导出弹窗。
JIANYING_MCP_AGENT_DESKTOPbin/macos-arm64/agent-desktop 或 PATH指定守卫版 agent-desktop 可执行文件路径。
JIANYING_MCP_FFMPEG / JIANYING_MCP_FFPROBE自动探测自定义 ffmpeg / ffprobe 路径。
JIANYING_MCP_APP/Applications/VideoFusion-macOS.app自定义剪映 .app 路径。

客户端接入配置(mcpServers)

Claude Desktop(~/Library/Application Support/Claude/claude_desktop_config.json)

json
{
  "mcpServers": {
    "jianying": {
      "command": "python3",
      "args": ["-m", "jianying_mcp"],
      "env": {
        "PYTHONPATH": "/path/to/jianying-mcp/src",
        "JIANYING_MCP_IDLE_SEC": "10.0",
        "JIANYING_MCP_ALLOW_PAID": "0"
      }
    }
  }
}

Cursor(.cursor/mcp.json 或 ~/.cursor/mcp.json)

json
{
  "mcpServers": {
    "jianying": {
      "command": "python3",
      "args": ["-m", "jianying_mcp"],
      "env": {
        "PYTHONPATH": "/path/to/jianying-mcp/src",
        "JIANYING_MCP_IDLE_SEC": "10.0",
        "JIANYING_MCP_ALLOW_PAID": "0"
      }
    }
  }
}

Antigravity(~/.gemini/antigravity/mcp_config.json)

json
{
  "mcpServers": {
    "jianying": {
      "command": "python3",
      "args": ["-m", "jianying_mcp"],
      "env": {
        "PYTHONPATH": "/path/to/jianying-mcp/src",
        "JIANYING_MCP_IDLE_SEC": "10.0",
        "JIANYING_MCP_ALLOW_PAID": "0"
      }
    }
  }
}

Codex(~/.codex/config.toml)

toml
[mcp_servers.jianying]
command = "python3"
args = ["-m", "jianying_mcp"]

[mcp_servers.jianying.env]
PYTHONPATH = "/path/to/jianying-mcp/src"
JIANYING_MCP_IDLE_SEC = "10.0"
JIANYING_MCP_ALLOW_PAID = "0"

MCP 工具与资源清单(v0.3.0b1,共 38 项 MCP 工具 · 4 项 MCP 资源)

  • 状态与工程:jianying_health_check、jianying_get_timeline_status、jianying_open_draft、jianying_return_home
  • FCPXML 与字幕素材入轨:jianying_build_fcpxml、jianying_import_fcpxml、jianying_import_media、jianying_import_srt、jianying_edit_subtitle、jianying_style_subtitles(当前版本仅支持 apply_all=true 全轨样式;传入 apply_all=false 将明确报错 NotImplementedError 提醒)
  • 时间线、检查器与面板卡片:jianying_seek、jianying_select_clip、jianying_timeline_command、jianying_set_transform、jianying_read_transform、jianying_set_visual_properties、jianying_set_color_adjust、jianying_reverse_clip、jianying_compound_clip、jianying_copy_paste_attributes、jianying_set_speed、jianying_set_audio_inspector、jianying_apply_panel_card、jianying_set_clip_animation(支持入场 / 出场 / 组合零积分动画及可选时长)
  • 快捷键与计划编译执行:jianying_shortcut、jianying_cut_clip、jianying_compile_plan、jianying_run_compiled_plan(完整入参见下表)
  • 盲导与预设恢复:jianying_export、jianying_restore_export_defaults
  • 语义卡库与快捷键:jianying_search_catalog(已收录 40 张零积分免费卡:20 特效 + 20 转场)、jianying_keymap_status、jianying_keymap_install、jianying_keymap_rollback
  • 一式两份执行报告:jianying_start_report_session、jianying_record_media_selection、jianying_get_session_trace、jianying_generate_report(输出 .html、.md 与 .json;开启弹窗时仅打开人读版 .html)
  • MCP 资源:jianying://catalog/effects、jianying://catalog/transitions、jianying://keymap/shortcuts、jianying://report/schema

四个新增工具的入参

工具必填可选与默认值
jianying_shortcutcommand:受支持的键盘动作 ID 或简写别名keep_selection=true(布尔)、verify_track_delta(须增加片段数的轨道前缀字符串)、pane="auto"(auto / right / left)
jianying_cut_clip无clip_name(字符串)、index=0(非负整数)、track_prefix="MTLSVideoP"、timecode(字符串)、batch=false(布尔)、fps=30(正整数)、pane="auto"(auto / right / left)
jianying_compile_planops:操作对象数组无;离线只读编译,支持 20 类高级剪辑指令编排与 Custom1 键位校验,不操作编辑器
jianying_run_compiled_planops:同格式操作对象数组pane="auto"(auto / right / left)、strict_shortcuts=false(布尔);先完整校验,再逐步执行与检查结果

jianying_cut_clip 先选中片段,可保留选择定位时间码,再分割并核对轨道片段数增加。计划中每项使用 op 加该操作的字段,例如 {"op": "cut", "timecode": "00:00:01:15", "fps": 30}。20 类 op 为:import_media、import_srt、import_fcpxml、build_fcpxml、select_clip、seek、cut、batch_cut、speed、transform、color、audio、animation、panel_card、style_subtitles、export、return_home、shortcut、next_cut、prev_cut。实时剪辑仍需原生后端与相应权限。

离线验证

151 项离线单元测试按警告视为错误运行全部通过,仅使用 Python 标准库,零外部 pip 依赖。在仓库根目录执行:

bash
PYTHONDONTWRITEBYTECODE=1 python3 -B -W error -m unittest discover -s tests -q

离线测试与实机 9 步记录分别作为证据,不据此宣称全部工具或全部 123 个动作均已逐项真机验收。


法律风险、开源等级与实验边界说明

  • 开源等级与许可(允许商用 + 受保护源码可获取 + 保留署名):本仓库定位为 Experimental Beta(v0.3.0b1 实验室测试版)(同时说明已知实验边界:如字幕样式暂仅支持 apply_all=true,set_speed(tone_change=...) 与 set_visual_properties(mirror=...) 在无法读取控件当前开关状态时会直接报 NotImplementedError 而不盲切,非幂等动作提交后遭人机打断会抛出 UserTouchYieldAfterCommit 而不盲目重放)。主服务端、内置数据、报告引擎与文档遵循 MPL-2.0:允许免费商用与内部私有自改(仅内部使用且不对外分发时无需公开源码);当对外分发受保护软件(无论是否修改,涵盖源码形式 §3.1 与可执行件形式 §3.2)时,须确保受保护文件源码以 MPL-2.0 面向接收者提供并保留原作者署名与版权声明;结合其他独立文件组成的更大作品可使用兼容协议(§3.3)。native/ 目录无障碍源码补丁遵循上游 Apache-2.0(完整正文见 native/LICENSE-APACHE-2.0)。详阅 CONTRIBUTING.md。
  • 法律风险自查边界(非正式律师意见):技术实现保持清白边界(不破解加密算法、不绕付费、不搬运官方资源),但桌面端自动化仍受目标软件服务条款(ToS)约束,严禁用于黑产批量起号;若权利人提出商标或移除通知将立即配合调整。完整免责、法定例外条款与风险边界见 DISCLAIMER.md(及仓内 LICENSE 第 6–7 条)。

开源许可(MPL-2.0 + 上游 Apache-2.0)

  • 本仓库 Python MCP 服务端(含内置数据包)、执行报告引擎、测试与文档均基于 Mozilla Public License Version 2.0 (MPL-2.0) 开源:允许免费商用与内部自改;一旦对外分发受保护软件(无论源码分发 §3.1 还是打包可执行件分发 §3.2,无论是否修改),须保证受保护文件的源码按 MPL-2.0 向接收者提供并保留原作者署名与版权声明。详见 LICENSE 与 NOTICE。
  • native/ 目录下的无障碍增强补丁衍生自 vercel-labs/agent-desktop(v1.3.1),延续上游 Apache License, Version 2.0(上游原样副本见 native/LICENSE-APACHE-2.0),与 MPL-2.0 主服务层合法兼容。

jianying-mcp

Drive Jianying Pro (11.8+ on Apple Silicon macOS) via MCP — Zero Vision, No Computer Use, Pure Structured Code Automation.
Experimental Beta (v0.3.0b1) · Pure Python 3.10+ standard library (zero external pip dependencies) · Zero image captures · MPL-2.0 (Native patches: Apache-2.0).
jianying-mcp Cover Banner
jianying-mcp Cover Banner

中文文档 (README.zh-CN.md) · Example Dual Report (中文) · Legal Disclaimer · Open-Source Tier & Contributing

Experimental Beta & Legal Boundary Notice: This repository is an early Experimental Beta (v0.3.0b1) limited to Apple Silicon macOS. It is not affiliated with, authorized by, or endorsed by ByteDance / Jianying Pro / CapCut. It performs zero draft decryption, zero paywall/VIP bypass (allow_paid=False), and zero image capture (AXUIElement only), with IdleYieldGuard (10.0s silence guard polling guarded_sleep at <=40ms, polling silence recovery wait_for_silence at 100ms, auto-classifying guarded interactive/GUI AX calls (--headed or click/press/set-value/mouse-click/hover), mutating AppleScript calls (mutate=True), and app launches (non_input) as pointer/keyboard/non-input to monitor cross-channel inputs before/after those synchronous calls (read-only AX queries and mutate=False AppleScript do not trigger this cross-channel pre/post guard), and raising UserTouchYieldAfterCommit instead of replaying post-commit). Users assume independent compliance responsibility under applicable laws and software Terms of Service. See DISCLAIMER.md.

Why jianying-mcp? (3-Layer Encryption-Proof Architecture)

Older open-source Jianying tools attempted to mutate draft_content.json directly on disk. Modern Jianying Pro (6.x–11.8+) encrypts draft files, rejects offline JSON edits while the editor is open, and cannot trigger native effects, transitions, inspectors, or hardware exports via JSON hacks.

3-Layer Encryption-Proof Architecture
3-Layer Encryption-Proof Architecture
  1. Layer 1 — Standard FCPXML 1.11 + UTF-8 SRT Assembly
    • Deterministic, frame-exact timeline generation (fcpxml_builder.py) with source_timerange precision, imported natively into Jianying Pro via NSOpenPanel (jianying_import_fcpxml) and jianying_import_srt.
  2. Layer 2 — Zero-Image-Capture macOS Accessibility (AXUIElement) + IdleYieldGuard
    • Uses a zero-image-capture guarded agent-desktop binary (built locally from Apache-2.0 source patches in native/ via python3 native/build_native.py, or supplied via JIANYING_MCP_AGENT_DESKTOP / PATH) and System Events AX queries with zero image captures, dynamic window-bounds anchoring, and automatic adaptation to both single-pane (timeline_roots == 1) and dual-pane (timeline_roots == 2, right pane) timelines.
    • IdleYieldGuard (10.0s default): Polls CoreGraphics HID idle state and cursor drift (>4px) at <=40ms during action sleep intervals (guarded_sleep), polls continuous recovery silence at 100ms (wait_for_silence), classifies guarded interactive/GUI AX calls (--headed or click/press/set-value/mouse-click/hover) and mutating AppleScript calls (mutate=True) as pointer, keyboard, or non_input, and guards app launches as non_input, checking non-overlapping input channels before/after these calls (plus native pointer-contention checks during mouse moves), and preserves clipboard contents. Read-only AX queries and mutate=False AppleScript do not trigger this cross-channel pre/post guard. Pre-commit or idempotent operations auto-resume after continuous silence; interruptions after a non-idempotent edit has already committed raise UserTouchYieldAfterCommit instead of blindly replaying side effects (same-channel physical events arriving strictly inside an in-flight synchronous OS syscall cannot be distinguished mid-syscall).
    • Credit & VIP Interlock (JIANYING_MCP_ALLOW_PAID=0): Blocks paid AI-credit tabs/categories and automatically aborts export dialogs if VIP/credit/payment prompts are detected.
  3. Layer 3 — Custom1 123-Action Keymap + 8D Catalog + Dual Execution Reports
    • Safe installer/rollback (jianying_keymap_install, jianying_keymap_rollback) for Custom1: 123 action IDs (115 keyboard shortcuts + 8 non-keyboard/mouse-wheel actions), 122 bound actions, 0 unintended conflicts, and 3 context-isolated reuses. The compiler exposes 45 short aliases (29 legacy + 16 extended custom aliases); non-keyboard actions cannot be executed as keyboard shortcuts.
    • Searchable 8-dimensional semantic catalog (src/jianying_mcp/data/semantic_catalog.jsonl) with 40 verified zero-credit free cards (20 video effects + 20 transitions), motion curves, subtitle intrusion safety, audio coupling, and hazard warnings.
    • Built-in Dual Report Engine (v0.3.0b1): Automatically records clip selections, tool execution trace, applied effects/transitions/color/subtitles, yields, and warnings into human-readable 5-section Chinese HTML + Markdown AND machine-readable JSON for follow-up AI refinement. When interactive preview is enabled (open_human_report=true), only the human-readable report is popped open.
Dual Execution Report Concept
Dual Execution Report Concept

Live Demo Showcase

  • Watch Live Demo Video (assets/demo.mp4: Fullscreen + Zoomed Highlights + Captions)
  • The sanitized 60.7s side-by-side demo is 1920×1080, 30fps, 10.37 MiB. Tool calls and responses appear alongside the editor using synthetic demo media.
  • The recorded Stage 2 run completed 9 automated steps in 288.4s: media import, transform, precise splitting, free transition, subtitle import/style, speed, in/out animation, color adjustment, and export. The execution report records 0 credits spent; no independent before/after account-balance comparison was recorded. The full run time differs from the edited demo duration.
  • The automation uses structured Accessibility and shortcuts, without image recognition or Computer Use. The demo video itself is a screen recording, not an image input to the automation.

Prerequisites

  • OS: macOS on Apple Silicon (arm64)
  • App: Jianying Pro 11.8+ (/Applications/VideoFusion-macOS.app, bundle ID com.lemon.lvpro)
  • Python: 3.10+ (standard library only; no pip install needed)
  • Media Tools: ffmpeg and ffprobe (brew install ffmpeg or brew install ffmpeg-full)
  • Guarded agent-desktop Native Backend: This open-source repository is 100% binary-free and ships reproducible Apache-2.0 source patches (native/agent-desktop-v1.3.1-*.patch) + native/build_native.py. For live GUI control, either:
    (Uses RUSTFLAGS --remap-path-prefix so compiled artifacts contain no local user/host paths; bin/ is gitignored.)
    • Build bin/macos-arm64/{agent-desktop,agent-desktop-macos-helper} locally (requires Rust/Cargo + git):
    • Or point JIANYING_MCP_AGENT_DESKTOP (or PATH) to an existing guarded agent-desktop binary (with agent-desktop-macos-helper alongside it).
    bash
        python3 native/build_native.py
  • macOS Permissions:
    • Accessibility: Grant Accessibility access in System Settings → Privacy & Security → Accessibility to your terminal / IDE / MCP client running Python.
    • First-time FCPXML/File Import: macOS may show a standard TCC prompt asking whether Jianying Pro may access folders during NSOpenPanel; approve it once manually in the UI.

Quick Start (Zero-Install via PYTHONPATH)

Optional (required only for live GUI tools if agent-desktop is not already in PATH or JIANYING_MCP_AGENT_DESKTOP):

bash
python3 native/build_native.py

Check runtime readiness offline:

bash
PYTHONPATH=/path/to/jianying-mcp/src python3 -m jianying_mcp --health

Run the stdio MCP server directly:

bash
PYTHONPATH=/path/to/jianying-mcp/src python3 -m jianying_mcp

Or install in editable mode:

bash
pip install --no-build-isolation --no-deps -e /path/to/jianying-mcp
jianying-mcp

Environment Variables

VariableDefaultDescription
JIANYING_MCP_IDLE_SEC10.0Continuous keyboard/mouse silence seconds required before GUI actions (0 disables guard for unattended testing).
JIANYING_MCP_ALLOW_PAID0Set to 0 to block paid AI-credit tabs/categories and abort VIP export prompts.
JIANYING_MCP_AGENT_DESKTOPbin/macos-arm64/agent-desktop or PATHPath to a built/existing guarded agent-desktop binary (set in mcpServers.env if stored outside bin/macos-arm64/).
JIANYING_MCP_FFMPEG / JIANYING_MCP_FFPROBEauto-detectedOverride ffmpeg / ffprobe binary paths.
JIANYING_MCP_APP/Applications/VideoFusion-macOS.appOverride Jianying Pro .app bundle path.

Client Configuration (mcpServers)

Claude Desktop (~/Library/Application Support/Claude/claude_desktop_config.json)

json
{
  "mcpServers": {
    "jianying": {
      "command": "python3",
      "args": ["-m", "jianying_mcp"],
      "env": {
        "PYTHONPATH": "/path/to/jianying-mcp/src",
        "JIANYING_MCP_IDLE_SEC": "10.0",
        "JIANYING_MCP_ALLOW_PAID": "0"
      }
    }
  }
}

Cursor (.cursor/mcp.json or ~/.cursor/mcp.json)

json
{
  "mcpServers": {
    "jianying": {
      "command": "python3",
      "args": ["-m", "jianying_mcp"],
      "env": {
        "PYTHONPATH": "/path/to/jianying-mcp/src",
        "JIANYING_MCP_IDLE_SEC": "10.0",
        "JIANYING_MCP_ALLOW_PAID": "0"
      }
    }
  }
}

Antigravity (~/.gemini/antigravity/mcp_config.json)

json
{
  "mcpServers": {
    "jianying": {
      "command": "python3",
      "args": ["-m", "jianying_mcp"],
      "env": {
        "PYTHONPATH": "/path/to/jianying-mcp/src",
        "JIANYING_MCP_IDLE_SEC": "10.0",
        "JIANYING_MCP_ALLOW_PAID": "0"
      }
    }
  }
}

Codex (~/.codex/config.toml)

toml
[mcp_servers.jianying]
command = "python3"
args = ["-m", "jianying_mcp"]

[mcp_servers.jianying.env]
PYTHONPATH = "/path/to/jianying-mcp/src"
JIANYING_MCP_IDLE_SEC = "10.0"
JIANYING_MCP_ALLOW_PAID = "0"

Available MCP Tools (v0.3.0b1, 38 MCP Tools / 4 MCP Resources)

Diagnostics & Project Lifecycle

  • jianying_health_check: Verify VideoFusion-macOS.app, User Data directory, agent-desktop, ffmpeg/ffprobe, and catalog/keymap availability (offline, safe).
  • jianying_get_timeline_status: Inspect current draft window state, single_pane vs dual_pane mode, playhead timecode (HH:MM:SS:FF), track clip counts, and inspector state.
  • jianying_open_draft: Return to Home Screen and open a named draft into the editor.
  • jianying_return_home: Return cleanly from the editor to the Jianying Home Screen.

FCPXML & Media / Subtitle Ingestion

  • jianying_build_fcpxml: Generate a verified FCPXML 1.11 timeline XML file from clip slices (start_s, duration_s, offset_s) using ffprobe metadata.
  • jianying_import_fcpxml: Headlessly import an .fcpxml file via Home … → 导入PR或FCP工程 and NSOpenPanel.
  • jianying_import_media: Import local video/audio/image media into the project library (and optionally add to timeline).
  • jianying_import_srt: Import a UTF-8 .srt subtitle file (auto-handles both library-card and direct-to-timeline modes).
  • jianying_edit_subtitle: Select a subtitle clip on MTLSTextP and update its text via automationtextArea.
  • jianying_style_subtitles: Style all subtitle clips under text_text -> 基础 (apply_all=true; apply_all=false is not implemented yet and raises NotImplementedError).

Shortcut-First Editing & Offline Plan Compiler

  • jianying_shortcut: Required command (a supported keyboard action ID or short alias); optional keep_selection (boolean, default true), verify_track_delta (track-prefix string whose clip count must increase), pane (auto / right / left, default auto).
  • jianying_cut_clip: No required fields. Optional clip_name (string), index (integer ≥0, default 0), track_prefix (string, default MTLSVideoP), timecode (string), batch (boolean, default false), fps (integer ≥1, default 30), pane (auto / right / left, default auto). Selects a clip, optionally seeks while preserving selection, splits it, and verifies a clip-count increase.
  • jianying_compile_plan: Required ops (array of operation objects). A read-only, offline compiler for 20 high-level editing operation types, with Custom1 key validation and deterministic execution steps; it does not touch the editor.
  • jianying_run_compiled_plan: Required ops (the same operation-array format); optional pane (auto / right / left, default auto) and strict_shortcuts (boolean, default false). Validates the whole plan before executing its ordered steps and postcondition checks; live editing requires the native backend and permissions.

The 20 op values are import_media, import_srt, import_fcpxml, build_fcpxml, select_clip, seek, cut, batch_cut, speed, transform, color, audio, animation, panel_card, style_subtitles, export, return_home, shortcut, next_cut, and prev_cut. Each object uses op plus the fields for that operation (for example, {"op": "cut", "timecode": "00:00:01:15", "fps": 30}).

Timeline, Inspector & Effects

  • jianying_seek: Frame-accurate playhead navigation (HH:MM:SS:FF) verified against AX timecodes.
  • jianying_select_clip: Select a clip by track prefix (MTLSVideoP, MTLSAudioP, MTLSTextP, etc.) and index in either single-pane or dual-pane timelines.
  • jianying_timeline_command: Execute verified timeline shortcuts (cut, batch-cut, trim-left, trim-right, detach-audio, freeze, compound, dissolve-compound, copy-attr, paste-attr, main-magnet, auto-snap, undo, redo, etc.).
  • jianying_set_transform / jianying_read_transform: Read and set scale, pos_x, pos_y, rotate, and optional keyframes (individual, group, or shortcut).
  • jianying_set_visual_properties: Set project canvas_ratio (16:9, 9:16, 1:1, 4:3, 3:4, etc.), clip opacity (0–100), blend_mode (正常, 滤色, etc.), and horizontal mirror (fails closed with NotImplementedError if AX toggle state cannot be read).
  • jianying_set_color_adjust: Adjust Basic Color sliders (temp, tint, saturation, vibrance, brightness, contrast, highlight, shadow, light_sense, whites, blacks, sharpen, clarity, particles, vignette, fade) under video_adjust -> 基础.
  • jianying_reverse_clip: Reverse the selected video clip and wait cleanly for the progress dialog to finish.
  • jianying_compound_clip: Create (Alt+G) or dissolve (Alt+Shift+G) compound clips.
  • jianying_copy_paste_attributes: Copy (Cmd+Shift+C) and/or paste (Cmd+Shift+V) clip attributes between timeline clips.
  • jianying_set_speed: Set uniform playback speed and optional tone_change (fails closed with NotImplementedError if AX checkbox state cannot be read).
  • jianying_set_audio_inspector: Adjust volume_db, fade_in_s, fade_out_s, and mute.
  • jianying_apply_panel_card: Switch left panel tab (特效, 转场, 滤镜, 贴纸, 音频, etc.), optionally search by exact card name, enforce allow_paid=False, and add to timeline.
  • jianying_set_clip_animation: Apply a free In/Out/Combo animation (入场 / 出场 / 组合) under video_animation, enforcing allow_paid=False and optional duration.

Blind Export

  • jianying_export: Headless export with VIP/credit interlock, optional resolution (480p–8k/原始), fps, fmt (mp4/mov/mxf), bitrate (更低/推荐/更高), or audio_only (mp3/wav/aac/flac), auto-restoring defaults afterward.
  • jianying_restore_export_defaults: Reset export dialog back to 1080p, 30fps, mp4, video ON / audio-only OFF.

Semantic Catalog & Keymap

  • jianying_search_catalog: Query 40 pre-verified zero-credit cards (20 video effects + 20 transitions) by keyword, kind, category, entitlement, or hazard-free filter.
  • jianying_keymap_status: Inspect live Jianying Shortcut/ config and validate the bundled Custom1 profile (zero GUI, zero mutation).
  • jianying_keymap_install: Back up live shortcut config and install/activate Custom1 (refuses to run while Jianying editor is open).
  • jianying_keymap_rollback: Restore shortcut config from a previous backup directory (refuses to run while Jianying editor is open).

Dual Execution Reports (v0.3.0b1)

  • jianying_start_report_session: Initialize session title, theme, target duration, and budget baseline for trace recording.
  • jianying_record_media_selection: Register chosen source segments, timeranges, and selection rationale into the report ledger.
  • jianying_get_session_trace: Query accumulated execution steps, applied effects, and yield events without touching GUI.
  • jianying_generate_report: Export dual human-readable Chinese HTML + Markdown alongside machine-readable JSON (see example report); open_human_report=true pops open only the human HTML view.

Available MCP Resources (4 Resources)

  • jianying://catalog/effects — 20 verified zero-credit video effect semantic cards (JSON).
  • jianying://catalog/transitions — 20 verified zero-credit transition semantic cards (JSON).
  • jianying://keymap/shortcuts — Bundled Custom1 123-action shortcut mapping (JSON).
  • jianying://report/schema — 5-section Chinese execution report schema and companion JSON contract.

Offline Validation

151 offline unit tests pass with warnings treated as errors, using only Python's standard library and zero external pip dependencies. From the repository root:

bash
PYTHONDONTWRITEBYTECODE=1 python3 -B -W error -m unittest discover -s tests -q

These tests cover offline behavior; the recorded 9-step live run is separate evidence, not a claim that every tool or all 123 actions were exercised on the editor.


Legal Risk & Open-Source Classification

  • Open-Source Classification (MPL-2.0 Server + Upstream Apache-2.0 Patches): Commercial and internal private use are permitted; purely internal/private use and internal modifications that are not distributed externally do not trigger source disclosure. When distributing Covered Software (src/jianying_mcp/, tests/, docs) externally — whether modified or unmodified, in Source Code Form (§3.1) or Executable Form (§3.2) — Covered Software source files must remain available under MPL-2.0 with copyright and attribution notices preserved, while separate files in a Larger Work may keep compatible terms (§3.3). Native agent-desktop patches (native/) follow upstream Apache-2.0 (verbatim upstream text at native/LICENSE-APACHE-2.0). See LICENSE, NOTICE, and CONTRIBUTING.md.
  • Legal Risk Summary (Not Legal Advice): Zero reverse engineering, zero encrypted draft tampering, zero VIP/credit bypass, zero proprietary assets redistributed. Automated desktop control may still be regulated by third-party client Terms of Service (ToS); prohibited for abusive bulk farming. Full terms (subject to applicable statutory exceptions in LICENSE §§6–7) are in DISCLAIMER.md.

License

  • The MCP server (src/jianying_mcp/ including packaged data), execution report engine, and documentation are licensed under the Mozilla Public License Version 2.0 (MPL-2.0) — commercial use is permitted; external distribution of Covered Software (source or executable, modified or unmodified) must keep Covered Software source files accessible under MPL-2.0 (§§3.1–3.2) and preserve attribution notices. See LICENSE and NOTICE.
  • Native accessibility patches under native/ extend vercel-labs/agent-desktop (v1.3.1) under the Apache License, Version 2.0 (native/LICENSE-APACHE-2.0).

Legal Disclaimer & Risk Boundaries / 法律风险声明与合规边界

Experimental Beta (v0.3.0b1) · Unofficial Independent Project

1. Non-Affiliation & Trademark Notice / 非官方独立声明与商标隔离

  • jianying-mcp is an independent, unofficial, community-built experimental integration tool.
  • This project is NOT affiliated with, endorsed by, sponsored by, or authorized by ByteDance Ltd., Jianying Pro (剪映专业版 / VideoFusion-macOS), CapCut, or any of their subsidiaries.
  • "Jianying Pro", "剪映", "CapCut", and VideoFusion are trademarks of their respective owners, used strictly for descriptive compatibility identification.
  • Rights Holder Cooperation / 权利人协作:If any rights holder raises trademark or reasonable removal requests regarding naming, branding, or documentation references, maintainers will promptly cooperate to rename, amend, or remove disputed items.

2. Technical Compliance Boundaries / 技术合规底线(不破解、不绕墙、不搬运)

By design, this repository enforces strict technical guardrails:

  1. No Reverse Engineering or Draft Decryption / 不反编译、不破解加密草稿:This project does not reverse-engineer proprietary binaries, decrypt encrypted draft_content.json files, or distribute unpublished private keys/protocols. All rough-cut imports use industry-standard FCPXML 1.11 and UTF-8 SRT, and live UI control uses documented macOS Accessibility (AXUIElement) APIs.
  2. No Paywall or Credit Circumvention / 不绕过付费墙与会员积分机制:Paid/VIP/AI-credit features are never bypassed or unlocked. With the default setting JIANYING_MCP_ALLOW_PAID=0, the server actively blocks paid credit panels and aborts export dialogs whenever VIP/payment/credit prompts appear.
  3. No Proprietary Assets or Binaries Redistributed / 不分发任何官方程序、内置素材或预编译二进制:This repository contains zero Jianying executables, templates, fonts, stock music, sound effects, icons, or prebuilt binaries. Users must install their own licensed copy of Jianying Pro from official channels.

3. Software Terms of Service & User Responsibility / 第三方软件协议与使用责任

  • Not Legal Advice / 非正式法律意见:Nothing in this repository constitutes formal legal counsel.
  • End-User Terms Compliance / 遵守目标软件用户协议:Desktop video editors typically regulate automated or high-frequency client usage under their end-user license agreements (EULA) and Terms of Service (ToS). Automated desktop control carries inherent account restriction or ToS risk.
  • Recommended Use Scope / 推荐使用边界:Recommended for lawful personal productivity, creative editing workflows, accessibility automation research, and local testing; this descriptive section adds no extra restrictions beyond the governing MPL-2.0 and Apache-2.0 licenses (which expressly permit commercial use). Strictly prohibited for abusive bulk account farming, spam publishing, unauthorized scraping, or commercial platform manipulation. Users assume full responsibility for verifying compliance with local laws and third-party ToS before running automation against any desktop client.

4. Experimental Status & Warranty Disclaimer / 实验室测试版免责声明(MPL-2.0 第 6–7 条)

  • This release (0.3.0b1) is an Experimental Beta / 实验室早期测试版 limited to Apple Silicon macOS (arm64). UI changes in future desktop versions may break Accessibility selectors.
  • Known unsupported experimental scope is explicitly disclosed (for example, single-subtitle toggling apply_all=False is not implemented and raises NotImplementedError; set_speed(tone_change=...) and set_visual_properties(mirror=...) raise NotImplementedError if Jianying's AX control does not expose readable checked/toggle state; non-idempotent post-commit IdleYieldGuard interruptions raise UserTouchYieldAfterCommit instead of blindly replaying edits; and same-channel physical events arriving mid-flight inside synchronous OS calls cannot interrupt until the syscall returns).
  • To the extent permitted by applicable law, and subject to the statutory exceptions explicitly preserved in LICENSE (Mozilla Public License Version 2.0, Sections 6–7), Covered Software is provided on an "AS IS" BASIS, WITHOUT WARRANTY OF ANY KIND, and contributors shall not be liable for direct, indirect, incidental, lost-data, account-action, or consequential damages arising from use or inability to use this software (see LICENSE Sections 6–7 as the controlling text / 在适用法律允许的范围内,完整免责范围与法定例外条款均以仓内 LICENSE 第 6–7 条正文为准).

Contributing & Open-Source Classification / 开源等级说明与贡献指南

1. Release Maturity Tier / 当前项目成熟度等级:实验室测试版 (Experimental Beta)

  • Current Version: v0.3.0b1 (Development Status :: 4 - Beta)
  • Meaning for Users & Adopters / 分级定位说明:
    • Experimental / Lab Preview (v0.3.0b1):Core MCP stdio protocol, FCPXML 1.11 assembly, single/dual-pane macOS Accessibility control, semantic free-card catalog, and dual execution reporting work end-to-end on tested macOS setups, while selector compatibility may require updates as desktop editor versions evolve.
    • Documented Scope & Honest Limitations / 明确已测与未覆盖边界:
    • Supported platform: Apple Silicon macOS (arm64) only;
    • Subtitle styling currently applies track-wide (apply_all=True); passing apply_all=False explicitly raises NotImplementedError;
    • Explicit boolean toggles (set_speed(tone_change=...) and set_visual_properties(mirror=...)) verify Accessibility toggle state and fail closed with NotImplementedError if Jianying's AX node does not expose readable checked state;
    • Native Rust backend (agent-desktop) is shipped solely as reproducible Apache-2.0 source patches (native/*.patch) alongside native/LICENSE-APACHE-2.0 and must be compiled locally (python3 native/build_native.py) or supplied via JIANYING_MCP_AGENT_DESKTOP / PATH.

2. Open-Source License Tier & Copyleft Obligations / 开源许可类别与核心义务

This repository adopts a dual-boundary structure combining commercial flexibility with file-level weak copyleft (MPL-2.0) and upstream permissive compatibility (Apache-2.0):

Directory / LayerLicenseCore Rights & Obligations
src/jianying_mcp/ (including src/jianying_mcp/data/), tests/, docs/, README*.md, DISCLAIMER.md, CONTRIBUTING.mdMPL-2.0 (File-Level Weak Copyleft)Commercial & internal private use allowed. Purely internal/private use and modifications not distributed externally do not require source release. When distributing Covered Software externally — whether modified or unmodified, in Source Code Form (§3.1) or Executable Form (§3.2) — Covered Software files MUST remain available under MPL-2.0; existing copyright, LICENSE, NOTICE, and Exhibit A headers MUST be preserved. Separate new files in a Larger Work may remain under compatible licenses (§3.3).
native/agent-desktop-v1.3.1-*.patch, native/build_native.py, native/LICENSE-APACHE-2.0Apache-2.0 (Upstream Permissive)Extends upstream vercel-labs/agent-desktop (v1.3.1, b0b7277) under its original Apache-2.0 license with full native/LICENSE-APACHE-2.0 copy and NOTICE attribution preserved.

3. Privacy, Security & Code Hygiene Requirements for Contributors / 贡献前隐私与卫生红线

Every Pull Request or fork distribution must obey strict clean-room hygiene:

  1. Zero Personal or Private Data: Never commit home paths ([HOME]/...), usernames, device/host names, private draft names, account balances, client footage, or non-public media references, nor leave __pycache__/.pyc bytecode caches inside the tree or distribution archives.
  2. Zero Proprietary Assets or Binaries: Never commit compiled Mach-O binaries inside bin/ (.gitignore excludes bin/) or proprietary editor bundles/templates/music.
  3. Zero Unsanctioned Screen Capture in Server Code: Keep src/jianying_mcp/ free of silent screen-capture APIs; all GUI inspection relies exclusively on macOS Accessibility (AXUIElement).
  4. Required Pre-Commit Verification:
    All tests—including protocol compliance, dual-report checks, license header verification, and desensitization scans—must pass with 0 failures.
    bash
       PYTHONPATH=src python3 -B -W error tests/test_protocol_and_hygiene.py -v

双层开源许可摘要与上游致谢正文

主服务层采用 MPL-2.0(允许商业与内部使用,对外分发受保护文件须提供源码并保留声明);无障碍底层补丁沿用上游 Apache-2.0。以下为开源仓随附署名原文:

jianying-mcp (Experimental Beta / 实验室测试版)
Copyright 2026 jianying-mcp Contributors

1. Primary Project License (MPL-2.0)
------------------------------------
The Python MCP server (`src/jianying_mcp/`, including packaged data under
`src/jianying_mcp/data/`), execution report engine, tests (`tests/`), and
project documentation (`README*.md`, `docs/`) are distributed under the terms
of the Mozilla Public License Version 2.0 (see `LICENSE` or
https://mozilla.org/MPL/2.0/).

Summary of rights and obligations under MPL-2.0:
  - Commercial use, private internal use, modification, and distribution are permitted.
  - Purely internal/private use and internal modifications not distributed externally do not
    trigger source disclosure obligations.
  - When distributing Covered Software externally — whether modified or unmodified, in
    Source Code Form (Section 3.1) or Executable Form (Section 3.2) — Covered Software
    source files MUST be made available under MPL-2.0 while preserving original copyright,
    attribution, and license notices. Separate files in a Larger Work may keep compatible terms.
  - Reference upstream attribution and exact Apache License 2.0 terms in `native/LICENSE-APACHE-2.0`.

2. Upstream & Native Patch Attribution (Apache License, Version 2.0)
--------------------------------------------------------------------
This project includes native macOS Accessibility patches derived from the
upstream `agent-desktop` project:

  - Upstream project: vercel-labs/agent-desktop
  - Repository: https://github.com/vercel-labs/agent-desktop
  - Base commit: b0b7277bea09b770ef9d1fb45aad667bc432cd57 (v1.3.1)
  - Upstream License: Apache License, Version 2.0
    Full copy bundled at `native/LICENSE-APACHE-2.0`
    (also at https://www.apache.org/licenses/LICENSE-2.0)

The guarded macOS Accessibility patches under `native/`
(`agent-desktop-v1.3.1-*.patch`) and build helper `native/build_native.py`
extend upstream `agent-desktop` v1.3.1 (`b0b7277`) with guarded Accessibility
observation, press, page-scroll, discovery, stdio-bridge, and lease-hook
capabilities, remaining licensed under Apache License, Version 2.0 cleanly
compatible with the MPL-2.0 server layer.

3. Independent Project Disclaimer
---------------------------------
Jianying Pro / VideoFusion-macOS (com.lemon.lvpro) is a trademark of its
respective owner. This open-source MCP server is an independent experimental
third-party integration layer and is not affiliated with, authorized by, or
endorsed by ByteDance. No proprietary binaries, decrypted draft secrets, or
built-in proprietary assets are included in this repository.
每次剪完同步交出“一式两份”

报告样式样张与 0 积分卡库抽样

开启自动弹窗时只弹左边的中文网页报告,绝不弹出右边给助手读的数据文件

剪映 MCP 剪辑执行报告(纯合成脱敏示例 · Experimental Beta)

说明:本文件为 jianying-mcp v0.3.0b1 自动生成的“一式两份”中文报告样式示例(100% 合成虚拟数据,不含任何真实素材或本机环境信息;真实运行时同步输出 .html、.md 与供 AI 二次修改的 .json)。
  • 生成时间:2026-12-03 21:04:12

一、成片概览

项目结果
片名 / 主题示例短片:海滨日落延时与轻节奏快剪(合成演示)
成片时长68.00 秒
画幅与清晰度16:9 横屏 · 1080p
导出格式MP4
成片保存位置[LOCAL_WORKSPACE]/sample_showcase.mp4
全流程总耗时42.6 秒
剪映积分变动消耗 0 积分(默认已开启付费拦截)

二、素材选用清单

序号素材名与角色原片取用起止成片出场时间选用理由
1synthetic_intro_slate.mp4(片头)0.00s - 4.00s0.00s - 4.00s合成科技风格开场动效片头
2synthetic_coast_sunset.mp4(正片镜头)12.00s - 20.00s4.00s - 12.00s海岸光线通透,水平海浪运镜节奏流畅
3synthetic_studio_macro.mp4(正片镜头)5.00s - 12.00s12.00s - 19.00s静物微距质感明快,适合与轻快节拍卡点切换
4synthetic_outro_slate.mp4(片尾)0.00s - 4.00s64.00s - 68.00s对称收尾动效与淡出收声

三、操作执行流水

序号时间动作说明状态耗时
121:03:29生成精准帧级粗剪工程文件:共拼接 12 段素材成功184.2 毫秒
221:03:33导入标准工程文件创建草稿成功3120.5 毫秒
321:03:38导入字幕文件并入轨:demo_captions.srt成功1450.0 毫秒
421:03:41统一调整字幕字号与版面位置(字号 8,全轨样式)成功890.4 毫秒
521:03:47套用左面板特效、转场或包装卡片:转场 -「顺滑衔接」成功1640.0 毫秒
621:03:54调整基础色彩与光影参数(对比度=6,自然饱和度=8)成功960.2 毫秒
721:04:08执行硬件导出并复核结果:1080p / mp4成功12800.0 毫秒

四、效果与包装明细

  • 转场清单(共 3 处):
    • 「顺滑衔接」|位置:镜头 1-2 之间|资质:零积分免费|字幕安全:轻度波动(建议避开长字幕重叠)
    • 「丝滑转场」|位置:镜头 2-3 之间|资质:零积分免费|字幕安全:安全(不遮挡字幕区)
    • 「向下擦除」|位置:镜头 3-4 之间|资质:零积分免费|字幕安全:安全(不遮挡字幕区)
  • 特效、滤镜与画面调色:
    • 画面特效:「油画纹理」(零积分免费,位置:片头转入正片)
    • 基础调色第 1 次:对比度 6、自然饱和度 8
  • 字幕明细:共 8 条;字号:8;样式范围:全轨统一生效。
  • 片头、片尾与包装:片头「synthetic_intro_slate.mp4」;片尾「synthetic_outro_slate.mp4」
  • 背景音乐与音频处理:纯乐「synthetic_upbeat_bgm.m4a」(淡入 1.0s / 淡出 2.0s,-12 dB)

五、异常、避坑与人工建议

  • 键鼠碰撞自动让路:本次触发 0 次。
  • 付费/VIP 拦截:共自动避开 0 项付费内容。
  • 失败操作记录:全程无报错失败操作。
  • 人工复核建议:
    • 全程按 0 积分免费卡库执行,导出前建议抽看转场「顺滑衔接」与字幕出现时间是否错开。

机读结构化账本(默认绝不弹窗)

保存在同目录供 AI 下次复改精定位参数。注意:开源分享时如需隐去本机盘符与用户名,调用时开启路径脱敏开关即可自动替换为安全占位标签。

json(只读留档)
{
  "schema_version": "1.0",
  "server_version": "0.3.0b1",
  "overview": {
    "project_title": "示例短片:海滨日落延时与轻节奏快剪(合成演示)",
    "actual_duration_s": 68.0,
    "aspect_ratio": "16:9 横屏",
    "sharpness": "1080p",
    "format": "mp4",
    "exported_path": "[LOCAL_WORKSPACE]/sample_showcase.mp4",
    "credits_spent": 0
  },
  "effects_and_packaging": {
    "transitions": [
      {
        "card_id": "T001",
        "card_name": "顺滑衔接",
        "entitlement": "free",
        "subtitle_safety": "warning"
      },
      {
        "card_id": "T002",
        "card_name": "丝滑转场",
        "entitlement": "free",
        "subtitle_safety": "safe"
      }
    ],
    "effects": [
      {
        "card_id": "E003",
        "card_name": "油画纹理",
        "entitlement": "free"
      }
    ],
    "subtitles": {
      "count": 8,
      "font_size": 8,
      "apply_all": true
    }
  },
  "anomalies_and_advice": {
    "yield_events": [],
    "skipped_paid_items": [],
    "failed_operations": [],
    "human_advice": [
      "全程按 0 积分免费卡库执行,导出前建议抽看转场「顺滑衔接」与字幕出现时间是否错开。"
    ]
  }
}

从 40 张零积分免费卡库精选 8 张代表性卡片对照(4 张特效 + 4 张转场,已屏蔽 VIP/付费栏位)

编号卡片名分类资费字幕区评估视觉效果说明
E001模糊闭幕画面特效0 积分免费安全不遮挡画面从清晰逐渐过渡至完全模糊直至不可见,营造柔和闭幕感,适合用作视频结尾。
E002模糊画面特效0 积分免费安全不遮挡镜头保持高斯模糊状态进行转场,画面色彩偏暖黄,人物形象柔和模糊,适用于转场过渡或柔焦美学效果。
E003油画纹理画面特效0 积分免费安全不遮挡画面叠加静态油画纹理,无运镜位移,色彩自然偏暖,保持人物质感与光影稳定。
E004手电筒画面特效0 积分免费轻度波动(建议避让)光束从左侧起始,平滑扫至画面右侧主体。光影呈现暖色调,节奏流畅自然,适合引入后续内容。
T001顺滑衔接转场0 积分免费轻度波动(建议避让)画面平滑地从左侧暖色调场景过渡到右侧冷色调区域,背景色随视角自然变化,保持节奏连贯流畅。
T002丝滑转场转场0 积分免费安全不遮挡画面经历从冷蓝色背景平滑渐变至暖橙色调的过程,期间穿插彩色方块元素交替出现,形成视觉上的色彩与节奏转换。
T003推镜虚化转场0 积分免费遮挡底部字幕区画面平滑地由左向右推镜,背景网格产生明显的纵深虚化流动效果。前景主体在运动中清晰稳定,色彩温暖橙红,节奏明快流畅。
T004叠化转场0 积分免费安全不遮挡画面左侧与右侧图像通过中间过渡帧进行平滑融合,形成从左至右的无缝淡入淡出效果。
代码能力与实机验证结果

开源上线前四重防线验收单

预览生成时间:2026-12-04 14:47

已核验通过部分(可直接对外公开)

  • 已通过代码、协议与防重放保护:151 项离线单元测试按警告视为错误运行全通,零外部 pip 依赖;保留不可逆操作提交后让路异常与防重放边界。
  • 已通过零隐私泄漏与隐形编码清零:仓库文件与配图、演示片元数据经隐私审计,无个人路径与业务素材线索;公开静态包仅含页面、三张配图和演示片。
  • 已通过法律边界与双层许可:明确第三方非官方定位,不破加密、不绕付费、零截图、不搬运官方资源;主服务 MPL-2.0(可商用+随分发开源)与底层补丁 Apache-2.0 完整对齐。
  • 已通过实验室测试版边界:突出标明公开试测版 0.3.0b1、仅苹果自研芯片电脑、暂不支持单条字幕开关、实时操作需本地编译底层辅助程序。

实机全链路与演示成片

  • 已完成60.7 秒同屏演示成片(10.37 MiB):脱敏合成素材实录,1920×1080、30fps,已嵌入播放器并随公开静态包提供。
  • 已完成实机 9 步 288.4 秒全自动打通:既有实测记录覆盖媒体导入、位置缩放、精准分割、免费转场、字幕样式、变速、入出场动画、调色及 1080p 导出,执行报告记录 0 积分消耗(未记录余额前后独立对照);此为完整链路耗时,区别于上方演示片长度。
  • 已核对离线计划编译器与快捷键:支持 20 类高级剪辑指令;123 个动作 ID(115 项键盘、8 项非键盘/鼠标滚轮),122 项已绑定、0 误冲突、3 项语境隔离复用;45 个简写别名由 29 个历史简写与 16 个扩展别名组成。