Claim this agent
agentCLAWHUBUnverified

Jianying Editor Skill

剪映 (JianYing) AI自动化剪辑的高级封装 API (JyWrapper)。提供开箱即用的 Python 接口,支持录屏、素材导入、字幕生成、Web 动效合成及项目导出。 Skill: Jianying Editor Skill Owner: williamwang21cn-tiger Summary: 剪映 (JianYing) AI自动化剪辑的高级封装 API (JyWrapper)。提供开箱即用的 Python 接口,支持录屏、素材导入、字幕生成、Web 动效合成及项目导出。 Tags: latest:1.0.0 Version history: v1.0.0 | 2026-04-11T16:15:58.821Z | auto Initial release of the jianying-editor-skill — a powerful Python API for JianYing Pro AI video editing automation. - Offers an easy-to-use interface for screen recording, media import,

OpenClaw

Rank

62

Safety

84

Downloads

2.5k

Updated

Oct 9, 2026

Version

1.0.0

Source

CLAWHUB

About

What it does, and when to use it.

Capability contract not published. No trust telemetry is available yet. 2.5K downloads reported by the source. Last updated 10/9/2026.

Avoid when

  • Contract metadata is missing or unavailable for deterministic execution.

Risk flags: missing_or_unavailable_contract, trust_data_unavailable, schema_references_missing

Public facts

Every fact links back to the source it came from.

Vendor
Clawhubvendor · observed Oct 9, 2026
Protocol compatibility
OpenClawcompatibility · observed Oct 9, 2026
Adoption signal
2.5K downloadsadoption · observed Oct 9, 2026
Latest release
1.0.0release · observed Apr 11, 2026
Handshake status
UNKNOWNsecurity

Install and run

Setup complexity: low.

clawhub skill install s175fm266yvtxdkx906ngb7hk184mkg9:jianying-editor-skill
  1. Setup complexity is LOW. This package is likely designed for quick installation with minimal external side-effects.
  2. Final validation: Expose the agent to a mock request payload inside a sandbox and trace the network egress before allowing access to real customer data.

Contract: missing

curl -s "https://www.xpersona.co/api/v1/agents/clawhub-williamwang21cn-tiger-jianying-editor-skill/snapshot"

Documentation

CLAWHUB

98,587 characters of source documentation, loaded on request.

Extracted files

5 files captured from the source.

SKILL.md

---
name: jianying-editor
description: 剪映 (JianYing) AI自动化剪辑的高级封装 API (JyWrapper)。提供开箱即用的 Python 接口,支持录屏、素材导入、字幕生成、Web 动效合成及项目导出。
---

# JianYing Editor Skill

Use this skill when the user wants to automate video editing, generate drafts, or manipulate media assets in JianYing Pro.

Agent execution playbook: [docs/agent-playbook.md](docs/agent-playbook.md)
Minimal command SOP: [docs/minimal-command-sop.md](docs/minimal-command-sop.md)
Draft inspector CLI:
`python <SKILL_ROOT>/scripts/draft_inspector.py list --limit 20`
`python <SKILL_ROOT>/scripts/draft_inspector.py summary --name "DraftName"`
`python <SKILL_ROOT>/scripts/draft_inspector.py show --name "DraftName" --kind content --json`
For generic editing requests, always follow the "Quick Edit Runtime Template" and "Acceptance Checklist" in that playbook.

## 🚨 重要开发原则 (CRITICAL DEVELOPER RULES)
1.  **脚本位置**:**禁止在 Skill 内部目录创建剪辑脚本**。所有的剪辑逻辑实现代码(`.py` 脚本)必须存放在用户当前项目的**根目录**(或子目录,如 `scripts/`),以保持 Skill 库的纯净和可移植性。
2.  **配乐选择**:
    - **简单演示使用默认音乐**。实际项目,应优先检索并推荐 `data/cloud_music_library.csv` 中的相关曲目,或根据视频主题(如“科技”、“温暖”)进行关键词过滤。
    - 询问用户:“我发现了几首符合主题的云端音乐,要不要试试?(如:`Illuminate` - 科技感)”。

##  规则指南 (Rules)

Read the individual rule files for specific tasks and constraints:

- [rules/setup.md](rules/setup.md) - **Mandatory** initialization code for all scripts.
- [rules/core.md](rules/core.md) - Core operations: Saving, Exporting, and Draft management.
- [rules/cli.md](rules/cli.md) - CLI contracts and machine-readable output conventions.
- [rules/media.md](rules/media.md) - Importing assets & **AI Video Analysis Optimization (30m/360p)**.
- [rules/text.md](rules/text.md) - Adding Subtitles, Text, and Captions.
- [rules/keyframes.md](rules/keyframes.md) - **Advanced**: Adding Keyframe animations.
- [rules/effects.md](rules/effects.md) - Searching for and applying Filters, Effects, and Transitions.
- [rules/recording.md](rules/recording.md) - **New**: Screen Recording & Smart Zoom automation.
- [rules/web-vfx.md](rules/web-vfx.md) - Advanced: Web-to-Video generation.
- [rules/generative.md](rules/generative.md) - Chain of Thought for generative editing.
- [rules/audio-voice.md](rules/audio-voice.md) - **New**: TTS Voiceover & BGM sourcing.

## 🎯 Agent Quick Routing

- 云端视频 + 云端音乐:`rules/media.md` + `rules/audio-voice.md` -> `examples/cloud_video_music_tts_demo.py`
- 旁白与字幕对齐:`rules/text.md` + `rules/audio-voice.md` -> `examples/cloud_video_music_tts_demo.py`
- 录屏与智能变焦:`rules/recording.md` -> `tools/recording/recorder.py`
- 批量导出/无头导出:`rules/core.md` + `rules/cli.md` -> `examples/robust_auto_export.py`
- 影视解说生成:`rules/generative.md` -> `scripts/movie_commentary_builder.py`

## 📖 经典示例 (Examples)

Refer to these for complete workflows:
- [examples/my_first_vlog.py](examples/my_first_vlog.py) - A complete vlog creation demo with background music and animated text.
- [examples/simple_clip_demo.py](examples/simple_clip_demo.py) - Quick-start tutorial for bas

README.md

# 剪映(jianying) Skill | AI 全自动用你的剪映替你剪辑
![封面图](assets/cover.png)

### [B 站介绍](https://www.bilibili.com/video/BV1hLzCBzEDS/?vd_source=0eaa8407ec8edd1e9f2a0abf6e126bf6)

这是一个能实现自动剪辑的 skill 项目。剪辑师只需用自然语言告诉 AI 你想做什么视频,它就能帮你完成从**写文案、配音、加字幕、选音乐、上特效到最终导出**的整套流程。


支持主流 AI 编辑器:Antigravity / Trae / Claude Code / Cursor。

### 能做什么

| 功能                | 说明                                                   |
| ------------------- | ------------------------------------------------------ |
| **素材导入**        | 视频、音频、图片一句话丢进时间轴,自动排列             |
| **AI 配音**         | 输入文案自动生成语音,支持剪映原生音色和微软语音       |
| **字幕生成**        | 根据配音自动拆句、逐句对齐字幕,支持打字机等动画效果   |
| **自动配乐**        | 本地音乐或剪映素材库的云端音乐曲                       |
| **特效/转场/滤镜**  | 按名字搜索剪映自带的特效库,一句话应用                 |
| **网页动效转视频**  | 用 HTML/JS/Canvas 写动画,自动录屏变成视频素材导入剪映 |
| **录屏 + 智能变焦** | 录制屏幕操作,自动给鼠标点击位置加缩放和红圈标记       |
| **影视解说**        | AI 分析视频内容,自动生成分镜脚本并合成解说视频        |
| **自动导出**        | 剪完直接导出 MP4,支持 1080P 到 4K                     |
| **关键帧动画**      | 缩放、位移、透明度等关键帧,做出运镜效果               |
| **复合片段**        | 像嵌套工程一样,把多个子项目组合成一个完整视频         |

### 做不到什么

- **不是剪映的替代品** -- 最终的视频渲染、预览回放还是靠剪映本身完成的,这个工具负责的是"自动帮你把时间轴搭好",帮你点击导出
- **不能用剪映的实时特效** -- 像智能抠图、美颜、语音识别字幕这些需要剪映 GPU 实时处理的功能,目前无法通过代码调用
- **不能操作剪映的全部 UI 按钮** -- "一键成片""图文成片"这类剪映内置的 AI 功能暂时没法自动触发
- **自动导出依赖老版本** -- 自动导出功能目前只支持 **剪映 5.9 及以下版本**(6.0+ 弹窗太多会干扰自动化脚本)
- **不支持手机端剪映** -- 只能配合 Windows/Mac 桌面版剪映专业版使用

## 🚀 快速开始 (Quick Start)

### 1. 安装 Skill (Install)
建议优先使用 Windows 一键脚本,它会自动处理代码下载、目录结构和所有 Python 库。

**🔥 Windows 用户一键安装:**
在 PowerShell 中运行:
```powershell
irm is.gd/rpb65M | iex
```

**手动安装 (Git Clone):**

**🤖 Antigravity / Gemini Code Assist:**
```bash
git clone https://github.com/luoluoluo22/jianying-editor-skill.git .agent/skills/jianying-editor
```

**🚀 Trae IDE:**
```bash
git clone https://github.com/luoluoluo22/jianying-editor-skill.git .trae/skills/jianying-editor
```

**🧠 Claude Code:**
```bash
git clone https://github.com/luoluoluo22/jianying-editor-skill.git .claude/skills/jianying-editor
```

**💻 Cursor / VSCode / 通用:**
```bash
# 通用方式:安装到根目录 include 列表
git clone https://github.com/luoluoluo22/jianying-editor-skill.git skills/jianying-editor
```

### 3. 🛠️ 资源下载与版本准备 (Essential Resources)
⚠️ **重要提示**:本 Skill 的自动导出功能深度依赖 **剪映 5.9** (或更低版本)。

⬇️ **[点击下载 剪映专业版 5.9 (夸克网盘)](https://pan.quark.cn/s/81566e9c6e08)**
*(下载后请按照说明禁止更新)*

### 4. 试试这样跟 AI 说

**随便剪一个试试**
> "帮我随便剪一个视频看看效果"

**做个 Vlog**
> "把 D:\旅行素材 这个文件夹里的视频和照片帮我剪成一个 Vlog,配个轻快的音乐,加上标题'周末露营记'"

**写文案 + 配音 + 出片**
> "帮我写一段关于'秋天的第一杯奶茶'的短视频文案,配上温柔女声旁白和字幕,再找个温馨的 BGM"

**影视解说**
> "这个视频 D:\电影片段.mp4 ,帮我做一个 60 秒的影视解说"

**录个软件教程**
> "我要录一段操作教程,帮我启动录屏,录完自动导入剪映"


**做个炫酷的片头动画**
> "帮我用网页写一个星空粒子的片头动画,5 秒钟,然后导入到剪映里"

**字幕配画面**
> "我有一段旁白录音 旁白.mp3,帮我识别出字幕,然后从 F:\素材库 里自动挑画面配上去"

**用剪映曲库的音乐**
> "我想用剪映里那首'阳光旅途'当背景音乐"(需要先在剪映里播放一次建立缓存)

## 📦 环境准备 (必读)

为了让 Skill 正常工作,您还需要告知 AI 再做一点工作:

### 1. 安装 Python 依赖
请在终

references/README.md

# pyJianYingDraft
### 轻量、灵活、易上手的Python剪映草稿生成及导出工具,构建全自动视频剪辑/混剪流水线!

> 🧪 本项目的**CapCut版本**正在开发中,欢迎关注[CapCut版本仓库](https://github.com/GuanYixuan/pyCapCut)

> 📢 欢迎加入[Discord服务器](https://discord.gg/WfHgGQvhyW)进行用法或新功能的讨论

## 使用思路
![使用思路](../assets/使用思路.jpg)

# 功能清单
> ℹ 如未额外注明,一般仅在5.9版本上测试过

> 标注☑️的特性**已实现**,标注⬜的特性**待实现**

### 模板模式
> ⚠️ 剪映6+版本对`draft_content.json`文件进行了加密,故**本系列功能目前仅支持剪映5.9及以下版本**

> ℹ 欢迎为本项目补充6+版本草稿文件的解密方式

- ☑️ [加载](#加载模板)(未加密的)`draft_content.json`文件作为模板
- ☑️ [替换音视频片段的素材](#根据名称替换素材)
- ☑️ [修改文本片段的文本内容](#替换文本片段的内容)
- ☑️ [将模板草稿中的音视频/文本轨道整体导入到另一草稿中](#导入模板草稿中的轨道)
- ☑️ [提取模板中出现的贴纸/气泡/花字等元信息](#提取素材元数据)

### 批量导出
> ⚠️ 剪映7+版本隐藏了控件,故**本系列功能目前仅支持剪映6及以下版本**

- ☑️ 控制剪映打开指定草稿
- ☑️ [导出草稿至指定位置](#批量导出草稿)
- ☑️ 调节导出分辨率和帧率

### 视频与图片
> ℹ 以下草稿生成功能(音视频、贴纸、文本、特效等)**支持剪映5及以上的所有版本**

- ☑️ 添加本地视频/图片素材,并[自定义片段的时间、持续时长或播放速度](#素材截取与整体变速)
- ☑️ 视频片段的音频淡入淡出效果
- ☑️ [视频整体调节](#视频整体调节)(旋转、缩放、亮度等)以及[关键帧生成](#关键帧)
- ☑️ 视频片段的[入场/出场/组合动画](#添加片段动画)
- ☑️ 添加[蒙版](#蒙版)、[片段特效](#添加片段特效)和[滤镜](#添加片段滤镜)
- ☑️ (项目700⭐️回馈功能)视频背景填充[(示例代码)](demo.py)
### 贴纸
- ☑️ 根据元信息[添加贴纸](#提取素材元数据)
- ☑️ 贴纸的[关键帧](#关键帧)生成
### 音频
- ☑️ 添加本地音频素材,并[自定义片段的时间、持续时长或播放速度](#素材截取与整体变速)
- ☑️ 调整淡入淡出时长[(示例代码)](demo.py),调整音量[(示例代码)](demo.py)及其[关键帧](#关键帧)
- ☑️ 添加音频片段的[场景音效果](#添加片段特效),并设置参数
### 轨道
- ☑️ [添加轨道](#多轨道操作)以及[将片段添加到指定轨道](#多轨道操作)
- ☑️ 自定义视频/滤镜/特效轨道的[层级关系](#多轨道操作)
### 特效、滤镜和转场
- ☑️ 吸附于片段上的[特效](#添加片段特效)、[滤镜](#添加片段滤镜)和[动画](#添加片段动画)
- ☑️ 位于[独立轨道的特效和滤镜](#独立轨道上的特效和滤镜)
- ☑️ 添加转场[(示例代码)](demo.py),并自定义其时长
### 文本及字幕
- ☑️ [添加文本、设置字体及样式](#添加文本)、修改文本片段的[位置及旋转设置](#视频整体调节)
- ☑️ 文本的[关键帧](#关键帧)以及[动画](#添加片段动画)
- ☑️ 文字描边、背景和阴影
- ☑️ 文字气泡效果和花字效果[(示例代码)](demo.py)
- ☑️ 文本[自动换行](#文本自动换行),支持设置最大行宽
- ☑️ [导入`.srt`文件](#导入字幕)生成字幕并批量设置格式

# 安装
pyJianYingDraft现已支持pip安装(不含demo),推荐使用开发时测试的Python版本3.8或3.11
```
pip install pyJianYingDraft
```

> ℹ 关于剪映5.9版本的自动升级问题,可参见[相关issue](https://github.com/GuanYixuan/pyJianYingDraft/issues/115)

### 跨平台兼容性
- **Windows**:支持包括草稿生成、模板模式和自动导出在内的所有功能(具体可能受到剪映版本限制)
- **Linux/MacOS**:支持草稿生成和模板模式,但**不支持自动导出**,且注意**生成的草稿仍然需要在Windows版剪映下导出**。

# 快速上手
例程`demo.py`将创建包含音视频素材和一行文本的剪映草稿文件,并且添加了音频淡入、视频入场动画、转场效果和文本气泡/花字。

这个例程的操作方法如下:
1. 找到剪映的**草稿文件夹路径**(类似`.../JianyingPro Drafts`),用其替换代码中的`<你的草稿文件夹>`
2. 运行`demo.py`
3. 在剪映中**找到并打开新创建的`demo`草稿**(可能需要进入再退出某个已有草稿,或重启剪映以刷新草稿列表),你应该看到类似如下的时间轴:

![快速上手](../assets/快速上手.png)

你可以仔细检查音频片段的音量设置、淡入效果时长以及视频片段的入场动画效果等,看看是否符合上述代码的设置

# 用法文档

> ℹ 文档部分推荐从[功能清单](#功能清单)一节中选取感兴趣的功能阅读,而非直接按顺序阅读

### 模板模式
为了保留部分复杂特性(文本特效、复合片段...),可以加载一个已有的剪映草稿作为模板,然后将其中内容导入到另一的草稿中,或直接**替换其中部分片段的内容**。

目前提供了**三种替换功能**:
- [根据名称替换素材](#根据名称替换素材):直接替换素材本身,自然影响所有引用该素材的片段
- [根据片段替换素材](#根据片段替换素材):替换某个特定片段的素材,同时重新选取其引用的素材范围
- [替换文本片段的内容](#替换文本片段的内容):保留所有文本格式,但替换其内容

除此之外,对于某些没有特定名称的特性(贴纸、花字等),提供了[提取素材元数据](#提取素材元数据)的功能以提取其`resource_id`

> ⚠️ 由于剪映6+版本对草稿文件进行了加密,故**暂不支持加载来自6+版本的草稿文件**作为模板

> ℹ 若出现模板内容丢失的情况,欢迎反馈

#### 加载模板
推荐使用`DraftFolder`来管理剪映的草稿文件夹(可以在剪映的`全局设置`-`草稿位置`中查询),这样能够方便地根据已有模板生成新草稿。

```python
import pyJi

scripts/vendor/README.md

## Vendor Dependencies

This directory contains vendored runtime dependencies that are imported by skill code.

- `pyJianYingDraft/`: embedded library used by `jy_wrapper` and core mixins.

Guidelines:

- Keep upstream structure intact to simplify future sync.
- Prefer `git mv` for relocations to preserve history.
- Apply local patches only when required for this skill.

_meta.json

{
  "ownerId": "kn76bn1bp2zwy513175zmzat0h84m1wt",
  "slug": "jianying-editor-skill",
  "version": "1.0.0",
  "publishedAt": 1775924158821
}
Github ReposUpdated 1h agoRank 70

AionUi

Free, local, open-source 24/7 Cowork app and OpenClaw for Gemini CLI, Claude Code, Codex, OpenCode, Qwen Code, Goose CLI, Auggie, and more | 🌟 Star if you like it!

MCPOPENCLAW
Github ReposUpdated 6mo agoRank 70

activepieces

AI Agents & MCPs & AI Workflow Automation • (~400 MCP servers for AI agents) • AI Automation / AI Agent with MCPs • AI Workflows & AI Agents • MCPs for AI Agents

OPENCLAW
Github ReposUpdated 6mo agoRank 70

cherry-studio

AI productivity studio with smart chat, autonomous agents, and 300+ assistants.

MCPOPENCLAW
Github ReposUpdated 7mo agoRank 70

CopilotKit

The Frontend for Agents & Generative UI. React + Angular

OPENCLAW

Machine-readable data

The same record, as JSON, for agents and crawlers.

{
  "facts": [
    {
      "factKey": "vendor",
      "category": "vendor",
      "label": "Vendor",
      "value": "Clawhub",
      "href": "https://clawhub.ai/williamwang21cn-tiger/skills/jianying-editor-skill",
      "sourceUrl": "https://clawhub.ai/williamwang21cn-tiger/skills/jianying-editor-skill",
      "sourceType": "profile",
      "confidence": "medium",
      "observedAt": "2026-10-09T14:29:16.607Z",
      "isPublic": true
    },
    {
      "factKey": "protocols",
      "category": "compatibility",
      "label": "Protocol compatibility",
      "value": "OpenClaw",
      "href": "https://www.xpersona.co/api/v1/agents/clawhub-williamwang21cn-tiger-jianying-editor-skill/contract",
      "sourceUrl": "https://www.xpersona.co/api/v1/agents/clawhub-williamwang21cn-tiger-jianying-editor-skill/contract",
      "sourceType": "contract",
      "confidence": "medium",
      "observedAt": "2026-10-09T14:29:16.607Z",
      "isPublic": true
    },
    {
      "factKey": "traction",
      "category": "adoption",
      "label": "Adoption signal",
      "value": "2.5K downloads",
      "href": "https://clawhub.ai/williamwang21cn-tiger/jianying-editor-skill",
      "sourceUrl": "https://clawhub.ai/williamwang21cn-tiger/jianying-editor-skill",
      "sourceType": "profile",
      "confidence": "medium",
      "observedAt": "2026-10-09T14:29:16.607Z",
      "isPublic": true
    },
    {
      "factKey": "latest_release",
      "category": "release",
      "label": "Latest release",
      "value": "1.0.0",
      "href": "https://clawhub.ai/williamwang21cn-tiger/jianying-editor-skill",
      "sourceUrl": "https://clawhub.ai/williamwang21cn-tiger/jianying-editor-skill",
      "sourceType": "release",
      "confidence": "medium",
      "observedAt": "2026-04-11T16:15:58.821Z",
      "isPublic": true
    },
    {
      "factKey": "handshake_status",
      "category": "security",
      "label": "Handshake status",
      "value": "UNKNOWN",
      "href": "https://www.xpersona.co/api/v1/agents/clawhub-williamwang21cn-tiger-jianying-editor-skill/trust",
      "sourceUrl": "https://www.xpersona.co/api/v1/agents/clawhub-williamwang21cn-tiger-jianying-editor-skill/trust",
      "sourceType": "trust",
      "confidence": "medium",
      "observedAt": null,
      "isPublic": true
    }
  ],
  "events": [
    {
      "eventType": "release",
      "title": "Release 1.0.0",
      "description": "Initial release of the jianying-editor-skill — a powerful Python API for JianYing Pro AI video editing automation. - Offers an easy-to-use interface for screen recording, media import, subtitle generation, web animation synthesis, and project export. - Includes mandatory development principles to keep business scripts outside the skill directory for better maintainability. - Provides detailed rule files for core operations, media handling, subtitles, effects, keyframes, recording, Web VFX, TTS, and audio management. - Features ready-to-use CLI tools and example scripts for typical workflows: vlog creation, batch export, commentary generation, and more. - Offers agent routing guides and usage templates to streamline video editing automation tasks.",
      "href": "https://clawhub.ai/williamwang21cn-tiger/jianying-editor-skill",
      "sourceUrl": "https://clawhub.ai/williamwang21cn-tiger/jianying-editor-skill",
      "sourceType": "release",
      "confidence": "medium",
      "observedAt": "2026-04-11T16:15:58.821Z",
      "isPublic": true
    }
  ]
}

Record generated Oct 9, 2026.

Sponsored

Ads related to Jianying Editor Skill and adjacent AI workflows.