模型参考视频模型
seedance-2.0
字节最新视频生成模型,支持多模态参考生视频(图片+视频+音频)、首尾帧及文生视频,适合高质量多样化视频创作。
字节最新视频生成模型,支持多模态参考生视频(图片+视频+音频)、首尾帧及文生视频,适合高质量多样化视频创作。
概览
| 字段 | 值 |
|---|---|
| Model ID | doubao-seedance-2-0 |
| CLI | dlazy seedance-2.0 |
| MCP | seedance-2.0(在 Claude Code 中显示为 mcp__dlazy__seedance-2.0) |
| 类型 | video |
| 执行 | 异步任务,默认轮询直到完成(--no-wait 可立即返回 generateId) |
| 批量 | 支持 --batch <n> 并行扇出 |
参数
| 参数 | 类型 | 必填 | 说明 |
|---|---|---|---|
prompt | string | No | 提示词 |
generation_mode | "components" | "frames" | No | 生成模式(components=参考图; frames=首尾帧);默认 "components" |
images | array<url> | No | 参考图;image(接受 URL、本地路径或 data: URL);最多 9 项;仅当 !(generation_mode="frames") |
videos | array<url> | No | 参考视频;video(接受 URL、本地路径或 data: URL);最多 3 项;仅当 !(generation_mode="frames") |
audios | array<url> | No | 参考音频;audio(接受 URL、本地路径或 data: URL);最多 3 项;仅当 !(generation_mode="frames") |
firstFrame | url | No | 首帧图;image(接受 URL、本地路径或 data: URL);仅当 generation_mode="frames" |
lastFrame | url | No | 尾帧图;image(接受 URL、本地路径或 data: URL);仅当 generation_mode="frames" |
resolution | "480p" | "720p" | "1080p" | No | 分辨率;默认 "720p" |
ratio | "21:9" | "16:9" | "4:3" | "1:1" | "3:4" | "9:16" | No | 画幅比例;默认 "16:9" |
duration | "4" | "5" | "6" | "7" | "8" | "9" | "10" | "11" | "12" | "13" | "14" | "15" | No | 时长(秒);默认 "5" |
generate_audio | string | No | 生成音频;默认 true |
--input @file.json与--input '{...}'也可一次性提供所有参数;命令行 flag 优先级更高。
CLI 示例
dlazy seedance-2.0 --help
dlazy seedance-2.0 --prompt "请在这里填写提示词" --generation_mode "components" --images "https://example.com/reference1.jpg" "https://example.com/reference2.jpg"
dlazy seedance-2.0 --prompt "请在这里填写提示词" --generation_mode "components" --images "./local-image.png"
dlazy seedance-2.0 --prompt "请在这里填写提示词" --generation_mode "components" --images "https://example.com/reference1.jpg" "https://example.com/reference2.jpg" --dry-run
dlazy seedance-2.0 --prompt "请在这里填写提示词" --generation_mode "components" --images "https://example.com/reference1.jpg" "https://example.com/reference2.jpg" --no-wait
dlazy seedance-2.0 --prompt "请在这里填写提示词" --generation_mode "components" --images "https://example.com/reference1.jpg" "https://example.com/reference2.jpg" --batch 4与管道组合
dlazy gpt-image-2 --prompt "参考图" \
| dlazy seedance-2.0 --images - --prompt "请在这里填写提示词"MCP
MCP 由 AI 客户端调用,无需手写示例。把 dLazy 注册成 MCP server 后,工具会自动出现在客户端的工具列表里——Claude Code 中名字是 mcp__dlazy__seedance-2.0,OpenClaw 等通用客户端按裸 seedance-2.0 调用。
添加 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。