返回顶部
j

jianying-video-gen 剪映视频生成

使用剪映(Jianying/小云雀)的 Seedance 2.0 模型自动生成AI视频。支持文生视频(T2V)、图生视频(I2V)和参考视频生成(V2V)三种模式。当用户需要生成AI视频、使用Seedance模型创作短片、或基于参考图像/视频进行风格转换时使用此技能。需要预先配置 cookies.json 登录凭证。

作者: admin | 来源: ClawHub
源自
ClawHub
版本
V 1.0.0
安全检测
已通过
442
下载量
免费
免费
0
收藏
概述
安装方式
版本历史

jianying-video-gen

剪映 AI 视频生成器

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

前置条件

  1. 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 \
--model Seedance 2.0 Fast

参考视频生成 (V2V)

bash
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

Dry-Run 模式(调试用)

bash
python3 scripts/jianying_worker.py --cookies /path/to/cookies.json --prompt 测试 --dry-run

只填写表单不提交,生成 step_*.png 截图供检查。

参数说明

参数默认值可选值说明
--prompt一个美女在跳舞任意文本视频描述
--duration
10s | 5s, 10s, 15s | 视频时长 | | --ratio | 横屏 | 横屏, 竖屏, 方屏 | 画面比例 | | --model | Seedance 2.0 | Seedance 2.0, Seedance 2.0 Fast | 模型选择 | | --ref-image | 无 | 本地图片路径 | I2V 模式的参考图片 | | --ref-video | 无 | 本地视频路径 | V2V 模式的参考视频 | | --cookies | cookies.json | 文件路径 | 剪映登录凭证路径 | | --output-dir | . | 目录路径 | 输出视频保存目录 | | --dry-run | false | - | 只填表不提交 |

模型与积分

模型积分/秒5s10s15s特点
Seedance 2.0 Fast3153045快速,适合测试
Seedance 2.0
5 | 25 | 50 | 75 | 高质量,正式出片 |

自动化流程

登录(cookies) → 新建 → 沉浸式短片 → 选模型 → [上传参考视频] → 选时长 → 输入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 分钟。

标签

skill ai

通过对话安装

该技能支持在以下平台通过对话安装:

OpenClaw WorkBuddy QClaw Kimi Claude

方式一:安装 SkillHub 和技能

帮我安装 SkillHub 和 jianying-video-gen-1776123962 技能

方式二:设置 SkillHub 为优先技能安装源

设置 SkillHub 为我的优先技能安装源,然后帮我安装 jianying-video-gen-1776123962 技能

通过命令行安装

skillhub install jianying-video-gen-1776123962

下载

⬇ 下载 jianying-video-gen v1.0.0(免费)

文件大小: 19.32 KB | 发布时间: 2026-4-17 15:07

v1.0.0 最新 2026-4-17 15:07
Initial release of jianying-video-gen.

- Supports AI video generation using Jianying's Seedance 2.0 model.
- Allows text-to-video (T2V), image-to-video (I2V), and reference video-to-video (V2V) workflows.
- Automated with Playwright; requires Python 3.9+, Chromium, and a Jianying cookies.json file.
- Flexible parameters including prompt, duration, ratio, model, reference image/video, and dry-run mode.
- Provides usage examples, parameter guide, model points cost table, and troubleshooting FAQ.

Archiver·手机版·闲社网·闲社论坛·羊毛社区· 多链控股集团有限公司 · 苏ICP备2025199260号-1

Powered by Discuz! X5.0   © 2024-2025 闲社网·线报更新论坛·羊毛分享社区·http://xianshe.com

p2p_official_large
返回顶部