capcut-cli
View on GitHubIndependent, unofficial CLI to edit CapCut and JianYing (剪映) projects — subtitles, timing, speed, volume, templates, cut long-form to shorts. No API needed, reads draft_content.json and draft_info.json (剪映草稿) directly. Not affiliated with ByteDance.
Unofficial zero-dependency CLI that reads and writes CapCut/JianYing draft JSON directly to edit projects: subtitles, timing, speed, templates, and long-form-to-shorts cuts. Ships an agent skill and Claude Code plugin so LLM agents can drive edits, with no API or server.
Use Cases
Autogenerate styled subtitles/captions for CapCut draftsCut long-form video into shorts with silence and scene detectionBatch fix or translate subtitles and clone multi-language draftsApply reusable title/template layouts programmaticallyLet an LLM agent inspect, lint and edit CapCut/JianYing draft JSONRun JSONL job queues from automation platforms like n8nExport/import SRT and VTT subtitle files against a projectRead-only Wasm MCP tools for safe agent inspection of drafts
Built With
- Language
- JavaScript
- Frameworks
- Claude Code · n8n · Make · Coze · Wassette · Node.js
Tags
capcut · jianying · video-editing · cli · subtitles · srt · agent-skills · claude-code-plugin · automation · ffmpeg · whisper · shorts · templates · zero-dependency · json · wasm