Skip to content

Releases: renezander030/capcut-cli

v0.2.1 — npm tarball now includes examples/ and Chinese README

26 Apr 13:42

Choose a tag to compare

Packaging-only follow-up to v0.2.0. No functional changes.

  • Adds examples/ (8 copy-paste recipes + 3 Python helper scripts) to the npm tarball
  • Adds README.zh-CN.md (中文) to the npm tarball
npm install -g capcut-cli@0.2.1

For what's actually new in 0.2.x, see v0.2.0 release notes.

v0.2.0 — Long-form videos to shorts, end to end

26 Apr 13:18

Choose a tag to compare

Long-form videos to shorts, end to end

capcut-cli now covers the full pipeline: build a CapCut / JianYing draft from scratch, slice long-form into shorts, and finish entirely from the command line. No GUI required to start a project — only to render.

What's new

  • init — create a valid draft_content.json from a built-in template, no need to open CapCut first.
  • add-video — drop a video or image onto the visual track. File is copied into the draft's assets directory so the link survives moves.
  • add-audio — drop voiceover, music, or SFX onto an audio track with --volume control.
  • These compose with the existing cut command for the full long-to-short workflow.

The new flow

# Slice a 60-second clip out of a long video
capcut cut ./podcast 5:30 6:30 --out ./short.json

# Or build one from scratch
capcut init "AI Short 001"
capcut add-video ./AI\ Short\ 001 ./clip.mp4 0s 10s
capcut add-audio ./AI\ Short\ 001 ./vo.wav 0s 10s --volume 0.9
capcut add-text  ./AI\ Short\ 001 0s 3s "ONE TRICK MOST EDITORS MISS" \
  --font-size 22 --color "#FFD700"

Examples cookbook

Five copy-paste recipes for the common workflows: examples/

  • Cut one long video into multiple shorts
  • Batch-fix subtitles (typos + timing in one pass)
  • Build a short from scratch — clip + VO + music + title, no GUI
  • Translate subtitles via SRT round-trip
  • Save a styled title once, reuse across many projects

中文支持

JianYing / 剪映 用户:README.zh-CN.md

Install / upgrade

npm install -g capcut-cli@0.2.0

Or as a Claude Code plugin:

/plugin marketplace add https://github.com/renezander030/capcut-cli
/plugin enable capcut-cli

Compatibility

Works with both CapCut and JianYing (剪映) projects. Zero runtime dependencies. JSON-by-default output for agent / scripting use; -H for human-readable tables.

Full changelog: 6c73aca...v0.2.0