Jianying Video Gen skill
The agent drives the Jianying site through Playwright, queues a Seedance 2.0 video job and saves the finished MP4 to disk
- 252 ★ on the repository
- Last commit
Extended access
Why this level
- The cookies.json file holds your Jianying account session, and anyone who gets the file can sign in as you
- The script launches a browser, clicks through a third-party site and spends account credits on every clip
- Automated control of the web interface may conflict with the service rules
Install
- Works in
In your terminal, with SkillFoxx CLI
npx skillfoxx add skills/jianying-video-genDetects the agents on your machine, shows the access level and pins the version.
Other ways to install
Access and checks
How we reviewExtended accessThe tool runs code or makes network calls and only reads external data.
- The cookies.json file holds your Jianying account session, and anyone who gets the file can sign in as you
- The script launches a browser, clicks through a third-party site and spends account credits on every clip
- Automated control of the web interface may conflict with the service rules
This is third-party code. Review the repository files before installing.
What it does
The jianying-video-gen skill automates the web version of Jianying (Xiaoyunque, xyq.jianying.com) and generates clips there with the Seedance 2.0 model. The agent gets a text description, a picture or a finished clip, and the script fills in the form, submits the job and downloads the result. There are four modes: from text, from an image, from a reference video, and extending an existing clip. It runs through `jianying_worker.py` with the parameters `--prompt`, `--duration` (5s, 10s or 15s), `--ratio`, `--model` (Seedance 2.0 or Seedance 2.0 Fast), `--ref-image`, `--ref-video`, `--extend-url`, `--cookies` and `--output-dir`. Login uses a `cookies.json` that the user exports from their own browser. For a reference video the script reads the clip size with ffprobe and fits it to the allowed range from 640×640 to 834×1112 using ffmpeg. After submitting, the script catches the job identifier, opens the result page, waits for the clip and downloads the MP4 with curl. The `--dry-run` mode fills in the form without submitting and saves screenshots of the steps.
Who it is for. Short-video makers with a Jianying account who need to queue many clips for generation from the terminal without manual clicks.
Good fit when
- A series of clips is needed from a list of prompts, and filling in the site form by hand takes an evening
- A still picture has to be brought to life: the camera pans slowly left to right, the character moves
- A finished clip gets a new style from a reference video, for example in the manner of Miyazaki
- A generated clip is extended by 5 to 15 seconds with the same characters and camera
Not a fit when
- There is no Jianying account: without cookie login the script cannot generate anything
- Jobs go through the official API of another service, such as Kling or Atlas Cloud: the skill works only with the Jianying site
- The site interface changed: the script relies on the current markup and may break after an update
Example request
Use jianying-video-gen to make a 10-second horizontal clip: a dragon rises from a volcano, drone-style shot, Seedance 2.0 Fast modelLimitations
- Python 3.9 or newer, Playwright with Chromium and a `cookies.json` from the browser are required. A reference video also needs ffmpeg and ffprobe.
- Every clip spends site credits: Seedance 2.0 Fast takes 3 credits per second, Seedance 2.0 takes 5.
- Cookies expire and must be exported again. Generation takes 3 to 5 minutes, and the wait is capped at about 20 minutes.
- The README and SKILL.md are in Chinese. The last commit was in April 2026.
How to disable. Delete the jianying-video-gen folder from the agent skills directory and the `cookies.json` file. To cut account access completely, sign out of Jianying in the browser and reset the session.
FAQ
How do I get cookies.json for login?
Sign in to xyq.jianying.com in the browser, export cookies with an extension such as EditThisCookie and save the file as `cookies.json` in the agent working directory. A custom path goes in the `--cookies` parameter.
How much does a 10-second clip cost?
Seedance 2.0 Fast costs 30 credits, Seedance 2.0 costs 50. To test a prompt the author advises Fast and 5 seconds, which is 15 credits.
How do I check that the form is filled in correctly?
Run the script with `--dry-run`: it fills in the form without submitting and saves `step_*.png` screenshots. With a reference video it also prints a JSON of the form state.
What if the clip did not appear?
First let the script wait: generation usually takes 3 to 5 minutes, with a wait limit of about 20. If time ran out, `find_latest_task.py` finds the identifier of the latest job in Jianying and `poll_and_download.py` fetches the finished clip by it.
Can I run the script without an agent?
Yes, `python3 jianying-video-gen/scripts/jianying_worker.py --prompt "description" --duration 10s --model "Seedance 2.0"` works from the terminal. The author presents this as a manual run for testing.
Discussion
No questions or reviews yet.
Related
SkillsThe skill breaks a sales video into a storyboard and writes a prompt pack for the Seedance video model in Jimeng.
A skill that automates JianYing editing: from a description the agent writes copy, adds voice, subtitles, music and effects.
A skill that teaches an agent to write prompts for ByteDance's Jimeng Seedance 2.0 video model: @ references, camera language, timing, templates
The jyr CLI and five skills: the agent builds a video edit as a JianYing or CapCut draft, and you finish it in the editor itself
A skill that writes prompts for video, image and music generation on 14 platforms and can submit them in the browser
Two skills for generative video and images: video writes Seedance, Kling and Veo prompts by dramaturgy rules, image picks the model and its syntax
Comparison with similar tools
Cards that share the main search query, and how they differ.
| Tool | Official | Repository stars | Main difference |
|---|---|---|---|
| Jianying Video Gen (this card) | no | 252 | |
| Seedance 2.5 Skill | no | 260 | improves prompts and generates video through the paid Atlas Cloud API; here jobs go through the Jianying web interface |
| Kling CLI | yes | 1 | a skill for the Kling console utility with official access; this skill drives a site through a browser |
README in short
The README is in Chinese: a feature table, skill installation via npx and through OpenClaw, run examples for the four modes and a parameter table. Then come the reference-video preprocessing rules, credit prices, an automation step diagram, prompt examples and a list of warnings.
README badge
Original SKILL.md
--- name: jianying-video-gen description: 使用剪映(Jianying/小云雀)的 Seedance 2.0 模型自动生成AI视频。支持文生视频(T2V)、图生视频(I2V)、参考视频生成(V2V)和向后延伸(Extend)四种模式。当用户需要生成AI视频、使用Seedance模型创作短片、基于参考图像/视频进行风格转换,或对已有结果继续延长时使用此技能。需要预先配置 cookies.json 登录凭证。 --- # 剪映 AI 视频生成器 通过 Playwright 自动化操作剪映(xyq.jianying.com),使用 Seedance 2.0 模型生成 AI 视频。 ## 前置条件 1. **Python 3.9+** + `playwright` 已安装 2. **Chromium** 已通过 `playwright install chromium` 安装 3. **cookies.json** — 剪映登录凭证(从浏览器导出),放在脚本同目录下 ```bash pip install playwright && playwright install chromium ``` ## 核心脚本 `scripts/jianying_worker.py` — 主自动化脚本 ## 使用方式 ### 文生视频 (T2V) ```bash python3 scripts/jianying_worker.py \ --cookies /path/to/cookies.json \ --output-dir /path/to/output \ --prompt "赛博朋克风格的长安城,飞行汽车穿梭在霓虹灯笼之间" \ --duration 10s \ --model "Seedance 2.0" ``` ### 图生视频 (I2V) ```bash python3 scripts/jianying_worker.py \ --cookies /path/to/cookies.json \ --output-dir /path/to/output \ --ref-image /path/to/image.png \ --prompt "将这张图片变成动画,镜头从左向右缓慢平移" \ --duration 10s \