wan2.7
Tongyi Wanxiang 2.7 video model — one model covers text-to-video, first/last-frame-to-video, and reference-to-video: uses text-to-video when no images are provided, first/last-frame-to-video when frames are provided, and reference-to-video when reference images are supplied.
Tongyi Wanxiang 2.7 video model — one model covers text-to-video, first/last-frame-to-video, and reference-to-video: uses text-to-video when no images are provided, first/last-frame-to-video when frames are provided, and reference-to-video when reference images are supplied.
Overview
| Field | Value |
|---|---|
| Model ID | bailian-wan-2-7 |
| CLI | dlazy wan2.7 |
| MCP | wan2.7 (Claude Code surfaces this as mcp__dlazy__wan2.7) |
| Type | video |
| Execution | Async task; the CLI polls until completion (--no-wait returns generateId immediately) |
| Batch | Supports --batch <n> parallel fan-out |
Parameters
| Arg | Type | Required | Notes |
|---|---|---|---|
prompt | string | Yes | Prompt |
generation_mode | "components" | "frames" | No | Generation Mode(components=Components; frames=Frames); default "components" |
images | array<url> | No | Images; image (accepts URL, local path, or data: URL); max 5 items; only when !(generation_mode="frames") |
videos | array<url> | No | Videos; video (accepts URL, local path, or data: URL); max 5 items; only when !(generation_mode="frames") |
firstFrame | url | No | First Frame; image (accepts URL, local path, or data: URL); only when generation_mode="frames" |
lastFrame | url | No | Last Frame; image (accepts URL, local path, or data: URL); only when generation_mode="frames" |
audio | url | No | Audio; audio (accepts URL, local path, or data: URL) |
resolution | "720P" | "1080P" | No | Resolution; default "720P" |
duration | "2" | "3" | "4" | "5" | "6" | "7" | "8" | "9" | "10" | "11" | "12" | "13" | "14" | "15" | No | Duration (s); default "5" |
prompt_extend | "true" | "false" | No | Prompt Rewrite; default "true" |
--input @file.jsonor--input '{...}'can supply all args at once; flags take precedence over--inputkeys.
CLI Examples
dlazy wan2.7 --help
dlazy wan2.7 --prompt "Write your prompt here" --images "https://example.com/reference1.jpg" "https://example.com/reference2.jpg"
dlazy wan2.7 --prompt "Write your prompt here" --images "./local-image.png"
dlazy wan2.7 --prompt "Write your prompt here" --images "https://example.com/reference1.jpg" "https://example.com/reference2.jpg" --dry-run
dlazy wan2.7 --prompt "Write your prompt here" --images "https://example.com/reference1.jpg" "https://example.com/reference2.jpg" --no-wait
dlazy wan2.7 --prompt "Write your prompt here" --images "https://example.com/reference1.jpg" "https://example.com/reference2.jpg" --batch 4Compose with a pipeline
dlazy gpt-image-2 --prompt "reference visual" \
| dlazy wan2.7 --images - --prompt "Write your prompt here"MCP
MCP is consumed by AI clients, not handwritten. Once dLazy is registered as an MCP server the tool appears in the client's tool list — Claude Code surfaces it as mcp__dlazy__wan2.7; generic clients (e.g. OpenClaw) call it as wan2.7.
See MCP setup for how to add the server.
Output
{
"outputs": [
{ "type": "video", "id": "o_...", "url": "https://files.dlazy.com/result.mp4", "mimeType": "video/mp4" }
]
}Media tools emit image / video / audio / file outputs. Use --output url to print only the URLs on stdout.