Skip to content

GuanYixuan /pyJianYingDraft

JianYing draft files from Python, so you can script your edits
Editing & audioApache-2.0Chinese README
Stars
4.5k
30 days
0
Last push
6 days ago

About pyJianYingDraft

Build a JianYing timeline in Python with pyJianYingDraft instead of dragging clips by hand. The library writes drafts for JianYing (CapCut China) and handles video, images, audio, stickers, text, subtitles, effects and transitions. Auto-export only works on Windows with JianYing 6 or older.

Best for: Python-savvy editors who want to automate JianYing edits, including AI short-drama assembly.

What it does

  • Adds video, image, audio, sticker and text clips to a draft
  • Controls tracks: append or insert above and below existing ones
  • Sets crop, speed, keyframes, masks, chroma key and blend modes
  • Styles text and subtitles, and imports .srt files
  • Reuses an existing draft as a template and swaps materials or text
  • Exports drafts in a batch on Windows with JianYing 6 and below

Quickstart

Rewritten from the README. Check the repo for the latest steps.

  1. 1
    Install with pip install pyJianYingDraft (Python 3.8 or 3.11 works best).
  2. 2
    Find your JianYing draft folder path (something like .../JianyingPro Drafts) and put it in demo.py where the placeholder is.
  3. 3
    Run demo.py to make a sample draft with audio, video, text, fades, an entrance animation and a transition.
  4. 4
    Open the new demo draft in JianYing. You may need to enter and leave another draft, or restart JianYing, to refresh the list.

Models and languages

Interface and docs

  • Chinese

Alternatives

Other editing & audio projects people compare with pyJianYingDraft.

sun-guannan

VectCutAPI

API and MCP server for turning AI clips into CapCut and Jianying drafts

Editing & audio
2.3k GitHub stars+2/30d9 days agoApache-2.0

luoluoluo22

jianying-editor-skill

Drives JianYing Pro: builds drafts, adds voiceover and subtitles

Editing & audio
  • Imagen 3
  • Grok 3
  • Claude 4.5
  • +2
3.7k GitHub stars+6/30d21 days agoMIT

Hommy-master

capcut-mate

Call an API to build Jianying or CapCut drafts and render video

Editing & audio
1.9k GitHub stars+3/30d4 days agoApache-2.0

RVC-Boss

GPT-SoVITS

Clones a voice from a 5-second clip and reads your text in it

Editing & audio
  • GPT-SoVITS v2Pro / v2ProPlus
  • GPT-SoVITS v4
  • GPT-SoVITS v3
  • +7
62k GitHub stars+16/30d1 month agoMIT

Featured on OpenMicroDrama

Do you maintain pyJianYingDraft? Add this badge to your README so English speakers can find our write-up.

Featured on OpenMicroDrama
markdown
[![Featured on OpenMicroDrama](https://openmicrodrama.com/badges/featured.svg)](https://openmicrodrama.com/projects/guanyixuan-pyjianyingdraft)

The badge links to this page. Want your description changed? Email support@openmicrodrama.com.

Reviewed Oct 1, 2026. A separate CapCut version is in development in another repository. We write these descriptions ourselves. The repo's own docs are the final word.