yikart/aitoearn/editing-videos
Claude Code and agent skill by yikart/aitoearn
- community
Checking that the SKILL.md file is still in the repository.
Video editing using Volcengine Track structure. Supports cutting, trimming, adding text, stickers, audio, filters, effects, transitions, multi-clip compositions, speed adjustment, watermark removal. 视频剪辑、裁剪视频、添加文字、添加水印、添加音频、视频滤镜、视频特效、视频转场、多片段拼接、调整速度、去水印。
Install
npx vskill@latest install yikart/aitoearn/editing-videosSKILL.md
The same SKILL.md was published earlier as yikart/aitoearn/editing-videos.
Video Editing with Track Structure
Performs video editing using the Volcengine cloud editing API with native Track structure.
⚠️ CRITICAL: ALL PosX/PosY Are Top-Left Coordinates
ALL PosX/PosY values in this API are TOP-LEFT corner coordinates, NOT center point!
This applies to ALL filters: transform, crop, delogo, etc.
For full-screen video display, you MUST use:
NEVER use canvas center coordinates (like 640, 360) for PosX/PosY!
- Using center coordinates will cause video to display off-canvas
- The coordinate (0, 0) is the top-left corner of the canvas
When to Use
Use this skill when:
- Cutting or trimming video segments
- Adding text, watermarks, or stickers to videos
- Adding or replacing audio tracks
- Applying filters or visual effects
- Merging multiple video clips
- Adding transitions between clips
- Changing video playback speed
- Removing watermarks (logo blur)
Workflow
Step 1: Get Video Information (Required)
ALWAYS call `uploadAndGetVid` first to:
- Upload video to Volcengine cloud
- Get VID for video source reference (format:
vid://xxx) - Get Duration for time calculations (in seconds)
- Get Dimensions (width, height) for Canvas setup
If you only need metadata without editing (e.g., for display purposes), use probeVideoMetadata instead.
Step 2: Build EditParam
Construct your EditParam following the structure below.
Step 3: Submit Task
Call submitDirectEditTask with Canvas, Output (optional), and Track.
Step 4: Poll for Results
- First check: Wait 90 seconds after submission
- Subsequent checks: Wait 30 seconds between polls
- Call
getVideoEditTaskStatusto check progress - Maximum wait time: 20 minutes
Step 5: Return Results
On completion, return the output video URL to user.
EditParam Structure
Canvas (optional):
- If omitted, auto-detected from the primary video source dimensions
- If provided manually, MUST match getVideoInfo/uploadAndGetVid output
- Width = horizontal pixels, Height = vertical pixels
- Example: 1280x720 video → { Width: 1280, Height: 720 } — NOT { Width: 720, Height: 1280 }
{ "Type": "video", "Source": "vid://your_vid", "TargetTime": [0, 5000], "Extra": [ { "Type": "trim", "StartTime": 10000, "EndTime": 30000 } ] }
{ "Type": "audio", "Source": "vid://your_audio_vid", "TargetTime": [0, 10000], "Extra": [ { "Type": "a_volume", "Volume": 0.5 } ] }
{ "Type": "image", "Source": "mid://your_image_mid", "TargetTime": [0, 3000], "Extra": [ { "Type": "transform", "PosX": 100, "PosY": 100, "Width": 200, "Height": 200 } ] }
{ "Type": "text", "Text": "Your Text Here", "TargetTime": [0, 5000], "FontType": "SY_Black", "FontSize": 120, "FontColor": "#FFFFFFFF", "AlignType": 1, "Extra": [ { "Type": "transform", "PosX": 60, "PosY": 440, "Width": 1800, "Height": 200 } ] }
{ "Type": "subtitle", "Text": "http://example.com/subtitle.srt", "TargetTime": [0, 20000], "FontType": "ALi_PuHui", "FontSize": 60, "Extra": [ { "Type": "transform", "PosX": 40, "PosY": 550, "Width": 1200, "Height": 150 } ] }
{ "Type": "transform", "PosX": 0, "PosY": 0, "Width": 1920, "Height": 1080 }
{ "Type": "transform", "PosX": -280, "PosY": 280, "Width": 1280, "Height": 720, "Rotation": 90 }
{ "Type": "trim", "StartTime": 5000, "EndTime": 15000 }
{ "Type": "crop", "PosX": 100, "PosY": 100, "Width": 800, "Height": 600 }
{ "Type": "speed", "Speed": 2.0 }
{ "Type": "transition", "Source": "1182376", "Duration": 1000 }
{ "Type": "lut_filter", "TargetTime": [0, 5000], "Source": "1184003", "Intensity": 0.8 }
{ "Type": "video_animation", "AnimRes": "1180337", "AnimStartTime": 0, "AnimEndTime": 1000 }
{ "Type": "a_volume", "Volume": 0.5 }
{ "Type": "a_fade", "FadeIn": 2000, "FadeOut": 2000 }
{ "Type": "delogo", "TargetTime": [0, 10000], "PosX": 1700, "PosY": 50, "Width": 200, "Height": 80, "Sigma": 30, "Radius": 30 }
{ "Canvas": { "Width": 1920, "Height": 1080 }, "Track": [[ { "Type": "video", "Source": "vid://video1", "TargetTime": [0, 5000], "Extra": [ { "Type": "transform", "PosX": 0, "PosY": 0, "Width": 1920, "Height": 1080 } ] }, { "Type": "video", "Source": "vid://video2", "TargetTime": [5000, 12000], "Extra": [ { "Type": "transform", "PosX": 0, "PosY": 0, "Width": 1920, "Height": 1080 } ] }, { "Type": "video", "Source": "vid://video3", "TargetTime": [12000, 20000], "Extra": [ { "Type": "transform", "PosX": 0, "PosY": 0, "Width": 1920, "Height": 1080 } ] } ]] }
{ "Canvas": { "Width": 1920, "Height": 1080 }, "Track": [[ { "Type": "video", "Source": "vid://video1", "TargetTime": [0, 5000], "Extra": [ { "Type": "transform", "PosX": 0, "PosY": 0, "Width": 1920, "Height": 1080 }, { "Type": "transition", "Source": "1182376", "Duration": 1000 } ] }, { "Type": "video", "Source": "vid://video2", "TargetTime": [4000, 9000], "Extra": [ { "Type": "transform", "PosX": 0, "PosY": 0, "Width": 1920, "Height": 1080 } ] } ]] }
{ "Canvas": { "Width": 1920, "Height": 1080 }, "Track": [[ { "Type": "video", "Source": "vid://xxx", "TargetTime": [0, 20000], "Extra": [ { "Type": "trim", "StartTime": 10000, "EndTime": 30000 } ] } ]] }
{ "Canvas": { "Width": 1920, "Height": 1080 }, "Track": [ [{ "Type": "video", "Source": "vid://xxx", "TargetTime": [0, 10000] }], [{ "Type": "text", "Text": "@MyChannel", "TargetTime": [0, 10000], "FontType": "SY_Black", "FontSize": 60, "FontColor": "#FFFFFFFF", "Extra": [ { "Type": "transform", "PosX": 1700, "PosY": 50, "Width": 200, "Height": 60 } ] }] ] }
{ "Canvas": { "Width": 1920, "Height": 1080 }, "Track": [ [{ "Type": "video", "Source": "vid://video", "TargetTime": [0, 30000] }], [{ "Type": "audio", "Source": "vid://music", "TargetTime": [0, 30000], "Extra": [ { "Type": "a_volume", "Volume": 0.3 } ] }] ] }
{ "Canvas": { "Width": 1920, "Height": 1080 }, "Track": [[ { "Type": "video", "Source": "vid://xxx", "TargetTime": [0, 10000], "Extra": [ { "Type": "lut_filter", "TargetTime": [0, 10000], "Source": "1183993", "Intensity": 0.8 } ] } ]] }
This is the start of the file. Read the full SKILL.md on GitHub.
Security
- Security scanPassed, 100 of 100Pattern checks on the skill's files.
- Model reviewPassed
Quality evaluation
- Task evaluationNot runNo evaluation yet. Run one in Skill Studio.
Source
- SKILL.md in the repositoryCheckingproject/aitoearn-backend/apps/aitoearn-ai/src/core/agent/skills/editing-videos/SKILL.md
Popularity
- Repository stars
- 21,372
- Repository forks
- 3,199
- 7-day trend score
- 50
Stars and forks are for the whole GitHub repository, not this skill alone. Not refreshed yet.
Works with
Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.
- Claude Code
- Cursor
- GitHub Copilot
- Windsurf
- Codex
- Gemini CLI
- Cline
- Amp
- Roo Code
- Goose
- Continue
- Kilo Code
- Junie
- Trae
- OpenHands
- Qwen Code
- AI Agent
- Tabnine Chat
- Sourcegraph Cody
- Amazon Q
- Firebase Genkit
- Sweep
- Devin
- Phind
- Mentat
- Claude Desktop
- Aider
- GPT Pilot
- Plandex
- bolt.new
- v0
- Replit Agent
- Anse
- TypingMind
- BetterChatGPT
- LibreChat
- Warp AI
- Pieces
- Fig AI
Embed badge
[](https://verified-skill.com/skills/yikart/aitoearn/editing-videos)