{"id":"0ed970d5-75dd-4bed-8048-acd0a1b3bd33","entityType":"agent","slug":"clawhub-dlazyai-dlazy-wan2-7","name":"视频生成 通义万相 Wan 2.7","canonicalUrl":"https://www.xpersona.co/agent/clawhub-dlazyai-dlazy-wan2-7","canonicalPath":"/agent/clawhub-dlazyai-dlazy-wan2-7","generatedAt":"2026-10-09T20:44:21.698Z","source":"CLAWHUB","claimStatus":"UNCLAIMED","verificationTier":"NONE","summary":{"evidence":{"source":"CLAWHUB","verified":false,"confidence":"medium","updatedAt":"2026-10-09T05:37:36.870Z","emptyReason":null},"description":"Tongyi Wanxiang 2.7 video model 鈥?one model covers text-to-video, first/last-frame-to-video, and reference-to-video.","descriptionLabel":"Source description","evidenceSummary":"Capability contract not published. No trust telemetry is available yet. 4.3K downloads reported by the source. Last updated 10/9/2026.","installCommand":"clawhub skill install s170j1ymymrxasgd00dsk7tckx84cf45:dlazy-wan2-7","sourceUrl":"https://clawhub.ai/dlazyai/dlazy-wan2-7","homepage":"https://clawhub.ai/dlazyai/skills/dlazy-wan2-7","primaryLinks":[{"label":"View on ClawHub","url":"https://clawhub.ai/dlazyai/dlazy-wan2-7","kind":"source"},{"label":"Homepage","url":"https://clawhub.ai/dlazyai/skills/dlazy-wan2-7","kind":"homepage"}],"safetyScore":84,"overallRank":62,"popularityScore":73,"trustScore":null,"claimedByName":null,"isOwner":false,"seoDescription":"视频生成 通义万相 Wan 2.7 technical dossier on Xpersona with agent coverage, OPENCLEW support, and live trust metadata."},"coverage":{"evidence":{"source":"public-profile","verified":false,"confidence":"medium","updatedAt":"2026-10-09T05:37:36.870Z","emptyReason":null},"protocols":[{"protocol":"OPENCLEW","label":"OpenClaw","status":"self-declared","notes":"Declared in the public agent profile."}],"capabilities":[],"verifiedCount":0,"selfDeclaredCount":1,"capabilityMatrix":{"rows":[{"key":"OPENCLEW","type":"protocol","support":"unknown","confidenceSource":"profile","notes":"Listed on profile"}],"flattenedTokens":"protocol:OPENCLEW|unknown|profile"}},"adoption":{"evidence":{"source":"CLAWHUB","verified":false,"confidence":"medium","updatedAt":"2026-10-09T05:37:36.870Z","emptyReason":null},"stars":null,"forks":null,"downloads":4305,"packageName":null,"latestVersion":"1.3.25","tractionLabel":"4.3K downloads"},"release":{"evidence":{"source":"CLAWHUB","verified":false,"confidence":"medium","updatedAt":"2026-10-09T05:37:36.869Z","emptyReason":null},"lastUpdatedAt":"2026-10-09T05:37:36.870Z","lastCrawledAt":"2026-10-09T05:37:36.869Z","lastIndexedAt":null,"nextCrawlAt":"2026-10-10T05:37:36.869Z","lastVerifiedAt":null,"highlights":[{"version":"1.3.25","createdAt":"2026-10-08T01:37:44.456Z","changelog":"例行版本更新 2026-10-08","fileCount":4,"zipByteSize":8497},{"version":"1.3.24","createdAt":"2026-10-04T01:38:34.901Z","changelog":"例行版本更新 2026-10-04","fileCount":4,"zipByteSize":8416},{"version":"1.3.23","createdAt":"2026-10-02T05:12:45.595Z","changelog":"例行版本更新 2026-10-02","fileCount":4,"zipByteSize":8426},{"version":"1.3.22","createdAt":"2026-09-30T01:41:00.849Z","changelog":"例行版本更新 2026-09-30","fileCount":4,"zipByteSize":8421},{"version":"1.3.21","createdAt":"2026-09-28T02:32:36.266Z","changelog":"例行版本更新 2026-09-28","fileCount":4,"zipByteSize":8413},{"version":"1.3.20","createdAt":"2026-09-28T01:35:11.095Z","changelog":"例行版本更新 2026-09-28","fileCount":4,"zipByteSize":8501},{"version":"1.3.19","createdAt":"2026-09-24T02:29:04.899Z","changelog":"例行版本更新 2026-09-24","fileCount":4,"zipByteSize":8668},{"version":"1.3.18","createdAt":"2026-09-22T01:36:04.995Z","changelog":"例行版本更新 2026-09-22","fileCount":4,"zipByteSize":8644}]},"execution":{"evidence":{"source":"CLAWHUB","verified":false,"confidence":"low","updatedAt":null,"emptyReason":"No published capability contract is available yet."},"installCommand":"clawhub skill install s170j1ymymrxasgd00dsk7tckx84cf45:dlazy-wan2-7","setupComplexity":"low","setupSteps":["Install using `clawhub skill install s170j1ymymrxasgd00dsk7tckx84cf45:dlazy-wan2-7` in an isolated environment before connecting it to live workloads.","No published capability contract is available yet, so validate auth and request/response behavior manually.","Review the upstream CLAWHUB listing at https://clawhub.ai/dlazyai/dlazy-wan2-7 before using production credentials."],"contract":{"contractStatus":"missing","authModes":[],"requires":[],"forbidden":[],"supportsMcp":false,"supportsA2a":false,"supportsStreaming":false,"inputSchemaRef":null,"outputSchemaRef":null,"dataRegion":null,"contractUpdatedAt":null,"sourceUpdatedAt":null,"freshnessSeconds":null},"invocationGuide":{"preferredApi":{"snapshotUrl":"https://www.xpersona.co/api/v1/agents/clawhub-dlazyai-dlazy-wan2-7/snapshot","contractUrl":"https://www.xpersona.co/api/v1/agents/clawhub-dlazyai-dlazy-wan2-7/contract","trustUrl":"https://www.xpersona.co/api/v1/agents/clawhub-dlazyai-dlazy-wan2-7/trust"},"curlExamples":["curl -s \"https://www.xpersona.co/api/v1/agents/clawhub-dlazyai-dlazy-wan2-7/snapshot\"","curl -s \"https://www.xpersona.co/api/v1/agents/clawhub-dlazyai-dlazy-wan2-7/contract\"","curl -s \"https://www.xpersona.co/api/v1/agents/clawhub-dlazyai-dlazy-wan2-7/trust\""],"jsonRequestTemplate":{"query":"summarize this repo","constraints":{"maxLatencyMs":2000,"protocolPreference":["OPENCLEW"]}},"jsonResponseTemplate":{"ok":true,"result":{"summary":"...","confidence":0.9},"meta":{"source":"CLAWHUB","generatedAt":"2026-10-09T20:44:21.694Z"}},"retryPolicy":{"maxAttempts":3,"backoffMs":[500,1500,3500],"retryableConditions":["HTTP_429","HTTP_503","NETWORK_TIMEOUT"]}},"endpoints":{"dossierUrl":"https://www.xpersona.co/api/v1/agents/clawhub-dlazyai-dlazy-wan2-7/dossier","snapshotUrl":"https://www.xpersona.co/api/v1/agents/clawhub-dlazyai-dlazy-wan2-7/snapshot","contractUrl":"https://www.xpersona.co/api/v1/agents/clawhub-dlazyai-dlazy-wan2-7/contract","trustUrl":"https://www.xpersona.co/api/v1/agents/clawhub-dlazyai-dlazy-wan2-7/trust"}},"reliability":{"evidence":{"source":"runtime-metrics","verified":false,"confidence":"low","updatedAt":null,"emptyReason":"No trust, reliability, or runtime telemetry is available."},"trust":{"status":"unavailable","handshakeStatus":"UNKNOWN","verificationFreshnessHours":null,"reputationScore":null,"p95LatencyMs":null,"successRate30d":null,"fallbackRate":null,"attempts30d":null,"trustUpdatedAt":null,"trustConfidence":"unknown","sourceUpdatedAt":null,"freshnessSeconds":null},"decisionGuardrails":{"doNotUseIf":["Contract metadata is missing or unavailable for deterministic execution."],"safeUseWhen":[],"riskFlags":["missing_or_unavailable_contract","trust_data_unavailable","schema_references_missing"],"operationalConfidence":"low"},"executionMetrics":{"observedLatencyMsP50":null,"observedLatencyMsP95":null,"estimatedCostUsd":null,"uptime30d":null,"rateLimitRpm":null,"rateLimitBurst":null,"lastVerifiedAt":null,"verificationSource":null},"runtimeMetrics":{"successRate":null,"avgLatencyMs":null,"avgCostUsd":null,"hallucinationRate":null,"retryRate":null,"disputeRate":null,"p50Latency":null,"p95Latency":null,"lastUpdated":null}},"benchmarks":{"evidence":{"source":"no-benchmark-data","verified":false,"confidence":"low","updatedAt":null,"emptyReason":"No benchmark suites or observed failure patterns are available."},"suites":[],"failurePatterns":[]},"artifacts":{"evidence":{"source":"CLAWHUB","verified":false,"confidence":"medium","updatedAt":"2026-10-09T05:37:36.870Z","emptyReason":null},"readme":"Skill: 视频生成 通义万相 Wan 2.7\n\nOwner: dlazyai\n\nSummary: Tongyi Wanxiang 2.7 video model 鈥?one model covers text-to-video, first/last-frame-to-video, and reference-to-video.\n\nTags: latest:1.3.25\n\nVersion history:\n\nv1.3.25 | 2026-10-08T01:37:44.456Z | user\n\n例行版本更新 2026-10-08\n\nv1.3.24 | 2026-10-04T01:38:34.901Z | user\n\n例行版本更新 2026-10-04\n\nv1.3.23 | 2026-10-02T05:12:45.595Z | user\n\n例行版本更新 2026-10-02\n\nv1.3.22 | 2026-09-30T01:41:00.849Z | user\n\n例行版本更新 2026-09-30\n\nv1.3.21 | 2026-09-28T02:32:36.266Z | user\n\n例行版本更新 2026-09-28\n\nv1.3.20 | 2026-09-28T01:35:11.095Z | user\n\n例行版本更新 2026-09-28\n\nv1.3.19 | 2026-09-24T02:29:04.899Z | user\n\n例行版本更新 2026-09-24\n\nv1.3.18 | 2026-09-22T01:36:04.995Z | user\n\n例行版本更新 2026-09-22\n\nv1.3.17 | 2026-09-20T01:45:33.163Z | user\n\n例行版本更新 2026-09-20\n\nv1.3.16 | 2026-09-18T02:05:24.490Z | user\n\n例行版本更新 2026-09-18\n\nv1.3.15 | 2026-09-14T01:32:52.944Z | user\n\n例行版本更新 2026-09-14\n\nv1.3.14 | 2026-09-10T01:30:50.896Z | user\n\n例行版本更新 2026-09-10\n\nv1.3.13 | 2026-09-08T01:36:30.302Z | user\n\n例行版本更新 2026-09-08\n\nv1.3.12 | 2026-09-07T01:45:14.143Z | user\n\n例行版本更新 2026-09-07\n\nv1.3.11 | 2026-09-04T01:38:07.267Z | user\n\n例行版本更新 2026-09-04\n\nv1.3.10 | 2026-09-02T01:33:21.239Z | user\n\n例行版本更新 2026-09-02\n\nv1.3.9 | 2026-08-31T03:11:10.159Z | user\n\n源码仓库迁移至 github.com/dlazy-ai/cli\n\nv1.3.8 | 2026-08-24T09:49:36.966Z | user\n\nRestore Chinese display name\n\nv1.3.7 | 2026-08-17T09:25:59.567Z | user\n\nRestore Chinese display name\n\nv1.3.6 | 2026-08-10T06:05:33.973Z | user\n\nRestore Chinese display name\n\nv1.3.5 | 2026-08-10T04:23:00.883Z | user\n\nRestore Chinese display name\n\nv1.3.4 | 2026-07-21T02:49:17.671Z | auto\n\n- Upgraded the dLazy CLI dependency from version 1.2.2 to 1.2.3 in install instructions and metadata.\n- Removed the obsolete skill-card.md file.\n- Updated documentation to reflect the new CLI version for all install and usage examples.\n\nv1.3.3 | 2026-07-17T10:58:42.926Z | auto\n\n- Updated CLI dependency pin to @dlazy/cli@1.2.2 for improved compatibility.\n- Changed the recommended install commands to reference version 1.2.2 instead of latest.\n- Updated metadata to reflect the new CLI version pin.\n- Removed the file skill-card.md from the project.\n\nv1.2.2 | 2026-07-17T09:08:40.094Z | auto\n\n- Removed the auxiliary file skill-card.md.\n- No functional changes to the skill or documentation.\n\nv1.3.2 | 2026-07-09T02:03:12.894Z | user\n\nset Chinese display name for CN search\n\nv1.3.1 | 2026-07-09T02:02:48.846Z | user\n\nset Chinese display name for CN search\n\nv1.3.0 | 2026-07-07T20:06:13.444Z | auto\n\n- Version update to 1.3.0.\n- Documentation updates in both English and Chinese SKILL.md files.\n- No functional or CLI changes; content and instructions remain consistent with previous version.\n\nv1.2.1 | 2026-07-07T18:55:19.158Z | auto\n\n- Version bumped to 1.2.1.\n- Documentation updates in SKILL.md and SKILL-cn.md.\n- The file skill-card.md was removed.\n- No changes to usage, authentication, or CLI options.\n\nv1.2.0 | 2026-06-02T10:03:27.131Z | auto\n\n- Switched CLI install instructions from version 1.0.9 to latest (@dlazy/cli@latest) in documentation and metadata.\n- Updated output format example: changed \"modelId\" field from \"bailian-wan-2-7\" to \"wan2.7\".\n- Removed the file skill-card.md from the project.\n- Minor formatting and metadata updates.\n\nv1.1.2 | 2026-06-02T01:40:28.209Z | user\n\nUpdate model skills (names/params refreshed); add search-audio/image/video\n\nv1.1.1 | 2026-05-06T14:12:55.318Z | auto\n\n- Clarified option description for --generation_mode (now explains \"components\" and \"frames\" more clearly).\n- No changes to functionality or CLI parameters.\n- Documentation updated for greater clarity.\n\nv1.1.0 | 2026-05-01T07:56:02.315Z | auto\n\n- Improved authentication instructions: now recommends using the new device-code login flow (`dlazy login`), with manual API key option as alternative.\n- Updated output spec: modelId value changed from \"bailian-wan2_7\" to \"bailian-wan-2-7\".\n- General documentation refinements and clarity improvements across skill docs.\n\nv1.0.9 | 2026-04-30T10:22:31.612Z | user\n\nSync to CLI 1.0.9 with cliWarning support\n\nv1.0.5 | 2026-04-29T02:35:45.995Z | user\n\nbump @dlazy/cli to 1.0.8\n\nv1.0.4 | 2026-04-27T08:03:49.699Z | user\n\nReduce false-positive scanner alerts: drop 'plaintext' wording from API key storage docs; remove persistsApiKey/network metadata flags in favour of neutral configLocation/apiEndpoints; rewrite Data & Privacy section as factual How-It-Works description without alarming warnings; emphasise that keys can be rotated/revoked at any time from the dLazy dashboard.\n\nv1.0.3 | 2026-04-27T07:42:32.933Z | user\n\nAdd provenance metadata (homepage/source/author/npm), document API key storage location (~/.dlazy/config.json) and DLAZY_API_KEY env var alternative, add Data & Privacy section, recommend 'npx @dlazy/cli@1.0.6' install alternative, normalise Chinese auth-error instruction wording.\n\nv1.0.2 | 2026-04-24T04:08:57.876Z | auto\n\ndlazy-wan2-7 v1.0.2 Changelog\n\n- Updated language in authentication instructions to clarify that the agent should save the API key directly if provided by the user.\n- Minor language adjustments in instructions and agent guidance for improved clarity.\n- No changes to usage, output format, or error codes.\n\nv1.0.1 | 2026-04-24T03:35:21.715Z | auto\n\n- Added detailed authentication instructions, including how to obtain and set the API key.\n- Bumped CLI dependency from @dlazy/cli@1.0.5 to @dlazy/cli@1.0.6.\n- Minor documentation updates for clarity and improved onboarding.\n\nv1.0.0 | 2026-04-23T05:44:02.607Z | auto\n\nInitial release of dlazy-wan2.7 skill.\n\n- Supports Tongyi Wanxiang 2.7 video generation: text-to-video, first/last-frame-to-video, and reference-to-video.\n- Provides CLI usage instructions with flexible parameters (prompts, media input, output options).\n- Includes clear error code documentation and user guidance for API key and balance issues.\n- Offers sample commands and expected output format for easy adoption.\n\nArchive index:\n\nArchive v1.3.25: 4 files, 8497 bytes\n\nFiles: skill-card.md (2014b), SKILL-cn.md (7950b), SKILL.md (7919b), _meta.json (132b)\n\nFile v1.3.25:SKILL.md\n\n---\r\nname: dlazy-wan2.7\r\nversion: 1.3.4\r\ndescription: \"Tongyi Wanxiang 2.7 video model 鈥?one model covers text-to-video, first/last-frame-to-video, and reference-to-video.\"\r\nmetadata: {\"clawdbot\":{\"emoji\":\"🤖\",\"requires\":{\"bins\":[\"npm\",\"npx\"]},\"install\":\"npm install -g @dlazy/cli@1.2.3\",\"installAlternative\":\"npx @dlazy/cli@1.2.3\",\"homepage\":\"https://github.com/dlazy-ai/cli\",\"source\":\"https://github.com/dlazy-ai/cli\",\"author\":\"dlazyai\",\"license\":\"see-repo\",\"npm\":\"https://www.npmjs.com/package/@dlazy/cli\",\"configLocation\":\"~/.dlazy/config.json\",\"apiEndpoints\":[\"api.dlazy.com\",\"files.dlazy.com\"]},\"openclaw\":{\"systemPrompt\":\"When invoking this skill, use dlazy wan2.7 -h for help.\"}}\r\n---\r\n\r\n# 视频生成 通义万相 Wan 2.7\r\n\r\n[English](./SKILL.md) · [中文](./SKILL-cn.md)\r\n\r\n\r\nTongyi Wanxiang 2.7 video model. Covers text-to-video, first/last-frame-to-video, and reference-to-video.\r\n\r\n## Trigger Keywords\r\n\r\n- wan 2.7\r\n- video generation\r\n\r\n## Authentication\r\n\r\nAll requests require a dLazy API key. The recommended way to authenticate is:\r\n\r\n```bash\r\ndlazy login\r\n```\r\n\r\nThis runs a device-code flow (also works in remote shells) and **automatically saves your API key** to the local CLI config — no manual copy/paste required.\r\n\r\n### Alternative: Set the Key Manually\r\n\r\nIf you already have an API key, you can save it directly:\r\n\r\n```bash\r\ndlazy auth set YOUR_API_KEY\r\n```\r\n\r\nThe CLI saves the key in your user config directory (`~/.dlazy/config.json` on macOS/Linux, `%USERPROFILE%\\.dlazy\\config.json` on Windows), with file permissions restricted to your OS user account. You can also supply the key per-invocation via the `DLAZY_API_KEY` environment variable.\r\n\r\n### Getting Your API Key Manually\r\n\r\n1. Sign in or create an account at [dlazy.com](https://dlazy.com)\r\n2. Go to [dlazy.com/dashboard/organization/api-key](https://dlazy.com/dashboard/organization/api-key)\r\n3. Copy the key shown in the API Key section\r\n\r\nEach key is scoped to your dLazy organization and can be **rotated or revoked at any time** from the same dashboard.\r\n\r\n## About & Provenance\r\n\r\n- **CLI source code**: [github.com/dlazy-ai/cli](https://github.com/dlazy-ai/cli)\r\n- **Maintainer**: dlazyai\r\n- **npm package**: `@dlazy/cli` (pinned to `1.2.3` in this skill's install spec)\r\n- **Homepage**: [dlazy.com](https://dlazy.com)\r\n\r\nYou can install on demand without persisting a global binary by running:\r\n\r\n```bash\r\nnpx @dlazy/cli@1.2.3 <command>\r\n```\r\n\r\nOr, if you prefer a global install, the skill's `metadata.clawdbot.install` field declares the exact pinned version (`npm install -g @dlazy/cli@1.2.3`). Review the GitHub source before installing.\r\n\r\n## How It Works\r\n\r\nThis skill is a thin client over the dLazy hosted API. When you invoke it:\r\n\r\n- Prompts and parameters you provide are sent to the dLazy API endpoint (`api.dlazy.com`) for inference.\r\n- Any local file paths you pass to image / video / audio fields are uploaded to dLazy's media storage (`files.dlazy.com`) so the model can read them — the same flow as any cloud-based generation API.\r\n- Generated output URLs returned by the API are hosted on `files.dlazy.com`.\r\n\r\nThis is the standard SaaS pattern; the skill itself does not access network or filesystem resources beyond what the dLazy CLI already handles. See [dlazy.com](https://dlazy.com) for the full service terms.\r\n\r\n## Usage\r\n\r\n**CRITICAL INSTRUCTION FOR AGENT**:\r\nExecute `dlazy wan2.7` to get the result.\r\n\r\n```bash\r\ndlazy wan2.7 -h\r\n\r\nOptions:\r\n  --prompt [prompt]                    Prompt\r\n  --generation_mode [generation_mode]  Generation Mode（components=Components; frames=Frames） [default: components] (choices: \"components\", \"frames\")\r\n  --images [images...]                 Images [image: url or local path] (max 5) [only when !(generation_mode=\"frames\")]\r\n  --videos [videos...]                 Videos [video: url or local path] (max 5) [only when !(generation_mode=\"frames\")]\r\n  --firstFrame [firstFrame]            First Frame [image: url or local path] [only when generation_mode=\"frames\"]\r\n  --lastFrame [lastFrame]              Last Frame [image: url or local path] [only when generation_mode=\"frames\"]\r\n  --audio [audio]                      Audio [audio: url or local path]\r\n  --resolution [resolution]            Resolution [default: 720P] (choices: \"720P\", \"1080P\")\r\n  --duration [duration]                Duration (s) [default: 5] (choices: \"2\", \"3\", \"4\", \"5\", \"6\", \"7\", \"8\", \"9\", \"10\", \"11\", \"12\", \"13\", \"14\", \"15\")\r\n  --prompt_extend [prompt_extend]      Prompt Rewrite [default: true] (choices: \"true\", \"false\")\r\n  --dry-run                            Print payload + cost estimate without calling API\r\n  --no-wait                            Return generateId immediately for async tasks\r\n  --timeout <seconds>                  Max seconds to wait for async completion (default: \"1800\")\r\n  --save <path>                        Download the result asset to this local path (mkdir + retry handled for you)\r\n  -h, --help                           display help for command\r\n```\r\n\r\n> Any flag also accepts pipe references — `-` (auto-pick from upstream stdin), `@N` (n-th output), `@N.path` (jsonpath into output), `@*` (all primary values), `@stdin` / `@stdin:path` (whole envelope). See `dlazy --help` for details.\r\n\r\n## Output Format\r\n\r\n```json\r\n{\r\n  \"ok\": true,\r\n  \"result\": {\r\n    \"tool\": \"wan2.7\",\r\n    \"modelId\": \"bailian-wan-2-7\",\r\n    \"outputs\": [\r\n      {\r\n        \"type\": \"image\",\r\n        \"id\": \"o_xxxxxxxx\",\r\n        \"url\": \"https://files.dlazy.com/result.png\",\r\n        \"mimeType\": \"image/png\"\r\n      }\r\n    ]\r\n  }\r\n}\r\n```\r\n\r\n> Async tasks (when `--no-wait` is passed) return `outputs: []` and a `task: { generateId, status }` field instead. Use `dlazy status <generateId> --wait` to poll.\r\n\r\n## Examples\r\n\r\n```bash\r\ndlazy wan2.7 --prompt 'prompt content'\r\ndlazy wan2.7 --prompt 'prompt content' --images '/path/to/image.png'\r\n```\r\n\r\n## Error Handling\r\n\r\n| Code | Error Type                         | Example Message                                                                                                          |\r\n| ---- | ---------------------------------- | ------------------------------------------------------------------------------------------------------------------------ |\r\n| 401  | Unauthorized (No API Key)          | `ok: false, code: \"unauthorized\", message: \"API key is missing or invalid\"`                                                              |\r\n| 501  | Missing required parameter         | `error: required option '--prompt <prompt>' not specified`                                                              |\r\n| 502  | Local file read error              | `Error: Image file/Video file not found: C:\\path\\to\\your\\file`                                                          |\r\n| 503  | API request failed (no balance)    | `ok: false, code: \"insufficient_balance\"` |\r\n| 503  | API request failed (server error)  | `HTTP status code error (500 server crash)`                                                                             |\r\n| 504  | Asynchronous task execution failed | `=== Generation Failed ===` / `{Specific error reason returned by backend, for example \"Prompt violates safety policy\"}` |\r\n\r\n> **AGENT CRITICAL INSTRUCTION**: \r\n> 1. If the execution result returns `code: \"insufficient_balance\"`, you MUST explicitly inform the user that their credits are insufficient and guide them to recharge: [https://dlazy.com/dashboard/organization/settings?tab=credits](https://dlazy.com/dashboard/organization/settings?tab=credits)\r\n> 2. If the execution result returns `code: \"unauthorized\"` or indicates missing API key, you MUST inform the user to get their API key from [https://dlazy.com/dashboard/organization/api-key](https://dlazy.com/dashboard/organization/api-key) and save it using `dlazy auth set <key>` and resume the task.\r\n\r\n## Tips\r\n\r\nVisit https://dlazy.com for more information.\n\nFile v1.3.25:_meta.json\n\n{\n  \"ownerId\": \"kn7c5wgeajfcfvdfb5ceemvdb984cjpd\",\n  \"slug\": \"dlazy-wan2-7\",\n  \"version\": \"1.3.25\",\n  \"publishedAt\": 1791423464456\n}\n\nFile v1.3.25:skill-card.md\n\n## Description:\n\nHelps agents generate videos from text prompts, first and last frames, or reference media using Tongyi Wanxiang 2.7 through dLazy.\n\nThis skill is ready for commercial/non-commercial use.\n\n## Publisher:\n\n[dlazyai](https://clawhub.ai/user/dlazyai)\n\n### License/Terms of Use:\n\nMIT-0\n\n## Use Case:\n\nCreators and developers use this skill to request videos from text, reference media, or first and last frames via a dLazy account.\n\n### Deployment Geography for Use:\n\nGlobal\n\n## Known Risks and Mitigations:\n\nRisk: Installing a third-party npm CLI runs code outside the skill files.\n\nMitigation: Review the CLI source before installation and use the pinned npx command if a persistent global installation is unnecessary.\n\nRisk: Authentication can store a dLazy API key in local CLI configuration.\n\nMitigation: Protect the local configuration and rotate or remove the key when it is no longer needed.\n\nRisk: User-selected local media is uploaded to dLazy for generation.\n\nMitigation: Submit only media you are comfortable sharing with dLazy.\n\n## Reference(s):\n\n- [ClawHub skill listing](https://clawhub.ai/dlazyai/skills/dlazy-wan2-7)\n- [dLazy CLI source (linked in skill metadata; not verified release provenance)](https://github.com/dlazy-ai/cli)\n- [dLazy CLI npm package](https://www.npmjs.com/package/@dlazy/cli)\n- [dLazy service](https://dlazy.com)\n\n## Skill Output:\n\n**Output Type(s):** [Text, Shell commands, Guidance]\n\n**Output Format:** [Text with CLI commands and generated media links]\n\n**Output Parameters:** [1D]\n\n**Other Properties Related to Output:** [May include an asynchronous task ID or a link to generated media; results can optionally be downloaded.]\n\n## Skill Version(s):\n\n1.3.25 (source: server release metadata)\n\n## Ethical Considerations:\n\nUsers should evaluate whether this skill is appropriate for their environment, review any generated or modified files before relying on them, and apply their organization's safety, security, and compliance requirements before deployment.\n\nFile v1.3.25:SKILL-cn.md\n\n---\r\nname: dlazy-wan2.7\r\nversion: 1.3.4\r\ndescription: \"通义万相 2.7 视频模型 —— 单一模型支持文生视频、图生视频、首尾帧视频及参考图生成视频。\"\r\nmetadata: {\"clawdbot\":{\"emoji\":\"🤖\",\"requires\":{\"bins\":[\"npm\",\"npx\"]},\"install\":\"npm install -g @dlazy/cli@1.2.3\",\"installAlternative\":\"npx @dlazy/cli@1.2.3\",\"homepage\":\"https://github.com/dlazy-ai/cli\",\"source\":\"https://github.com/dlazy-ai/cli\",\"author\":\"dlazyai\",\"license\":\"see-repo\",\"npm\":\"https://www.npmjs.com/package/@dlazy/cli\",\"configLocation\":\"~/.dlazy/config.json\",\"apiEndpoints\":[\"api.dlazy.com\",\"files.dlazy.com\"]},\"openclaw\":{\"systemPrompt\":\"当调用此技能时，可以使用 dlazy wan2.7 -h 查看帮助信息。\"}}\r\n---\r\n\r\n# 视频生成 通义万相 Wan 2.7\r\n\r\n[English](./SKILL.md) · [中文](./SKILL-cn.md)\r\n\r\n\r\n通义万相 2.7 视频模型 —— 支持文生视频，首尾帧生视频，以及参考图/视频生视频。\r\n\r\n## 触发关键词\r\n\r\n- wan 2.7\r\n- 通义万相 2.7\r\n- 视频生成\r\n\r\n## 身份验证 (Authentication)\r\n\r\n所有请求都需要 dLazy API key。**推荐使用** `dlazy login` 完成登录：\r\n\r\n```bash\r\ndlazy login\r\n```\r\n\r\n该命令使用设备码流程（远程终端也可用），登录成功后 **自动把 API key 写入本地 CLI 配置**，无需手动复制粘贴。\r\n\r\n### 备选：手动设置 API Key\r\n\r\n如果你已有 API key，也可以直接保存：\r\n\r\n```bash\r\ndlazy auth set YOUR_API_KEY\r\n```\r\n\r\nCLI 会把 key 保存在你的用户配置目录（macOS/Linux 上为 `~/.dlazy/config.json`，Windows 上为 `%USERPROFILE%\\.dlazy\\config.json`），文件权限仅限当前操作系统用户访问。你也可以用 `DLAZY_API_KEY` 环境变量按次传入。\r\n\r\n### 手动获取 API Key\r\n\r\n1. 登录或在 [dlazy.com](https://dlazy.com) 创建账号\r\n2. 访问 [dlazy.com/dashboard/organization/api-key](https://dlazy.com/dashboard/organization/api-key)\r\n3. 复制 API Key 区域显示的密钥\r\n\r\n每个 key 都属于你自己的 dLazy 组织，可在同一控制面板**随时轮换或吊销**。\r\n\r\n## 关于与来源 (Provenance)\r\n\r\n- **CLI 源代码**: [github.com/dlazy-ai/cli](https://github.com/dlazy-ai/cli)\r\n- **维护者**: dlazyai\r\n- **npm 包名**: `@dlazy/cli`（本技能 install 字段固定到 `1.2.3` 版本）\r\n- **官网**: [dlazy.com](https://dlazy.com)\r\n\r\n如果你不希望在系统上长期保留一个全局 CLI，可以按需运行：\r\n\r\n```bash\r\nnpx @dlazy/cli@1.2.3 <command>\r\n```\r\n\r\n如选择全局安装，技能的 `metadata.clawdbot.install` 字段已固定到 `npm install -g @dlazy/cli@1.2.3`。安装前建议先到 GitHub 仓库审阅源码。\r\n\r\n## 工作原理\r\n\r\n此技能是 dLazy 托管 API 的轻量封装。调用时：\r\n\r\n- 你提供的提示词与参数会发送到 dLazy API（`api.dlazy.com`）进行推理。\r\n- 传入图像 / 视频 / 音频字段的本地文件路径会被 CLI 上传到 dLazy 媒体存储（`files.dlazy.com`），以便模型读取 —— 与任何云端生成 API 的流程一致。\r\n- API 返回的生成结果 URL 由 `files.dlazy.com` 托管。\r\n\r\n这是标准的 SaaS 调用模式；技能本身不会越权访问网络或文件系统，所有动作都由 dLazy CLI 完成。完整服务条款请参见 [dlazy.com](https://dlazy.com)。\r\n\r\n## 使用方法\r\n\r\n**CRITICAL INSTRUCTION FOR AGENT**:\r\n执行 `dlazy wan2.7` 命令获取结果。\r\n\r\n```bash\r\ndlazy wan2.7 -h\r\n\r\nOptions:\r\n  --prompt [prompt]                    提示词\r\n  --generation_mode [generation_mode]  生成模式（components=参考图; frames=首尾帧） [default: components] (choices: \"components\", \"frames\")\r\n  --images [images...]                 参考图 [image: url or local path] (max 5) [only when !(generation_mode=\"frames\")]\r\n  --videos [videos...]                 参考视频 [video: url or local path] (max 5) [only when !(generation_mode=\"frames\")]\r\n  --firstFrame [firstFrame]            首帧图 [image: url or local path] [only when generation_mode=\"frames\"]\r\n  --lastFrame [lastFrame]              尾帧图 [image: url or local path] [only when generation_mode=\"frames\"]\r\n  --audio [audio]                      音频 [audio: url or local path]\r\n  --resolution [resolution]            分辨率 [default: 720P] (choices: \"720P\", \"1080P\")\r\n  --duration [duration]                时长（秒） [default: 5] (choices: \"2\", \"3\", \"4\", \"5\", \"6\", \"7\", \"8\", \"9\", \"10\", \"11\", \"12\", \"13\", \"14\", \"15\")\r\n  --prompt_extend [prompt_extend]      智能改写 [default: true] (choices: \"true\", \"false\")\r\n  --dry-run                            Print payload + cost estimate without calling API\r\n  --no-wait                            Return generateId immediately for async tasks\r\n  --timeout <seconds>                  Max seconds to wait for async completion (default: \"1800\")\r\n  --save <path>                        Download the result asset to this local path (mkdir + retry handled for you)\r\n  -h, --help                           display help for command\r\n```\r\n\r\n> Any flag also accepts pipe references — `-` (auto-pick from upstream stdin), `@N` (n-th output), `@N.path` (jsonpath into output), `@*` (all primary values), `@stdin` / `@stdin:path` (whole envelope). See `dlazy --help` for details.\r\n\r\n## 输出格式\r\n\r\n```json\r\n{\r\n  \"ok\": true,\r\n  \"result\": {\r\n    \"tool\": \"wan2.7\",\r\n    \"modelId\": \"bailian-wan-2-7\",\r\n    \"outputs\": [\r\n      {\r\n        \"type\": \"image\",\r\n        \"id\": \"o_xxxxxxxx\",\r\n        \"url\": \"https://files.dlazy.com/result.png\",\r\n        \"mimeType\": \"image/png\"\r\n      }\r\n    ]\r\n  }\r\n}\r\n```\r\n\r\n> Async tasks (when `--no-wait` is passed) return `outputs: []` and a `task: { generateId, status }` field instead. Use `dlazy status <generateId> --wait` to poll.\r\n\r\n## 命令示例\r\n\r\n```bash\r\ndlazy wan2.7 --prompt '提示词内容'\r\ndlazy wan2.7 --prompt '提示词内容' --images '/path/to/image.png'\r\n```\r\n\r\n## 错误处理\r\n\r\n| Code | 错误类型                         | 示例信息                                                                                                                 |\r\n| ---- | -------------------------------- | ------------------------------------------------------------------------------------------------------------------------ |\r\n| 401  | 未授权 (API Key缺失或无效)       | `ok: false, code: \"unauthorized\", message: \"API key is missing or invalid\"`                                                              |\r\n| 501  | 缺少必填参数                     | `error: required option '--prompt <prompt>' not specified`                                                               |\r\n| 502  | 本地文件读取失败                 | `Error: Image file/Video file not found: C:\\path\\to\\your\\file`                                                           |\r\n| 503  | API 请求失败（余额不足）         | `ok: false, code: \"insufficient_balance\"` |\r\n| 503  | API 请求失败（服务端错误）       | `HTTP status code error (500 server crash)`                                                                              |\r\n| 504  | 异步任务执行失败                 | `=== Generation Failed ===` / `{后端返回的具体失败原因，比如 \"Prompt violates safety policy\"}`                             |\r\n\r\n> **智能体关键指令**: \r\n> 1. 如果执行结果返回 `code: \"insufficient_balance\"` 且提示余额不足（Insufficient balance），您必须明确告知用户当前积分不足，并引导用户点击以下链接前往充值：[https://dlazy.com/dashboard/organization/settings?tab=credits](https://dlazy.com/dashboard/organization/settings?tab=credits)\r\n> 2. 如果执行结果返回 `code: \"unauthorized\"` 或提示缺少 API Key，您必须明确告知用户前往 [https://dlazy.com/dashboard/organization/api-key](https://dlazy.com/dashboard/organization/api-key) 获取 API Key 并使用 `dlazy auth set <key>` 保存，然后继续执行任务。\r\n\r\n## Tips\r\n\r\nVisit https://dlazy.com for more information.\n\nArchive v1.3.24: 4 files, 8416 bytes\n\nFiles: skill-card.md (1805b), SKILL-cn.md (7950b), SKILL.md (7919b), _meta.json (132b)\n\nFile v1.3.24:SKILL.md\n\n---\r\nname: dlazy-wan2.7\r\nversion: 1.3.4\r\ndescription: \"Tongyi Wanxiang 2.7 video model 鈥?one model covers text-to-video, first/last-frame-to-video, and reference-to-video.\"\r\nmetadata: {\"clawdbot\":{\"emoji\":\"🤖\",\"requires\":{\"bins\":[\"npm\",\"npx\"]},\"install\":\"npm install -g @dlazy/cli@1.2.3\",\"installAlternative\":\"npx @dlazy/cli@1.2.3\",\"homepage\":\"https://github.com/dlazy-ai/cli\",\"source\":\"https://github.com/dlazy-ai/cli\",\"author\":\"dlazyai\",\"license\":\"see-repo\",\"npm\":\"https://www.npmjs.com/package/@dlazy/cli\",\"configLocation\":\"~/.dlazy/config.json\",\"apiEndpoints\":[\"api.dlazy.com\",\"files.dlazy.com\"]},\"openclaw\":{\"systemPrompt\":\"When invoking this skill, use dlazy wan2.7 -h for help.\"}}\r\n---\r\n\r\n# 视频生成 通义万相 Wan 2.7\r\n\r\n[English](./SKILL.md) · [中文](./SKILL-cn.md)\r\n\r\n\r\nTongyi Wanxiang 2.7 video model. Covers text-to-video, first/last-frame-to-video, and reference-to-video.\r\n\r\n## Trigger Keywords\r\n\r\n- wan 2.7\r\n- video generation\r\n\r\n## Authentication\r\n\r\nAll requests require a dLazy API key. The recommended way to authenticate is:\r\n\r\n```bash\r\ndlazy login\r\n```\r\n\r\nThis runs a device-code flow (also works in remote shells) and **automatically saves your API key** to the local CLI config — no manual copy/paste required.\r\n\r\n### Alternative: Set the Key Manually\r\n\r\nIf you already have an API key, you can save it directly:\r\n\r\n```bash\r\ndlazy auth set YOUR_API_KEY\r\n```\r\n\r\nThe CLI saves the key in your user config directory (`~/.dlazy/config.json` on macOS/Linux, `%USERPROFILE%\\.dlazy\\config.json` on Windows), with file permissions restricted to your OS user account. You can also supply the key per-invocation via the `DLAZY_API_KEY` environment variable.\r\n\r\n### Getting Your API Key Manually\r\n\r\n1. Sign in or create an account at [dlazy.com](https://dlazy.com)\r\n2. Go to [dlazy.com/dashboard/organization/api-key](https://dlazy.com/dashboard/organization/api-key)\r\n3. Copy the key shown in the API Key section\r\n\r\nEach key is scoped to your dLazy organization and can be **rotated or revoked at any time** from the same dashboard.\r\n\r\n## About & Provenance\r\n\r\n- **CLI source code**: [github.com/dlazy-ai/cli](https://github.com/dlazy-ai/cli)\r\n- **Maintainer**: dlazyai\r\n- **npm package**: `@dlazy/cli` (pinned to `1.2.3` in this skill's install spec)\r\n- **Homepage**: [dlazy.com](https://dlazy.com)\r\n\r\nYou can install on demand without persisting a global binary by running:\r\n\r\n```bash\r\nnpx @dlazy/cli@1.2.3 <command>\r\n```\r\n\r\nOr, if you prefer a global install, the skill's `metadata.clawdbot.install` field declares the exact pinned version (`npm install -g @dlazy/cli@1.2.3`). Review the GitHub source before installing.\r\n\r\n## How It Works\r\n\r\nThis skill is a thin client over the dLazy hosted API. When you invoke it:\r\n\r\n- Prompts and parameters you provide are sent to the dLazy API endpoint (`api.dlazy.com`) for inference.\r\n- Any local file paths you pass to image / video / audio fields are uploaded to dLazy's media storage (`files.dlazy.com`) so the model can read them — the same flow as any cloud-based generation API.\r\n- Generated output URLs returned by the API are hosted on `files.dlazy.com`.\r\n\r\nThis is the standard SaaS pattern; the skill itself does not access network or filesystem resources beyond what the dLazy CLI already handles. See [dlazy.com](https://dlazy.com) for the full service terms.\r\n\r\n## Usage\r\n\r\n**CRITICAL INSTRUCTION FOR AGENT**:\r\nExecute `dlazy wan2.7` to get the result.\r\n\r\n```bash\r\ndlazy wan2.7 -h\r\n\r\nOptions:\r\n  --prompt [prompt]                    Prompt\r\n  --generation_mode [generation_mode]  Generation Mode（components=Components; frames=Frames） [default: components] (choices: \"components\", \"frames\")\r\n  --images [images...]                 Images [image: url or local path] (max 5) [only when !(generation_mode=\"frames\")]\r\n  --videos [videos...]                 Videos [video: url or local path] (max 5) [only when !(generation_mode=\"frames\")]\r\n  --firstFrame [firstFrame]            First Frame [image: url or local path] [only when generation_mode=\"frames\"]\r\n  --lastFrame [lastFrame]              Last Frame [image: url or local path] [only when generation_mode=\"frames\"]\r\n  --audio [audio]                      Audio [audio: url or local path]\r\n  --resolution [resolution]            Resolution [default: 720P] (choices: \"720P\", \"1080P\")\r\n  --duration [duration]                Duration (s) [default: 5] (choices: \"2\", \"3\", \"4\", \"5\", \"6\", \"7\", \"8\", \"9\", \"10\", \"11\", \"12\", \"13\", \"14\", \"15\")\r\n  --prompt_extend [prompt_extend]      Prompt Rewrite [default: true] (choices: \"true\", \"false\")\r\n  --dry-run                            Print payload + cost estimate without calling API\r\n  --no-wait                            Return generateId immediately for async tasks\r\n  --timeout <seconds>                  Max seconds to wait for async completion (default: \"1800\")\r\n  --save <path>                        Download the result asset to this local path (mkdir + retry handled for you)\r\n  -h, --help                           display help for command\r\n```\r\n\r\n> Any flag also accepts pipe references — `-` (auto-pick from upstream stdin), `@N` (n-th output), `@N.path` (jsonpath into output), `@*` (all primary values), `@stdin` / `@stdin:path` (whole envelope). See `dlazy --help` for details.\r\n\r\n## Output Format\r\n\r\n```json\r\n{\r\n  \"ok\": true,\r\n  \"result\": {\r\n    \"tool\": \"wan2.7\",\r\n    \"modelId\": \"bailian-wan-2-7\",\r\n    \"outputs\": [\r\n      {\r\n        \"type\": \"image\",\r\n        \"id\": \"o_xxxxxxxx\",\r\n        \"url\": \"https://files.dlazy.com/result.png\",\r\n        \"mimeType\": \"image/png\"\r\n      }\r\n    ]\r\n  }\r\n}\r\n```\r\n\r\n> Async tasks (when `--no-wait` is passed) return `outputs: []` and a `task: { generateId, status }` field instead. Use `dlazy status <generateId> --wait` to poll.\r\n\r\n## Examples\r\n\r\n```bash\r\ndlazy wan2.7 --prompt 'prompt content'\r\ndlazy wan2.7 --prompt 'prompt content' --images '/path/to/image.png'\r\n```\r\n\r\n## Error Handling\r\n\r\n| Code | Error Type                         | Example Message                                                                                                          |\r\n| ---- | ---------------------------------- | ------------------------------------------------------------------------------------------------------------------------ |\r\n| 401  | Unauthorized (No API Key)          | `ok: false, code: \"unauthorized\", message: \"API key is missing or invalid\"`                                                              |\r\n| 501  | Missing required parameter         | `error: required option '--prompt <prompt>' not specified`                                                              |\r\n| 502  | Local file read error              | `Error: Image file/Video file not found: C:\\path\\to\\your\\file`                                                          |\r\n| 503  | API request failed (no balance)    | `ok: false, code: \"insufficient_balance\"` |\r\n| 503  | API request failed (server error)  | `HTTP status code error (500 server crash)`                                                                             |\r\n| 504  | Asynchronous task execution failed | `=== Generation Failed ===` / `{Specific error reason returned by backend, for example \"Prompt violates safety policy\"}` |\r\n\r\n> **AGENT CRITICAL INSTRUCTION**: \r\n> 1. If the execution result returns `code: \"insufficient_balance\"`, you MUST explicitly inform the user that their credits are insufficient and guide them to recharge: [https://dlazy.com/dashboard/organization/settings?tab=credits](https://dlazy.com/dashboard/organization/settings?tab=credits)\r\n> 2. If the execution result returns `code: \"unauthorized\"` or indicates missing API key, you MUST inform the user to get their API key from [https://dlazy.com/dashboard/organization/api-key](https://dlazy.com/dashboard/organization/api-key) and save it using `dlazy auth set <key>` and resume the task.\r\n\r\n## Tips\r\n\r\nVisit https://dlazy.com for more information.\n\nFile v1.3.24:_meta.json\n\n{\n  \"ownerId\": \"kn7c5wgeajfcfvdfb5ceemvdb984cjpd\",\n  \"slug\": \"dlazy-wan2-7\",\n  \"version\": \"1.3.24\",\n  \"publishedAt\": 1791077914901\n}\n\nFile v1.3.24:skill-card.md\n\n## Description:\n\nGuides agents in generating videos with Tongyi Wanxiang 2.7 from text, reference media, or first and last frames through dLazy.\n\nThis skill is ready for commercial/non-commercial use.\n\n## Publisher:\n\n[dlazyai](https://clawhub.ai/user/dlazyai)\n\n### License/Terms of Use:\n\nMIT-0\n\n## Use Case:\n\nCreators and developers use this skill to request cloud video generation from prompts, reference images or videos, and first or last frames.\n\n### Deployment Geography for Use:\n\nGlobal\n\n## Known Risks and Mitigations:\n\nRisk: Prompts and supplied media are sent to the third-party dLazy cloud service.\n\nMitigation: Only submit prompts and media you are comfortable sharing with dLazy.\n\nRisk: Logging in may save an API key in local CLI configuration.\n\nMitigation: Protect the local configuration and rotate or revoke the key if needed.\n\n## Reference(s):\n\n- [ClawHub skill listing](https://clawhub.ai/dlazyai/skills/dlazy-wan2-7)\n- [dLazy CLI repository (listed in skill metadata)](https://github.com/dlazy-ai/cli)\n- [dLazy CLI npm package](https://www.npmjs.com/package/@dlazy/cli)\n- [dLazy service](https://dlazy.com)\n\n## Skill Output:\n\n**Output Type(s):** [Guidance, Shell commands, Configuration instructions]\n\n**Output Format:** [Markdown with shell commands and links to generated media]\n\n**Output Parameters:** [1D]\n\n**Other Properties Related to Output:** [The CLI can return a media URL or an asynchronous task identifier.]\n\n## Skill Version(s):\n\n1.3.24 (source: ClawHub release metadata; artifact frontmatter lists 1.3.4)\n\n## Ethical Considerations:\n\nUsers should evaluate whether this skill is appropriate for their environment, review any generated or modified files before relying on them, and apply their organization's safety, security, and compliance requirements before deployment.\n\nFile v1.3.24:SKILL-cn.md\n\n---\r\nname: dlazy-wan2.7\r\nversion: 1.3.4\r\ndescription: \"通义万相 2.7 视频模型 —— 单一模型支持文生视频、图生视频、首尾帧视频及参考图生成视频。\"\r\nmetadata: {\"clawdbot\":{\"emoji\":\"🤖\",\"requires\":{\"bins\":[\"npm\",\"npx\"]},\"install\":\"npm install -g @dlazy/cli@1.2.3\",\"installAlternative\":\"npx @dlazy/cli@1.2.3\",\"homepage\":\"https://github.com/dlazy-ai/cli\",\"source\":\"https://github.com/dlazy-ai/cli\",\"author\":\"dlazyai\",\"license\":\"see-repo\",\"npm\":\"https://www.npmjs.com/package/@dlazy/cli\",\"configLocation\":\"~/.dlazy/config.json\",\"apiEndpoints\":[\"api.dlazy.com\",\"files.dlazy.com\"]},\"openclaw\":{\"systemPrompt\":\"当调用此技能时，可以使用 dlazy wan2.7 -h 查看帮助信息。\"}}\r\n---\r\n\r\n# 视频生成 通义万相 Wan 2.7\r\n\r\n[English](./SKILL.md) · [中文](./SKILL-cn.md)\r\n\r\n\r\n通义万相 2.7 视频模型 —— 支持文生视频，首尾帧生视频，以及参考图/视频生视频。\r\n\r\n## 触发关键词\r\n\r\n- wan 2.7\r\n- 通义万相 2.7\r\n- 视频生成\r\n\r\n## 身份验证 (Authentication)\r\n\r\n所有请求都需要 dLazy API key。**推荐使用** `dlazy login` 完成登录：\r\n\r\n```bash\r\ndlazy login\r\n```\r\n\r\n该命令使用设备码流程（远程终端也可用），登录成功后 **自动把 API key 写入本地 CLI 配置**，无需手动复制粘贴。\r\n\r\n### 备选：手动设置 API Key\r\n\r\n如果你已有 API key，也可以直接保存：\r\n\r\n```bash\r\ndlazy auth set YOUR_API_KEY\r\n```\r\n\r\nCLI 会把 key 保存在你的用户配置目录（macOS/Linux 上为 `~/.dlazy/config.json`，Windows 上为 `%USERPROFILE%\\.dlazy\\config.json`），文件权限仅限当前操作系统用户访问。你也可以用 `DLAZY_API_KEY` 环境变量按次传入。\r\n\r\n### 手动获取 API Key\r\n\r\n1. 登录或在 [dlazy.com](https://dlazy.com) 创建账号\r\n2. 访问 [dlazy.com/dashboard/organization/api-key](https://dlazy.com/dashboard/organization/api-key)\r\n3. 复制 API Key 区域显示的密钥\r\n\r\n每个 key 都属于你自己的 dLazy 组织，可在同一控制面板**随时轮换或吊销**。\r\n\r\n## 关于与来源 (Provenance)\r\n\r\n- **CLI 源代码**: [github.com/dlazy-ai/cli](https://github.com/dlazy-ai/cli)\r\n- **维护者**: dlazyai\r\n- **npm 包名**: `@dlazy/cli`（本技能 install 字段固定到 `1.2.3` 版本）\r\n- **官网**: [dlazy.com](https://dlazy.com)\r\n\r\n如果你不希望在系统上长期保留一个全局 CLI，可以按需运行：\r\n\r\n```bash\r\nnpx @dlazy/cli@1.2.3 <command>\r\n```\r\n\r\n如选择全局安装，技能的 `metadata.clawdbot.install` 字段已固定到 `npm install -g @dlazy/cli@1.2.3`。安装前建议先到 GitHub 仓库审阅源码。\r\n\r\n## 工作原理\r\n\r\n此技能是 dLazy 托管 API 的轻量封装。调用时：\r\n\r\n- 你提供的提示词与参数会发送到 dLazy API（`api.dlazy.com`）进行推理。\r\n- 传入图像 / 视频 / 音频字段的本地文件路径会被 CLI 上传到 dLazy 媒体存储（`files.dlazy.com`），以便模型读取 —— 与任何云端生成 API 的流程一致。\r\n- API 返回的生成结果 URL 由 `files.dlazy.com` 托管。\r\n\r\n这是标准的 SaaS 调用模式；技能本身不会越权访问网络或文件系统，所有动作都由 dLazy CLI 完成。完整服务条款请参见 [dlazy.com](https://dlazy.com)。\r\n\r\n## 使用方法\r\n\r\n**CRITICAL INSTRUCTION FOR AGENT**:\r\n执行 `dlazy wan2.7` 命令获取结果。\r\n\r\n```bash\r\ndlazy wan2.7 -h\r\n\r\nOptions:\r\n  --prompt [prompt]                    提示词\r\n  --generation_mode [generation_mode]  生成模式（components=参考图; frames=首尾帧） [default: components] (choices: \"components\", \"frames\")\r\n  --images [images...]                 参考图 [image: url or local path] (max 5) [only when !(generation_mode=\"frames\")]\r\n  --videos [videos...]                 参考视频 [video: url or local path] (max 5) [only when !(generation_mode=\"frames\")]\r\n  --firstFrame [firstFrame]            首帧图 [image: url or local path] [only when generation_mode=\"frames\"]\r\n  --lastFrame [lastFrame]              尾帧图 [image: url or local path] [only when generation_mode=\"frames\"]\r\n  --audio [audio]                      音频 [audio: url or local path]\r\n  --resolution [resolution]            分辨率 [default: 720P] (choices: \"720P\", \"1080P\")\r\n  --duration [duration]                时长（秒） [default: 5] (choices: \"2\", \"3\", \"4\", \"5\", \"6\", \"7\", \"8\", \"9\", \"10\", \"11\", \"12\", \"13\", \"14\", \"15\")\r\n  --prompt_extend [prompt_extend]      智能改写 [default: true] (choices: \"true\", \"false\")\r\n  --dry-run                            Print payload + cost estimate without calling API\r\n  --no-wait                            Return generateId immediately for async tasks\r\n  --timeout <seconds>                  Max seconds to wait for async completion (default: \"1800\")\r\n  --save <path>                        Download the result asset to this local path (mkdir + retry handled for you)\r\n  -h, --help                           display help for command\r\n```\r\n\r\n> Any flag also accepts pipe references — `-` (auto-pick from upstream stdin), `@N` (n-th output), `@N.path` (jsonpath into output), `@*` (all primary values), `@stdin` / `@stdin:path` (whole envelope). See `dlazy --help` for details.\r\n\r\n## 输出格式\r\n\r\n```json\r\n{\r\n  \"ok\": true,\r\n  \"result\": {\r\n    \"tool\": \"wan2.7\",\r\n    \"modelId\": \"bailian-wan-2-7\",\r\n    \"outputs\": [\r\n      {\r\n        \"type\": \"image\",\r\n        \"id\": \"o_xxxxxxxx\",\r\n        \"url\": \"https://files.dlazy.com/result.png\",\r\n        \"mimeType\": \"image/png\"\r\n      }\r\n    ]\r\n  }\r\n}\r\n```\r\n\r\n> Async tasks (when `--no-wait` is passed) return `outputs: []` and a `task: { generateId, status }` field instead. Use `dlazy status <generateId> --wait` to poll.\r\n\r\n## 命令示例\r\n\r\n```bash\r\ndlazy wan2.7 --prompt '提示词内容'\r\ndlazy wan2.7 --prompt '提示词内容' --images '/path/to/image.png'\r\n```\r\n\r\n## 错误处理\r\n\r\n| Code | 错误类型                         | 示例信息                                                                                                                 |\r\n| ---- | -------------------------------- | ------------------------------------------------------------------------------------------------------------------------ |\r\n| 401  | 未授权 (API Key缺失或无效)       | `ok: false, code: \"unauthorized\", message: \"API key is missing or invalid\"`                                                              |\r\n| 501  | 缺少必填参数                     | `error: required option '--prompt <prompt>' not specified`                                                               |\r\n| 502  | 本地文件读取失败                 | `Error: Image file/Video file not found: C:\\path\\to\\your\\file`                                                           |\r\n| 503  | API 请求失败（余额不足）         | `ok: false, code: \"insufficient_balance\"` |\r\n| 503  | API 请求失败（服务端错误）       | `HTTP status code error (500 server crash)`                                                                              |\r\n| 504  | 异步任务执行失败                 | `=== Generation Failed ===` / `{后端返回的具体失败原因，比如 \"Prompt violates safety policy\"}`                             |\r\n\r\n> **智能体关键指令**: \r\n> 1. 如果执行结果返回 `code: \"insufficient_balance\"` 且提示余额不足（Insufficient balance），您必须明确告知用户当前积分不足，并引导用户点击以下链接前往充值：[https://dlazy.com/dashboard/organization/settings?tab=credits](https://dlazy.com/dashboard/organization/settings?tab=credits)\r\n> 2. 如果执行结果返回 `code: \"unauthorized\"` 或提示缺少 API Key，您必须明确告知用户前往 [https://dlazy.com/dashboard/organization/api-key](https://dlazy.com/dashboard/organization/api-key) 获取 API Key 并使用 `dlazy auth set <key>` 保存，然后继续执行任务。\r\n\r\n## Tips\r\n\r\nVisit https://dlazy.com for more information.\n\nArchive v1.3.23: 4 files, 8426 bytes\n\nFiles: skill-card.md (1874b), SKILL-cn.md (7950b), SKILL.md (7919b), _meta.json (132b)\n\nFile v1.3.23:SKILL.md\n\n---\r\nname: dlazy-wan2.7\r\nversion: 1.3.4\r\ndescription: \"Tongyi Wanxiang 2.7 video model 鈥?one model covers text-to-video, first/last-frame-to-video, and reference-to-video.\"\r\nmetadata: {\"clawdbot\":{\"emoji\":\"🤖\",\"requires\":{\"bins\":[\"npm\",\"npx\"]},\"install\":\"npm install -g @dlazy/cli@1.2.3\",\"installAlternative\":\"npx @dlazy/cli@1.2.3\",\"homepage\":\"https://github.com/dlazy-ai/cli\",\"source\":\"https://github.com/dlazy-ai/cli\",\"author\":\"dlazyai\",\"license\":\"see-repo\",\"npm\":\"https://www.npmjs.com/package/@dlazy/cli\",\"configLocation\":\"~/.dlazy/config.json\",\"apiEndpoints\":[\"api.dlazy.com\",\"files.dlazy.com\"]},\"openclaw\":{\"systemPrompt\":\"When invoking this skill, use dlazy wan2.7 -h for help.\"}}\r\n---\r\n\r\n# 视频生成 通义万相 Wan 2.7\r\n\r\n[English](./SKILL.md) · [中文](./SKILL-cn.md)\r\n\r\n\r\nTongyi Wanxiang 2.7 video model. Covers text-to-video, first/last-frame-to-video, and reference-to-video.\r\n\r\n## Trigger Keywords\r\n\r\n- wan 2.7\r\n- video generation\r\n\r\n## Authentication\r\n\r\nAll requests require a dLazy API key. The recommended way to authenticate is:\r\n\r\n```bash\r\ndlazy login\r\n```\r\n\r\nThis runs a device-code flow (also works in remote shells) and **automatically saves your API key** to the local CLI config — no manual copy/paste required.\r\n\r\n### Alternative: Set the Key Manually\r\n\r\nIf you already have an API key, you can save it directly:\r\n\r\n```bash\r\ndlazy auth set YOUR_API_KEY\r\n```\r\n\r\nThe CLI saves the key in your user config directory (`~/.dlazy/config.json` on macOS/Linux, `%USERPROFILE%\\.dlazy\\config.json` on Windows), with file permissions restricted to your OS user account. You can also supply the key per-invocation via the `DLAZY_API_KEY` environment variable.\r\n\r\n### Getting Your API Key Manually\r\n\r\n1. Sign in or create an account at [dlazy.com](https://dlazy.com)\r\n2. Go to [dlazy.com/dashboard/organization/api-key](https://dlazy.com/dashboard/organization/api-key)\r\n3. Copy the key shown in the API Key section\r\n\r\nEach key is scoped to your dLazy organization and can be **rotated or revoked at any time** from the same dashboard.\r\n\r\n## About & Provenance\r\n\r\n- **CLI source code**: [github.com/dlazy-ai/cli](https://github.com/dlazy-ai/cli)\r\n- **Maintainer**: dlazyai\r\n- **npm package**: `@dlazy/cli` (pinned to `1.2.3` in this skill's install spec)\r\n- **Homepage**: [dlazy.com](https://dlazy.com)\r\n\r\nYou can install on demand without persisting a global binary by running:\r\n\r\n```bash\r\nnpx @dlazy/cli@1.2.3 <command>\r\n```\r\n\r\nOr, if you prefer a global install, the skill's `metadata.clawdbot.install` field declares the exact pinned version (`npm install -g @dlazy/cli@1.2.3`). Review the GitHub source before installing.\r\n\r\n## How It Works\r\n\r\nThis skill is a thin client over the dLazy hosted API. When you invoke it:\r\n\r\n- Prompts and parameters you provide are sent to the dLazy API endpoint (`api.dlazy.com`) for inference.\r\n- Any local file paths you pass to image / video / audio fields are uploaded to dLazy's media storage (`files.dlazy.com`) so the model can read them — the same flow as any cloud-based generation API.\r\n- Generated output URLs returned by the API are hosted on `files.dlazy.com`.\r\n\r\nThis is the standard SaaS pattern; the skill itself does not access network or filesystem resources beyond what the dLazy CLI already handles. See [dlazy.com](https://dlazy.com) for the full service terms.\r\n\r\n## Usage\r\n\r\n**CRITICAL INSTRUCTION FOR AGENT**:\r\nExecute `dlazy wan2.7` to get the result.\r\n\r\n```bash\r\ndlazy wan2.7 -h\r\n\r\nOptions:\r\n  --prompt [prompt]                    Prompt\r\n  --generation_mode [generation_mode]  Generation Mode（components=Components; frames=Frames） [default: components] (choices: \"components\", \"frames\")\r\n  --images [images...]                 Images [image: url or local path] (max 5) [only when !(generation_mode=\"frames\")]\r\n  --videos [videos...]                 Videos [video: url or local path] (max 5) [only when !(generation_mode=\"frames\")]\r\n  --firstFrame [firstFrame]            First Frame [image: url or local path] [only when generation_mode=\"frames\"]\r\n  --lastFrame [lastFrame]              Last Frame [image: url or local path] [only when generation_mode=\"frames\"]\r\n  --audio [audio]                      Audio [audio: url or local path]\r\n  --resolution [resolution]            Resolution [default: 720P] (choices: \"720P\", \"1080P\")\r\n  --duration [duration]                Duration (s) [default: 5] (choices: \"2\", \"3\", \"4\", \"5\", \"6\", \"7\", \"8\", \"9\", \"10\", \"11\", \"12\", \"13\", \"14\", \"15\")\r\n  --prompt_extend [prompt_extend]      Prompt Rewrite [default: true] (choices: \"true\", \"false\")\r\n  --dry-run                            Print payload + cost estimate without calling API\r\n  --no-wait                            Return generateId immediately for async tasks\r\n  --timeout <seconds>                  Max seconds to wait for async completion (default: \"1800\")\r\n  --save <path>                        Download the result asset to this local path (mkdir + retry handled for you)\r\n  -h, --help                           display help for command\r\n```\r\n\r\n> Any flag also accepts pipe references — `-` (auto-pick from upstream stdin), `@N` (n-th output), `@N.path` (jsonpath into output), `@*` (all primary values), `@stdin` / `@stdin:path` (whole envelope). See `dlazy --help` for details.\r\n\r\n## Output Format\r\n\r\n```json\r\n{\r\n  \"ok\": true,\r\n  \"result\": {\r\n    \"tool\": \"wan2.7\",\r\n    \"modelId\": \"bailian-wan-2-7\",\r\n    \"outputs\": [\r\n      {\r\n        \"type\": \"image\",\r\n        \"id\": \"o_xxxxxxxx\",\r\n        \"url\": \"https://files.dlazy.com/result.png\",\r\n        \"mimeType\": \"image/png\"\r\n      }\r\n    ]\r\n  }\r\n}\r\n```\r\n\r\n> Async tasks (when `--no-wait` is passed) return `outputs: []` and a `task: { generateId, status }` field instead. Use `dlazy status <generateId> --wait` to poll.\r\n\r\n## Examples\r\n\r\n```bash\r\ndlazy wan2.7 --prompt 'prompt content'\r\ndlazy wan2.7 --prompt 'prompt content' --images '/path/to/image.png'\r\n```\r\n\r\n## Error Handling\r\n\r\n| Code | Error Type                         | Example Message                                                                                                          |\r\n| ---- | ---------------------------------- | ------------------------------------------------------------------------------------------------------------------------ |\r\n| 401  | Unauthorized (No API Key)          | `ok: false, code: \"unauthorized\", message: \"API key is missing or invalid\"`                                                              |\r\n| 501  | Missing required parameter         | `error: required option '--prompt <prompt>' not specified`                                                              |\r\n| 502  | Local file read error              | `Error: Image file/Video file not found: C:\\path\\to\\your\\file`                                                          |\r\n| 503  | API request failed (no balance)    | `ok: false, code: \"insufficient_balance\"` |\r\n| 503  | API request failed (server error)  | `HTTP status code error (500 server crash)`                                                                             |\r\n| 504  | Asynchronous task execution failed | `=== Generation Failed ===` / `{Specific error reason returned by backend, for example \"Prompt violates safety policy\"}` |\r\n\r\n> **AGENT CRITICAL INSTRUCTION**: \r\n> 1. If the execution result returns `code: \"insufficient_balance\"`, you MUST explicitly inform the user that their credits are insufficient and guide them to recharge: [https://dlazy.com/dashboard/organization/settings?tab=credits](https://dlazy.com/dashboard/organization/settings?tab=credits)\r\n> 2. If the execution result returns `code: \"unauthorized\"` or indicates missing API key, you MUST inform the user to get their API key from [https://dlazy.com/dashboard/organization/api-key](https://dlazy.com/dashboard/organization/api-key) and save it using `dlazy auth set <key>` and resume the task.\r\n\r\n## Tips\r\n\r\nVisit https://dlazy.com for more information.\n\nFile v1.3.23:_meta.json\n\n{\n  \"ownerId\": \"kn7c5wgeajfcfvdfb5ceemvdb984cjpd\",\n  \"slug\": \"dlazy-wan2-7\",\n  \"version\": \"1.3.23\",\n  \"publishedAt\": 1790917965595\n}\n\nFile v1.3.23:skill-card.md\n\n## Description:\n\nHelps agents generate videos from text prompts, reference media, or first and last frames using the dLazy-hosted Wan 2.7 service.\n\nThis skill is ready for commercial/non-commercial use.\n\n## Publisher:\n\n[dlazyai](https://clawhub.ai/user/dlazyai)\n\n### License/Terms of Use:\n\nMIT-0\n\n## Use Case:\n\nCreators and developers use this skill to guide an agent in requesting video generation from prompts, reference images or videos, and first or last frames.\n\n### Deployment Geography for Use:\n\nGlobal\n\n## Known Risks and Mitigations:\n\nRisk: Prompts and supplied media are sent to dLazy-hosted services for generation.\n\nMitigation: Review prompts and media for sensitive content before submission.\n\nRisk: Using the service requires a dLazy API key.\n\nMitigation: Protect the key and rotate or revoke it in the dLazy dashboard if needed.\n\nRisk: A global CLI installation persists on the local system.\n\nMitigation: Use the documented npx option if a persistent global install is not wanted.\n\n## Reference(s):\n\n- [ClawHub skill page](https://clawhub.ai/dlazyai/skills/dlazy-wan2-7)\n- [dLazy CLI homepage (skill metadata)](https://github.com/dlazy-ai/cli)\n- [dLazy CLI npm package (skill metadata)](https://www.npmjs.com/package/@dlazy/cli)\n\n## Skill Output:\n\n**Output Type(s):** [Guidance, Shell commands, Configuration instructions]\n\n**Output Format:** [Markdown with bash commands]\n\n**Output Parameters:** [1D]\n\n**Other Properties Related to Output:** [Guides requests that return hosted generation results or an asynchronous task ID.]\n\n## Skill Version(s):\n\n1.3.23 (source: ClawHub release metadata)\n\n## Ethical Considerations:\n\nUsers should evaluate whether this skill is appropriate for their environment, review any generated or modified files before relying on them, and apply their organization's safety, security, and compliance requirements before deployment.\n\nFile v1.3.23:SKILL-cn.md\n\n---\r\nname: dlazy-wan2.7\r\nversion: 1.3.4\r\ndescription: \"通义万相 2.7 视频模型 —— 单一模型支持文生视频、图生视频、首尾帧视频及参考图生成视频。\"\r\nmetadata: {\"clawdbot\":{\"emoji\":\"🤖\",\"requires\":{\"bins\":[\"npm\",\"npx\"]},\"install\":\"npm install -g @dlazy/cli@1.2.3\",\"installAlternative\":\"npx @dlazy/cli@1.2.3\",\"homepage\":\"https://github.com/dlazy-ai/cli\",\"source\":\"https://github.com/dlazy-ai/cli\",\"author\":\"dlazyai\",\"license\":\"see-repo\",\"npm\":\"https://www.npmjs.com/package/@dlazy/cli\",\"configLocation\":\"~/.dlazy/config.json\",\"apiEndpoints\":[\"api.dlazy.com\",\"files.dlazy.com\"]},\"openclaw\":{\"systemPrompt\":\"当调用此技能时，可以使用 dlazy wan2.7 -h 查看帮助信息。\"}}\r\n---\r\n\r\n# 视频生成 通义万相 Wan 2.7\r\n\r\n[English](./SKILL.md) · [中文](./SKILL-cn.md)\r\n\r\n\r\n通义万相 2.7 视频模型 —— 支持文生视频，首尾帧生视频，以及参考图/视频生视频。\r\n\r\n## 触发关键词\r\n\r\n- wan 2.7\r\n- 通义万相 2.7\r\n- 视频生成\r\n\r\n## 身份验证 (Authentication)\r\n\r\n所有请求都需要 dLazy API key。**推荐使用** `dlazy login` 完成登录：\r\n\r\n```bash\r\ndlazy login\r\n```\r\n\r\n该命令使用设备码流程（远程终端也可用），登录成功后 **自动把 API key 写入本地 CLI 配置**，无需手动复制粘贴。\r\n\r\n### 备选：手动设置 API Key\r\n\r\n如果你已有 API key，也可以直接保存：\r\n\r\n```bash\r\ndlazy auth set YOUR_API_KEY\r\n```\r\n\r\nCLI 会把 key 保存在你的用户配置目录（macOS/Linux 上为 `~/.dlazy/config.json`，Windows 上为 `%USERPROFILE%\\.dlazy\\config.json`），文件权限仅限当前操作系统用户访问。你也可以用 `DLAZY_API_KEY` 环境变量按次传入。\r\n\r\n### 手动获取 API Key\r\n\r\n1. 登录或在 [dlazy.com](https://dlazy.com) 创建账号\r\n2. 访问 [dlazy.com/dashboard/organization/api-key](https://dlazy.com/dashboard/organization/api-key)\r\n3. 复制 API Key 区域显示的密钥\r\n\r\n每个 key 都属于你自己的 dLazy 组织，可在同一控制面板**随时轮换或吊销**。\r\n\r\n## 关于与来源 (Provenance)\r\n\r\n- **CLI 源代码**: [github.com/dlazy-ai/cli](https://github.com/dlazy-ai/cli)\r\n- **维护者**: dlazyai\r\n- **npm 包名**: `@dlazy/cli`（本技能 install 字段固定到 `1.2.3` 版本）\r\n- **官网**: [dlazy.com](https://dlazy.com)\r\n\r\n如果你不希望在系统上长期保留一个全局 CLI，可以按需运行：\r\n\r\n```bash\r\nnpx @dlazy/cli@1.2.3 <command>\r\n```\r\n\r\n如选择全局安装，技能的 `metadata.clawdbot.install` 字段已固定到 `npm install -g @dlazy/cli@1.2.3`。安装前建议先到 GitHub 仓库审阅源码。\r\n\r\n## 工作原理\r\n\r\n此技能是 dLazy 托管 API 的轻量封装。调用时：\r\n\r\n- 你提供的提示词与参数会发送到 dLazy API（`api.dlazy.com`）进行推理。\r\n- 传入图像 / 视频 / 音频字段的本地文件路径会被 CLI 上传到 dLazy 媒体存储（`files.dlazy.com`），以便模型读取 —— 与任何云端生成 API 的流程一致。\r\n- API 返回的生成结果 URL 由 `files.dlazy.com` 托管。\r\n\r\n这是标准的 SaaS 调用模式；技能本身不会越权访问网络或文件系统，所有动作都由 dLazy CLI 完成。完整服务条款请参见 [dlazy.com](https://dlazy.com)。\r\n\r\n## 使用方法\r\n\r\n**CRITICAL INSTRUCTION FOR AGENT**:\r\n执行 `dlazy wan2.7` 命令获取结果。\r\n\r\n```bash\r\ndlazy wan2.7 -h\r\n\r\nOptions:\r\n  --prompt [prompt]                    提示词\r\n  --generation_mode [generation_mode]  生成模式（components=参考图; frames=首尾帧） [default: components] (choices: \"components\", \"frames\")\r\n  --images [images...]                 参考图 [image: url or local path] (max 5) [only when !(generation_mode=\"frames\")]\r\n  --videos [videos...]                 参考视频 [video: url or local path] (max 5) [only when !(generation_mode=\"frames\")]\r\n  --firstFrame [firstFrame]            首帧图 [image: url or local path] [only when generation_mode=\"frames\"]\r\n  --lastFrame [lastFrame]              尾帧图 [image: url or local path] [only when generation_mode=\"frames\"]\r\n  --audio [audio]                      音频 [audio: url or local path]\r\n  --resolution [resolution]            分辨率 [default: 720P] (choices: \"720P\", \"1080P\")\r\n  --duration [duration]                时长（秒） [default: 5] (choices: \"2\", \"3\", \"4\", \"5\", \"6\", \"7\", \"8\", \"9\", \"10\", \"11\", \"12\", \"13\", \"14\", \"15\")\r\n  --prompt_extend [prompt_extend]      智能改写 [default: true] (choices: \"true\", \"false\")\r\n  --dry-run                            Print payload + cost estimate without calling API\r\n  --no-wait                            Return generateId immediately for async tasks\r\n  --timeout <seconds>                  Max seconds to wait for async completion (default: \"1800\")\r\n  --save <path>                        Download the result asset to this local path (mkdir + retry handled for you)\r\n  -h, --help                           display help for command\r\n```\r\n\r\n> Any flag also accepts pipe references — `-` (auto-pick from upstream stdin), `@N` (n-th output), `@N.path` (jsonpath into output), `@*` (all primary values), `@stdin` / `@stdin:path` (whole envelope). See `dlazy --help` for details.\r\n\r\n## 输出格式\r\n\r\n```json\r\n{\r\n  \"ok\": true,\r\n  \"result\": {\r\n    \"tool\": \"wan2.7\",\r\n    \"modelId\": \"bailian-wan-2-7\",\r\n    \"outputs\": [\r\n      {\r\n        \"type\": \"image\",\r\n        \"id\": \"o_xxxxxxxx\",\r\n        \"url\": \"https://files.dlazy.com/result.png\",\r\n        \"mimeType\": \"image/png\"\r\n      }\r\n    ]\r\n  }\r\n}\r\n```\r\n\r\n> Async tasks (when `--no-wait` is passed) return `outputs: []` and a `task: { generateId, status }` field instead. Use `dlazy status <generateId> --wait` to poll.\r\n\r\n## 命令示例\r\n\r\n```bash\r\ndlazy wan2.7 --prompt '提示词内容'\r\ndlazy wan2.7 --prompt '提示词内容' --images '/path/to/image.png'\r\n```\r\n\r\n## 错误处理\r\n\r\n| Code | 错误类型                         | 示例信息                                                                                                                 |\r\n| ---- | -------------------------------- | ------------------------------------------------------------------------------------------------------------------------ |\r\n| 401  | 未授权 (API Key缺失或无效)       | `ok: false, code: \"unauthorized\", message: \"API key is missing or invalid\"`                                                              |\r\n| 501  | 缺少必填参数                     | `error: required option '--prompt <prompt>' not specified`                                                               |\r\n| 502  | 本地文件读取失败                 | `Error: Image file/Video file not found: C:\\path\\to\\your\\file`                                                           |\r\n| 503  | API 请求失败（余额不足）         | `ok: false, code: \"insufficient_balance\"` |\r\n| 503  | API 请求失败（服务端错误）       | `HTTP status code error (500 server crash)`                                                                              |\r\n| 504  | 异步任务执行失败                 | `=== Generation Failed ===` / `{后端返回的具体失败原因，比如 \"Prompt violates safety policy\"}`                             |\r\n\r\n> **智能体关键指令**: \r\n> 1. 如果执行结果返回 `code: \"insufficient_balance\"` 且提示余额不足（Insufficient balance），您必须明确告知用户当前积分不足，并引导用户点击以下链接前往充值：[https://dlazy.com/dashboard/organization/settings?tab=credits](https://dlazy.com/dashboard/organization/settings?tab=credits)\r\n> 2. 如果执行结果返回 `code: \"unauthorized\"` 或提示缺少 API Key，您必须明确告知用户前往 [https://dlazy.com/dashboard/organization/api-key](https://dlazy.com/dashboard/organization/api-key) 获取 API Key 并使用 `dlazy auth set <key>` 保存，然后继续执行任务。\r\n\r\n## Tips\r\n\r\nVisit https://dlazy.com for more information.\n\nArchive v1.3.22: 4 files, 8421 bytes\n\nFiles: skill-card.md (1832b), SKILL-cn.md (7950b), SKILL.md (7919b), _meta.json (132b)\n\nFile v1.3.22:SKILL.md\n\n---\r\nname: dlazy-wan2.7\r\nversion: 1.3.4\r\ndescription: \"Tongyi Wanxiang 2.7 video model 鈥?one model covers text-to-video, first/last-frame-to-video, and reference-to-video.\"\r\nmetadata: {\"clawdbot\":{\"emoji\":\"🤖\",\"requires\":{\"bins\":[\"npm\",\"npx\"]},\"install\":\"npm install -g @dlazy/cli@1.2.3\",\"installAlternative\":\"npx @dlazy/cli@1.2.3\",\"homepage\":\"https://github.com/dlazy-ai/cli\",\"source\":\"https://github.com/dlazy-ai/cli\",\"author\":\"dlazyai\",\"license\":\"see-repo\",\"npm\":\"https://www.npmjs.com/package/@dlazy/cli\",\"configLocation\":\"~/.dlazy/config.json\",\"apiEndpoints\":[\"api.dlazy.com\",\"files.dlazy.com\"]},\"openclaw\":{\"systemPrompt\":\"When invoking this skill, use dlazy wan2.7 -h for help.\"}}\r\n---\r\n\r\n# 视频生成 通义万相 Wan 2.7\r\n\r\n[English](./SKILL.md) · [中文](./SKILL-cn.md)\r\n\r\n\r\nTongyi Wanxiang 2.7 video model. Covers text-to-video, first/last-frame-to-video, and reference-to-video.\r\n\r\n## Trigger Keywords\r\n\r\n- wan 2.7\r\n- video generation\r\n\r\n## Authentication\r\n\r\nAll requests require a dLazy API key. The recommended way to authenticate is:\r\n\r\n```bash\r\ndlazy login\r\n```\r\n\r\nThis runs a device-code flow (also works in remote shells) and **automatically saves your API key** to the local CLI config — no manual copy/paste required.\r\n\r\n### Alternative: Set the Key Manually\r\n\r\nIf you already have an API key, you can save it directly:\r\n\r\n```bash\r\ndlazy auth set YOUR_API_KEY\r\n```\r\n\r\nThe CLI saves the key in your user config directory (`~/.dlazy/config.json` on macOS/Linux, `%USERPROFILE%\\.dlazy\\config.json` on Windows), with file permissions restricted to your OS user account. You can also supply the key per-invocation via the `DLAZY_API_KEY` environment variable.\r\n\r\n### Getting Your API Key Manually\r\n\r\n1. Sign in or create an account at [dlazy.com](https://dlazy.com)\r\n2. Go to [dlazy.com/dashboard/organization/api-key](https://dlazy.com/dashboard/organization/api-key)\r\n3. Copy the key shown in the API Key section\r\n\r\nEach key is scoped to your dLazy organization and can be **rotated or revoked at any time** from the same dashboard.\r\n\r\n## About & Provenance\r\n\r\n- **CLI source code**: [github.com/dlazy-ai/cli](https://github.com/dlazy-ai/cli)\r\n- **Maintainer**: dlazyai\r\n- **npm package**: `@dlazy/cli` (pinned to `1.2.3` in this skill's install spec)\r\n- **Homepage**: [dlazy.com](https://dlazy.com)\r\n\r\nYou can install on demand without persisting a global binary by running:\r\n\r\n```bash\r\nnpx @dlazy/cli@1.2.3 <command>\r\n```\r\n\r\nOr, if you prefer a global install, the skill's `metadata.clawdbot.install` field declares the exact pinned version (`npm install -g @dlazy/cli@1.2.3`). Review the GitHub source before installing.\r\n\r\n## How It Works\r\n\r\nThis skill is a thin client over the dLazy hosted API. When you invoke it:\r\n\r\n- Prompts and parameters you provide are sent to the dLazy API endpoint (`api.dlazy.com`) for inference.\r\n- Any local file paths you pass to image / video / audio fields are uploaded to dLazy's media storage (`files.dlazy.com`) so the model can read them — the same flow as any cloud-based generation API.\r\n- Generated output URLs returned by the API are hosted on `files.dlazy.com`.\r\n\r\nThis is the standard SaaS pattern; the skill itself does not access network or filesystem resources beyond what the dLazy CLI already handles. See [dlazy.com](https://dlazy.com) for the full service terms.\r\n\r\n## Usage\r\n\r\n**CRITICAL INSTRUCTION FOR AGENT**:\r\nExecute `dlazy wan2.7` to get the result.\r\n\r\n```bash\r\ndlazy wan2.7 -h\r\n\r\nOptions:\r\n  --prompt [prompt]                    Prompt\r\n  --generation_mode [generation_mode]  Generation Mode（components=Components; frames=Frames） [default: components] (choices: \"components\", \"frames\")\r\n  --images [images...]                 Images [image: url or local path] (max 5) [only when !(generation_mode=\"frames\")]\r\n  --videos [videos...]                 Videos [video: url or local path] (max 5) [only when !(generation_mode=\"frames\")]\r\n  --firstFrame [firstFrame]            First Frame [image: url or local path] [only when generation_mode=\"frames\"]\r\n  --lastFrame [lastFrame]              Last Frame [image: url or local path] [only when generation_mode=\"frames\"]\r\n  --audio [audio]                      Audio [audio: url or local path]\r\n  --resolution [resolution]            Resolution [default: 720P] (choices: \"720P\", \"1080P\")\r\n  --duration [duration]                Duration (s) [default: 5] (choices: \"2\", \"3\", \"4\", \"5\", \"6\", \"7\", \"8\", \"9\", \"10\", \"11\", \"12\", \"13\", \"14\", \"15\")\r\n  --prompt_extend [prompt_extend]      Prompt Rewrite [default: true] (choices: \"true\", \"false\")\r\n  --dry-run                            Print payload + cost estimate without calling API\r\n  --no-wait                            Return generateId immediately for async tasks\r\n  --timeout <seconds>                  Max seconds to wait for async completion (default: \"1800\")\r\n  --save <path>                        Download the result asset to this local path (mkdir + retry handled for you)\r\n  -h, --help                           display help for command\r\n```\r\n\r\n> Any flag also accepts pipe references — `-` (auto-pick from upstream stdin), `@N` (n-th output), `@N.path` (jsonpath into output), `@*` (all primary values), `@stdin` / `@stdin:path` (whole envelope). See `dlazy --help` for details.\r\n\r\n## Output Format\r\n\r\n```json\r\n{\r\n  \"ok\": true,\r\n  \"result\": {\r\n    \"tool\": \"wan2.7\",\r\n    \"modelId\": \"bailian-wan-2-7\",\r\n    \"outputs\": [\r\n      {\r\n        \"type\": \"image\",\r\n        \"id\": \"o_xxxxxxxx\",\r\n        \"url\": \"https://files.dlazy.com/result.png\",\r\n        \"mimeType\": \"image/png\"\r\n      }\r\n    ]\r\n  }\r\n}\r\n```\r\n\r\n> Async tasks (when `--no-wait` is passed) return `outputs: []` and a `task: { generateId, status }` field instead. Use `dlazy status <generateId> --wait` to poll.\r\n\r\n## Examples\r\n\r\n```bash\r\ndlazy wan2.7 --prompt 'prompt content'\r\ndlazy wan2.7 --prompt 'prompt content' --images '/path/to/image.png'\r\n```\r\n\r\n## Error Handling\r\n\r\n| Code | Error Type                         | Example Message                                                                                                          |\r\n| ---- | ---------------------------------- | ------------------------------------------------------------------------------------------------------------------------ |\r\n| 401  | Unauthorized (No API Key)          | `ok: false, code: \"unauthorized\", message: \"API key is missing or invalid\"`                                                              |\r\n| 501  | Missing required parameter         | `error: required option '--prompt <prompt>' not specified`                                                              |\r\n| 502  | Local file read error              | `Error: Image file/Video file not found: C:\\path\\to\\your\\file`                                                          |\r\n| 503  | API request failed (no balance)    | `ok: false, code: \"insufficient_balance\"` |\r\n| 503  | API request failed (server error)  | `HTTP status code error (500 server crash)`                                                                             |\r\n| 504  | Asynchronous task execution failed | `=== Generation Failed ===` / `{Specific error reason returned by backend, for example \"Prompt violates safety policy\"}` |\r\n\r\n> **AGENT CRITICAL INSTRUCTION**: \r\n> 1. If the execution result returns `code: \"insufficient_balance\"`, you MUST explicitly inform the user that their credits are insufficient and guide them to recharge: [https://dlazy.com/dashboard/organization/settings?tab=credits](https://dlazy.com/dashboard/organization/settings?tab=credits)\r\n> 2. If the execution result returns `code: \"unauthorized\"` or indicates missing API key, you MUST inform the user to get their API key from [https://dlazy.com/dashboard/organization/api-key](https://dlazy.com/dashboard/organization/api-key) and save it using `dlazy auth set <key>` and resume the task.\r\n\r\n## Tips\r\n\r\nVisit https://dlazy.com for more information.\n\nFile v1.3.22:_meta.json\n\n{\n  \"ownerId\": \"kn7c5wgeajfcfvdfb5ceemvdb984cjpd\",\n  \"slug\": \"dlazy-wan2-7\",\n  \"version\": \"1.3.22\",\n  \"publishedAt\": 1790732460849\n}\n\nFile v1.3.22:skill-card.md\n\n## Description:\n\nGuides agents in generating videos from text prompts, reference media, or first and last frames using Tongyi Wanxiang 2.7 through dLazy.\n\nThis skill is ready for commercial/non-commercial use.\n\n## Publisher:\n\n[dlazyai](https://clawhub.ai/user/dlazyai)\n\n### License/Terms of Use:\n\nMIT-0\n\n## Use Case:\n\nCreators and developers use this skill to request short videos from text, reference images or videos, and first and last frames through the dLazy service.\n\n### Deployment Geography for Use:\n\nGlobal\n\n## Known Risks and Mitigations:\n\nRisk: Private reference media may be uploaded to dLazy's service.\n\nMitigation: Only provide media you are comfortable sharing with dLazy.\n\nRisk: The CLI requires an API key and makes network requests.\n\nMitigation: Confirm you trust the dLazy CLI and service before installing, and use an API key you can rotate or revoke.\n\n## Reference(s):\n\n- [ClawHub skill page](https://clawhub.ai/dlazyai/skills/dlazy-wan2-7)\n- [dLazy CLI repository (listed in skill metadata)](https://github.com/dlazy-ai/cli)\n- [dLazy CLI npm package](https://www.npmjs.com/package/@dlazy/cli)\n- [dLazy service](https://dlazy.com)\n\n## Skill Output:\n\n**Output Type(s):** [Shell commands, Guidance]\n\n**Output Format:** [Markdown with shell commands and descriptions of JSON results]\n\n**Output Parameters:** [1D]\n\n**Other Properties Related to Output:** [CLI results include hosted output URLs; asynchronous requests may return a task ID instead.]\n\n## Skill Version(s):\n\n1.3.22 (source: ClawHub release metadata; artifact frontmatter lists 1.3.4)\n\n## Ethical Considerations:\n\nUsers should evaluate whether this skill is appropriate for their environment, review any generated or modified files before relying on them, and apply their organization's safety, security, and compliance requirements before deployment.\n\nFile v1.3.22:SKILL-cn.md\n\n---\r\nname: dlazy-wan2.7\r\nversion: 1.3.4\r\ndescription: \"通义万相 2.7 视频模型 —— 单一模型支持文生视频、图生视频、首尾帧视频及参考图生成视频。\"\r\nmetadata: {\"clawdbot\":{\"emoji\":\"🤖\",\"requires\":{\"bins\":[\"npm\",\"npx\"]},\"install\":\"npm install -g @dlazy/cli@1.2.3\",\"installAlternative\":\"npx @dlazy/cli@1.2.3\",\"homepage\":\"https://github.com/dlazy-ai/cli\",\"source\":\"https://github.com/dlazy-ai/cli\",\"author\":\"dlazyai\",\"license\":\"see-repo\",\"npm\":\"https://www.npmjs.com/package/@dlazy/cli\",\"configLocation\":\"~/.dlazy/config.json\",\"apiEndpoints\":[\"api.dlazy.com\",\"files.dlazy.com\"]},\"openclaw\":{\"systemPrompt\":\"当调用此技能时，可以使用 dlazy wan2.7 -h 查看帮助信息。\"}}\r\n---\r\n\r\n# 视频生成 通义万相 Wan 2.7\r\n\r\n[English](./SKILL.md) · [中文](./SKILL-cn.md)\r\n\r\n\r\n通义万相 2.7 视频模型 —— 支持文生视频，首尾帧生视频，以及参考图/视频生视频。\r\n\r\n## 触发关键词\r\n\r\n- wan 2.7\r\n- 通义万相 2.7\r\n- 视频生成\r\n\r\n## 身份验证 (Authentication)\r\n\r\n所有请求都需要 dLazy API key。**推荐使用** `dlazy login` 完成登录：\r\n\r\n```bash\r\ndlazy login\r\n```\r\n\r\n该命令使用设备码流程（远程终端也可用），登录成功后 **自动把 API key 写入本地 CLI 配置**，无需手动复制粘贴。\r\n\r\n### 备选：手动设置 API Key\r\n\r\n如果你已有 API key，也可以直接保存：\r\n\r\n```bash\r\ndlazy auth set YOUR_API_KEY\r\n```\r\n\r\nCLI 会把 key 保存在你的用户配置目录（macOS/Linux 上为 `~/.dlazy/config.json`，Windows 上为 `%USERPROFILE%\\.dlazy\\config.json`），文件权限仅限当前操作系统用户访问。你也可以用 `DLAZY_API_KEY` 环境变量按次传入。\r\n\r\n### 手动获取 API Key\r\n\r\n1. 登录或在 [dlazy.com](https://dlazy.com) 创建账号\r\n2. 访问 [dlazy.com/dashboard/organization/api-key](https://dlazy.com/dashboard/organization/api-key)\r\n3. 复制 API Key 区域显示的密钥\r\n\r\n每个 key 都属于你自己的 dLazy 组织，可在同一控制面板**随时轮换或吊销**。\r\n\r\n## 关于与来源 (Provenance)\r\n\r\n- **CLI 源代码**: [github.com/dlazy-ai/cli](https://github.com/dlazy-ai/cli)\r\n- **维护者**: dlazyai\r\n- **npm 包名**: `@dlazy/cli`（本技能 install 字段固定到 `1.2.3` 版本）\r\n- **官网**: [dlazy.com](https://dlazy.com)\r\n\r\n如果你不希望在系统上长期保留一个全局 CLI，可以按需运行：\r\n\r\n```bash\r\nnpx @dlazy/cli@1.2.3 <command>\r\n```\r\n\r\n如选择全局安装，技能的 `metadata.clawdbot.install` 字段已固定到 `npm install -g @dlazy/cli@1.2.3`。安装前建议先到 GitHub 仓库审阅源码。\r\n\r\n## 工作原理\r\n\r\n此技能是 dLazy 托管 API 的轻量封装。调用时：\r\n\r\n- 你提供的提示词与参数会发送到 dLazy API（`api.dlazy.com`）进行推理。\r\n- 传入图像 / 视频 / 音频字段的本地文件路径会被 CLI 上传到 dLazy 媒体存储（`files.dlazy.com`），以便模型读取 —— 与任何云端生成 API 的流程一致。\r\n- API 返回的生成结果 URL 由 `files.dlazy.com` 托管。\r\n\r\n这是标准的 SaaS 调用模式；技能本身不会越权访问网络或文件系统，所有动作都由 dLazy CLI 完成。完整服务条款请参见 [dlazy.com](https://dlazy.com)。\r\n\r\n## 使用方法\r\n\r\n**CRITICAL INSTRUCTION FOR AGENT**:\r\n执行 `dlazy wan2.7` 命令获取结果。\r\n\r\n```bash\r\ndlazy wan2.7 -h\r\n\r\nOptions:\r\n  --prompt [prompt]                    提示词\r\n  --generation_mode [generation_mode]  生成模式（components=参考图; frames=首尾帧） [default: components] (choices: \"components\", \"frames\")\r\n  --images [images...]                 参考图 [image: url or local path] (max 5) [only when !(generation_mode=\"frames\")]\r\n  --videos [videos...]                 参考视频 [video: url or local path] (max 5) [only when !(generation_mode=\"frames\")]\r\n  --firstFrame [firstFrame]            首帧图 [image: url or local path] [only when generation_mode=\"frames\"]\r\n  --lastFrame [lastFrame]              尾帧图 [image: url or local path] [only when generation_mode=\"frames\"]\r\n  --audio [audio]                      音频 [audio: url or local path]\r\n  --resolution [resolution]            分辨率 [default: 720P] (choices: \"720P\", \"1080P\")\r\n  --duration [duration]                时长（秒） [default: 5] (choices: \"2\", \"3\", \"4\", \"5\", \"6\", \"7\", \"8\", \"9\", \"10\", \"11\", \"12\", \"13\", \"14\", \"15\")\r\n  --prompt_extend [prompt_extend]      智能改写 [default: true] (choices: \"true\", \"false\")\r\n  --dry-run                            Print payload + cost estimate without calling API\r\n  --no-wait                            Return generateId immediately for async tasks\r\n  --timeout <seconds>                  Max seconds to wait for async completion (default: \"1800\")\r\n  --save <path>                        Download the result asset to this local path (mkdir + retry handled for you)\r\n  -h, --help                           display help for command\r\n```\r\n\r\n> Any flag also accepts pipe references — `-` (auto-pick from upstream stdin), `@N` (n-th output), `@N.path` (jsonpath into output), `@*` (all primary values), `@stdin` / `@stdin:path` (whole envelope). See `dlazy --help` for details.\r\n\r\n## 输出格式\r\n\r\n```json\r\n{\r\n  \"ok\": true,\r\n  \"result\": {\r\n    \"tool\": \"wan2.7\",\r\n    \"modelId\": \"bailian-wan-2-7\",\r\n    \"outputs\": [\r\n      {\r\n        \"type\": \"image\",\r\n        \"id\": \"o_xxxxxxxx\",\r\n        \"url\": \"https://files.dlazy.com/result.png\",\r\n        \"mimeType\": \"image/png\"\r\n      }\r\n    ]\r\n  }\r\n}\r\n```\r\n\r\n> Async tasks (when `--no-wait` is passed) return `outputs: []` and a `task: { generateId, status }` field instead. Use `dlazy status <generateId> --wait` to poll.\r\n\r\n## 命令示例\r\n\r\n```bash\r\ndlazy wan2.7 --prompt '提示词内容'\r\ndlazy wan2.7 --prompt '提示词内容' --images '/path/to/image.png'\r\n```\r\n\r\n## 错误处理\r\n\r\n| Code | 错误类型                         | 示例信息                                                                                                                 |\r\n| ---- | -------------------------------- | ------------------------------------------------------------------------------------------------------------------------ |\r\n| 401  | 未授权 (API Key缺失或无效)       | `ok: false, code: \"unauthorized\", message: \"API key is missing or invalid\"`                                                              |\r\n| 501  | 缺少必填参数                     | `error: required option '--prompt <prompt>' not specified`                                                               |\r\n| 502  | 本地文件读取失败                 | `Error: Image file/Video file not found: C:\\path\\to\\your\\file`                                                           |\r\n| 503  | API 请求失败（余额不足）         | `ok: false, code: \"insufficient_balance\"` |\r\n| 503  | API 请求失败（服务端错误）       | `HTTP status code error (500 server crash)`                                                                              |\r\n| 504  | 异步任务执行失败                 | `=== Generation Failed ===` / `{后端返回的具体失败原因，比如 \"Prompt violates safety policy\"}`                             |\r\n\r\n> **智能体关键指令**: \r\n> 1. 如果执行结果返回 `code: \"insufficient_balance\"` 且提示余额不足（Insufficient balance），您必须明确告知用户当前积分不足，并引导用户点击以下链接前往充值：[https://dlazy.com/dashboard/organization/settings?tab=credits](https://dlazy.com/dashboard/organization/settings?tab=credits)\r\n> 2. 如果执行结果返回 `code: \"unauthorized\"` 或提示缺少 API Key，您必须明确告知用户前往 [https://dlazy.com/dashboard/organization/api-key](https://dlazy.com/dashboard/organization/api-key) 获取 API Key 并使用 `dlazy auth set <key>` 保存，然后继续执行任务。\r\n\r\n## Tips\r\n\r\nVisit https://dlazy.com for more information.\n\nArchive v1.3.21: 4 files, 8413 bytes\n\nFiles: skill-card.md (1778b), SKILL-cn.md (7950b), SKILL.md (7919b), _meta.json (132b)\n\nFile v1.3.21:SKILL.md\n\n---\r\nname: dlazy-wan2.7\r\nversion: 1.3.4\r\ndescription: \"Tongyi Wanxiang 2.7 video model 鈥?one model covers text-to-video, first/last-frame-to-video, and reference-to-video.\"\r\nmetadata: {\"clawdbot\":{\"emoji\":\"🤖\",\"requires\":{\"bins\":[\"npm\",\"npx\"]},\"install\":\"npm install -g @dlazy/cli@1.2.3\",\"installAlternative\":\"npx @dlazy/cli@1.2.3\",\"homepage\":\"https://github.com/dlazy-ai/cli\",\"source\":\"https://github.com/dlazy-ai/cli\",\"author\":\"dlazyai\",\"license\":\"see-repo\",\"npm\":\"https://www.npmjs.com/package/@dlazy/cli\",\"configLocation\":\"~/.dlazy/config.json\",\"apiEndpoints\":[\"api.dlazy.com\",\"files.dlazy.com\"]},\"openclaw\":{\"systemPrompt\":\"When invoking this skill, use dlazy wan2.7 -h for help.\"}}\r\n---\r\n\r\n# 视频生成 通义万相 Wan 2.7\r\n\r\n[English](./SKILL.md) · [中文](./SKILL-cn.md)\r\n\r\n\r\nTongyi Wanxiang 2.7 video model. Covers text-to-video, first/last-frame-to-video, and reference-to-video.\r\n\r\n## Trigger Keywords\r\n\r\n- wan 2.7\r\n- video generation\r\n\r\n## Authentication\r\n\r\nAll requests require a dLazy API key. The recommended way to authenticate is:\r\n\r\n```bash\r\ndlazy login\r\n```\r\n\r\nThis runs a device-code flow (also works in remote shells) and **automatically saves your API key** to the local CLI config — no manual copy/paste required.\r\n\r\n### Alternative: Set the Key Manually\r\n\r\nIf you already have an API key, you can save it directly:\r\n\r\n```bash\r\ndlazy auth set YOUR_API_KEY\r\n```\r\n\r\nThe CLI saves the key in your user config directory (`~/.dlazy/config.json` on macOS/Linux, `%USERPROFILE%\\.dlazy\\config.json` on Windows), with file permissions restricted to your OS user account. You can also supply the key per-invocation via the `DLAZY_API_KEY` environment variable.\r\n\r\n### Getting Your API Key Manually\r\n\r\n1. Sign in or create an account at [dlazy.com](https://dlazy.com)\r\n2. Go to [dlazy.com/dashboard/organization/api-key](https://dlazy.com/dashboard/organization/api-key)\r\n3. Copy the key shown in the API Key section\r\n\r\nEach key is scoped to your dLazy organization and can be **rotated or revoked at any time** from the same dashboard.\r\n\r\n## About & Provenance\r\n\r\n- **CLI source code**: [github.com/dlazy-ai/cli](https://github.com/dlazy-ai/cli)\r\n- **Maintainer**: dlazyai\r\n- **npm package**: `@dlazy/cli` (pinned to `1.2.3` in this skill's install spec)\r\n- **Homepage**: [dlazy.com](https://dlazy.com)\r\n\r\nYou can install on demand without persisting a global binary by running:\r\n\r\n```bash\r\nnpx @dlazy/cli@1.2.3 <command>\r\n```\r\n\r\nOr, if you prefer a global install, the skill's `metadata.clawdbot.install` field declares the exact pinned version (`npm install -g @dlazy/cli@1.2.3`). Review the GitHub source before installing.\r\n\r\n## How It Works\r\n\r\nThis skill is a thin client over the dLazy hosted API. When you invoke it:\r\n\r\n- Prompts and parameters you provide are sent to the dLazy API endpoint (`api.dlazy.com`) for inference.\r\n- Any local file paths you pass to image / video / audio fields are uploaded to dLazy's media storage (`files.dlazy.com`) so the model can read them — the same flow as any cloud-based generation API.\r\n- Generated output URLs returned by the API are hosted on `files.dlazy.com`.\r\n\r\nThis is the standard SaaS pattern; the skill itself does not access network or filesystem resources beyond what the dLazy CLI already handles. See [dlazy.com](https://dlazy.com) for the full service terms.\r\n\r\n## Usage\r\n\r\n**CRITICAL INSTRUCTION FOR AGENT**:\r\nExecute `dlazy wan2.7` to get the result.\r\n\r\n```bash\r\ndlazy wan2.7 -h\r\n\r\nOptions:\r\n  --prompt [prompt]                    Prompt\r\n  --generation_mode [generation_mode]  Generation Mode（components=Components; frames=Frames） [default: components] (choices: \"components\", \"frames\")\r\n  --images [images...]                 Images [image: url or local path] (max 5) [only when !(generation_mode=\"frames\")]\r\n  --videos [videos...]                 Videos [video: url or local path] (max 5) [only when !(generation_mode=\"frames\")]\r\n  --firstFrame [firstFrame]            First Frame [image: url or local path] [only when generation_mode=\"frames\"]\r\n  --lastFrame [lastFrame]              Last Frame [image: url or local path] [only when generation_mode=\"frames\"]\r\n  --audio [audio]                      Audio [audio: url or local path]\r\n  --resolution [resolution]            Resolution [default: 720P] (choices: \"720P\", \"1080P\")\r\n  --duration [duration]                Duration (s) [default: 5] (choices: \"2\", \"3\", \"4\", \"5\", \"6\", \"7\", \"8\", \"9\", \"10\", \"11\", \"12\", \"13\", \"14\", \"15\")\r\n  --prompt_extend [prompt_extend]      Prompt Rewrite [default: true] (choices: \"true\", \"false\")\r\n  --dry-run                            Print payload + cost estimate without calling API\r\n  --no-wait                            Return generateId immediately for async tasks\r\n  --timeout <seconds>                  Max seconds to wait for async completion (default: \"1800\")\r\n  --save <path>                        Download the result asset to this local path (mkdir + retry handled for you)\r\n  -h, --help                           display help for command\r\n```\r\n\r\n> Any flag also accepts pipe references — `-` (auto-pick from upstream stdin), `@N` (n-th output), `@N.path` (jsonpath into output), `@*` (all primary values), `@stdin` / `@stdin:path` (whole envelope). See `dlazy --help` for details.\r\n\r\n## Output Format\r\n\r\n```json\r\n{\r\n  \"ok\": true,\r\n  \"result\": {\r\n    \"tool\": \"wan2.7\",\r\n    \"modelId\": \"bailian-wan-2-7\",\r\n    \"outputs\": [\r\n      {\r\n        \"type\": \"image\",\r\n        \"id\": \"o_xxxxxxxx\",\r\n        \"url\": \"https://files.dlazy.com/result.png\",\r\n        \"mimeType\": \"image/png\"\r\n      }\r\n    ]\r\n  }\r\n}\r\n```\r\n\r\n> Async tasks (when `--no-wait` is passed) return `outputs: []` and a `task: { generateId, status }` field instead. Use `dlazy status <generateId> --wait` to poll.\r\n\r\n## Examples\r\n\r\n```bash\r\ndlazy wan2.7 --prompt 'prompt content'\r\ndlazy wan2.7 --prompt 'prompt content' --images '/path/to/image.png'\r\n```\r\n\r\n## Error Handling\r\n\r\n| Code | Error Type                         | Example Message                                                                                                          |\r\n| ---- | ---------------------------------- | ------------------------------------------------------------------------------------------------------------------------ |\r\n| 401  | Unauthorized (No API Key)          | `ok: false, code: \"unauthorized\", message: \"API key is missing or invalid\"`                                                              |\r\n| 501  | Missing required parameter         | `error: required option '--prompt <prompt>' not specified`                                                              |\r\n| 502  | Local file read error              | `Error: Image file/Video file not found: C:\\path\\to\\your\\file`                                                          |\r\n| 503  | API request failed (no balance)    | `ok: false, code: \"insufficient_balance\"` |\r\n| 503  | API request failed (server error)  | `HTTP status code error (500 server crash)`                                                                             |\r\n| 504  | Asynchronous task execution failed | `=== Generation Failed ===` / `{Specific error reason returned by backend, for example \"Prompt violates safety policy\"}` |\r\n\r\n> **AGENT CRITICAL INSTRUCTION**: \r\n> 1. If the execution result returns `code: \"insufficient_balance\"`, you MUST explicitly inform the user that their credits are insufficient and guide them to recharge: [https://dlazy.com/dashboard/organization/settings?tab=credits](https://dlazy.com/dashboard/organization/settings?tab=credits)\r\n> 2. If the execution result returns `code: \"unauthorized\"` or indicates missing API key, you MUST inform the user to get their API key from [https://dlazy.com/dashboard/organization/api-key](https://dlazy.com/dashboard/organization/api-key) and save it using `dlazy auth set <key>` and resume the task.\r\n\r\n## Tips\r\n\r\nVisit https://dlazy.com for more information.\n\nFile v1.3.21:_meta.json\n\n{\n  \"ownerId\": \"kn7c5wgeajfcfvdfb5ceemvdb984cjpd\",\n  \"slug\": \"dlazy-wan2-7\",\n  \"version\": \"1.3.21\",\n  \"publishedAt\": 1790562756266\n}\n\nFile v1.3.21:skill-card.md\n\n## Description:\n\nHelps agents generate videos from text, reference media, or first and last frames using Tongyi Wanxiang 2.7 through dLazy.\n\nThis skill is ready for commercial/non-commercial use.\n\n## Publisher:\n\n[dlazyai](https://clawhub.ai/user/dlazyai)\n\n### License/Terms of Use:\n\nMIT-0\n\n## Use Case:\n\nCreators and developers use this skill to guide an agent in submitting text and selected media for cloud video generation and retrieving the resulting asset or asynchronous task status.\n\n### Deployment Geography for Use:\n\nGlobal\n\n## Known Risks and Mitigations:\n\nRisk: Prompts and selected media are sent to dLazy cloud services.\n\nMitigation: Only submit prompts and media you intend to share with dLazy.\n\nRisk: The workflow requires a dLazy API key that may be stored locally.\n\nMitigation: Protect the key and rotate or revoke it through the dLazy dashboard if needed.\n\n## Reference(s):\n\n- [ClawHub skill release](https://clawhub.ai/dlazyai/skills/dlazy-wan2-7)\n- [dLazy CLI repository](https://github.com/dlazy-ai/cli)\n- [dLazy CLI npm package](https://www.npmjs.com/package/@dlazy/cli)\n- [dLazy service](https://dlazy.com)\n\n## Skill Output:\n\n**Output Type(s):** [Guidance, Shell commands]\n\n**Output Format:** [Markdown with shell commands; the CLI returns JSON containing hosted asset URLs or an asynchronous task ID.]\n\n**Output Parameters:** [1D]\n\n**Other Properties Related to Output:** [Optional local download of the generated asset.]\n\n## Skill Version(s):\n\n1.3.21 (source: ClawHub release metadata)\n\n## Ethical Considerations:\n\nUsers should evaluate whether this skill is appropriate for their environment, review any generated or modified files before relying on them, and apply their organization's safety, security, and compliance requirements before deployment.\n\nFile v1.3.21:SKILL-cn.md\n\n---\r\nname: dlazy-wan2.7\r\nversion: 1.3.4\r\ndescription: \"通义万相 2.7 视频模型 —— 单一模型支持文生视频、图生视频、首尾帧视频及参考图生成视频。\"\r\nmetadata: {\"clawdbot\":{\"emoji\":\"🤖\",\"requires\":{\"bins\":[\"npm\",\"npx\"]},\"install\":\"npm install -g @dlazy/cli@1.2.3\",\"installAlternative\":\"npx @dlazy/cli@1.2.3\",\"homepage\":\"https://github.com/dlazy-ai/cli\",\"source\":\"https://github.com/dlazy-ai/cli\",\"author\":\"dlazyai\",\"license\":\"see-repo\",\"npm\":\"https://www.npmjs.com/package/@dlazy/cli\",\"configLocation\":\"~/.dlazy/config.json\",\"apiEndpoints\":[\"api.dlazy.com\",\"files.dlazy.com\"]},\"openclaw\":{\"systemPrompt\":\"当调用此技能时，可以使用 dlazy wan2.7 -h 查看帮助信息。\"}}\r\n---\r\n\r\n# 视频生成 通义万相 Wan 2.7\r\n\r\n[English](./SKILL.md) · [中文](./SKILL-cn.md)\r\n\r\n\r\n通义万相 2.7 视频模型 —— 支持文生视频，首尾帧生视频，以及参考图/视频生视频。\r\n\r\n## 触发关键词\r\n\r\n- wan 2.7\r\n- 通义万相 2.7\r\n- 视频生成\r\n\r\n## 身份验证 (Authentication)\r\n\r\n所有请求都需要 dLazy API key。**推荐使用** `dlazy login` 完成登录：\r\n\r\n```bash\r\ndlazy login\r\n```\r\n\r\n该命令使用设备码流程（远程终端也可用），登录成功后 **自动把 API key 写入本地 CLI 配置**，无需手动复制粘贴。\r\n\r\n### 备选：手动设置 API Key\r\n\r\n如果你已有 API key，也可以直接保存：\r\n\r\n```bash\r\ndlazy auth set YOUR_API_KEY\r\n```\r\n\r\nCLI 会把 key 保存在你的用户配置目录（macOS/Linux 上为 `~/.dlazy/config.json`，Windows 上为 `%USERPROFILE%\\.dlazy\\config.json`），文件权限仅限当前操作系统用户访问。你也可以用 `DLAZY_API_KEY` 环境变量按次传入。\r\n\r\n### 手动获取 API Key\r\n\r\n1. 登录或在 [dlazy.com](https://dlazy.com) 创建账号\r\n2. 访问 [dlazy.com/dashboard/organization/api-key](https://dlazy.com/dashboard/organization/api-key)\r\n3. 复制 API Key 区域显示的密钥\r\n\r\n每个 key 都属于你自己的 dLazy 组织，可在同一控制面板**随时轮换或吊销**。\r\n\r\n## 关于与来源 (Provenance)\r\n\r\n- **CLI 源代码**: [github.com/dlazy-ai/cli](https://github.com/dlazy-ai/cli)\r\n- **维护者**: dlazyai\r\n- **npm 包名**: `@dlazy/cli`（本技能 install 字段固定到 `1.2.3` 版本）\r\n- **官网**: [dlazy.com](https://dlazy.com)\r\n\r\n如果你不希望在系统上长期保留一个全局 CLI，可以按需运行：\r\n\r\n```bash\r\nnpx @dlazy/cli@1.2.3 <command>\r\n```\r\n\r\n如选择全局安装，技能的 `metadata.clawdbot.install` 字段已固定到 `npm install -g @dlazy/cli@1.2.3`。安装前建议先到 GitHub 仓库审阅源码。\r\n\r\n## 工作原理\r\n\r\n此技能是 dLazy 托管 API 的轻量封装。调用时：\r\n\r\n- 你提供的提示词与参数会发送到 dLazy API（`api.dlazy.com`）进行推理。\r\n- 传入图像 / 视频 / 音频字段的本地文件路径会被 CLI 上传到 dLazy 媒体存储（`files.dlazy.com`），以便模型读取 —— 与任何云端生成 API 的流程一致。\r\n- API 返回的生成结果 URL 由 `files.dlazy.com` 托管。\r\n\r\n这是标准的 SaaS 调用模式；技能本身不会越权访问网络或文件系统，所有动作都由 dLazy CLI 完成。完整服务条款请参见 [dlazy.com](https://dlazy.com)。\r\n\r\n## 使用方法\r\n\r\n**CRITICAL INSTRUCTION FOR AGENT**:\r\n执行 `dlazy wan2.7` 命令获取结果。\r\n\r\n```bash\r\ndlazy wan2.7 -h\r\n\r\nOptions:\r\n  --prompt [prompt]                    提示词\r\n  --generation_mode [generation_mode]  生成模式（components=参考图; frames=首尾帧） [default: components] (choices: \"components\", \"frames\")\r\n  --images [images...]                 参考图 [image: url or local path] (max 5) [only when !(generation_mode=\"frames\")]\r\n  --videos [videos...]                 参考视频 [video: url or local path] (max 5) [only when !(generation_mode=\"frames\")]\r\n  --firstFrame [firstFrame]            首帧图 [image: url or local path] [only when generation_mode=\"frames\"]\r\n  --lastFrame [lastFrame]              尾帧图 [image: url or local path] [only when generation_mode=\"frames\"]\r\n  --audio [audio]                      音频 [audio: url or local path]\r\n  --resolution [resolution]            分辨率 [default: 720P] (choices: \"720P\", \"1080P\")\r\n  --duration [duration]                时长（秒） [default: 5] (choices: \"2\", \"3\", \"4\", \"5\", \"6\", \"7\", \"8\", \"9\", \"10\", \"11\", \"12\", \"13\", \"14\", \"15\")\r\n  --prompt_extend [prompt_extend]      智能改写 [default: true] (choices: \"true\", \"false\")\r\n  --dry-run                            Print payload + cost estimate without calling API\r\n  --no-wait                            Return generateId immediately for async tasks\r\n  --timeout <seconds>                  Max seconds to wait for async completion (default: \"1800\")\r\n  --save <path>                        Download the result asset to this local path (mkdir + retry handled for you)\r\n  -h, --help                           display help for command\r\n```\r\n\r\n> Any flag also accepts pipe references — `-` (auto-pick from upstream stdin), `@N` (n-th output), `@N.path` (jsonpath into output), `@*` (all primary values), `@stdin` / `@stdin:path` (whole envelope). See `dlazy --help` for details.\r\n\r\n## 输出格式\r\n\r\n```json\r\n{\r\n  \"ok\": true,\r\n  \"result\": {\r\n    \"tool\": \"wan2.7\",\r\n    \"modelId\": \"bailian-wan-2-7\",\r\n    \"outputs\": [\r\n      {\r\n        \"type\": \"image\",\r\n        \"id\": \"o_xxxxxxxx\",\r\n        \"url\": \"https://files.dlazy.com/result.png\",\r\n        \"mimeType\": \"image/png\"\r\n      }\r\n    ]\r\n  }\r\n}\r\n```\r\n\r\n> Async tasks (when `--no-wait` is passed) return `outputs: []` and a `task: { generateId, status }` field instead. Use `dlazy status <generateId> --wait` to poll.\r\n\r\n## 命令示例\r\n\r\n```bash\r\ndlazy wan2.7 --prompt '提示词内容'\r\ndlazy wan2.7 --prompt '提示词内容' --images '/path/to/image.png'\r\n```\r\n\r\n## 错误处理\r\n\r\n| Code | 错误类型                         | 示例信息                                                                                                                 |\r\n| ---- | -------------------------------- | ------------------------------------------------------------------------------------------------------------------------ |\r\n| 401  | 未授权 (API Key缺失或无效)       | `ok: false, code: \"unauthorized\", message: \"API key is missing or invalid\"`                                                              |\r\n| 501  | 缺少必填参数                     | `error: required option '--prompt <prompt>' not specified`                                                               |\r\n| 502  | 本地文件读取失败                 | `Error: Image file/Video file not found: C:\\path\\to\\your\\file`                                                           |\r\n| 503  | API 请求失败（余额不足）         | `ok: false, code: \"insufficient_balance\"` |\r\n| 503  | API 请求失败（服务端错误）       | `HTTP status code error (500 server crash)`                                                                              |\r\n| 504  | 异步任务执行失败                 | `=== Generation Failed ===` / `{后端返回的具体失败原因，比如 \"Prompt violates safety policy\"}`                             |\r\n\r\n> **智能体关键指令**: \r\n> 1. 如果执行结果返回 `code: \"insufficient_balance\"` 且提示余额不足（Insufficient balance），您必须明确告知用户当前积分不足，并引导用户点击以下链接前往充值：[https://dlazy.com/dashboard/organization/settings?tab=credits](https://dlazy.com/dashboard/organization/settings?tab=credits)\r\n> 2. 如果执行结果返回 `code: \"unauthorized\"` 或提示缺少 API Key，您必须明确告知用户前往 [https://dlazy.com/dashboard/organization/api-key](https://dlazy.com/dashboard/organization/api-key) 获取 API Key 并使用 `dlazy auth set <key>` 保存，然后继续执行任务。\r\n\r\n## Tips\r\n\r\nVisit https://dlazy.com for more information.\n\nArchive v1.3.20: 4 files, 8501 bytes\n\nFiles: skill-card.md (1989b), SKILL-cn.md (7950b), SKILL.md (7919b), _meta.json (132b)\n\nFile v1.3.20:SKILL.md\n\n---\r\nname: dlazy-wan2.7\r\nversion: 1.3.4\r\ndescription: \"Tongyi Wanxiang 2.7 video model 鈥?one model covers text-to-video, first/last-frame-to-video, and reference-to-video.\"\r\nmetadata: {\"clawdbot\":{\"emoji\":\"🤖\",\"requires\":{\"bins\":[\"npm\",\"npx\"]},\"install\":\"npm install -g @dlazy/cli@1.2.3\",\"installAlternative\":\"npx @dlazy/cli@1.2.3\",\"homepage\":\"https://github.com/dlazy-ai/cli\",\"source\":\"https://github.com/dlazy-ai/cli\",\"author\":\"dlazyai\",\"license\":\"see-repo\",\"npm\":\"https://www.npmjs.com/package/@dlazy/cli\",\"configLocation\":\"~/.dlazy/config.json\",\"apiEndpoints\":[\"api.dlazy.com\",\"files.dlazy.com\"]},\"openclaw\":{\"systemPrompt\":\"When invoking this skill, use dlazy wan2.7 -h for help.\"}}\r\n---\r\n\r\n# 视频生成 通义万相 Wan 2.7\r\n\r\n[English](./SKILL.md) · [中文](./SKILL-cn.md)\r\n\r\n\r\nTongyi Wanxiang 2.7 video model. Covers text-to-video, first/last-frame-to-video, and reference-to-video.\r\n\r\n## Trigger Keywords\r\n\r\n- wan 2.7\r\n- video generation\r\n\r\n## Authentication\r\n\r\nAll requests require a dLazy API key. The recommended way to authenticate is:\r\n\r\n```bash\r\ndlazy login\r\n```\r\n\r\nThis runs a device-code flow (also works in remote shells) and **automatically saves your API key** to the local CLI config — no manual copy/paste required.\r\n\r\n### Alternative: Set the Key Manually\r\n\r\nIf you already have an API key, you can save it directly:\r\n\r\n```bash\r\ndlazy auth set YOUR_API_KEY\r\n```\r\n\r\nThe CLI saves the key in your user config directory (`~/.dlazy/config.json` on macOS/Linux, `%USERPROFILE%\\.dlazy\\config.json` on Windows), with file permissions restricted to your OS user account. You can also supply the key per-invocation via the `DLAZY_API_KEY` environment variable.\r\n\r\n### Getting Your API Key Manually\r\n\r\n1. Sign in or create an account at [dlazy.com](https://dlazy.com)\r\n2. Go to [dlazy.com/dashboard/organization/api-key](https://dlazy.com/dashboard/organization/api-key)\r\n3. Copy the key shown in the API Key section\r\n\r\nEach key is scoped to your dLazy organization and can be **rotated or revoked at any time** from the same dashboard.\r\n\r\n## About & Provenance\r\n\r\n- **CLI source code**: [github.com/dlazy-ai/cli](https://github.com/dlazy-ai/cli)\r\n- **Maintainer**: dlazyai\r\n- **npm package**: `@dlazy/cli` (pinned to `1.2.3` in this skill's install spec)\r\n- **Homepage**: [dlazy.com](https://dlazy.com)\r\n\r\nYou can install on demand without persisting a global binary by running:\r\n\r\n```bash\r\nnpx @dlazy/cli@1.2.3 <command>\r\n```\r\n\r\nOr, if you prefer a global install, the skill's `metadata.clawdbot.install` field declares the exact pinned version (`npm install -g @dlazy/cli@1.2.3`). Review the GitHub source before installing.\r\n\r\n## How It Works\r\n\r\nThis skill is a thin client over the dLazy hosted API. When you invoke it:\r\n\r\n- Prompts and parameters you provide are sent to the dLazy API endpoint (`api.dlazy.com`) for inference.\r\n- Any local file paths you pass to image / video / audio fields are uploaded to dLazy's media storage (`files.dlazy.com`) so the model can read them — the same flow as any cloud-based generation API.\r\n- Generated output URLs returned by the API are hosted on `files.dlazy.com`.\r\n\r\nThis is the standard SaaS pattern; the skill itself does not access network or filesystem resources beyond what the dLazy CLI already handles. See [dlazy.com](https://dlazy.com) for the full service terms.\r\n\r\n## Usage\r\n\r\n**CRITICAL INSTRUCTION FOR AGENT**:\r\nExecute `dlazy wan2.7` to get the result.\r\n\r\n```bash\r\ndlazy wan2.7 -h\r\n\r\nOptions:\r\n  --prompt [prompt]                    Prompt\r\n  --generation_mode [generation_mode]  Generation Mode（components=Components; frames=Frames） [default: components] (choices: \"components\", \"frames\")\r\n  --images [images...]                 Images [image: url or local path] (max 5) [only when !(generation_mode=\"frames\")]\r\n  --videos [videos...]                 Videos [video: url or local path] (max 5) [only when !(generation_mode=\"frames\")]\r\n  --firstFrame [firstFrame]            First Frame [image: url or local path] [only when generation_mode=\"frames\"]\r\n  --lastFrame [lastFrame]              Last Frame [image: url or local path] [only when generation_mode=\"frames\"]\r\n  --audio [audio]                      Audio [audio: url or local path]\r\n  --resolution [resolution]            Resolution [default: 720P] (choices: \"720P\", \"1080P\")\r\n  --duration [duration]                Duration (s) [default: 5] (choices: \"2\", \"3\", \"4\", \"5\", \"6\", \"7\", \"8\", \"9\", \"10\", \"11\", \"12\", \"13\", \"14\", \"15\")\r\n  --prompt_extend [prompt_extend]      Prompt Rewrite [default: true] (choices: \"true\", \"false\")\r\n  --dry-run                            Print payload + cost estimate without calling API\r\n  --no-wait                            Return generateId immediately for async tasks\r\n  --timeout <seconds>                  Max seconds to wait for async completion (default: \"1800\")\r\n  --save <path>                        Download the result asset to this local path (mkdir + retry handled for you)\r\n  -h, --help                           display help for command\r\n```\r\n\r\n> Any flag also accepts pipe references — `-` (auto-pick from upstream stdin), `@N` (n-th output), `@N.path` (jsonpath into output), `@*` (all primary values), `@stdin` / `@stdin:path` (whole envelope). See `dlazy --help` for details.\r\n\r\n## Output Format\r\n\r\n```json\r\n{\r\n  \"ok\": true,\r\n  \"result\": {\r\n    \"tool\": \"wan2.7\",\r\n    \"modelId\": \"bailian-wan-2-7\",\r\n    \"outputs\": [\r\n      {\r\n        \"type\": \"image\",\r\n        \"id\": \"o_xxxxxxxx\",\r\n        \"url\": \"https://files.dlazy.com/result.png\",\r\n        \"mimeType\": \"image/png\"\r\n      }\r\n    ]\r\n  }\r\n}\r\n```\r\n\r\n> Async tasks (when `--no-wait` is passed) return `outputs: []` and a `task: { generateId, status }` field instead. Use `dlazy status <generateId> --wait` to poll.\r\n\r\n## Examples\r\n\r\n```bash\r\ndlazy wan2.7 --prompt 'prompt content'\r\ndlazy wan2.7 --prompt 'prompt content' --images '/path/to/image.png'\r\n```\r\n\r\n## Error Handling\r\n\r\n| Code | Error Type                         | Example Message                                                                                                          |\r\n| ---- | ---------------------------------- | ------------------------------------------------------------------------------------------------------------------------ |\r\n| 401  | Unauthorized (No API Key)          | `ok: false, code: \"unauthorized\", message: \"API key is missing or invalid\"`                                                              |\r\n| 501  | Missing required parameter         | `error: required option '--prompt <prompt>' not specified`                                                              |\r\n| 502  | Local file read error              | `Error: Image file/Video file not found: C:\\path\\to\\your\\file`                                                          |\r\n| 503  | API request failed (no balance)    | `ok: false, code: \"insufficient_balance\"` |\r\n| 503  | API request failed (server error)  | `HTTP status code error (500 server crash)`                                                                             |\r\n| 504  | Asynchronous task execution failed | `=== Generation Failed ===` / `{Specific error reason returned by backend, for example \"Prompt violates safety policy\"}` |\r\n\r\n> **AGENT CRITICAL INSTRUCTION**: \r\n> 1. If the execution result returns `code: \"insufficient_balance\"`, you MUST explicitly inform the user that their credits are insufficient and guide them to recharge: [https://dlazy.com/dashboard/organization/settings?tab=credits](https://dlazy.com/dashboard/organization/settings?tab=credits)\r\n> 2. If the execution result returns `code: \"unauthorized\"` or indicates missing API key, you MUST inform the user to get their API key from [https://dlazy.com/dashboard/organization/api-key](https://dlazy.com/dashboard/organization/api-key) and save it using `dlazy auth set <key>` and resume the task.\r\n\r\n## Tips\r\n\r\nVisit https://dlazy.com for more information.\n\nFile v1.3.20:_meta.json\n\n{\n  \"ownerId\": \"kn7c5wgeajfcfvdfb5ceemvdb984cjpd\",\n  \"slug\": \"dlazy-wan2-7\",\n  \"version\": \"1.3.20\",\n  \"publishedAt\": 1790559311095\n}\n\nFile v1.3.20:skill-card.md\n\n## Description:\n\nHelps agents generate videos from text prompts, reference media, or first and last frames using Tongyi Wanxiang 2.7 through dLazy.\n\nThis skill is ready for commercial/non-commercial use.\n\n## Publisher:\n\n[dlazyai](https://clawhub.ai/user/dlazyai)\n\n### License/Terms of Use:\n\nMIT-0\n\n## Use Case:\n\nCreators and developers use this skill to request video generation from text, reference images or videos, and first and last frames through the dLazy service.\n\n### Deployment Geography for Use:\n\nGlobal\n\n## Known Risks and Mitigations:\n\nRisk: Prompts and selected local media are sent to dLazy's cloud service.\n\nMitigation: Only submit prompts and media you are comfortable sharing with dLazy; avoid uploading private files.\n\nRisk: A dLazy API key may be saved locally for authentication.\n\nMitigation: Protect the local key and rotate or revoke it when you stop using the service.\n\nRisk: Installing the dLazy CLI globally leaves a persistent local tool.\n\nMitigation: Use the documented pinned npx invocation if you prefer not to install it globally.\n\n## Reference(s):\n\n- [ClawHub skill release](https://clawhub.ai/dlazyai/skills/dlazy-wan2-7)\n- [dLazy CLI repository (listed in skill metadata)](https://github.com/dlazy-ai/cli)\n- [dLazy CLI npm package](https://www.npmjs.com/package/@dlazy/cli)\n- [dLazy service](https://dlazy.com)\n\n## Skill Output:\n\n**Output Type(s):** [Shell commands, Guidance]\n\n**Output Format:** [Markdown with shell commands and JSON result examples]\n\n**Output Parameters:** [1D]\n\n**Other Properties Related to Output:** [Generation results may include hosted media URLs or an asynchronous task ID.]\n\n## Skill Version(s):\n\n1.3.20 (source: ClawHub release; skill frontmatter lists 1.3.4)\n\n## Ethical Considerations:\n\nUsers should evaluate whether this skill is appropriate for their environment, review any generated or modified files before relying on them, and apply their organization's safety, security, and compliance requirements before deployment.\n\nFile v1.3.20:SKILL-cn.md\n\n---\r\nname: dlazy-wan2.7\r\nversion: 1.3.4\r\ndescription: \"通义万相 2.7 视频模型 —— 单一模型支持文生视频、图生视频、首尾帧视频及参考图生成视频。\"\r\nmetadata: {\"clawdbot\":{\"emoji\":\"🤖\",\"requires\":{\"bins\":[\"npm\",\"npx\"]},\"install\":\"npm install -g @dlazy/cli@1.2.3\",\"installAlternative\":\"npx @dlazy/cli@1.2.3\",\"homepage\":\"https://github.com/dlazy-ai/cli\",\"source\":\"https://github.com/dlazy-ai/cli\",\"author\":\"dlazyai\",\"license\":\"see-repo\",\"npm\":\"https://www.npmjs.com/package/@dlazy/cli\",\"configLocation\":\"~/.dlazy/config.json\",\"apiEndpoints\":[\"api.dlazy.com\",\"files.dlazy.com\"]},\"openclaw\":{\"systemPrompt\":\"当调用此技能时，可以使用 dlazy wan2.7 -h 查看帮助信息。\"}}\r\n---\r\n\r\n# 视频生成 通义万相 Wan 2.7\r\n\r\n[English](./SKILL.md) · [中文](./SKILL-cn.md)\r\n\r\n\r\n通义万相 2.7 视频模型 —— 支持文生视频，首尾帧生视频，以及参考图/视频生视频。\r\n\r\n## 触发关键词\r\n\r\n- wan 2.7\r\n- 通义万相 2.7\r\n- 视频生成\r\n\r\n## 身份验证 (Authentication)\r\n\r\n所有请求都需要 dLazy API key。**推荐使用** `dlazy login` 完成登录：\r\n\r\n```bash\r\ndlazy login\r\n```\r\n\r\n该命令使用设备码流程（远程终端也可用），登录成功后 **自动把 API key 写入本地 CLI 配置**，无需手动复制粘贴。\r\n\r\n### 备选：手动设置 API Key\r\n\r\n如果你已有 API key，也可以直接保存：\r\n\r\n```bash\r\ndlazy auth set YOUR_API_KEY\r\n```\r\n\r\nCLI 会把 key 保存在你的用户配置目录（macOS/Linux 上为 `~/.dlazy/config.json`，Windows 上为 `%USERPROFILE%\\.dlazy\\config.json`），文件权限仅限当前操作系统用户访问。你也可以用 `DLAZY_API_KEY` 环境变量按次传入。\r\n\r\n### 手动获取 API Key\r\n\r\n1. 登录或在 [dlazy.com](https://dlazy.com) 创建账号\r\n2. 访问 [dlazy.com/dashboard/organization/api-key](https://dlazy.com/dashboard/organization/api-key)\r\n3. 复制 API Key 区域显示的密钥\r\n\r\n每个 key 都属于你自己的 dLazy 组织，可在同一控制面板**随时轮换或吊销**。\r\n\r\n## 关于与来源 (Provenance)\r\n\r\n- **CLI 源代码**: [github.com/dlazy-ai/cli](https://github.com/dlazy-ai/cli)\r\n- **维护者**: dlazyai\r\n- **npm 包名**: `@dlazy/cli`（本技能 install 字段固定到 `1.2.3` 版本）\r\n- **官网**: [dlazy.com](https://dlazy.com)\r\n\r\n如果你不希望在系统上长期保留一个全局 CLI，可以按需运行：\r\n\r\n```bash\r\nnpx @dlazy/cli@1.2.3 <command>\r\n```\r\n\r\n如选择全局安装，技能的 `metadata.clawdbot.install` 字段已固定到 `npm install -g @dlazy/cli@1.2.3`。安装前建议先到 GitHub 仓库审阅源码。\r\n\r\n## 工作原理\r\n\r\n此技能是 dLazy 托管 API 的轻量封装。调用时：\r\n\r\n- 你提供的提示词与参数会发送到 dLazy API（`api.dlazy.com`）进行推理。\r\n- 传入图像 / 视频 / 音频字段的本地文件路径会被 CLI 上传到 dLazy 媒体存储（`files.dlazy.com`），以便模型读取 —— 与任何云端生成 API 的流程一致。\r\n- API 返回的生成结果 URL 由 `files.dlazy.com` 托管。\r\n\r\n这是标准的 SaaS 调用模式；技能本身不会越权访问网络或文件系统，所有动作都由 dLazy CLI 完成。完整服务条款请参见 [dlazy.com](https://dlazy.com)。\r\n\r\n## 使用方法\r\n\r\n**CRITICAL INSTRUCTION FOR AGENT**:\r\n执行 `dlazy wan2.7` 命令获取结果。\r\n\r\n```bash\r\ndlazy wan2.7 -h\r\n\r\nOptions:\r\n  --prompt [prompt]                    提示词\r\n  --generation_mode [generation_mode]  生成模式（components=参考图; frames=首尾帧） [default: components] (choices: \"components\", \"frames\")\r\n  --images [images...]                 参考图 [image: url or local path] (max 5) [only when !(generation_mode=\"frames\")]\r\n  --videos [videos...]                 参考视频 [video: url or local path] (max 5) [only when !(generation_mode=\"frames\")]\r\n  --firstFrame [firstFrame]            首帧图 [image: url or local path] [only when generation_mode=\"frames\"]\r\n  --lastFrame [lastFrame]              尾帧图 [image: url or local path] [only when generation_mode=\"frames\"]\r\n  --audio [audio]                      音频 [audio: url or local path]\r\n  --resolution [resolution]            分辨率 [default: 720P] (choices: \"720P\", \"1080P\")\r\n  --duration [duration]                时长（秒） [default: 5] (choices: \"2\", \"3\", \"4\", \"5\", \"6\", \"7\", \"8\", \"9\", \"10\", \"11\", \"12\", \"13\", \"14\", \"15\")\r\n  --prompt_extend [prompt_extend]      智能改写 [default: true] (choices: \"true\", \"false\")\r\n  --dry-run                            Print payload + cost estimate without calling API\r\n  --no-wait                            Return generateId immediately for async tasks\r\n  --timeout <seconds>                  Max seconds to wait for async completion (default: \"1800\")\r\n  --save <path>                        Download the result asset to this local path (mkdir + retry handled for you)\r\n  -h, --help                           display help for command\r\n```\r\n\r\n> Any flag also accepts pipe references — `-` (auto-pick from upstream stdin), `@N` (n-th output), `@N.path` (jsonpath into output), `@*` (all primary values), `@stdin` / `@stdin:path` (whole envelope). See `dlazy --help` for details.\r\n\r\n## 输出格式\r\n\r\n```json\r\n{\r\n  \"ok\": true,\r\n  \"result\": {\r\n    \"tool\": \"wan2.7\",\r\n    \"modelId\": \"bailian-wan-2-7\",\r\n    \"outputs\": [\r\n      {\r\n        \"type\": \"image\",\r\n        \"id\": \"o_xxxxxxxx\",\r\n        \"url\": \"https://files.dlazy.com/result.png\",\r\n        \"mimeType\": \"image/png\"\r\n      }\r\n    ]\r\n  }\r\n}\r\n```\r\n\r\n> Async tasks (when `--no-wait` is passed) return `outputs: []` and a `task: { generateId, status }` field instead. Use `dlazy status <generateId> --wait` to poll.\r\n\r\n## 命令示例\r\n\r\n```bash\r\ndlazy wan2.7 --prompt '提示词内容'\r\ndlazy wan2.7 --prompt '提示词内容' --images '/path/to/image.png'\r\n```\r\n\r\n## 错误处理\r\n\r\n| Code | 错误类型                         | 示例信息                                                                                                                 |\r\n| ---- | -------------------------------- | ------------------------------------------------------------------------------------------------------------------------ |\r\n| 401  | 未授权 (API Key缺失或无效)       | `ok: false, code: \"unauthorized\", message: \"API key is missing or invalid\"`                                                              |\r\n| 501  | 缺少必填参数                     | `error: required option '--prompt <prompt>' not specified`                                                               |\r\n| 502  | 本地文件读取失败                 | `Error: Image file/Video file not found: C:\\path\\to\\your\\file`                                                           |\r\n| 503  | API 请求失败（余额不足）         | `ok: false, code: \"insufficient_balance\"` |\r\n| 503  | API 请求失败（服务端错误）       | `HTTP status code error (500 server crash)`                                                                              |\r\n| 504  | 异步任务执行失败                 | `=== Generation Failed ===` / `{后端返回的具体失败原因，比如 \"Prompt violates safety policy\"}`                             |\r\n\r\n> **智能体关键指令**: \r\n> 1. 如果执行结果返回 `code: \"insufficient_balance\"` 且提示余额不足（Insufficient balance），您必须明确告知用户当前积分不足，并引导用户点击以下链接前往充值：[https://dlazy.com/dashboard/organization/settings?tab=credits](https://dlazy.com/dashboard/organization/settings?tab=credits)\r\n> 2. 如果执行结果返回 `code: \"unauthorized\"` 或提示缺少 API Key，您必须明确告知用户前往 [https://dlazy.com/dashboard/organization/api-key](https://dlazy.com/dashboard/organization/api-key) 获取 API Key 并使用 `dlazy auth set <key>` 保存，然后继续执行任务。\r\n\r\n## Tips\r\n\r\nVisit https://dlazy.com for more information.\n\nArchive v1.3.19: 4 files, 8668 bytes\n\nFiles: skill-card.md (2495b), SKILL-cn.md (7950b), SKILL.md (7919b), _meta.json (132b)\n\nFile v1.3.19:SKILL.md\n\n---\r\nname: dlazy-wan2.7\r\nversion: 1.3.4\r\ndescription: \"Tongyi Wanxiang 2.7 video model 鈥?one model covers text-to-video, first/last-frame-to-video, and reference-to-video.\"\r\nmetadata: {\"clawdbot\":{\"emoji\":\"🤖\",\"requires\":{\"bins\":[\"npm\",\"npx\"]},\"install\":\"npm install -g @dlazy/cli@1.2.3\",\"installAlternative\":\"npx @dlazy/cli@1.2.3\",\"homepage\":\"https://github.com/dlazy-ai/cli\",\"source\":\"https://github.com/dlazy-ai/cli\",\"author\":\"dlazyai\",\"license\":\"see-repo\",\"npm\":\"https://www.npmjs.com/package/@dlazy/cli\",\"configLocation\":\"~/.dlazy/config.json\",\"apiEndpoints\":[\"api.dlazy.com\",\"files.dlazy.com\"]},\"openclaw\":{\"systemPrompt\":\"When invoking this skill, use dlazy wan2.7 -h for help.\"}}\r\n---\r\n\r\n# 视频生成 通义万相 Wan 2.7\r\n\r\n[English](./SKILL.md) · [中文](./SKILL-cn.md)\r\n\r\n\r\nTongyi Wanxiang 2.7 video model. Covers text-to-video, first/last-frame-to-video, and reference-to-video.\r\n\r\n## Trigger Keywords\r\n\r\n- wan 2.7\r\n- video generation\r\n\r\n## Authentication\r\n\r\nAll requests require a dLazy API key. The recommended way to authenticate is:\r\n\r\n```bash\r\ndlazy login\r\n```\r\n\r\nThis runs a device-code flow (also works in remote shells) and **automatically saves your API key** to the local CLI config — no manual copy/paste required.\r\n\r\n### Alternative: Set the Key Manually\r\n\r\nIf you already have an API key, you can save it directly:\r\n\r\n```bash\r\ndlazy auth set YOUR_API_KEY\r\n```\r\n\r\nThe CLI saves the key in your user config directory (`~/.dlazy/config.json` on macOS/Linux, `%USERPROFILE%\\.dlazy\\config.json` on Windows), with file permissions restricted to your OS user account. You can also supply the key per-invocation via the `DLAZY_API_KEY` environment variable.\r\n\r\n### Getting Your API Key Manually\r\n\r\n1. Sign in or create an account at [dlazy.com](https://dlazy.com)\r\n2. Go to [dlazy.com/dashboard/organization/api-key](https://dlazy.com/dashboard/organization/api-key)\r\n3. Copy the key shown in the API Key section\r\n\r\nEach key is scoped to your dLazy organization and can be **rotated or revoked at any time** from the same dashboard.\r\n\r\n## About & Provenance\r\n\r\n- **CLI source code**: [github.com/dlazy-ai/cli](https://github.com/dlazy-ai/cli)\r\n- **Maintainer**: dlazyai\r\n- **npm package**: `@dlazy/cli` (pinned to `1.2.3` in this skill's install spec)\r\n- **Homepage**: [dlazy.com](https://dlazy.com)\r\n\r\nYou can install on demand without persisting a global binary by running:\r\n\r\n```bash\r\nnpx @dlazy/cli@1.2.3 <command>\r\n```\r\n\r\nOr, if you prefer a global install, the skill's `metadata.clawdbot.install` field declares the exact pinned version (`npm install -g @dlazy/cli@1.2.3`). Review the GitHub source before installing.\r\n\r\n## How It Works\r\n\r\nThis skill is a thin client over the dLazy hosted API. When you invoke it:\r\n\r\n- Prompts and parameters you provide are sent to the dLazy API endpoint (`api.dlazy.com`) for inference.\r\n- Any local file paths you pass to image / video / audio fields are uploaded to dLazy's media storage (`files.dlazy.com`) so the model can read them — the same flow as any cloud-based generation API.\r\n- Generated output URLs returned by the API are hosted on `files.dlazy.com`.\r\n\r\nThis is the standard SaaS pattern; the skill itself does not access network or filesystem resources beyond what the dLazy CLI already handles. See [dlazy.com](https://dlazy.com) for the full service terms.\r\n\r\n## Usage\r\n\r\n**CRITICAL INSTRUCTION FOR AGENT**:\r\nExecute `dlazy wan2.7` to get the result.\r\n\r\n```bash\r\ndlazy wan2.7 -h\r\n\r\nOptions:\r\n  --prompt [prompt]                    Prompt\r\n  --generation_mode [generation_mode]  Generation Mode（components=Components; frames=Frames） [default: components] (choices: \"components\", \"frames\")\r\n  --images [images...]                 Images [image: url or local path] (max 5) [only when !(generation_mode=\"frames\")]\r\n  --videos [videos...]                 Videos [video: url or local path] (max 5) [only when !(generation_mode=\"frames\")]\r\n  --firstFrame [firstFrame]            First Frame [image: url or local path] [only when generation_mode=\"frames\"]\r\n  --lastFrame [lastFrame]              Last Frame [image: url or local path] [only when generation_mode=\"frames\"]\r\n  --audio [audio]                      Audio [audio: url or local path]\r\n  --resolution [resolution]            Resolution [default: 720P] (choices: \"720P\", \"1080P\")\r\n  --duration [duration]                Duration (s) [default: 5] (choices: \"2\", \"3\", \"4\", \"5\", \"6\", \"7\", \"8\", \"9\", \"10\", \"11\", \"12\", \"13\", \"14\", \"15\")\r\n  --prompt_extend [prompt_extend]      Prompt Rewrite [default: true] (choices: \"true\", \"false\")\r\n  --dry-run                            Print payload + cost estimate without calling API\r\n  --no-wait                            Return generateId immediately for async tasks\r\n  --timeout <seconds>                  Max seconds to wait for async completion (default: \"1800\")\r\n  --save <path>                        Download the result asset to this local path (mkdir + retry handled for you)\r\n  -h, --help                           display help for command\r\n```\r\n\r\n> Any flag also accepts pipe references — `-` (auto-pick from upstream stdin), `@N` (n-th output), `@N.path` (jsonpath into output), `@*` (all primary values), `@stdin` / `@stdin:path` (whole envelope). See `dlazy --help` for details.\r\n\r\n## Output Format\r\n\r\n```json\r\n{\r\n  \"ok\": true,\r\n  \"result\": {\r\n    \"tool\": \"wan2.7\",\r\n    \"modelId\": \"bailian-wan-2-7\",\r\n    \"outputs\": [\r\n      {\r\n        \"type\": \"image\",\r\n        \"id\": \"o_xxxxxxxx\",\r\n        \"url\": \"https://files.dlazy.com/result.png\",\r\n        \"mimeType\": \"image/png\"\r\n      }\r\n    ]\r\n  }\r\n}\r\n```\r\n\r\n> Async tasks (when `--no-wait` is passed) return `outputs: []` and a `task: { generateId, status }` field instead. Use `dlazy status <generateId> --wait` to poll.\r\n\r\n## Examples\r\n\r\n```bash\r\ndlazy wan2.7 --prompt 'prompt content'\r\ndlazy wan2.7 --prompt 'prompt content' --images '/path/to/image.png'\r\n```\r\n\r\n## Error Handling\r\n\r\n| Code | Error Type                         | Example Message                                                                                                          |\r\n| ---- | ---------------------------------- | ------------------------------------------------------------------------------------------------------------------------ |\r\n| 401  | Unauthorized (No API Key)          | `ok: false, code: \"unauthorized\", message: \"API key is missing or invalid\"`                                                              |\r\n| 501  | Missing required parameter         | `error: required option '--prompt <prompt>' not specified`                                                              |\r\n| 502  | Local file read error              | `Error: Image file/Video file not found: C:\\path\\to\\your\\file`                                                          |\r\n| 503  | API request failed (no balance)    | `ok: false, code: \"insufficient_balance\"` |\r\n| 503  | API request failed (server error)  | `HTTP status code error (500 server crash)`                                                                             |\r\n| 504  | Asynchronous task execution failed | `=== Generation Failed ===` / `{Specific error reason returned by backend, for example \"Prompt violates safety policy\"}` |\r\n\r\n> **AGENT CRITICAL INSTRUCTION**: \r\n> 1. If the execution result returns `code: \"insufficient_balance\"`, you MUST explicitly inform the user that their credits are insufficient and guide them to recharge: [https://dlazy.com/dashboard/organization/settings?tab=credits](https://dlazy.com/dashboard/organization/settings?tab=credits)\r\n> 2. If the execution result returns `code: \"unauthorized\"` or indicates missing API key, you MUST inform the user to get their API key from [https://dlazy.com/dashboard/organization/api-key](https://dlazy.com/dashboard/organization/api-key) and save it using `dlazy auth set <key>` and resume the task.\r\n\r\n## Tips\r\n\r\nVisit https://dlazy.com for more information.\n\nFile v1.3.19:_meta.json\n\n{\n  \"ownerId\": \"kn7c5wgeajfcfvdfb5ceemvdb984cjpd\",\n  \"slug\": \"dlazy-wan2-7\",\n  \"version\": \"1.3.19\",\n  \"publishedAt\": 1790216944899\n}\n\nFile v1.3.19:skill-card.md\n\n## Description:\n\nTongyi Wanxiang 2.7 video generation through the dLazy CLI, supporting text-to-video, reference media inputs, and first/last-frame video generation.\n\nThis skill is ready for commercial/non-commercial use.\n\n## Publisher:\n\n[dlazyai](https://clawhub.ai/user/dlazyai)\n\n### License/Terms of Use:\n\nMIT-0\n\n## Use Case:\n\nDevelopers and external users use this skill to invoke the dLazy hosted Tongyi Wanxiang 2.7 video-generation service from an agent workflow, including prompt-based generation and generation from reference images, videos, audio, or first/last frames.\n\n### Deployment Geography for Use:\n\nGlobal\n\n## Known Risks and Mitigations:\n\nRisk: Prompts and selected media files may be sent to the dLazy hosted service, and generated files are hosted by dLazy.\n\nMitigation: Use the skill only with content intended for cloud upload, and avoid passing sensitive local media unless upload is intended.\n\nRisk: Authentication can store a dLazy API key in local CLI configuration.\n\nMitigation: Use organization-scoped keys that can be rotated or revoked, and prefer per-invocation environment variables when persistent local storage is not desired.\n\nRisk: A global CLI installation persists on the system.\n\nMitigation: Use the pinned `npx @dlazy/cli@1.2.3` option when a persistent global CLI is not desired.\n\nRisk: Broad trigger phrasing and third-party service use may cause unintended invocation.\n\nMitigation: Review the requested generation action before execution and confirm that third-party service use is acceptable.\n\n## Reference(s):\n\n- [ClawHub skill page](https://clawhub.ai/dlazyai/skills/dlazy-wan2-7)\n- [dLazy CLI source](https://github.com/dlazy-ai/cli)\n- [dLazy CLI npm package](https://www.npmjs.com/package/@dlazy/cli)\n- [dLazy homepage](https://dlazy.com)\n\n## Skill Output:\n\n**Output Type(s):** [shell commands, configuration, JSON, files, guidance]\n\n**Output Format:** [JSON responses with generated asset URLs, optional downloaded media files, and concise command guidance.]\n\n**Output Parameters:** [1D]\n\n**Other Properties Related to Output:** [Supports asynchronous task IDs, local save paths, and API-key based authentication.]\n\n## Skill Version(s):\n\n1.3.19 (source: server release metadata)\n\n## Ethical Considerations:\n\nUsers should evaluate whether this skill is appropriate for their environment, review any generated or modified files before relying on them, and apply their organization's safety, security, and compliance requirements before deployment.\n\nFile v1.3.19:SKILL-cn.md\n\n---\r\nname: dlazy-wan2.7\r\nversion: 1.3.4\r\ndescription: \"通义万相 2.7 视频模型 —— 单一模型支持文生视频、图生视频、首尾帧视频及参考图生成视频。\"\r\nmetadata: {\"clawdbot\":{\"emoji\":\"🤖\",\"requires\":{\"bins\":[\"npm\",\"npx\"]},\"install\":\"npm install -g @dlazy/cli@1.2.3\",\"installAlternative\":\"npx @dlazy/cli@1.2.3\",\"homepage\":\"https://github.com/dlazy-ai/cli\",\"source\":\"https://github.com/dlazy-ai/cli\",\"author\":\"dlazyai\",\"license\":\"see-repo\",\"npm\":\"https://www.npmjs.com/package/@dlazy/cli\",\"configLocation\":\"~/.dlazy/config.json\",\"apiEndpoints\":[\"api.dlazy.com\",\"files.dlazy.com\"]},\"openclaw\":{\"systemPrompt\":\"当调用此技能时，可以使用 dlazy wan2.7 -h 查看帮助信息。\"}}\r\n---\r\n\r\n# 视频生成 通义万相 Wan 2.7\r\n\r\n[English](./SKILL.md) · [中文](./SKILL-cn.md)\r\n\r\n\r\n通义万相 2.7 视频模型 —— 支持文生视频，首尾帧生视频，以及参考图/视频生视频。\r\n\r\n## 触发关键词\r\n\r\n- wan 2.7\r\n- 通义万相 2.7\r\n- 视频生成\r\n\r\n## 身份验证 (Authentication)\r\n\r\n所有请求都需要 dLazy API key。**推荐使用** `dlazy login` 完成登录：\r\n\r\n```bash\r\ndlazy login\r\n```\r\n\r\n该命令使用设备码流程（远程终端也可用），登录成功后 **自动把 API key 写入本地 CLI 配置**，无需手动复制粘贴。\r\n\r\n### 备选：手动设置 API Key\r\n\r\n如果你已有 API key，也可以直接保存：\r\n\r\n```bash\r\ndlazy auth set YOUR_API_KEY\r\n```\r\n\r\nCLI 会把 key 保存在你的用户配置目录（macOS/Linux 上为 `~/.dlazy/config.json`，Windows 上为 `%USERPROFILE%\\.dlazy\\config.json`），文件权限仅限当前操作系统用户访问。你也可以用 `DLAZY_API_KEY` 环境变量按次传入。\r\n\r\n### 手动获取 API Key\r\n\r\n1. 登录或在 [dlazy.com](https://dlazy.com) 创建账号\r\n2. 访问 [dlazy.com/dashboard/organization/api-key](https://dlazy.com/dashboard/organization/api-key)\r\n3. 复制 API Key 区域显示的密钥\r\n\r\n每个 key 都属于你自己的 dLazy 组织，可在同一控制面板**随时轮换或吊销**。\r\n\r\n## 关于与来源 (Provenance)\r\n\r\n- **CLI 源代码**: [github.com/dlazy-ai/cli](https://github.com/dlazy-ai/cli)\r\n- **维护者**: dlazyai\r\n- **npm 包名**: `@dlazy/cli`（本技能 install 字段固定到 `1.2.3` 版本）\r\n- **官网**: [dlazy.com](https://dlazy.com)\r\n\r\n如果你不希望在系统上长期保留一个全局 CLI，可以按需运行：\r\n\r\n```bash\r\nnpx @dlazy/cli@1.2.3 <command>\r\n```\r\n\r\n如选择全局安装，技能的 `metadata.clawdbot.install` 字段已固定到 `npm install -g @dlazy/cli@1.2.3`。安装前建议先到 GitHub 仓库审阅源码。\r\n\r\n## 工作原理\r\n\r\n此技能是 dLazy 托管 API 的轻量封装。调用时：\r\n\r\n- 你提供的提示词与参数会发送到 dLazy API（`api.dlazy.com`）进行推理。\r\n- 传入图像 / 视频 / 音频字段的本地文件路径会被 CLI 上传到 dLazy 媒体存储（`files.dlazy.com`），以便模型读取 —— 与任何云端生成 API 的流程一致。\r\n- API 返回的生成结果 URL 由 `files.dlazy.com` 托管。\r\n\r\n这是标准的 SaaS 调用模式；技能本身不会越权访问网络或文件系统，所有动作都由 dLazy CLI 完成。完整服务条款请参见 [dlazy.com](https://dlazy.com)。\r\n\r\n## 使用方法\r\n\r\n**CRITICAL INSTRUCTION FOR AGENT**:\r\n执行 `dlazy wan2.7` 命令获取结果。\r\n\r\n```bash\r\ndlazy wan2.7 -h\r\n\r\nOptions:\r\n  --prompt [prompt]                    提示词\r\n  --generation_mode [generation_mode]  生成模式（components=参考图; frames=首尾帧） [default: components] (choices: \"components\", \"frames\")\r\n  --images [images...]                 参考图 [image: url or local path] (max 5) [only when !(generation_mode=\"frames\")]\r\n  --videos [videos...]                 参考视频 [video: url or local path] (max 5) [only when !(generation_mode=\"frames\")]\r\n  --firstFrame [firstFrame]            首帧图 [image: url or local path] [only when generation_mode=\"frames\"]\r\n  --lastFrame [lastFrame]              尾帧图 [image: url or local path] [only when generation_mode=\"frames\"]\r\n  --audio [audio]                      音频 [audio: url or local path]\r\n  --resolution [resolution]            分辨率 [default: 720P] (choices: \"720P\", \"1080P\")\r\n  --duration [duration]                时长（秒） [default: 5] (choices: \"2\", \"3\", \"4\", \"5\", \"6\", \"7\", \"8\", \"9\", \"10\", \"11\", \"12\", \"13\", \"14\", \"15\")\r\n  --prompt_extend [prompt_extend]      智能改写 [default: true] (choices: \"true\", \"false\")\r\n  --dry-run                            Print payload + cost estimate without calling API\r\n  --no-wait                            Return generateId immediately for async tasks\r\n  --timeout <seconds>                  Max seconds to wait for async completion (default: \"1800\")\r\n  --save <path>                        Download the result asset to this local path (mkdir + retry handled for you)\r\n  -h, --help                           display help for command\r\n```\r\n\r\n> Any flag also accepts pipe references — `-` (auto-pick from upstream stdin), `@N` (n-th output), `@N.path` (jsonpath into output), `@*` (all primary values), `@stdin` / `@stdin:path` (whole envelope). See `dlazy --help` for details.\r\n\r\n## 输出格式\r\n\r\n```json\r\n{\r\n  \"ok\": true,\r\n  \"result\": {\r\n    \"tool\": \"wan2.7\",\r\n    \"modelId\": \"bailian-wan-2-7\",\r\n    \"outputs\": [\r\n      {\r\n        \"type\": \"image\",\r\n        \"id\": \"o_xxxxxxxx\",\r\n        \"url\": \"https://files.dlazy.com/result.png\",\r\n        \"mimeType\": \"image/png\"\r\n      }\r\n    ]\r\n  }\r\n}\r\n```\r\n\r\n> Async tasks (when `--no-wait` is passed) return `outputs: []` and a `task: { generateId, status }` field instead. Use `dlazy status <generateId> --wait` to poll.\r\n\r\n## 命令示例\r\n\r\n```bash\r\ndlazy wan2.7 --prompt '提示词内容'\r\ndlazy wan2.7 --prompt '提示词内容' --images '/path/to/image.png'\r\n```\r\n\r\n## 错误处理\r\n\r\n| Code | 错误类型                         | 示例信息                                                                                                                 |\r\n| ---- | -------------------------------- | ------------------------------------------------------------------------------------------------------------------------ |\r\n| 401  | 未授权 (API Key缺失或无效)       | `ok: false, code: \"unauthorized\", message: \"API key is missing or invalid\"`                                                              |\r\n| 501  | 缺少必填参数                     | `error: required option '--prompt <prompt>' not specified`                                                               |\r\n| 502  | 本地文件读取失败                 | `Error: Image file/Video file not found: C:\\path\\to\\your\\file`                                                           |\r\n| 503  | API 请求失败（余额不足）         | `ok: false, code: \"insufficient_balance\"` |\r\n| 503  | API 请求失败（服务端错误）       | `HTTP status code error (500 server crash)`                                                                              |\r\n| 504  | 异步任务执行失败                 | `=== Generation Failed ===` / `{后端返回的具体失败原因，比如 \"Prompt violates safety policy\"}`                             |\r\n\r\n> **智能体关键指令**: \r\n> 1. 如果执行结果返回 `code: \"insufficient_balance\"` 且提示余额不足（Insufficient balance），您必须明确告知用户当前积分不足，并引导用户点击以下链接前往充值：[https://dlazy.com/dashboard/organization/settings?tab=credits](https://dlazy.com/dashboard/organization/settings?tab=credits)\r\n> 2. 如果执行结果返回 `code: \"unauthorized\"` 或提示缺少 API Key，您必须明确告知用户前往 [https://dlazy.com/dashboard/organization/api-key](https://dlazy.com/dashboard/organization/api-key) 获取 API Key 并使用 `dlazy auth set <key>` 保存，然后继续执行任务。\r\n\r\n## Tips\r\n\r\nVisit https://dlazy.com for more information.\n\nArchive v1.3.18: 4 files, 8644 bytes\n\nFiles: skill-card.md (2302b), SKILL-cn.md (7950b), SKILL.md (7919b), _meta.json (132b)\n\nFile v1.3.18:SKILL.md\n\n---\r\nname: dlazy-wan2.7\r\nversion: 1.3.4\r\ndescription: \"Tongyi Wanxiang 2.7 video model 鈥?one model covers text-to-video, first/last-frame-to-video, and reference-to-video.\"\r\nmetadata: {\"clawdbot\":{\"emoji\":\"🤖\",\"requires\":{\"bins\":[\"npm\",\"npx\"]},\"install\":\"npm install -g @dlazy/cli@1.2.3\",\"installAlternative\":\"npx @dlazy/cli@1.2.3\",\"homepage\":\"https://github.com/dlazy-ai/cli\",\"source\":\"https://github.com/dlazy-ai/cli\",\"author\":\"dlazyai\",\"license\":\"see-repo\",\"npm\":\"https://www.npmjs.com/package/@dlazy/cli\",\"configLocation\":\"~/.dlazy/config.json\",\"apiEndpoints\":[\"api.dlazy.com\",\"files.dlazy.com\"]},\"openclaw\":{\"systemPrompt\":\"When invoking this skill, use dlazy wan2.7 -h for help.\"}}\r\n---\r\n\r\n# 视频生成 通义万相 Wan 2.7\r\n\r\n[English](./SKILL.md) · [中文](./SKILL-cn.md)\r\n\r\n\r\nTongyi Wanxiang 2.7 video model. Covers text-to-video, first/last-frame-to-video, and reference-to-video.\r\n\r\n## Trigger Keywords\r\n\r\n- wan 2.7\r\n- video generation\r\n\r\n## Authentication\r\n\r\nAll requests require a dLazy API key. The recommended way to authenticate is:\r\n\r\n```bash\r\ndlazy login\r\n```\r\n\r\nThis runs a device-code flow (also works in remote shells) and **automatically saves your API key** to the local CLI config — no manual copy/paste required.\r\n\r\n### Alternative: Set the Key Manually\r\n\r\nIf you already have an API key, you can save it directly:\r\n\r\n```bash\r\ndlazy auth set YOUR_API_KEY\r\n```\r\n\r\nThe CLI saves the key in your user config directory (`~/.dlazy/config.json` on macOS/Linux, `%USERPROFILE%\\.dlazy\\config.json` on Windows), with file permissions restricted to your OS user account. You can also supply the key per-invocation via the `DLAZY_API_KEY` environment variable.\r\n\r\n### Getting Your API Key Manually\r\n\r\n1. Sign in or create an account at [dlazy.com](https://dlazy.com)\r\n2. Go to [dlazy.com/dashboard/organization/api-key](https://dlazy.com/dashboard/organization/api-key)\r\n3. Copy the key shown in the API Key section\r\n\r\nEach key is scoped to your dLazy organization and can be **rotated or revoked at any time** from the same dashboard.\r\n\r\n## About & Provenance\r\n\r\n- **CLI source code**: [github.com/dlazy-ai/cli](https://github.com/dlazy-ai/cli)\r\n- **Maintainer**: dlazyai\r\n- **npm package**: `@dlazy/cli` (pinned to `1.2.3` in this skill's install spec)\r\n- **Homepage**: [dlazy.com](https://dlazy.com)\r\n\r\nYou can install on demand without persisting a global binary by running:\r\n\r\n```bash\r\nnpx @dlazy/cli@1.2.3 <command>\r\n```\r\n\r\nOr, if you prefer a global install, the skill's `metadata.clawdbot.install` field declares the exact pinned version (`npm install -g @dlazy/cli@1.2.3`). Review the GitHub source before installing.\r\n\r\n## How It Works\r\n\r\nThis skill is a thin client over the dLazy hosted API. When you invoke it:\r\n\r\n- Prompts and parameters you provide are sent to the dLazy API endpoint (`api.dlazy.com`) for inference.\r\n- Any local file paths you pass to image / video / audio fields are uploaded to dLazy's media storage (`files.dlazy.com`) so the model can read them — the same flow as any cloud-based generation API.\r\n- Generated output URLs returned by the API are hosted on `files.dlazy.com`.\r\n\r\nThis is the standard SaaS pattern; the skill itself does not access network or filesystem resources beyond what the dLazy CLI already handles. See [dlazy.com](https://dlazy.com) for the full service terms.\r\n\r\n## Usage\r\n\r\n**CRITICAL INSTRUCTION FOR AGENT**:\r\nExecute `dlazy wan2.7` to get the result.\r\n\r\n```bash\r\ndlazy wan2.7 -h\r\n\r\nOptions:\r\n  --prompt [prompt]                    Prompt\r\n  --generation_mode [generation_mode]  Generation Mode（components=Components; frames=Frames） [default: components] (choices: \"components\", \"frames\")\r\n  --images [images...]                 Images [image: url or local path] (max 5) [only when !(generation_mode=\"frames\")]\r\n  --videos [videos...]                 Videos [video: url or local path] (max 5) [only when !(generation_mode=\"frames\")]\r\n  --firstFrame [firstFrame]            First Frame [image: url or local path] [only when generation_mode=\"frames\"]\r\n  --lastFrame [lastFrame]              Last Frame [image: url or local path] [only when generation_mode=\"frames\"]\r\n  --audio [audio]                      Audio [audio: url or local path]\r\n  --resolution [resolution]            Resolution [default: 720P] (choices: \"720P\", \"1080P\")\r\n  --duration [duration]                Duration (s) [default: 5] (choices: \"2\", \"3\", \"4\", \"5\", \"6\", \"7\", \"8\", \"9\", \"10\", \"11\", \"12\", \"13\", \"14\", \"15\")\r\n  --prompt_extend [prompt_extend]      Prompt Rewrite [default: true] (choices: \"true\", \"false\")\r\n  --dry-run                            Print payload + cost estimate without calling API\r\n  --no-wait                            Return generateId immediately for async tasks\r\n  --timeout <seconds>                  Max seconds to wait for async completion (default: \"1800\")\r\n  --save <path>                        Download the result asset to this local path (mkdir + retry handled for you)\r\n  -h, --help                           display help for command\r\n```\r\n\r\n> Any flag also accepts pipe references — `-` (auto-pick from upstream stdin), `@N` (n-th output), `@N.path` (jsonpath into output), `@*` (all primary values), `@stdin` / `@stdin:path` (whole envelope). See `dlazy --help` for details.\r\n\r\n## Output Format\r\n\r\n```json\r\n{\r\n  \"ok\": true,\r\n  \"result\": {\r\n    \"tool\": \"wan2.7\",\r\n    \"modelId\": \"bailian-wan-2-7\",\r\n    \"outputs\": [\r\n      {\r\n        \"type\": \"image\",\r\n        \"id\": \"o_xxxxxxxx\",\r\n        \"url\": \"https://files.dlazy.com/result.png\",\r\n        \"mimeType\": \"image/png\"\r\n      }\r\n    ]\r\n  }\r\n}\r\n```\r\n\r\n> Async tasks (when `--no-wait` is passed) return `outputs: []` and a `task: { generateId, status }` field instead. Use `dlazy status <generateId> --wait` to poll.\r\n\r\n## Examples\r\n\r\n```bash\r\ndlazy wan2.7 --prompt 'prompt content'\r\ndlazy wan2.7 --prompt 'prompt content' --images '/path/to/image.png'\r\n```\r\n\r\n## Error Handling\r\n\r\n| Code | Error Type                         | Example Message                                                                                                          |\r\n| ---- | ---------------------------------- | ------------------------------------------------------------------------------------------------------------------------ |\r\n| 401  | Unauthorized (No API Key)          | `ok: false, code: \"unauthorized\", message: \"API key is missing or invalid\"`                                                              |\r\n| 501  | Missing required parameter         | `error: required option '--prompt <prompt>' not specified`                                                              |\r\n| 502  | Local file read error              | `Error: Image file/Video file not found: C:\\path\\to\\your\\file`                                                          |\r\n| 503  | API request failed (no balance)    | `ok: false, code: \"insufficient_balance\"` |\r\n| 503  | API request failed (server error)  | `HTTP status code error (500 server crash)`                                                                             |\r\n| 504  | Asynchronous task execution failed | `=== Generation Failed ===` / `{Specific error reason returned by backend, for example \"Prompt violates safety policy\"}` |\r\n\r\n> **AGENT CRITICAL INSTRUCTION**: \r\n> 1. If the execution result returns `code: \"insufficient_balance\"`, you MUST explicitly inform the user that their credits are insufficient and guide them to recharge: [https://dlazy.com/dashboard/organization/settings?tab=credits](https://dlazy.com/dashboard/organization/settings?tab=credits)\r\n> 2. If the execution result returns `code: \"unauthorized\"` or indicates missing API key, you MUST inform the user to get their API key from [https://dlazy.com/dashboard/organization/api-key](https://dlazy.com/dashboard/organization/api-key) and save it using `dlazy auth set <key>` and resume the task.\r\n\r\n## Tips\r\n\r\nVisit https://dlazy.com for more information.\n\nFile v1.3.18:_meta.json\n\n{\n  \"ownerId\": \"kn7c5wgeajfcfvdfb5ceemvdb984cjpd\",\n  \"slug\": \"dlazy-wan2-7\",\n  \"version\": \"1.3.18\",\n  \"publishedAt\": 1790040964995\n}\n\nFile v1.3.18:skill-card.md\n\n## Description:\n\n通义万相 Wan 2.7 video generation skill for text-to-video, first/last-frame-to-video, and reference-to-video through the dLazy CLI.\n\nThis skill is ready for commercial/non-commercial use.\n\n## Publisher:\n\n[dlazyai](https://clawhub.ai/user/dlazyai)\n\n### License/Terms of Use:\n\nMIT-0\n\n## Use Case:\n\nExternal users and developers use this skill to ask an agent to generate Wan 2.7 videos from prompts, reference images or videos, first and last frames, and optional audio through dLazy's hosted service.\n\n### Deployment Geography for Use:\n\nGlobal\n\n## Known Risks and Mitigations:\n\nRisk: The skill installs or runs an external dLazy npm CLI and uses dLazy's hosted cloud service.\n\nMitigation: Install only if comfortable with that external dependency; prefer the pinned npx invocation to avoid keeping a persistent global binary.\n\nRisk: Prompts and media paths supplied to the CLI can be uploaded to dLazy API and file endpoints for generation.\n\nMitigation: Avoid submitting sensitive prompts or media unless sharing them with dLazy is acceptable for the intended use case.\n\nRisk: Login can store a dLazy API key in the local CLI configuration.\n\nMitigation: Protect the local config file, use per-invocation DLAZY_API_KEY when preferred, and rotate or revoke keys from the dLazy dashboard when needed.\n\n## Reference(s):\n\n- [ClawHub skill page](https://clawhub.ai/dlazyai/skills/dlazy-wan2-7)\n- [dLazy CLI source](https://github.com/dlazy-ai/cli)\n- [@dlazy/cli npm package](https://www.npmjs.com/package/@dlazy/cli)\n- [dLazy homepage](https://dlazy.com)\n\n## Skill Output:\n\n**Output Type(s):** [Shell commands, JSON, Files, Guidance]\n\n**Output Format:** [CLI commands and JSON responses containing generated media URLs; optional downloaded media file when --save is used.]\n\n**Output Parameters:** [1D]\n\n**Other Properties Related to Output:** [Requires npm or npx, a dLazy API key, and network access to dLazy API and file endpoints.]\n\n## Skill Version(s):\n\n1.3.18 (source: release metadata; artifact frontmatter: 1.3.4)\n\n## Ethical Considerations:\n\nUsers should evaluate whether this skill is appropriate for their environment, review any generated or modified files before relying on them, and apply their organization's safety, security, and compliance requirements before deployment.\n\nFile v1.3.18:SKILL-cn.md\n\n---\r\nname: dlazy-wan2.7\r\nversion: 1.3.4\r\ndescription: \"通义万相 2.7 视频模型 —— 单一模型支持文生视频、图生视频、首尾帧视频及参考图生成视频。\"\r\nmetadata: {\"clawdbot\":{\"emoji\":\"🤖\",\"requires\":{\"bins\":[\"npm\",\"npx\"]},\"install\":\"npm install -g @dlazy/cli@1.2.3\",\"installAlternative\":\"npx @dlazy/cli@1.2.3\",\"homepage\":\"https://github.com/dlazy-ai/cli\",\"source\":\"https://github.com/dlazy-ai/cli\",\"author\":\"dlazyai\",\"license\":\"see-repo\",\"npm\":\"https://www.npmjs.com/package/@dlazy/cli\",\"configLocation\":\"~/.dlazy/config.json\",\"apiEndpoints\":[\"api.dlazy.com\",\"files.dlazy.com\"]},\"openclaw\":{\"systemPrompt\":\"当调用此技能时，可以使用 dlazy wan2.7 -h 查看帮助信息。\"}}\r\n---\r\n\r\n# 视频生成 通义万相 Wan 2.7\r\n\r\n[English](./SKILL.md) · [中文](./SKILL-cn.md)\r\n\r\n\r\n通义万相 2.7 视频模型 —— 支持文生视频，首尾帧生视频，以及参考图/视频生视频。\r\n\r\n## 触发关键词\r\n\r\n- wan 2.7\r\n- 通义万相 2.7\r\n- 视频生成\r\n\r\n## 身份验证 (Authentication)\r\n\r\n所有请求都需要 dLazy API key。**推荐使用** `dlazy login` 完成登录：\r\n\r\n```bash\r\ndlazy login\r\n```\r\n\r\n该命令使用设备码流程（远程终端也可用），登录成功后 **自动把 API key 写入本地 CLI 配置**，无需手动复制粘贴。\r\n\r\n### 备选：手动设置 API Key\r\n\r\n如果你已有 API key，也可以直接保存：\r\n\r\n```bash\r\ndlazy auth set YOUR_API_KEY\r\n```\r\n\r\nCLI 会把 key 保存在你的用户配置目录（macOS/Linux 上为 `~/.dlazy/config.json`，Windows 上为 `%USERPROFILE%\\.dlazy\\config.json`），文件权限仅限当前操作系统用户访问。你也可以用 `DLAZY_API_KEY` 环境变量按次传入。\r\n\r\n### 手动获取 API Key\r\n\r\n1. 登录或在 [dlazy.com](https://dlazy.com) 创建账号\r\n2. 访问 [dlazy.com/dashboard/organization/api-key](https://dlazy.com/dashboard/organization/api-key)\r\n3. 复制 API Key 区域显示的密钥\r\n\r\n每个 key 都属于你自己的 dLazy 组织，可在同一控制面板**随时轮换或吊销**。\r\n\r\n## 关于与来源 (Provenance)\r\n\r\n- **CLI 源代码**: [github.com/dlazy-ai/cli](https://github.com/dlazy-ai/cli)\r\n- **维护者**: dlazyai\r\n- **npm 包名**: `@dlazy/cli`（本技能 install 字段固定到 `1.2.3` 版本）\r\n- **官网**: [dlazy.com](https://dlazy.com)\r\n\r\n如果你不希望在系统上长期保留一个全局 CLI，可以按需运行：\r\n\r\n```bash\r\nnpx @dlazy/cli@1.2.3 <command>\r\n```\r\n\r\n如选择全局安装，技能的 `metadata.clawdbot.install` 字段已固定到 `npm install -g @dlazy/cli@1.2.3`。安装前建议先到 GitHub 仓库审阅源码。\r\n\r\n## 工作原理\r\n\r\n此技能是 dLazy 托管 API 的轻量封装。调用时：\r\n\r\n- 你提供的提示词与参数会发送到 dLazy API（`api.dlazy.com`）进行推理。\r\n- 传入图像 / 视频 / 音频字段的本地文件路径会被 CLI 上传到 dLazy 媒体存储（`files.dlazy.com`），以便模型读取 —— 与任何云端生成 API 的流程一致。\r\n- API 返回的生成结果 URL 由 `files.dlazy.com` 托管。\r\n\r\n这是标准的 SaaS 调用模式；技能本身不会越权访问网络或文件系统，所有动作都由 dLazy CLI 完成。完整服务条款请参见 [dlazy.com](https://dlazy.com)。\r\n\r\n## 使用方法\r\n\r\n**CRITICAL INSTRUCTION FOR AGENT**:\r\n执行 `dlazy wan2.7` 命令获取结果。\r\n\r\n```bash\r\ndlazy wan2.7 -h\r\n\r\nOptions:\r\n  --prompt [prompt]                    提示词\r\n  --generation_mode [generation_mode]  生成模式（components=参考图; frames=首尾帧） [default: components] (choices: \"components\", \"frames\")\r\n  --images [images...]                 参考图 [image: url or local path] (max 5) [only when !(generation_mode=\"frames\")]\r\n  --videos [videos...]                 参考视频 [video: url or local path] (max 5) [only when !(generation_mode=\"frames\")]\r\n  --firstFrame [firstFrame]            首帧图 [image: url or local path] [only when generation_mode=\"frames\"]\r\n  --lastFrame [lastFrame]              尾帧图 [image: url or local path] [only when generation_mode=\"frames\"]\r\n  --audio [audio]                      音频 [audio: url or local path]\r\n  --resolution [resolution]            分辨率 [default: 720P] (choices: \"720P\", \"1080P\")\r\n  --duration [duration]                时长（秒） [default: 5] (choices: \"2\", \"3\", \"4\", \"5\", \"6\", \"7\", \"8\", \"9\", \"10\", \"11\", \"12\", \"13\", \"14\", \"15\")\r\n  --prompt_extend [prompt_extend]      智能改写 [default: true] (choices: \"true\", \"false\")\r\n  --dry-run                            Print payload + cost estimate without calling API\r\n  --no-wait                            Return generateId immediately for async tasks\r\n  --timeout <seconds>                  Max seconds to wait for async completion (default: \"1800\")\r\n  --save <path>                        Download the result asset to this local path (mkdir + retry handled for you)\r\n  -h, --help                           display help for command\r\n```\r\n\r\n> Any flag also accepts pipe references — `-` (auto-pick from upstream stdin), `@N` (n-th output), `@N.path` (jsonpath into output), `@*` (all primary values), `@stdin` / `@stdin:path` (whole envelope). See `dlazy --help` for details.\r\n\r\n## 输出格式\r\n\r\n```json\r\n{\r\n  \"ok\": true,\r\n  \"result\": {\r\n    \"tool\": \"wan2.7\",\r\n    \"modelId\": \"bailian-wan-2-7\",\r\n    \"outputs\": [\r\n      {\r\n        \"type\": \"image\",\r\n        \"id\": \"o_xxxxxxxx\",\r\n        \"url\": \"https://files.dlazy.com/result.png\",\r\n        \"mimeType\": \"image/png\"\r\n      }\r\n    ]\r\n  }\r\n}\r\n```\r\n\r\n> Async tasks (when `--no-wait` is passed) return `outputs: []` and a `task: { generateId, status }` field instead. Use `dlazy status <generateId> --wait` to poll.\r\n\r\n## 命令示例\r\n\r\n```bash\r\ndlazy wan2.7 --prompt '提示词内容'\r\ndlazy wan2.7 --prompt '提示词内容' --images '/path/to/image.png'\r\n```\r\n\r\n## 错误处理\r\n\r\n| Code | 错误类型                         | 示例信息                                                                                                                 |\r\n| ---- | -------------------------------- | ------------------------------------------------------------------------------------------------------------------------ |\r\n| 401  | 未授权 (API Key缺失或无效)       | `ok: false, code: \"unauthorized\", message: \"API key is missing or invalid\"`                                                              |\r\n| 501  | 缺少必填参数                     | `error: required option '--prompt <prompt>' not specified`                                                               |\r\n| 502  | 本地文件读取失败                 | `Error: Image file/Video file not found: C:\\path\\to\\your\\file`                                                           |\r\n| 503  | API 请求失败（余额不足）         | `ok: false, code: \"insufficient_balance\"` |\r\n| 503  | API 请求失败（服务端错误）       | `HTTP status code error (500 server crash)`                                                                              |\r\n| 504  | 异步任务执行失败                 | `=== Generation Failed ===` / `{后端返回的具体失败原因，比如 \"Prompt violates safety policy\"}`                             |\r\n\r\n> **智能体关键指令**: \r\n> 1. 如果执行结果返回 `code: \"insufficient_balance\"` 且提示余额不足（Insufficient balance），您必须明确告知用户当前积分不足，并引导用户点击以下链接前往充值：[https://dlazy.com/dashboard/organization/settings?tab=credits](https://dlazy.com/dashboard/organization/settings?tab=credits)\r\n> 2. 如果执行结果返回 `code: \"unauthorized\"` 或提示缺少 API Key，您必须明确告知用户前往 [https://dlazy.com/dashboard/organization/api-key](https://dlazy.com/dashboard/organization/api-key) 获取 API Key 并使用 `dlazy auth set <key>` 保存，然后继续执行任务。\r\n\r\n## Tips\r\n\r\nVisit https://dlazy.com for more information.\n\nArchive v1.3.17: 4 files, 8617 bytes\n\nFiles: skill-card.md (2240b), SKILL-cn.md (7950b), SKILL.md (7919b), _meta.json (132b)\n\nFile v1.3.17:SKILL.md\n\n---\r\nname: dlazy-wan2.7\r\nversion: 1.3.4\r\ndescription: \"Tongyi Wanxiang 2.7 video model 鈥?one model covers text-to-video, first/last-frame-to-video, and reference-to-video.\"\r\nmetadata: {\"clawdbot\":{\"emoji\":\"🤖\",\"requires\":{\"bins\":[\"npm\",\"npx\"]},\"install\":\"npm install -g @dlazy/cli@1.2.3\",\"installAlternative\":\"npx @dlazy/cli@1.2.3\",\"homepage\":\"https://github.com/dlazy-ai/cli\",\"source\":\"https://github.com/dlazy-ai/cli\",\"author\":\"dlazyai\",\"license\":\"see-repo\",\"npm\":\"https://www.npmjs.com/package/@dlazy/cli\",\"configLocation\":\"~/.dlazy/config.json\",\"apiEndpoints\":[\"api.dlazy.com\",\"files.dlazy.com\"]},\"openclaw\":{\"systemPrompt\":\"When invoking this skill, use dlazy wan2.7 -h for help.\"}}\r\n---\r\n\r\n# 视频生成 通义万相 Wan 2.7\r\n\r\n[English](./SKILL.md) · [中文](./SKILL-cn.md)\r\n\r\n\r\nTongyi Wanxiang 2.7 video model. Covers text-to-video, first/last-frame-to-video, and reference-to-video.\r\n\r\n## Trigger Keywords\r\n\r\n- wan 2.7\r\n- video generation\r\n\r\n## Authentication\r\n\r\nAll requests require a dLazy API key. The recommended way to authenticate is:\r\n\r\n```bash\r\ndlazy login\r\n```\r\n\r\nThis runs a device-code flow (also works in remote shells) and **automatically saves your API key** to the local CLI config — no manual copy/paste required.\r\n\r\n### Alternative: Set the Key Manually\r\n\r\nIf you already have an API key, you can save it directly:\r\n\r\n```bash\r\ndlazy auth set YOUR_API_KEY\r\n```\r\n\r\nThe CLI saves the key in your user config directory (`~/.dlazy/config.json` on macOS/Linux, `%USERPROFILE%\\.dlazy\\config.json` on Windows), with file permissions restricted to your OS user account. You can also supply the key per-invocation via the `DLAZY_API_KEY` environment variable.\r\n\r\n### Getting Your API Key Manually\r\n\r\n1. Sign in or create an account at [dlazy.com](https://dlazy.com)\r\n2. Go to [dlazy.com/dashboard/organization/api-key](https://dlazy.com/dashboard/organization/api-key)\r\n3. Copy the key shown in the API Key section\r\n\r\nEach key is scoped to your dLazy organization and can be **rotated or revoked at any time** from the same dashboard.\r\n\r\n## About & Provenance\r\n\r\n- **CLI source code**: [github.com/dlazy-ai/cli](https://github.com/dlazy-ai/cli)\r\n- **Maintainer**: dlazyai\r\n- **npm package**: `@dlazy/cli` (pinned to `1.2.3` in this skill's install spec)\r\n- **Homepage**: [dlazy.com](https://dlazy.com)\r\n\r\nYou can install on demand without persisting a global binary by running:\r\n\r\n```bash\r\nnpx @dlazy/cli@1.2.3 <command>\r\n```\r\n\r\nOr, if you prefer a global install, the skill's `metadata.clawdbot.install` field declares the exact pinned version (`npm install -g @dlazy/cli@1.2.3`). Review the GitHub source before installing.\r\n\r\n## How It Works\r\n\r\nThis skill is a thin client over the dLazy hosted API. When you invoke it:\r\n\r\n- Prompts and parameters you provide are sent to the dLazy API endpoint (`api.dlazy.com`) for inference.\r\n- Any local file paths you pass to image / video / audio fields are uploaded to dLazy's media storage (`files.dlazy.com`) so the model can read them — the same flow as any cloud-based generation API.\r\n- Generated output URLs returned by the API are hosted on `files.dlazy.com`.\r\n\r\nThis is the standard SaaS pattern; the skill itself does not access network or filesystem resources beyond what the dLazy CLI already handles. See [dlazy.com](https://dlazy.com) for the full service terms.\r\n\r\n## Usage\r\n\r\n**CRITICAL INSTRUCTION FOR AGENT**:\r\nExecute `dlazy wan2.7` to get the result.\r\n\r\n```bash\r\ndlazy wan2.7 -h\r\n\r\nOptions:\r\n  --prompt [prompt]                    Prompt\r\n  --generation_mode [generation_mode]  Generation Mode（components=Components; frames=Frames） [default: components] (choices: \"components\", \"frames\")\r\n  --images [images...]                 Images [image: url or local path] (max 5) [only when !(generation_mode=\"frames\")]\r\n  --videos [videos...]                 Videos [video: url or local path] (max 5) [only when !(generation_mode=\"frames\")]\r\n  --firstFrame [firstFrame]            First Frame [image: url or local path] [only when generation_mode=\"frames\"]\r\n  --lastFrame [lastFrame]              Last Frame [image: url or local path] [only when generation_mode=\"frames\"]\r\n  --audio [audio]                      Audio [audio: url or local path]\r\n  --resolution [resolution]            Resolution [default: 720P] (choices: \"720P\", \"1080P\")\r\n  --duration [duration]                Duration (s) [default: 5] (choices: \"2\", \"3\", \"4\", \"5\", \"6\", \"7\", \"8\", \"9\", \"10\", \"11\", \"12\", \"13\", \"14\", \"15\")\r\n  --prompt_extend [prompt_extend]      Prompt Rewrite [default: true] (choices: \"true\", \"false\")\r\n  --dry-run                            Print payload + cost estimate without calling API\r\n  --no-wait                            Return generateId immediately for async tasks\r\n  --timeout <seconds>                  Max seconds to wait for async completion (default: \"1800\")\r\n  --save <path>                        Download the result asset to this local path (mkdir + retry handled for you)\r\n  -h, --help                           display help for command\r\n```\r\n\r\n> Any flag also accepts pipe references — `-` (auto-pick from upstream stdin), `@N` (n-th output), `@N.path` (jsonpath into output), `@*` (all primary values), `@stdin` / `@stdin:path` (whole envelope). See `dlazy --help` for details.\r\n\r\n## Output Format\r\n\r\n```json\r\n{\r\n  \"ok\": true,\r\n  \"result\": {\r\n    \"tool\": \"wan2.7\",\r\n    \"modelId\": \"bailian-wan-2-7\",\r\n    \"outputs\": [\r\n      {\r\n        \"type\": \"image\",\r\n        \"id\": \"o_xxxxxxxx\",\r\n        \"url\": \"https://files.dlazy.com/result.png\",\r\n        \"mimeType\": \"image/png\"\r\n      }\r\n    ]\r\n  }\r\n}\r\n```\r\n\r\n> Async tasks (when `--no-wait` is passed) return `outputs: []` and a `task: { generateId, status }` field instead. Use `dlazy status <generateId> --wait` to poll.\r\n\r\n## Examples\r\n\r\n```bash\r\ndlazy wan2.7 --prompt 'prompt content'\r\ndlazy wan2.7 --prompt 'prompt content' --images '/path/to/image.png'\r\n```\r\n\r\n## Error Handling\r\n\r\n| Code | Error Type                         | Example Message                                                                                                          |\r\n| ---- | ---------------------------------- | ------------------------------------------------------------------------------------------------------------------------ |\r\n| 401  | Unauthorized (No API Key)          | `ok: false, code: \"unauthorized\", message: \"API key is missing or invalid\"`                                                              |\r\n| 501  | Missing required parameter         | `error: required option '--prompt <prompt>' not specified`                                                              |\r\n| 502  | Local file read error              | `Error: Image file/Video file not found: C:\\path\\to\\your\\file`                                                          |\r\n| 503  | API request failed (no balance)    | `ok: false, code: \"insufficient_balance\"` |\r\n| 503  | API request failed (server error)  | `HTTP status code error (500 server crash)`                                                                             |\r\n| 504  | Asynchronous task execution failed | `=== Generation Failed ===` / `{Specific error reason returned by backend, for example \"Prompt violates safety policy\"}` |\r\n\r\n> **AGENT CRITICAL INSTRUCTION**: \r\n> 1. If the execution result returns `code: \"insufficient_balance\"`, you MUST explicitly inform the user that their credits are insufficient and guide them to recharge: [https://dlazy.com/dashboard/organization/settings?tab=credits](https://dlazy.com/dashboard/organization/settings?tab=credits)\r\n> 2. If the execution result returns `code: \"unauthorized\"` or indicates missing API key, you MUST inform the user to get their API key from [https://dlazy.com/dashboard/organization/api-key](https://dlazy.com/dashboard/organization/api-key) and save it using `dlazy auth set <key>` and resume the task.\r\n\r\n## Tips\r\n\r\nVisit https://dlazy.com for more information.\n\nFile v1.3.17:_meta.json\n\n{\n  \"ownerId\": \"kn7c5wgeajfcfvdfb5ceemvdb984cjpd\",\n  \"slug\": \"dlazy-wan2-7\",\n  \"version\": \"1.3.17\",\n  \"publishedAt\": 1789868733163\n}\n\nFile v1.3.17:skill-card.md\n\n## Description:\n\nTongyi Wanxiang 2.7 video model covers text-to-video, first/last-frame-to-video, and reference-to-video generation.\n\nThis skill is ready for commercial/non-commercial use.\n\n## Publisher:\n\n[dlazyai](https://clawhub.ai/user/dlazyai)\n\n### License/Terms of Use:\n\nMIT-0\n\n## Use Case:\n\nExternal users and developers use this skill to generate Wan 2.7 videos through the dLazy CLI from prompts, reference media, first/last frames, and optional audio.\n\n### Deployment Geography for Use:\n\nGlobal\n\n## Known Risks and Mitigations:\n\nRisk: The dLazy CLI stores an API key for authenticated requests.\n\nMitigation: Use OS-user-restricted configuration, rotate or revoke the key from the dLazy dashboard when needed, or pass DLAZY_API_KEY per invocation.\n\nRisk: Local image, video, or audio paths passed to the CLI may be uploaded to dLazy-hosted\n\nArchive v1.3.16: 4 files, 8537 bytes\n\nFiles: skill-card.md (2092b), SKILL-cn.md (7950b), SKILL.md (7919b), _meta.json (132b)","readmeExcerpt":"Skill: 视频生成 通义万相 Wan 2.7 Owner: dlazyai Summary: Tongyi Wanxiang 2.7 video model 鈥?one model covers text-to-video, first/last-frame-to-video, and reference-to-video. Tags: latest:1.3.25 Version history: v1.3.25 | 2026-10-08T01:37:44.456Z | user 例行版本更新 2026-10-08 v1.3.24 | 2026-10-04T01:38:34.901Z | user 例行版本更新 2026-10-04 v1.3.23 | 2026-10-02T05:12:45.595Z | user 例行版本更新 2026-10-02 v1.3.22 | 2026-09-30T01:41:00.849Z | ","codeSnippets":[],"executableExamples":[],"parameters":null,"dependencies":[],"permissions":[],"extractedFiles":[{"path":"SKILL.md","content":"---\r\nname: dlazy-wan2.7\r\nversion: 1.3.4\r\ndescription: \"Tongyi Wanxiang 2.7 video model 鈥?one model covers text-to-video, first/last-frame-to-video, and reference-to-video.\"\r\nmetadata: {\"clawdbot\":{\"emoji\":\"🤖\",\"requires\":{\"bins\":[\"npm\",\"npx\"]},\"install\":\"npm install -g @dlazy/cli@1.2.3\",\"installAlternative\":\"npx @dlazy/cli@1.2.3\",\"homepage\":\"https://github.com/dlazy-ai/cli\",\"source\":\"https://github.com/dlazy-ai/cli\",\"author\":\"dlazyai\",\"license\":\"see-repo\",\"npm\":\"https://www.npmjs.com/package/@dlazy/cli\",\"configLocation\":\"~/.dlazy/config.json\",\"apiEndpoints\":[\"api.dlazy.com\",\"files.dlazy.com\"]},\"openclaw\":{\"systemPrompt\":\"When invoking this skill, use dlazy wan2.7 -h for help.\"}}\r\n---\r\n\r\n# 视频生成 通义万相 Wan 2.7\r\n\r\n[English](./SKILL.md) · [中文](./SKILL-cn.md)\r\n\r\n\r\nTongyi Wanxiang 2.7 video model. Covers text-to-video, first/last-frame-to-video, and reference-to-video.\r\n\r\n## Trigger Keywords\r\n\r\n- wan 2.7\r\n- video generation\r\n\r\n## Authentication\r\n\r\nAll requests require a dLazy API key. The recommended way to authenticate is:\r\n\r\n```bash\r\ndlazy login\r\n```\r\n\r\nThis runs a device-code flow (also works in remote shells) and **automatically saves your API key** to the local CLI config — no manual copy/paste required.\r\n\r\n### Alternative: Set the Key Manually\r\n\r\nIf you already have an API key, you can save it directly:\r\n\r\n```bash\r\ndlazy auth set YOUR_API_KEY\r\n```\r\n\r\nThe CLI saves the key in your user config directory (`~/.dlazy/config.json` on macOS/Linux, `%USERPROFILE%\\.dlazy\\config.json` on Windows), with file permissions restricted to your OS user account. You can also supply the key per-invocation via the `DLAZY_API_KEY` environment variable.\r\n\r\n### Getting Your API Key Manually\r\n\r\n1. Sign in or create an account at [dlazy.com](https://dlazy.com)\r\n2. Go to [dlazy.com/dashboard/organization/api-key](https://dlazy.com/dashboard/organization/api-key)\r\n3. Copy the key shown in the API Key section\r\n\r\nEach key is scoped to your dLazy organization and can be **rotated or revoked at any time** from the same dashboard.\r\n\r\n## About & Provenance\r\n\r\n- **CLI source code**: [github.com/dlazy-ai/cli](https://github.com/dlazy-ai/cli)\r\n- **Maintainer**: dlazyai\r\n- **npm package**: `@dlazy/cli` (pinned to `1.2.3` in this skill's install spec)\r\n- **Homepage**: [dlazy.com](https://dlazy.com)\r\n\r\nYou can install on demand without persisting a global binary by running:\r\n\r\n```bash\r\nnpx @dlazy/cli@1.2.3 <command>\r\n```\r\n\r\nOr, if you prefer a global install, the skill's `metadata.clawdbot.install` field declares the exact pinned version (`npm install -g @dlazy/cli@1.2.3`). Review the GitHub source before installing.\r\n\r\n## How It Works\r\n\r\nThis skill is a thin client over the dLazy hosted API. When you invoke it:\r\n\r\n- Prompts and parameters you provide are sent to the dLazy API endpoint (`api.dlazy.com`) for inference.\r\n- Any local file paths you pass to image / video / audio fields are uploaded to dLazy's media storage (`files.dlazy.com`) so the model can read them — the same flow as an"},{"path":"_meta.json","content":"{\n  \"ownerId\": \"kn7c5wgeajfcfvdfb5ceemvdb984cjpd\",\n  \"slug\": \"dlazy-wan2-7\",\n  \"version\": \"1.3.25\",\n  \"publishedAt\": 1791423464456\n}"},{"path":"skill-card.md","content":"## Description:\n\nHelps agents generate videos from text prompts, first and last frames, or reference media using Tongyi Wanxiang 2.7 through dLazy.\n\nThis skill is ready for commercial/non-commercial use.\n\n## Publisher:\n\n[dlazyai](https://clawhub.ai/user/dlazyai)\n\n### License/Terms of Use:\n\nMIT-0\n\n## Use Case:\n\nCreators and developers use this skill to request videos from text, reference media, or first and last frames via a dLazy account.\n\n### Deployment Geography for Use:\n\nGlobal\n\n## Known Risks and Mitigations:\n\nRisk: Installing a third-party npm CLI runs code outside the skill files.\n\nMitigation: Review the CLI source before installation and use the pinned npx command if a persistent global installation is unnecessary.\n\nRisk: Authentication can store a dLazy API key in local CLI configuration.\n\nMitigation: Protect the local configuration and rotate or remove the key when it is no longer needed.\n\nRisk: User-selected local media is uploaded to dLazy for generation.\n\nMitigation: Submit only media you are comfortable sharing with dLazy.\n\n## Reference(s):\n\n- [ClawHub skill listing](https://clawhub.ai/dlazyai/skills/dlazy-wan2-7)\n- [dLazy CLI source (linked in skill metadata; not verified release provenance)](https://github.com/dlazy-ai/cli)\n- [dLazy CLI npm package](https://www.npmjs.com/package/@dlazy/cli)\n- [dLazy service](https://dlazy.com)\n\n## Skill Output:\n\n**Output Type(s):** [Text, Shell commands, Guidance]\n\n**Output Format:** [Text with CLI commands and generated media links]\n\n**Output Parameters:** [1D]\n\n**Other Properties Related to Output:** [May include an asynchronous task ID or a link to generated media; results can optionally be downloaded.]\n\n## Skill Version(s):\n\n1.3.25 (source: server release metadata)\n\n## Ethical Considerations:\n\nUsers should evaluate whether this skill is appropriate for their environment, review any generated or modified files before relying on them, and apply their organization's safety, security, and compliance requirements before deployment."},{"path":"SKILL-cn.md","content":"---\r\nname: dlazy-wan2.7\r\nversion: 1.3.4\r\ndescription: \"通义万相 2.7 视频模型 —— 单一模型支持文生视频、图生视频、首尾帧视频及参考图生成视频。\"\r\nmetadata: {\"clawdbot\":{\"emoji\":\"🤖\",\"requires\":{\"bins\":[\"npm\",\"npx\"]},\"install\":\"npm install -g @dlazy/cli@1.2.3\",\"installAlternative\":\"npx @dlazy/cli@1.2.3\",\"homepage\":\"https://github.com/dlazy-ai/cli\",\"source\":\"https://github.com/dlazy-ai/cli\",\"author\":\"dlazyai\",\"license\":\"see-repo\",\"npm\":\"https://www.npmjs.com/package/@dlazy/cli\",\"configLocation\":\"~/.dlazy/config.json\",\"apiEndpoints\":[\"api.dlazy.com\",\"files.dlazy.com\"]},\"openclaw\":{\"systemPrompt\":\"当调用此技能时，可以使用 dlazy wan2.7 -h 查看帮助信息。\"}}\r\n---\r\n\r\n# 视频生成 通义万相 Wan 2.7\r\n\r\n[English](./SKILL.md) · [中文](./SKILL-cn.md)\r\n\r\n\r\n通义万相 2.7 视频模型 —— 支持文生视频，首尾帧生视频，以及参考图/视频生视频。\r\n\r\n## 触发关键词\r\n\r\n- wan 2.7\r\n- 通义万相 2.7\r\n- 视频生成\r\n\r\n## 身份验证 (Authentication)\r\n\r\n所有请求都需要 dLazy API key。**推荐使用** `dlazy login` 完成登录：\r\n\r\n```bash\r\ndlazy login\r\n```\r\n\r\n该命令使用设备码流程（远程终端也可用），登录成功后 **自动把 API key 写入本地 CLI 配置**，无需手动复制粘贴。\r\n\r\n### 备选：手动设置 API Key\r\n\r\n如果你已有 API key，也可以直接保存：\r\n\r\n```bash\r\ndlazy auth set YOUR_API_KEY\r\n```\r\n\r\nCLI 会把 key 保存在你的用户配置目录（macOS/Linux 上为 `~/.dlazy/config.json`，Windows 上为 `%USERPROFILE%\\.dlazy\\config.json`），文件权限仅限当前操作系统用户访问。你也可以用 `DLAZY_API_KEY` 环境变量按次传入。\r\n\r\n### 手动获取 API Key\r\n\r\n1. 登录或在 [dlazy.com](https://dlazy.com) 创建账号\r\n2. 访问 [dlazy.com/dashboard/organization/api-key](https://dlazy.com/dashboard/organization/api-key)\r\n3. 复制 API Key 区域显示的密钥\r\n\r\n每个 key 都属于你自己的 dLazy 组织，可在同一控制面板**随时轮换或吊销**。\r\n\r\n## 关于与来源 (Provenance)\r\n\r\n- **CLI 源代码**: [github.com/dlazy-ai/cli](https://github.com/dlazy-ai/cli)\r\n- **维护者**: dlazyai\r\n- **npm 包名**: `@dlazy/cli`（本技能 install 字段固定到 `1.2.3` 版本）\r\n- **官网**: [dlazy.com](https://dlazy.com)\r\n\r\n如果你不希望在系统上长期保留一个全局 CLI，可以按需运行：\r\n\r\n```bash\r\nnpx @dlazy/cli@1.2.3 <command>\r\n```\r\n\r\n如选择全局安装，技能的 `metadata.clawdbot.install` 字段已固定到 `npm install -g @dlazy/cli@1.2.3`。安装前建议先到 GitHub 仓库审阅源码。\r\n\r\n## 工作原理\r\n\r\n此技能是 dLazy 托管 API 的轻量封装。调用时：\r\n\r\n- 你提供的提示词与参数会发送到 dLazy API（`api.dlazy.com`）进行推理。\r\n- 传入图像 / 视频 / 音频字段的本地文件路径会被 CLI 上传到 dLazy 媒体存储（`files.dlazy.com`），以便模型读取 —— 与任何云端生成 API 的流程一致。\r\n- API 返回的生成结果 URL 由 `files.dlazy.com` 托管。\r\n\r\n这是标准的 SaaS 调用模式；技能本身不会越权访问网络或文件系统，所有动作都由 dLazy CLI 完成。完整服务条款请参见 [dlazy.com](https://dlazy.com)。\r\n\r\n## 使用方法\r\n\r\n**CRITICAL INSTRUCTION FOR AGENT**:\r\n执行 `dlazy wan2.7` 命令获取结果。\r\n\r\n```bash\r\ndlazy wan2.7 -h\r\n\r\nOptions:\r\n  --prompt [prompt]                    提示词\r\n  --generation_mode [generation_mode]  生成模式（components=参考图; frames=首尾帧） [default: components] (choices: \"components\", \"frames\")\r\n  --images [images...]                 参考图 [image: url or local path] (max 5) [only when !(generation_mode=\"frames\")]\r\n  --videos [videos...]                 参考视频 [video: url or local path] (max 5) [only when !(generation_mode=\"frames\")]\r\n  --firstFrame [firstFrame]            首帧图 [image: url or local path] [only when generation_mode=\"frames\"]\r\n  --lastFrame [lastFrame]              尾帧图 [image: url or local path] [only when generation_mode=\"frames\"]\r\n  --audio [audio]                      音频 [audio: url or local path]\r\n "}],"languages":[],"docsSourceLabel":"CLAWHUB","editorialOverview":null,"editorialQuality":{"score":100,"threshold":65,"status":"thin","wordCount":1316,"uniquenessScore":42,"reasons":["uniqueness-below-45"]}},"media":{"evidence":{"source":"no-media","verified":false,"confidence":"low","updatedAt":"2026-10-09T05:37:36.870Z","emptyReason":"No screenshots, media assets, or demo links are available."},"primaryImageUrl":null,"mediaAssetCount":0,"assets":[],"demoUrl":null},"ownerResources":{"evidence":{"source":"unclaimed","verified":false,"confidence":"low","updatedAt":"2026-10-09T05:37:36.870Z","emptyReason":"This page has not been claimed by the agent owner."},"hasCustomPage":false,"customPageUpdatedAt":null,"customLinks":[],"structuredLinks":{"docsUrl":null,"demoUrl":null,"supportUrl":null,"pricingUrl":null,"statusUrl":null},"customPage":null},"relatedAgents":{"evidence":{"source":"protocol-neighbors","verified":false,"confidence":"medium","updatedAt":"2026-10-09T20:44:21.698Z","emptyReason":null},"items":[{"id":"8ebccd8e-3863-4187-8355-c3f14e1f9edf","entityType":"agent","canonicalPath":"/agent/iofficeai-aionui","slug":"iofficeai-aionui","name":"AionUi","description":"Free, local, open-source 24/7 Cowork app and OpenClaw for Gemini CLI, Claude Code, Codex, OpenCode, Qwen Code, Goose CLI, Auggie, and more | 🌟 Star if you like it!","url":"https://github.com/iOfficeAI/AionUi","homepage":"https://www.aionui.com","source":"GITHUB_REPOS","protocols":["MCP","OPENCLAW"],"capabilities":[],"safetyScore":100,"overallRank":70,"updatedAt":"2026-10-09T19:11:12.944Z","createdAt":"2026-02-25T03:38:16.584Z","downloads":null},{"id":"b917f68a-ebff-438e-84f8-3f4b2494c0bc","entityType":"agent","canonicalPath":"/agent/activepieces-activepieces","slug":"activepieces-activepieces","name":"activepieces","description":"AI Agents & MCPs & AI Workflow Automation • (~400 MCP servers for AI agents) • AI Automation / AI Agent with MCPs • AI Workflows & AI Agents • MCPs for AI Agents","url":"https://github.com/activepieces/activepieces","homepage":"https://www.activepieces.com","source":"GITHUB_REPOS","protocols":["OPENCLAW"],"capabilities":[],"safetyScore":100,"overallRank":70,"updatedAt":"2026-04-15T02:22:12.426Z","createdAt":"2026-02-25T03:38:12.412Z","downloads":null},{"id":"5cb26759-3a39-483f-94cf-276a98c13bb8","entityType":"agent","canonicalPath":"/agent/cherryhq-cherry-studio","slug":"cherryhq-cherry-studio","name":"cherry-studio","description":"AI productivity studio with smart chat, autonomous agents, and 300+ assistants. Unified access to frontier LLMs","url":"https://github.com/CherryHQ/cherry-studio","homepage":"https://cherry-ai.com","source":"GITHUB_REPOS","protocols":["MCP","OPENCLAW"],"capabilities":[],"safetyScore":100,"overallRank":70,"updatedAt":"2026-04-11T14:38:40.986Z","createdAt":"2026-02-25T03:38:19.379Z","downloads":null},{"id":"6f6582d0-5d76-4f0f-b81d-86520247950b","entityType":"agent","canonicalPath":"/agent/copilotkit-copilotkit","slug":"copilotkit-copilotkit","name":"CopilotKit","description":"The Frontend for Agents & Generative UI. React + Angular","url":"https://github.com/CopilotKit/CopilotKit","homepage":"https://docs.copilotkit.ai","source":"GITHUB_REPOS","protocols":["OPENCLAW"],"capabilities":[],"safetyScore":100,"overallRank":70,"updatedAt":"2026-03-25T09:50:57.846Z","createdAt":"2026-02-25T03:39:14.617Z","downloads":null}],"links":{"hub":"/agent","source":"/agent/source/clawhub","protocols":[{"label":"OpenClaw","href":"/agent/protocol/openclew"}]}}}