批量视频动作迁移

批量将参考视频中的人物动作迁移到目标人物/角色上。

meitu batch video-motion-transfer

注意:批量处理功能自 meitu-cli 2.1.1 起开始支持,低版本请先升级后再使用。

使用示例

# 配置文件模式(必须使用配置文件)
meitu batch video-motion-transfer \
  --config ./batch.video-motion-transfer.yaml \
  --output-dir ./outputs \
  --json

配置文件示例

version: 1
defaults:
  outputDir: ./outputs
items:
  - image: ./persons/model1.jpg
    referenceVideo: ./motions/dance.mp4
    prompt: transfer the motion naturally
  - image: ./persons/model2.jpg
    referenceVideo: ./motions/walk.mp4
    prompt: 自然迁移走路动作

参数说明

参数必需说明
--output-dir输出目录
--configYAML/JSON 配置文件路径(必须使用配置文件)
--concurrency类型:number;默认:3;并行执行数量(视频建议设为 1-2)
--max-retries类型:number;默认:0;失败重试次数
--skip-exist跳过已存在的输出文件
--dry-run仅预览计划,不执行
--no-progress禁用逐个任务的进度日志
--json以 JSON 格式输出结果
--json-output将结果写入指定 JSON 文件
--skill-name服务端归属的技能名称