Outfit transition video generation
Three rhythm-driven hooks:
- - One-second cuts: each look is a flash—tempo is the content
- Style jumps: pajamas→gown, athleisure→cyber—the bigger the gap, the stickier
- Detail beats: props in frame, heel tap, sunglasses landing on the beat
Cats / bunnies / pandas as leads; one line for look count and vibe, straight to clip.
Dependencies: WERYAI_API_KEY + Node.js 18+. When you run the CLI, scripts/video_gen.js must exist; WERYAI_VIDEO_API.md must exist under resources/ (supply both via publish or pre-use assembly). Full commands and JSON fields: see resources/WERYAI_VIDEO_API.md. No other Cursor skills. Default parameters and model tiers are in the tables below; live API limits follow weryai models. Before installing or running, review the bundled video_gen.js to confirm it meets your requirements. Pay particular attention to how it handles local files if you choose to allow their usage, ensuring this behavior aligns with the skill's intended workflow for image-to-video requests.
Prerequisites
- -
WERYAI_API_KEY must be set in the environment before running video_gen.js. - Node.js 18+ is required. Prefer public
https image URLs. If the assembled scripts/video_gen.js supports local file paths, review and verify the script first, then get explicit consent before it reads a local image and uploads it to WeryAI to obtain a public URL. - Each successful
wait run consumes WeryAI credits; re-running creates new paid tasks.
Security, secrets, and API hosts
- -
WERYAI_API_KEY: Treat as a secret. Only configure it if you trust this skill's source; it is listed in OpenClaw metadata as requires.env / primaryEnv so installers know it is mandatory at runtime (never commit it inside the skill package). - API hosts (fixed in
video_gen.js): Video tasks use https://api.weryai.com; the models list uses https://api-growth-agent.weryai.com. Only WERYAI_API_KEY is read from the environment—do not rely on URL-related environment variables. - Local image handling disclosure: Prefer public
https image URLs. If the assembled scripts/video_gen.js supports local file paths, it may read a local image and upload it to WeryAI to obtain a public URL; require review / verification and explicit consent before using that path. - Higher assurance: Run generation in a short-lived or isolated environment (separate account or container), and review
scripts/video_gen.js (HTTPS submit + poll loop) before production use. Verify whether the runtime can read local image files and upload them to WeryAI, and obtain explicit consent before using that path.
Prompt expansion (mandatory)
INLINECODE21 does not expand prompts. Before every wait --json, turn the user's short or vague brief into a full English production prompt.
When: The user gives only keywords, one line, or loose intent—or asks for richer video language. Exception: They paste a finished long prompt within the model's prompt_length_limit and ask you not to rewrite; still show the full text in the confirmation table.
Always add (video language): shot scale and angle; camera move or lock-off; light quality and motivation; subject action paced to duration; one clear payoff for this niche; state 9:16 vertical when this skill defaults to vertical.
Length: Obey prompt_length_limit for the chosen model_key when this doc lists it; trim filler adjectives before removing core action, lens, or light clauses.
Confirmation: The pre-submit table must include the full expanded prompt (never a one-line summary). Wait for confirm or edits.
Niche checklist
- - Outfit beat: transition device (jump cut, spin, curtain, snap)—look A → look B obvious in one vertical clip.
- Fashion read: fabric drape, silhouette, accessories; mirror or street backdrop as user says.
- Pacing: sync to short vertical hook; full body or three-quarter as needed.
### Example prompts at the top of this file are short triggers only—always expand from the user's actual request.
Workflow
- 1. Confirm the user request matches this skill's scenario (text-to-video and/or image-to-video as documented).
- Collect the user's brief, optional image URL(s), tier (best / good / fast) or an explicit
model key. - Expand prompt (mandatory): Unless the user supplied a finished long prompt and explicitly asked not to rewrite it, expand the brief into a full English production
prompt using ## Prompt expansion (mandatory) below. Do not call the API with only the user's minimal words. - Check the expanded
prompt against the selected model's prompt_length_limit in the frozen tables in this document (when present); shorten if needed. - Verify
duration, aspect_ratio, resolution, generate_audio, negative_prompt, and other fields against the frozen tables in this document and WERYAI_VIDEO_API.md. - Show the pre-submit parameter table including the full expanded
prompt; wait for confirm or edits. - After confirmation, run
node scripts/video_gen.js wait --json '...' with the expanded prompt. - Parse stdout JSON and return video URLs; on failure, surface
errorCode / errorMessage and suggest parameter fixes.
CLI reference
CODEBLOCK0
Full reference: WERYAI_VIDEO_API.md.
Definition of done
Done when the user receives at least one playable video URL from the API response, or a clear failure explanation with next steps. All parameters used must fall within the selected model's allowed sets in this document. The submitted prompt must be the expanded production prompt unless the user explicitly supplied a finished long prompt and asked not to rewrite it.
Boundaries (out of scope)
- - We do not review platform compliance, copyright, or likeness; we do not warrant commercial usability of outputs.
- We do not provide offline rendering outside WeryAI, traditional NLE projects, or API field combinations not documented in this SKILL or
WERYAI_VIDEO_API.md. - Do not link to
weryai-model-capabilities.md or shared ../references/ paths; use resources/WERYAI_VIDEO_API.md for CLI/API details. - Do not hard-code absolute paths in this doc; run from the skill package root (next to
SKILL.md) so scripts/ and resources/ paths resolve.
Example prompts
- - INLINECODE54
- INLINECODE55
- INLINECODE56
- INLINECODE57
Default parameters
| Field | Value |
|---|
| Model | KLINGV30_PRO |
| Aspect |
9:16 (fixed) |
| Duration | 5 s (
duration: 5, tight for beat cuts) |
| Audio | Off |
| Look | Front medium shots; clear visual beat on swaps; one hero frame per look; white / solid seamless bg |
API validity (default KLING_V3_0_PRO): Text-to-video: duration only 5 / 10 / 15, aspect_ratio only 9:16, 1:1, 16:9; image-to-video: aspect_ratio only 9:16, 16:9, 1:1; no resolution field—do not send. Fast VEO tier: text VEO_3_1_FAST, image CHATBOT_VEO_3_1_FAST, duration fixed 8, aspect_ratio only 9:16 or 16:9. For other model_key values, follow the allowed sets in this document and the API validity notes above; do not send unsupported fields such as resolution.
Multi-look rapid cuts
User describes the character and number of looks / style direction; generate fast swaps on rhythm.
Collect character + direction; other params are fixed—confirm before run:
About to generate with:
- - model: KLINGV30PRO
- aspectratio: 9:16
- duration: 5
- generate_audio: false
- seamless loop: off (reply "loop" for loop-friendly outfit video)
Embed in the brief: one line for character and count, e.g. “kitten, five commuter looks” or “panda, ten hoodies”—visual detail per look is auto-filled.
Expanded prompt: Compose at generation time per ## Prompt expansion (mandatory) from the user's actual brief—do not reuse fixed sample paragraphs.
Parameters:
| Field | Value |
|---|
| model | KLINGV30PRO |
| aspectratio |
9:16 |
| duration | 5 |
| generate_audio | false |
Single look: accessory detail macros
One outfit, detail beats: ring on, belt buckled, sunglasses seated, laces tied—these frames outperform full-body for shareability.
State accessories + character vibe; generate directly.
Show all parameters in a table and wait for explicit user confirmation before submitting:
> 📋 Ready to generate—please confirm:
>
> | Field | This run | Notes |
> |-------|----------|-------|
> | model | KLING_V3_0_PRO | Best tier default; fast: text VEO_3_1_FAST, image CHATBOT_VEO_3_1_FAST (duration fixed 8); good → KLING_V3_0_STA; or specify a model name |
> | aspect_ratio | 9:16 | Default KLING: 9:16, 1:1, 16:9 only; if you switch model, check that row’s aspect_ratios etc. |
> | duration | 5s | KLING family: 5 / 10 / 15; VEO fast: duration 8 only |
> | generate_audio | false | Auto-generate audio or not |
> | prompt | Full expanded English prompt (entire text for this run) | Revise before confirm |
> | seamless loop | off | Reply "loop" to add seamless loop |
>
> Reply "confirm" to start, or list what to change.
Sample prompt:
Extreme close-up sequence of a cat's paws accessorizing a complete outfit, series of tight macro shots cut in rhythm — first: a gold stacked ring slides onto a slender finger; then: a leather belt cinches at the waist, buckle clicking shut in slow motion; then: oversized tortoiseshell sunglasses arms unfold and settle onto the bridge of the nose, world goes slightly bronze-tinted; final shot: ankle strap heel buckled, foot placed forward, heel lifts — full look assembled, warm golden hour side light, fashion campaign energy, bokeh background throughout
Beat tip: Use transitions timed to invisible beat or single frame cut between each look for rhythm closer to real edit beats. For five looks, add 5 complete looks in succession so time splits across looks.
服装变换视频生成
三个节奏驱动的钩子:
- - 一秒切换: 每个造型都是一闪——节奏即内容
- 风格跳跃: 睡衣→礼服,运动装→赛博朋克——差距越大,粘性越强
- 细节节拍: 画面中的道具、鞋跟轻敲、墨镜卡点落下
以猫/兔子/熊猫为主角;一行描述造型数量和氛围,直接生成片段。
依赖项: WERYAIAPIKEY + Node.js 18+。运行CLI时,scripts/videogen.js 必须存在;WERYAIVIDEOAPI.md 必须存在于 resources/ 目录下(通过发布或预使用组装提供)。完整命令和JSON字段:参见 resources/WERYAIVIDEOAPI.md。不依赖其他Cursor技能。默认参数和模型层级见下方表格;实时API限制遵循 weryai 模型。在安装或运行前,请查看附带的 video_gen.js 以确认其满足您的需求。特别注意它如何处理本地文件(如果您选择允许使用本地文件),确保此行为符合该技能在图像转视频请求中的预期工作流程。
前置条件
- - 运行 videogen.js 前,必须在环境中设置 WERYAIAPIKEY。
- 需要 Node.js 18+。优先使用公开的 https 图片URL。如果组装的 scripts/videogen.js 支持本地文件路径,请先审查并验证脚本,然后在读取本地图片并上传至WeryAI以获取公开URL前获得明确同意。
- 每次成功的 wait 运行都会消耗WeryAI积分;重新运行会创建新的付费任务。
安全、密钥和API主机
- - WERYAIAPIKEY:视为机密。仅当您信任此技能来源时才进行配置;它在OpenClaw元数据中被列为 requires.env / primaryEnv,以便安装者知道它在运行时是必需的(切勿将其提交到技能包内)。
- API主机(在 videogen.js 中固定):视频任务使用 https://api.weryai.com;模型列表使用 https://api-growth-agent.weryai.com。仅从环境变量中读取 WERYAIAPIKEY——不要依赖与URL相关的环境变量。
- 本地图片处理披露:优先使用公开的 https 图片URL。如果组装的 scripts/videogen.js 支持本地文件路径,它可能会读取本地图片并上传至WeryAI以获取公开URL;在使用该路径前需要审查/验证并获得明确同意。
- 更高保障:在短期或隔离环境(独立账户或容器)中运行生成,并在生产使用前审查 scripts/video_gen.js(HTTPS提交+轮询循环)。验证运行时是否可以读取本地图片文件并上传至WeryAI,并在使用该路径前获得明确同意。
提示词扩展(强制)
video_gen.js 不会扩展提示词。在每次 wait --json 之前,将用户的简短或模糊描述转化为完整的英文制作 prompt。
何时扩展: 用户仅提供关键词、一行描述或模糊意图——或要求更丰富的视频语言。例外情况: 用户粘贴了已完成的长提示词且在模型 promptlengthlimit 范围内,并要求您不要重写;但仍需在确认表格中显示完整文本。
始终添加(视频语言): 镜头景别和角度;相机运动或固定;光线质量和动机;与 duration 匹配的主体动作节奏;一个明确的亮点针对此细分领域;当此技能默认为竖屏时,注明 9:16 竖屏。
长度: 当本文档列出所选 modelkey 的 promptlength_limit 时,遵守该限制;在删除核心动作、镜头或光线从句之前,先修剪填充性形容词。
确认: 提交前的表格必须包含完整的扩展 prompt(绝不能是一行摘要)。等待确认或修改。
细分领域检查清单
- - 服装节拍: 转换手法(跳切、旋转、幕布、响指)——造型A → 造型B 在一个竖屏片段中清晰可见。
- 时尚解读: 面料垂感、轮廓、配饰;根据用户要求选择镜子或街头背景。
- 节奏: 与短竖屏钩子同步;根据需要采用全身或四分之三构图。
### 示例提示词 位于此文件顶部,仅为简短触发器——始终从用户的实际请求进行扩展。
工作流程
- 1. 确认用户请求符合此技能的场景(文本转视频和/或图像转视频,如文档所述)。
- 收集用户的简要描述、可选的图片URL、层级(最佳 / 良好 / 快速)或明确的 model 键。
- 扩展提示词(强制): 除非用户提供了已完成的长提示词并明确要求不要重写,否则使用下方的 ## 提示词扩展(强制) 将简要描述扩展为完整的英文制作 prompt。不要仅用用户的最简词语调用API。
- 对照本文档固定表格中选定模型的 promptlengthlimit(如有)检查扩展后的 prompt;必要时缩短。
- 对照本文档固定表格和 WERYAIVIDEOAPI.md 验证 duration、aspectratio、resolution、generateaudio、negativeprompt 等字段。
- 显示提交前参数表格,包含完整扩展的 prompt;等待确认或修改。
- 确认后,使用扩展后的提示词运行 node scripts/video_gen.js wait --json ...。
- 解析标准输出JSON并返回视频URL;失败时显示 errorCode / errorMessage 并建议参数修正。
CLI参考
sh
node scripts/videogen.js wait --json {model:…,prompt:…,duration:5,aspectratio:9:16}
node scripts/video_gen.js wait --json … --dry-run
node scripts/video_gen.js status --task-id
完整参考: WERYAIVIDEO_API.md。
完成定义
当用户从API响应中收到至少一个可播放的视频URL,或收到明确的失败说明及后续步骤时,视为完成。使用的所有参数必须在本文档中选定模型的允许范围内。提交的 prompt 必须是扩展后的制作提示词,除非用户明确提供了已完成的长提示词并要求不要重写。
边界(不在范围内)
- - 我们不审查平台合规性、版权或肖像权;我们不保证输出的商业可用性。
- 我们不提供WeryAI之外的离线渲染、传统NLE项目,或本文档及 WERYAIVIDEOAPI.md 中未记录的API字段组合。
- 不要链接到 weryai-model-capabilities.md 或共享的 ../references/ 路径;使用 resources/WERYAIVIDEO_API.md 获取CLI/API详情。
- 不要在此文档中硬编码绝对路径;从技能包根目录(与 SKILL.md 同级)运行,以便 scripts/ 和 resources/ 路径能够正确解析。
示例提示词
- - 猫,四个造型,快速切换每个,竖屏时尚节拍
- 从这张睡衣照片:一键赛博服装变换
- 鞋跟落地+墨镜在两个重音帧上,快节奏
- 服装变换蒙太奇 9:16,在节拍上硬切
默认参数
9:16(固定) |
| 时长 | 5秒(duration: 5,适合节拍切换) |
| 音频 | 关闭 |
| 画面 | 正面中景;切换时清晰的视觉节拍;每个造型一个主画面;白色/纯色无缝背景 |
API有效性(默认 KLINGV30PRO): 文本转视频:duration 仅 5 / 10 / 15,aspectratio 仅 9:16, 1:1, 16:9;图像转视频:aspectratio 仅 9:16, 16:9, 1:1;无 resolution 字段——不要发送。 快速VEO层级:文本 VEO3