← 返回 Skills 市场
dlazyai

Dlazy Viduq2 I2v

作者 dlazy · GitHub ↗ · v1.0.4 · MIT-0
cross-platform ✓ 安全检测通过
443
总下载
0
收藏
1
当前安装
5
版本数
在 OpenClaw 中安装
/install dlazy-viduq2-i2v
功能描述
Convert static images into dynamic videos using Vidu Q2 image-to-video model.
使用说明 (SKILL.md)

dlazy-viduq2-i2v

English · 中文

Convert static images into dynamic videos using Vidu Q2 image-to-video model.

Trigger Keywords

  • vidu q2
  • image to video
  • image to dynamic video

Authentication

All requests require a dLazy API key, configured through the CLI:

dlazy auth set YOUR_API_KEY

The 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.

Getting Your API Key

  1. Sign in or create an account at dlazy.com
  2. Go to dlazy.com/dashboard/organization/api-key
  3. Copy the key shown in the API Key section

Each key is scoped to your dLazy organization and can be rotated or revoked at any time from the same dashboard.

About & Provenance

You can install on demand without persisting a global binary by running:

npx @dlazy/[email protected] \x3Ccommand>

Or, if you prefer a global install, the skill's metadata.clawdbot.install field declares the exact pinned version (npm install -g @dlazy/[email protected]). Review the GitHub source before installing.

How It Works

This skill is a thin client over the dLazy hosted API. When you invoke it:

  • Prompts and parameters you provide are sent to the dLazy API endpoint (api.dlazy.com) for inference.
  • Any local file paths you pass to image / video / audio fields are uploaded to dLazy's media storage (oss.dlazy.com) so the model can read them — the same flow as any cloud-based generation API.
  • Generated output URLs returned by the API are hosted on oss.dlazy.com.

This 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 for the full service terms.

Usage

CRITICAL INSTRUCTION FOR AGENT: Run the dlazy viduq2-i2v command to get results.

dlazy viduq2-i2v -h

Options:
  --prompt \x3Cprompt>                    Prompt
  --generation_mode \x3Cgeneration_mode>  Generation Mode [default: components] (choices: "components", "frames")
  --images \x3Cimages...>                 Images [image: url or local path] (max 10) [only when !(generation_mode="frames")]
  --firstFrame \x3CfirstFrame>            First Frame [image: url or local path] [only when generation_mode="frames"]
  --lastFrame \x3ClastFrame>              Last Frame [image: url or local path] [only when generation_mode="frames"]
  --subjects \x3Csubjects...>             Subjects (max 7) [only when !(generation_mode="frames")]
  --audio \x3Caudio>                      Audio [default: false] (choices: "true", "false")
  --audioType \x3CaudioType>              Audio Type [default: all] (choices: "all", "speech_only") [only when !(generation_mode="frames")]
  --duration \x3Cduration>                Duration (s) [default: 5] (choices: "2", "3", "4", "5", "6", "7", "8", "9", "10")
  --aspectRatio \x3CaspectRatio>          Aspect Ratio [default: 9:16] (choices: "16:9", "9:16", "1:1", "3:4", "4:3", "21:9", "2:3", "3:2")
  --resolution \x3Cresolution>            Resolution [default: 720p] (choices: "540p", "720p", "1080p")
  --watermark \x3Cwatermark>              Watermark [default: false] (choices: "true", "false")
  --wmPosition \x3CwmPosition>            Watermark Position [default: 3] (choices: "1", "2", "3", "4")
  --wmUrl \x3CwmUrl>                      Watermark URL
  --promptRefs \x3CpromptRefs...>         promptRefs [default: ]
  --input \x3Cspec>                       JSON payload: inline string, @file, or - (stdin)
  --dry-run                            Print payload + cost estimate without calling API
  --no-wait                            Return generateId immediately for async tasks
  --timeout \x3Cseconds>                  Max seconds to wait for async completion (default: "1800")
  -h, --help                           display help for command

Output Format

{
  "ok": true,
  "kind": "urls",
  "data": {
    "urls": [
      "https://oss.dlazy.com/result.mp4"
    ]
  }
}

Command Examples

# basic call:
dlazy viduq2-i2v --prompt 'prompt text' --image '/path/to/image.png'

# complex call:
dlazy viduq2-i2v --prompt 'prompt text' --image 'https://oss.dlazy.com/image.png'

Error Handling

Code Error Type Example Message
401 Unauthorized (No API Key) ok: false, code: "unauthorized", message: "API key is missing or invalid"
501 Missing required parameter error: required option '--prompt \x3Cprompt>' not specified
502 Local file read error Error: Image file/Video file not found: C:\path o\your\file
503 API request failed (no balance) ok: false, code: "insufficient_balance"
503 API request failed (server error) HTTP status code error (500 server crash)
504 Asynchronous task execution failed === Generation Failed === / {Specific error reason returned by backend, for example "Prompt violates safety policy"}

AGENT CRITICAL INSTRUCTION:

  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
  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 and save it using dlazy auth set \x3Ckey> and resume the task.

Tips

Visit https://dlazy.com for more information.

安全使用建议
This skill is a thin CLI client for the dLazy service and appears coherent. Before installing or running: (1) review the @dlazy/cli GitHub repo and npm package to confirm code provenance; (2) prefer running via npx to avoid a global install if you don't want an extra permanent binary; (3) be aware that any local images/audio you pass will be uploaded to dlazy's oss.dlazy.com storage and that usage may incur charges; (4) the CLI stores your API key in ~/.dlazy/config.json — rotate/revoke the key from the dlazy dashboard if needed; (5) verify the npm package version in the upstream repo matches what you install (SKILL.md metadata shows slightly inconsistent version labels). If you don't trust the upstream project, do not install or provide sensitive images.
功能分析
Type: OpenClaw Skill Name: dlazy-viduq2-i2v Version: 1.0.4 The skill is a standard integration for the dLazy AI video generation service, providing a wrapper for the `@dlazy/cli` npm package. It facilitates image-to-video conversion by uploading local files to 'oss.dlazy.com' and sending parameters to 'api.dlazy.com', which is consistent with its stated purpose. The instructions in SKILL.md are transparent regarding authentication (storing keys in ~/.dlazy/config.json) and provide helpful error-handling guidance for the AI agent without any signs of malicious intent or obfuscation.
能力标签
requires-sensitive-credentials
能力评估
Purpose & Capability
The skill name/description (image→video via Vidu Q2) matches the declared requirements: npm/npx (to run the published CLI). Minor metadata/version noise: registry lists version 1.0.4, SKILL.md header is 1.0.2 and the install is pinned to @dlazy/[email protected] — this is an inconsistency in version labels but does not contradict the stated purpose.
Instruction Scope
SKILL.md instructs the agent to run the dlazy CLI which will upload any local image/audio/video paths to dlazy's media storage (oss.dlazy.com) and send prompts to api.dlazy.com. This is expected for a cloud generation client, but it means any local files you pass will be transmitted to the vendor. The instructions do not direct the agent to read other unrelated files or secrets.
Install Mechanism
This is an instruction-only skill that points to an npm package (@dlazy/[email protected]) and suggests either global npm install or npx. Using an npm package is expected for a CLI client; it carries the usual moderate risk of third-party packages, so auditing the GitHub repo / npm package before global install is recommended. There is no arbitrary URL download or extracted archive in the skill itself.
Credentials
No required environment variables are declared by the registry. The CLI requires a dLazy API key (set via 'dlazy auth set' or DLAZY_API_KEY) which is appropriate and proportionate for a hosted API client. The CLI stores the key in ~/.dlazy/config.json (per SKILL.md), which is expected behavior. No unrelated credentials are requested.
Persistence & Privilege
The skill is not always-enabled and is user-invocable. It does not request to change other skills' configs or system-wide settings. It only references its own CLI config location; autonomy (model invocation) is allowed by default but not combined with other red flags.
如何使用
  1. 确保已安装 OpenClaw(本地或 Docker 部署)
  2. 在对话框中输入安装命令:/install dlazy-viduq2-i2v
  3. 安装完成后,直接呼叫该 Skill 的名称或使用 /dlazy-viduq2-i2v 触发
  4. 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v1.0.4
Reduce 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.
v1.0.3
Add 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/[email protected]' install alternative, normalise Chinese auth-error instruction wording.
v1.0.2
- Updated usage instructions for handling API keys: now asks users to provide their API key, which will be saved directly. - Clarified agent behavior regarding missing or insufficient credits and API keys. - Minor revision for improved wording and clearer guidance in error-handling and authentication sections.
v1.0.1
- Added an **Authentication** section with instructions for configuring and obtaining your dLazy API key. - Updated CLI install version to `@dlazy/[email protected]`. - No changes to core functionality or output format.
v1.0.0
Initial release of dlazy-viduq2-i2v. - Converts static images into dynamic videos using the Vidu Q2 image-to-video model. - Provides a CLI with flexible options for prompt, images, audio, duration, aspect ratio, resolution, watermark, and more. - Includes detailed error handling and guides for resolving insufficient credits or missing API key issues. - Outputs video links upon success.
元数据
Slug dlazy-viduq2-i2v
版本 1.0.4
许可证 MIT-0
累计安装 1
当前安装数 1
历史版本数 5
常见问题

Dlazy Viduq2 I2v 是什么?

Convert static images into dynamic videos using Vidu Q2 image-to-video model. 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 443 次。

如何安装 Dlazy Viduq2 I2v?

在 OpenClaw 或 Claude Code 对话框中运行命令「/install dlazy-viduq2-i2v」即可一键安装,无需额外配置。

Dlazy Viduq2 I2v 是免费的吗?

是的,Dlazy Viduq2 I2v 完全免费,采用 MIT-0 许可证,可自由下载、安装和使用。

Dlazy Viduq2 I2v 支持哪些平台?

Dlazy Viduq2 I2v 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。

谁开发了 Dlazy Viduq2 I2v?

由 dlazy(@dlazyai)开发并维护,当前版本 v1.0.4。

💬 留言讨论