| name | meitu-video-dance |
| description | 将参考视频中的动作(舞蹈、手势、运动)迁移到目标人物或角色图片上,生成动作视频。仅在用户明确提供目标人物图片和参考动作视频,并表达动作迁移、舞蹈复刻、让照片跳舞、让人物动起来等意图时触发。 |
| version | 1.1.0 |
| metadata | {"openclaw":{"requires":{"bins":"[Truncated]","env":"[Truncated]","paths":"[Truncated]"},"primaryEnv":"MEITU_OPENAPI_ACCESS_KEY","security":{"dataFlow":"Inputs, selected local context, and generated prompts may be sent to Meitu OpenAPI when used by the workflow.","credentials":"Credentials are used only for CLI authentication and must not be disclosed.","persistence":"Record workflows may access declared project and visual memory/rules files."}}} |
| security | {"credential_use":"Uses Meitu OpenAPI credentials from env or ~/.meitu/credentials.json for CLI calls; credentials must not be echoed, logged, or embedded in prompts.","remote_processing":"Target images, reference videos, project context, and generated prompts may be sent to Meitu OpenAPI.","persistence":"Project mode may write output files and may update project or visual-memory files according to the Record workflow.","biometric_notice":"Target portrait images and reference motion videos may contain sensitive biometric-like personal data. Confirm the depicted person has agreed to this processing before running the workflow."} |
| requirements | {"credentials":[{"name":"MEITU_OPENAPI_ACCESS_KEY","source":"env | ~/.meitu/credentials.json"},{"name":"MEITU_OPENAPI_SECRET_KEY","source":"env | ~/.meitu/credentials.json"}],"permissions":[{"type":"file_read","paths":"[Truncated]"},{"type":"file_write","paths":"[Truncated]"},{"type":"exec","commands":"[Truncated]"}]} |
Overview
从一段参考视频中提取动作轨迹,迁移到用户提供的目标人物/角色图片上,生成该角色执行相同动作的视频。核心工具为 meitu video-motion-transfer(异步任务)。
执行前应让用户清楚知道:本 Skill 会读取 Meitu 凭证、调用本地 meitu CLI、将用户提供的人物图片、参考动作视频及相关提示发送到 Meitu OpenAPI 处理,并把结果写入 ./output/ 或 $VISUAL/output/meitu-video-dance/。涉及人像与动作素材时,应确认对素材中人物具备处理授权。
Dependencies
- meitu-cli (>=2.0.6):
npm install -g meitu-cli@latest
- 首选环境变量:
MEITU_OPENAPI_ACCESS_KEY / MEITU_OPENAPI_SECRET_KEY
- 或预置凭证文件:
~/.meitu/credentials.json
- 如需人工初始化本地凭证,可显式执行
meitu config set-ak --value "..." + meitu config set-sk --value "..."(会写入本地文件)
- 验证:
meitu auth verify --json
路径别名: 下文中 $VISUAL = {OPENCLAW_HOME}/workspace/visual/
Core Workflow
Preflight → [Context] → Execute → Refine → Deliver → [Record]
Preflight
meitu --version → 未安装则提示 npm install -g meitu-cli@latest
meitu auth verify --json → 凭证无效则引导配置
- Detect mode: cwd has
openclaw.yaml → project mode; else → one-off
检查 $VISUAL 目录 → 确定 capabilities
can_record = cwd 有 openclaw.yaml AND $VISUAL 存在(两者缺一即 false)
- output_dir 解析(Preflight 内 MUST 完成):
Resolve output_dir: openclaw.yaml →
./output/ | else → $VISUAL/output/meitu-video-dance/
mkdir -p {output_dir}
Context(项目模式时执行,一次性模式跳过)
mode = one-off → 跳过此步,直接到 Execute。
逐步读取:
- 读 DESIGN.md → 提取 Context References(quality, preferences, brand_refs)
- 尝试读全局资产:quality.yaml → global.md → scenes/{type}.md(scene 文件来源:从 openclaw.yaml 的
project.types(数组优先)或 project.type 读取类型)
- 读不到用内联兜底值(均 skip if missing)
→ quality forbidden list 过滤 prompt 元素,preferences 增强创意方向
Execute
这是 skill 的核心。 动作迁移的质量 80% 取决于输入素材,15% 取决于 prompt,5% 取决于参数。
1. 收集与验证输入
用户必须提供两项输入: