Carpet wash & restore videos
For cleaning / satisfying creators: pressure rinse, brush agitation, dirty water running out, fibers standing up again—strong before/after and ASMR wash sounds. One prompt or one dirty carpet photo.
Dependencies: scripts/video_gen.js + WERYAI_API_KEY + Node.js 18+.
Prerequisites
- -
WERYAI_API_KEY must be set. - Node.js 18+; images must be
https URLs.
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). - Optional URL overrides (
WERYAI_BASE_URL, WERYAI_MODELS_BASE_URL): video_gen.js defaults to https://api.weryai.com and https://api-growth-agent.weryai.com. Overrides are intended for testing or approved alternate endpoints. If these variables are set in your environment, confirm they point to hosts you trust—otherwise prompts, images, and your bearer token could be sent elsewhere. - 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.
Prompt expansion (mandatory)
INLINECODE13 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
- - Wash physics: water/foam migration, dirty runoff, fiber lift, before/after color stripe or patch.
- Camera: top-down or low side angle; slow motion on squeeze or extractor pass; ASMR-forward if audio on.
- Stains: tie language to user rug type (mud, pet, grey traffic) and method (pressure, brush, steam).
### Example prompts at the top of this file are short triggers only—always expand from the user's actual request.
Workflow
- 1. Confirm scenario (text-to-video and/or image-to-video as documented).
- Collect the user's brief, optional
https image URL, tier (best / good / fast) or explicit model. - Expand prompt (mandatory): Unless the user supplied a finished long prompt and asked not to rewrite, expand the brief with full shot, light, wash physics, and audio cues per
## Prompt expansion (mandatory). Do not submit a one-liner. - Check the expanded
prompt against prompt_length_limit if listed for the model; trim if needed. - Verify
duration, aspect_ratio, generate_audio, and other fields against this doc. - Show the confirmation table with the full expanded
prompt; wait for confirm or edits. - After confirmation, run
node {baseDir}/scripts/video_gen.js wait --json '...' with the expanded prompt. - Return playable URL(s) or clear error guidance.
CLI reference
CODEBLOCK0
Definition of done
Playable URL(s) or clear failure; parameters within model limits. 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)
- - No legal/commercial guarantees; no offline editing stacks;
{baseDir} only—no absolute paths.
Example prompts
- - INLINECODE34
- INLINECODE35
- INLINECODE36
- INLINECODE37
Default parameters
| Field | Value |
|---|
| Model | KLINGV30_PRO |
| Aspect |
9:16 |
| Duration | 5 (short hook) |
| Audio | On (brush, water, squeeze ASMR) |
| Look | Top-down close, soft light, extreme before/after color, slow grime flow, minimal background |
API validity (KLING_V3_0_PRO): Text: duration 5 / 10 / 15, aspect_ratio 9:16, 1:1, 16:9; image: aspect_ratio 9:16, 16:9, 1:1; no resolution. VEO fast: VEO_3_1_FAST / CHATBOT_VEO_3_1_FAST, duration 8, aspect_ratio 9:16 or 16:9. Other keys: follow tables here.
Text-to-video: wash process
User provides: rug type (short pile / shag / weave / vintage / pet mat), stain type (overall grey / embedded fur / mud spot / drink / years of dust), optional method (pressure / brush / steam / extractor).
Flow: collect → build English prompt (runoff, color return, fiber lift) → run:
CODEBLOCK1
Parameters: model KLINGV30PRO, 9:16, 5, generateaudio true.
Expanded prompt: Build per ## Prompt expansion (mandatory) from the user's rug/stain brief; do not paste fixed samples.
Expected: Visible dirty water, strong color bounce-back, ASMR-friendly audio.
Image-to-video: clean the photo rug
User provides: https image URL + effect (pressure / brush / extract / steam).
Flow: validate URL → prompt matched to stains in image →
CODEBLOCK2
Expected: Grime matches photo; true color emerges; pattern continuity.
Prompt blocks
Grime: thick dark water flows outward, murky brown runoff cascades, INLINECODE51
Color return: vivid original color emerges beneath, saturated hues pop, INLINECODE54
Pile: fibers lift and separate, pile stands upright after cleaning, INLINECODE57
Sound: ASMR scrubbing, pressure washer hiss, INLINECODE60
Upload local shots to a public host first; API needs reachable HTTPS.
地毯清洗与修复视频
适用于清洁/解压类创作者:高压冲洗、刷洗搅动、脏水流出、纤维重新立起——强烈的清洗前后对比和ASMR清洗音效。只需一个提示词或一张脏地毯照片。
依赖项: scripts/videogen.js + WERYAIAPI_KEY + Node.js 18+。
前置条件
- - 必须设置 WERYAIAPIKEY。
- Node.js 18+;图片必须是 https 链接。
安全、密钥与API主机
- - WERYAIAPIKEY:视为机密信息。仅在你信任此技能来源时进行配置;它在OpenClaw元数据中被列为 requires.env / primaryEnv,以便安装程序知晓它在运行时是必需的(切勿将其提交到技能包内部)。
- 可选URL覆盖(WERYAIBASEURL、WERYAIMODELSBASEURL):videogen.js 默认使用 https://api.weryai.com 和 https://api-growth-agent.weryai.com。覆盖设置仅用于测试或经批准的替代端点。如果在你的环境中设置了这些变量,请确认它们指向你信任的主机——否则提示词、图片和你的bearer令牌可能会被发送到其他地方。
- 更高保障:在短期或隔离环境(独立账户或容器)中运行生成任务,并在投入生产使用前审查 scripts/video_gen.js(HTTPS提交+轮询循环)。
提示词扩展(强制要求)
video_gen.js 不会扩展提示词。在每次 wait --json 之前,将用户的简短或模糊需求扩展为完整的英文制作 prompt。
何时需要扩展: 用户只给出关键词、一句话或模糊意图——或要求更丰富的视频语言。例外情况: 用户粘贴了符合模型 promptlengthlimit 的完整长提示词,并要求你不要重写;但仍需在确认表中展示完整文本。
始终添加(视频语言): 镜头景别和角度;相机运动或固定;光线质量和动机;主体动作与 duration 同步;为此细分领域设定一个明确的亮点;当此技能默认竖屏时,注明9:16竖屏。
长度: 当本文档列出时,遵守所选 modelkey 的 promptlength_limit;在删除核心动作、镜头或光线从句之前,先修剪填充性形容词。
确认: 提交前的表格必须包含完整的扩展 prompt(绝不能是一行摘要)。等待确认或修改。
细分领域检查清单
- - 清洗物理: 水/泡沫流动、脏水流出、纤维提升、清洗前后颜色条纹或色块。
- 镜头: 俯拍或低角度侧拍;挤压或抽吸器通过时慢动作;如果开启音频则注重ASMR。
- 污渍: 将语言与用户地毯类型(泥渍、宠物污渍、灰色交通污渍)和方法(高压、刷洗、蒸汽)关联。
### 示例提示词 位于本文件顶部,仅为简短触发词——始终从用户的实际需求进行扩展。
工作流程
- 1. 确认场景(按文档说明进行文生视频和/或图生视频)。
- 收集用户的需求、可选的 https 图片URL、档次(最佳 / 良好 / 快速)或明确的 model。
- 扩展提示词(强制要求): 除非用户提供了完整的长提示词并要求不要重写,否则根据 ## 提示词扩展(强制要求) 将需求扩展为包含完整镜头、光线、清洗物理和音频提示的内容。不要提交一句话提示词。
- 如果文档中列出了模型的 promptlengthlimit,则检查扩展后的 prompt 是否符合要求;必要时进行修剪。
- 对照本文档验证 duration、aspectratio、generateaudio 及其他字段。
- 展示包含完整扩展 prompt 的确认表;等待确认或修改。
- 确认后,使用扩展后的提示词运行 node {baseDir}/scripts/video_gen.js wait --json ...。
- 返回可播放的URL或明确的错误指引。
CLI参考
sh
node {baseDir}/scripts/videogen.js wait --json {model:…,prompt:…,duration:5,aspectratio:9:16}
node {baseDir}/scripts/video_gen.js wait --json … --dry-run
node {baseDir}/scripts/video_gen.js status --task-id
完成标准
返回可播放的URL或明确的失败信息;参数在模型限制范围内。提交的 prompt 必须是扩展后的制作提示词,除非用户明确提供了完整的长提示词并要求不要重写。
边界(超出范围)
- - 不提供法律/商业保证;不提供离线编辑堆栈;仅使用 {baseDir}——不使用绝对路径。
示例提示词
- - 脏客厅地毯,高压清洗机留下干净条纹,竖屏解压
- 从这张发霉地毯照片开始——冲洗后深色水流淌而出
- 强迫症清洁微距:绒毛从灰变亮,泡沫和挤压瞬间
- 解压地毯深层清洁9:16,脏到干净的揭示线
默认参数
9:16 |
| 时长 | 5(短吸引点) |
| 音频 | 开启(刷洗、水流、挤压ASMR) |
| 视觉效果 | 俯拍特写、柔和光线、极致的清洗前后颜色对比、缓慢的污垢流动、极简背景 |
API有效性(KLINGV30PRO): 文本:duration 5 / 10 / 15,aspectratio 9:16, 1:1, 16:9;图片:aspectratio 9:16, 16:9, 1:1;无 resolution。 VEO快速:VEO31FAST / CHATBOTVEO31FAST,duration 8,aspect_ratio 9:16 或 16:9。其他密钥:遵循此处表格。
文生视频:清洗过程
用户提供: 地毯类型(短绒/长毛/编织/复古/宠物垫)、污渍类型(整体发灰/嵌入毛发/泥点/饮料/多年积尘)、可选方法(高压/刷洗/蒸汽/抽吸)。
流程: 收集信息 → 构建英文提示词(水流、颜色恢复、纤维提升)→ 运行:
sh
node {baseDir}/scripts/videogen.js wait --json {model:KLINGV30PRO,prompt:(英文提示词),aspectratio:9:16,duration:5,generateaudio:true}
参数: 模型KLINGV30PRO,9:16,5,generateaudio true。
扩展提示词: 根据 ## 提示词扩展(强制要求) 从用户的地毯/污渍需求构建;不要粘贴固定样本。
预期效果: 可见的脏水、强烈的颜色反弹、适合ASMR的音频。
图生视频:清洗照片中的地毯
用户提供: https 图片URL + 效果(高压/刷洗/抽吸/蒸汽)。
流程: 验证URL → 提示词与图片中的污渍匹配 →
sh
node {baseDir}/scripts/videogen.js wait --json {model:KLINGV30PRO,prompt:(英文),image:(URL),aspectratio:9:16,duration:5,generateaudio:true}
预期效果: 污垢与照片匹配;真实颜色显现;图案连续性。
提示词模块
污垢: 浓黑水流向外涌出、浑浊棕色水流倾泻而下、污垢以解压的细流方式释放
颜色恢复: 鲜艳的原始颜色在下方显现、饱和色调迸发、单帧中的清洗前后颜色对比
绒毛: 纤维抬起并分离、清洗后绒毛直立、恢复蓬松质感
音效: ASMR刷洗声、高压清洗机嘶嘶声、湿刮水器拖拽声
先将本地照片上传到公共主机;API需要可访问的HTTPS链接。