From capcut-api
Create and edit video drafts for CapCut/JianYing using VectCutAPI MCP tools. Use this skill when users need to create video projects, add media (video/audio/images), add text and subtitles, apply effects and animations, or save drafts for import into CapCut/JianYing.
npx claudepluginhub lamtuanvu/agentskills --plugin capcut-apiThis skill uses the workspace's default tool permissions.
VectCutAPI provides 11 MCP tools for programmatic video editing with CapCut/JianYing. Drafts are created in-memory, media and overlays are added via tool calls, and the final draft is saved as a folder that can be imported into CapCut or JianYing.
Implements Playwright E2E testing patterns: Page Object Model, test organization, configuration, reporters, artifacts, and CI/CD integration for stable suites.
Guides Next.js 16+ Turbopack for faster dev via incremental bundling, FS caching, and HMR; covers webpack comparison, bundle analysis, and production builds.
Discovers and evaluates Laravel packages via LaraPlugins.io MCP. Searches by keyword/feature, filters by health score, Laravel/PHP compatibility; fetches details, metrics, and version history.
VectCutAPI provides 11 MCP tools for programmatic video editing with CapCut/JianYing. Drafts are created in-memory, media and overlays are added via tool calls, and the final draft is saved as a folder that can be imported into CapCut or JianYing.
1. Create draft (create_draft)
- Set resolution: 1080x1920 (portrait) / 1920x1080 (landscape) / 1080x1080 (square)
- Returns draft_id for all subsequent calls
2. Add media tracks
- add_video: Add video clips with transitions, masks, speed control
- add_audio: Add audio/music tracks with volume control
- add_image: Add images with animations and transitions
3. Add text overlays
- add_text: Titles, captions with shadows, backgrounds, multi-style colors
- add_subtitle: Import SRT subtitle files with styling
4. Apply effects and animations
- add_effect: Visual effects on the timeline
- add_sticker: Sticker overlays with position/rotation
- add_video_keyframe: Keyframe animations for scale, position, rotation, opacity
5. Save the draft
- save_draft: Generates a dfd_* folder importable into CapCut/JianYing
- Returns a draft_url for web preview
| Use Case | Width | Height |
|---|---|---|
| TikTok / Reels (portrait) | 1080 | 1920 |
| YouTube (landscape) | 1920 | 1080 |
| Instagram (square) | 1080 | 1080 |
| Tool | Purpose | Key Parameters |
|---|---|---|
create_draft | Create new project | width, height |
add_video | Add video track | video_url, draft_id, start, end, volume, speed, transition |
add_audio | Add audio track | audio_url, draft_id, start, end, volume, speed |
add_image | Add image | image_url, draft_id, start, end, intro_animation, transition |
add_text | Add text overlay | text, draft_id, start, end, font_size, font_color, shadow_enabled, background_color |
add_subtitle | Import SRT subtitles | srt_path, draft_id, font_size, font_color |
add_effect | Add visual effect | effect_type, draft_id, start, end |
add_sticker | Add sticker | resource_id, draft_id, start, end, scale_x, scale_y |
add_video_keyframe | Keyframe animation | draft_id, track_name, property_type, time, value |
get_video_duration | Get video length | video_url |
save_draft | Save project | draft_id |
The plugin uses config.json in the project root. Key settings:
is_capcut_env: true for CapCut (international), false for JianYing (China)draft_domain: API endpoint for draft operationsis_upload_draft: Whether to upload drafts to cloud storageIf config.json doesn't exist, it is auto-created from config.json.example on first run.
create_draft first to get a draft_idget_video_duration to check video length before clippingsave_draft output folder (starting with dfd_) should be copied to the CapCut/JianYing drafts directory