cclank avatar

Jianying Video Gen

This automates JianYing's Seedance 2.0 model using Playwright to generate AI videos without touching the web UI. You get four modes: text-to-video, image-to-video, video-to-video style transfer, and extending existing clips. It handles the full workflow,logs in with cookies, fills forms, intercepts thread IDs, polls for completion, and downloads the MP4. Runs 3-5 credits per second depending on whether you pick Fast or standard. The dry-run mode is smart, letting you debug form state with screenshots before burning credits. You'll need Python 3.9+, a cookies.json from your browser session, and patience for video uploads (60-90 seconds for 8MB). Good for batching video generation or integrating JianYing into larger pipelines.

skills.sh installs
556
GitHub stars
252
last updated
Aug 21, 2026

Install

$ npx -y skills add cclank/lanshu-waytovideo --skill jianying-video-gen --agent claude-code

Installs into .claude/skills of the current project.

Files

剪映 AI 视频生成器

通过 Playwright 自动化操作剪映(xyq.jianying.com),使用 Seedance 2.0 模型生成 AI 视频。

前置条件

  1. Python 3.9+ + playwright 已安装
  2. Chromium 已通过 playwright install chromium 安装
  3. cookies.json — 剪映登录凭证(从浏览器导出),放在脚本同目录下
pip install playwright && playwright install chromium

核心脚本

scripts/jianying_worker.py — 主自动化脚本

使用方式

文生视频 (T2V)

python3 scripts/jianying_worker.py \
  --cookies /path/to/cookies.json \
  --output-dir /path/to/output \
  --prompt "赛博朋克风格的长安城,飞行汽车穿梭在霓虹灯笼之间" \
  --duration 10s \
  --model "Seedance 2.0"

图生视频 (I2V)

python3 scripts/jianying_worker.py \
  --cookies /path/to/cookies.json \
  --output-dir /path/to/output \
  --ref-image /path/to/image.png \
  --prompt "将这张图片变成动画,镜头从左向右缓慢平移" \
  --duration 10s \
  --model "Seedance 2.0 Fast"

参考视频生成 (V2V)

python3 scripts/jianying_worker.py \
  --cookies /path/to/cookies.json \
  --output-dir /path/to/output \
  --ref-video /path/to/reference.mp4 \
  --prompt "画风改成宫崎骏风格,其他不变" \
  --duration 10s \
  --model "Seedance 2.0"

向后延伸 (Extend)

Sponsors

Details

Repository
github.com/cclank/lanshu-waytovideo
Category
Generative Media
First seen
Jun 3, 2026
1manzxiao avatartext-to-image-prompt-optimizermanzxiao/text-to-image-prompt-optimizertext to image prompt optimizer526skills.sh installs
2mckruz avatarcomfyui-prompt-interviewmckruz/comfyui-expertcomfyui prompt interview451skills.sh installs
3aradotso avatarmoss-tts-nano-speecharadotso/trending-skillsmoss tts nano speech361skills.sh installs
4tuziapi avatartuzi-image-gentuziapi/tuzi-skills通过兔子API(nano-banana 模型)、Google、OpenAI、DashScope 和 Replicate 进行 AI 图片生成。支持文生图、参考图片、宽高比、模型选择,以及 OpenAI 兼容网关方言切换。当用户要求生成、创建或绘制图片时使用。208skills.sh installs
5remotion-dev avatarremotion-best-practicesremotion-dev/skillsRouter for all Remotion skills783.3Kskills.sh installs
6remotion-dev avatarremotion-multimediaremotion-dev/skillsInteracting with Mediabunny275.6Kskills.sh installs