GuanYixuan/pyCapCut
Python library that generates CapCut drafts for automated editing
What
Python library that writes CapCut draft projects (video, audio, text, stickers, keyframes, animations, effects, transitions, SRT import) so you can script editing or remix pipelines. It can also load a draft as a template and swap its media or text. You open the draft in CapCut and export by hand; it cannot export automatically. README is in Chinese, with an English version linked. The README warns that 0.1.0 will change the track API.
How to use
pip install pycapcutThen follow demo.py in the repo: set your CapCut drafts folder path, run it, and open the new demo draft in CapCut.
Reach for it when
you want to generate many CapCut timelines from code, for example batch subtitles or templated videos.