模型参考视频模型
jimeng-i2v-first-tail
即梦首尾帧视频模型,支持首帧与尾帧约束以控制镜头起止状态,适合转场与动作收束明确的片段。
即梦首尾帧视频模型,支持首帧与尾帧约束以控制镜头起止状态,适合转场与动作收束明确的片段。
概览
| 字段 | 值 |
|---|---|
| Model ID | jimeng-i2v-first-tail-v30 |
| CLI | dlazy jimeng-i2v-first-tail |
| MCP | jimeng-i2v-first-tail(在 Claude Code 中显示为 mcp__dlazy__jimeng-i2v-first-tail) |
| 类型 | video |
| 执行 | 异步任务,默认轮询直到完成(--no-wait 可立即返回 generateId) |
| 批量 | 支持 --batch <n> 并行扇出 |
参数
| 参数 | 类型 | 必填 | 说明 |
|---|---|---|---|
prompt | string | Yes | 提示词 |
generation_mode | "frames" | No | 生成模式;默认 "frames" |
firstFrame | url | No | 首帧图;image(接受 URL、本地路径或 data: URL) |
lastFrame | url | No | 尾帧图;image(接受 URL、本地路径或 data: URL) |
duration | "5" | "10" | No | 时长(秒);默认 "5" |
--input @file.json与--input '{...}'也可一次性提供所有参数;命令行 flag 优先级更高。
CLI 示例
dlazy jimeng-i2v-first-tail --help
dlazy jimeng-i2v-first-tail --prompt "请在这里填写提示词" --firstFrame "https://example.com/reference.jpg" --lastFrame "https://example.com/reference.jpg"
dlazy jimeng-i2v-first-tail --prompt "请在这里填写提示词" --firstFrame "./local-image.png" --lastFrame "https://example.com/reference.jpg"
dlazy jimeng-i2v-first-tail --prompt "请在这里填写提示词" --firstFrame "https://example.com/reference.jpg" --lastFrame "https://example.com/reference.jpg" --dry-run
dlazy jimeng-i2v-first-tail --prompt "请在这里填写提示词" --firstFrame "https://example.com/reference.jpg" --lastFrame "https://example.com/reference.jpg" --no-wait
dlazy jimeng-i2v-first-tail --prompt "请在这里填写提示词" --firstFrame "https://example.com/reference.jpg" --lastFrame "https://example.com/reference.jpg" --batch 4与管道组合
dlazy gpt-image-2 --prompt "参考图" \
| dlazy jimeng-i2v-first-tail --firstFrame - --prompt "请在这里填写提示词"MCP
MCP 由 AI 客户端调用,无需手写示例。把 dLazy 注册成 MCP server 后,工具会自动出现在客户端的工具列表里——Claude Code 中名字是 mcp__dlazy__jimeng-i2v-first-tail,OpenClaw 等通用客户端按裸 jimeng-i2v-first-tail 调用。
添加 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。