通过 Playwright 自动化操作剪映(xyq.jianying.com),使用 Seedance 2.0 模型生成 AI 视频。
Works with
AI-first code editor with Composer
Before installing skills in Cursor, ensure your development environment meets these requirements:
node --versionjianying-video-genExecute the skills CLI command in your project's root directory to begin installation:
Fetches jianying-video-gen from cclank/lanshu-waytovideo and configures it for Cursor.
The CLI shows a list of agents. Use arrow keys and space to select Cursor:
Confirm successful installation by checking the skill directory location:
Restart Cursor to activate jianying-video-gen. Access via /jianying-video-gen in your agent's command palette.
We perform automated surface-level scans (Gen AI Scanner, Socket, Snyk) during installation. These checks detect common vulnerabilities but do not guarantee complete security. Always review skill source code and verify the publisher's reputation before production use.
Skills execute code in your environment. Always review source, verify the publisher, and test in isolation before production.
Submit your Claude Code skill and start earning
Automate repetitive workflows and reduce manual effort
Example
Generate reports, summarize documents, draft communications
Save 3-5 hours per week on routine tasks
Learn new skills, understand complex topics, get expert guidance
Example
Explain concepts, provide examples, suggest learning resources
Accelerate learning and skill development by 2x
Enhance output quality through reviews, suggestions, and refinements
Example
Review drafts, suggest improvements, catch errors
Improve work quality by 30-40% with less effort
1
total installs
1
this week
242
GitHub stars
0
upvotes
Run in your terminal
1
installs
1
this week
242
stars
通过 Playwright 自动化操作剪映(xyq.jianying.com),使用 Seedance 2.0 模型生成 AI 视频。
playwright 已安装playwright install chromium 安装pip install playwright && playwright install chromium
scripts/jianying_worker.py — 主自动化脚本
python3 scripts/jianying_worker.py \
--cookies /path/to/cookies.json \
--output-dir /path/to/output \
--prompt "赛博朋克风格的长安城,飞行汽车穿梭在霓虹灯笼之间" \
--duration 10s \
--model "Seedance 2.0"
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"
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"
python3 scripts/jianying_worker.py \
--cookies /path/to/cookies.json \
--output-dir /path/to/output \
--extend-url 'https://xyq.jianying.com/home?tab_name=integrated-agent&thread_id=YOUR_THREAD_ID&agent_name=pippit_video_part_agent' \
--prompt "向后延伸,保持人物和镜头语言一致" \
--duration 5s
python3 scripts/jianying_worker.py --cookies /path/to/cookies.json --prompt "测试" --dry-run
只填写表单不提交,生成
step_*.png截图供检查。 对 V2V 来说,dry-run 现在还会输出一段表单状态JSON,用来确认参考视频缩略图是否已挂上、发送按钮是否已解锁。
| 参数 | 默认值 | 可选值 | 说明 |
|---|---|---|---|
--prompt |
"一个美女在跳舞" | 任意文本 | 视频描述 |
--duration |
10s |
5s, 10s, 15s |
视频时长 |
--ratio |
横屏 |
横屏, 竖屏, 方屏 |
画面比例 |
--model |
Seedance 2.0 |
Seedance 2.0, Seedance 2.0 Fast |
模型选择 |
--ref-image |
无 | 本地图片路径 | I2V 模式的参考图片 |
--ref-video |
无 | 本地视频路径 | V2V 模式的参考视频 |
--extend-url |
无 | thread 链接 | Extend 模式,基于已有视频继续生成 |
--cookies |
cookies.json |
文件路径 | 剪映登录凭证路径 |
--output-dir |
. |
目录路径 | 输出视频保存目录 |
--dry-run |
false | - | 只填表不提交 |
| 模型 | 积分/秒 | 5s | 10s | 15s | 特点 |
|---|---|---|---|---|---|
| Seedance 2.0 Fast | 3 | 15 | 30 | 45 | 快速,适合测试 |
| Seedance 2.0 | 5 | 25 | 50 | 75 | 高质量,正式出片 |
登录(cookies) → 选模式(沉浸式短片) → 选模型 → [上传参考素材/打开已有 thread 并点向后延伸] → 选时长 → 输入Prompt → 发送
→ 拦截 thread_id → 导航详情页 → 轮询视频 → curl 下载 MP4
详细的提示词示例和编写技巧参见 references/prompt-guide.md。
Q: cookies 过期了怎么办? 在浏览器登录 xyq.jianying.com,使用 EditThisCookie 等扩展导出 cookies.json。
Q: 下载 403? 脚本使用 thread_id 详情页 + curl 下载,CDN 链接无需 cookie。如仍失败检查网络。
Q: 上传参考视频很慢? 正常,8MB 视频约需 60-90 秒。脚本会自动等待最多 5 分钟。
Prerequisites
Time Estimate
15-45 minutes depending on use case complexity
Steps
Common Pitfalls
✓ Do
✗ Don't
💡 Pro Tips
✓ Use when
Use when skill capabilities match your task, clear ROI on time saved, and you can validate outputs. Best for repetitive tasks, learning, and quality improvement.
✗ Avoid when
Avoid when task requires deep expertise you can't validate, involves sensitive decisions, or when learning process is more valuable than speed of completion.
affaan-m/everything-claude-code
remotion-dev/skills
supercent-io/skills-template
heygen-com/skills
zrong/skills
davila7/claude-code-templates
jianying-video-gen is among the better-maintained entries we tried; worth keeping pinned for repeat workflows.
jianying-video-gen reduced setup friction for our internal harness; good balance of opinion and flexibility.
We added jianying-video-gen from the explainx registry; install was straightforward and the SKILL.md answered most questions upfront.
I recommend jianying-video-gen for anyone iterating fast on agent tooling; clear intent and a small, reviewable surface area.
jianying-video-gen fits our agent workflows well — practical, well scoped, and easy to wire into existing repos.
Keeps context tight: jianying-video-gen is the kind of skill you can hand to a new teammate without a long onboarding doc.
Registry listing for jianying-video-gen matched our evaluation — installs cleanly and behaves as described in the markdown.
jianying-video-gen has been reliable in day-to-day use. Documentation quality is above average for community skills.
jianying-video-gen fits our agent workflows well — practical, well scoped, and easy to wire into existing repos.
Registry listing for jianying-video-gen matched our evaluation — installs cleanly and behaves as described in the markdown.
showing 1-10 of 45