dLazy AIdLazy AI
模型参考视频模型

veo-3.1-fast

快速版视频生成模型,支持文本生视频与单图/多图/首尾帧驱动。适合时间敏感的预览与快速迭代场景。

快速版视频生成模型,支持文本生视频与单图/多图/首尾帧驱动。适合时间敏感的预览与快速迭代场景。

概览

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

参数

参数类型必填说明
promptstringYes提示词
generation_mode"frames" | "extend"No生成模式(frames=首尾帧; extend=视频延展);默认 "frames"
firstFrameurlNo首帧图;image(接受 URL、本地路径或 data: URL);仅当 generation_mode="frames"
lastFrameurlNo尾帧图;image(接受 URL、本地路径或 data: URL);仅当 generation_mode="frames"
videourlNo视频链接;video(接受 URL、本地路径或 data: URL);仅当 generation_mode="extend"
size"16:9" | "9:16"No尺寸;默认 "16:9";仅当 generation_mode!="extend"
resolution"720P" | "1080P" | "4K"No分辨率;默认 "720P";仅当 generation_mode!="extend"
duration"4" | "6" | "8" | "7"No时长(秒) (4/6/8 in frames mode; fixed 7 in extend mode) Options depend on "generation_mode". when generation_mode="": 4 (4s), 6 (6s), 8 (8s); when generation_mode="generation_mode=extend": 7 (+7s);默认 "8"

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

CLI 示例

dlazy veo-3.1-fast --help
dlazy veo-3.1-fast --prompt "请在这里填写提示词" --firstFrame "https://example.com/reference.jpg" --lastFrame "https://example.com/reference.jpg"
dlazy veo-3.1-fast --prompt "请在这里填写提示词" --firstFrame "./local-image.png" --lastFrame "https://example.com/reference.jpg"
dlazy veo-3.1-fast --prompt "请在这里填写提示词" --firstFrame "https://example.com/reference.jpg" --lastFrame "https://example.com/reference.jpg" --dry-run
dlazy veo-3.1-fast --prompt "请在这里填写提示词" --firstFrame "https://example.com/reference.jpg" --lastFrame "https://example.com/reference.jpg" --no-wait
dlazy veo-3.1-fast --prompt "请在这里填写提示词" --firstFrame "https://example.com/reference.jpg" --lastFrame "https://example.com/reference.jpg" --batch 4

与管道组合

dlazy gpt-image-2 --prompt "参考图" \
  | dlazy veo-3.1-fast --firstFrame - --prompt "请在这里填写提示词"

MCP

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

添加 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