vectcut-api
VectCutAPI is a powerful cloud-based video editing API tool that provides programmatic control over CapCut/JianYing (剪映) for professional video editing. Use this skill when users need to: (1) Create video draft projects programmatically, (2) Add video/audio/image materials with
Installation
Pick a client and clone the repository into its skills directory.
Installation
About this skill
VectCutAPI is a powerful cloud-based video editing API tool that provides programmatic control over CapCut/JianYing (剪映) for professional video editing. Use this skill when users need to: (1) Create video draft projects programmatically, (2) Add video/audio/image materials with precise control, (3) Add text, subtitles, and captions, (4) Apply effects, transitions, and animations, (5) Add keyframe animations, (6) Process videos in batch, (7) Generate AI-powered videos, (8) Integrate with n8n workflows, (9) Build MCP video editing agents. The API supports HTTP REST and MCP protocols, works with both CapCut (international) and JianYing (China), and provides web preview without downloading.
How to use
Zainstaluj zależności: uruchom
pip install -r requirements.txtdla podstawowego API HTTP, a następnie opcjonalniepip install -r requirements-mcp.txtjeśli planujesz używać protokołu MCP. Upewnij się, że masz zainstalowany Python 3.10 lub nowszy oraz CapCut lub JianYing.Skonfiguruj aplikację: skopiuj plik
config.json.examplenaconfig.jsoni dostosuj ustawienia do swoich potrzeb.Uruchom serwer: wykonaj
python capcut_server.pyaby uruchomić usługę HTTP API (nasłuchuje na porcie 9001) lubpython mcp_server.pydla protokołu MCP.Utwórz projekt wideo: wyślij żądanie do
/create_draftaby utworzyć nowy projekt, podając rozdzielczość (np. 1080x1920 dla wideo pionowego, 1920x1080 dla poziomego). Otrzymaszdraft_iddo dalszych operacji.Dodaj materiały i elementy: użyj endpointów
add_video,add_audioiadd_imageaby dodać ścieżki mediów, następnieadd_textiadd_subtitledo dodania tekstu i napisów. Aplikuj efekty za pomocąadd_effecti animacje klatek kluczowych poprzezadd_video_keyframe.Zapisz i wyeksportuj: wywołaj
save_draftaby wygenerować plik projektu, który możesz podglądać w przeglądarce lub zaimportować do CapCut/JianYing do dalszej edycji.