dLazy AIdLazy AI
模型参考视频模型

video-replicate

视频复刻工具:从源视频中提取首帧与音频,并调用视频理解生成描述提示,输出 Seedance 2.0 复刻方案(首帧 + 音频 + 视频)三件套。

视频复刻工具:从源视频中提取首帧与音频,并调用视频理解生成描述提示,输出 Seedance 2.0 复刻方案(首帧 + 音频 + 视频)三件套。

概览

字段
Model IDvideo-replicate
CLIdlazy video-replicate
MCPvideo-replicate(在 Claude Code 中显示为 mcp__dlazy__video-replicate
类型video
执行异步任务,默认轮询直到完成(--no-wait 可立即返回 generateId
批量支持 --batch <n> 并行扇出

参数

参数类型必填说明
videosarray<url>Yes参考视频;video(接受 URL、本地路径或 data: URL)
durationSecondsstringNo时长(秒)

--input @file.json--input '{...}' 也可一次性提供所有参数;命令行 flag 优先级更高。

CLI 示例

dlazy video-replicate --help
dlazy video-replicate --videos "https://example.com/source1.mp4" "https://example.com/source2.mp4"
dlazy video-replicate --videos "./local-video.mp4"
dlazy video-replicate --videos "https://example.com/source1.mp4" "https://example.com/source2.mp4" --dry-run
dlazy video-replicate --videos "https://example.com/source1.mp4" "https://example.com/source2.mp4" --no-wait
dlazy video-replicate --videos "https://example.com/source1.mp4" "https://example.com/source2.mp4" --batch 4

与管道组合

dlazy seedance-2.0-fast --prompt "参考视频" \
  | dlazy video-replicate --videos -

MCP

MCP 由 AI 客户端调用,无需手写示例。把 dLazy 注册成 MCP server 后,工具会自动出现在客户端的工具列表里——Claude Code 中名字是 mcp__dlazy__video-replicate,OpenClaw 等通用客户端按裸 video-replicate 调用。

添加 MCP server 见 MCP 集成

输出

{
  "outputs": [
    { "type": "video", "id": "o_...", "url": "https://files.dlazy.com/result.mp4", "mimeType": "video/mp4" }
  ]
}

媒体类型工具返回 image / video / audio / file output;可通过 --output url 让 stdout 只保留 URL。

On this page