← 返回 Skills 市场
dlazyai

Dlazy Viduq2 T2i

作者 dlazy · GitHub ↗ · v1.0.4 · MIT-0
cross-platform ✓ 安全检测通过
450
总下载
0
收藏
1
当前安装
5
版本数
在 OpenClaw 中安装
/install dlazy-viduq2-t2i
功能描述
Generate high-quality images with Vidu Q2. Supports text-to-image and image-to-image.
使用说明 (SKILL.md)

dlazy-viduq2-t2i

English · 中文

Generate high-quality images with Vidu Q2. Supports text-to-image and image-to-image.

Trigger Keywords

  • vidu q2
  • generate image, edit image
  • text to image, image to image

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-t2i command to get results.

dlazy viduq2-t2i -h

Options:
  --prompt \x3Cprompt>                    Prompt
  --generation_mode \x3Cgeneration_mode>  Generation Mode [default: components] (choices: "components")
  --images \x3Cimages...>                 Images [image: url or local path] (max 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: 1080p] (choices: "1080p", "2K", "4K")
  --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-t2i --prompt 'prompt text' --image '/path/to/image.png'

# complex call:
dlazy viduq2-t2i --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 appears to do what it says: it wraps a cloud image-generation service. Before installing or running: 1) review the upstream GitHub repo and the npm package @dlazy/[email protected] to confirm code provenance; 2) prefer using `npx @dlazy/[email protected]` for one-off runs if you don't want a global install; 3) be aware any local images you pass will be uploaded to dlazy's storage (oss.dlazy.com) — don't send sensitive images; 4) protect your dLazy API key (it will be stored in ~/.dlazy/config.json by default) and use organization controls to rotate/revoke keys if needed.
功能分析
Type: OpenClaw Skill Name: dlazy-viduq2-t2i Version: 1.0.4 The skill is a standard wrapper for the dLazy AI image generation service, utilizing a pinned version of the official '@dlazy/cli' npm package. It transparently handles API authentication via a local config file (~/.dlazy/config.json) and explicitly informs the agent that local files provided as arguments will be uploaded to the service's storage (oss.dlazy.com) for processing, which is consistent with its stated purpose.
能力标签
requires-sensitive-credentials
能力评估
Purpose & Capability
The name/description describe a text-to-image/image-to-image client. The SKILL.md requests npm/npx and describes using @dlazy/cli and a dLazy API key and endpoints (api.dlazy.com, oss.dlazy.com) — all directly related to running a CLI that calls a hosted image-generation API.
Instruction Scope
Runtime instructions are limited to running the dlazy CLI, passing prompts and files, and handling common API responses. The doc explicitly states that local file paths provided by the user will be uploaded to dlazy's media storage (oss.dlazy.com), which is expected for this type of skill. There are no instructions to read unrelated system files or to exfiltrate data to unknown endpoints.
Install Mechanism
The registry contains no install spec (instruction-only), but SKILL.md metadata suggests installing or running the public npm package @dlazy/[email protected] (via npm or npx). This is coherent for a CLI client; installing npm packages executes third-party code (moderate supply-chain risk). Recommended: review the GitHub repo/source before installing.
Credentials
No unrelated environment variables or credentials are requested. The skill requires a dLazy API key (declared in the docs) which is proportionate to a hosted API client; it documents the config file location (~/.dlazy/config.json) where the key is stored.
Persistence & Privilege
The skill does not request always: true and does not modify other skills or system-wide settings. It is user-invocable and can be run on demand. Storing an API key under the user's config directory is normal for a CLI client.
如何使用
  1. 确保已安装 OpenClaw(本地或 Docker 部署)
  2. 在对话框中输入安装命令:/install dlazy-viduq2-t2i
  3. 安装完成后,直接呼叫该 Skill 的名称或使用 /dlazy-viduq2-t2i 触发
  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 to version 1.0.2. - Adjusted authentication instructions: now directs agents to save API keys directly and resume tasks after user supplies the key. - Minor wording change for clarity in agent instructions. - No changes to functionality or CLI options.
v1.0.1
- Added detailed authentication instructions, including steps to obtain and set the required API key. - Updated CLI install requirement to @dlazy/[email protected]. - Improved documentation for setup and usage. - No changes to core functionality or command-line options.
v1.0.0
Initial release of dlazy-viduq2-t2i. - Generate high-quality images using Vidu Q2, supporting both text-to-image and image-to-image workflows. - Command-line interface with various options: prompt, image input, aspect ratio, resolution, and more. - Provides clear error handling and instructions for missing credits or API keys. - Output format delivers generated image URLs. - Includes setup, triggers, usage examples, and help guidance.
元数据
Slug dlazy-viduq2-t2i
版本 1.0.4
许可证 MIT-0
累计安装 1
当前安装数 1
历史版本数 5
常见问题

Dlazy Viduq2 T2i 是什么?

Generate high-quality images with Vidu Q2. Supports text-to-image and image-to-image. 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 450 次。

如何安装 Dlazy Viduq2 T2i?

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

Dlazy Viduq2 T2i 是免费的吗?

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

Dlazy Viduq2 T2i 支持哪些平台?

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

谁开发了 Dlazy Viduq2 T2i?

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

💬 留言讨论