← 返回 Skills 市场
dlazyai

Dlazy Script

作者 dlazy · GitHub ↗ · v1.1.0 · MIT-0
cross-platform ✓ 安全检测通过
145
总下载
0
收藏
0
当前安装
1
版本数
在 OpenClaw 中安装
/install dlazy-script
功能描述
Storyboard script generator. Given a brief and optional reference images, returns a structured script (subjects + storyboards) plus a flat canvas shape list...
使用说明 (SKILL.md)

dlazy-script

English · 中文

Storyboard script generator. Given a brief and optional reference images, returns a structured script (subjects + storyboards) plus a flat canvas shape list ready for downstream generation.

Trigger Keywords

  • script

Authentication

All requests require a dLazy API key. The recommended way to authenticate is:

dlazy login

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

Alternative: Set the Key Manually

If you already have an API key, you can save it directly:

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 Manually

  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 (files.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 files.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: Execute dlazy script to get the result.

dlazy script -h

Options:
  --prompt [prompt]                    Free-form instruction describing the script to generate (story / theme / style / pacing).
  --images [images...]                 Optional reference images (characters / scenes / style refs); accepts URLs or local paths (uploaded by the CLI). [image: url or local path]
  --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

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.

Output Format

{
  "ok": true,
  "result": {
    "tool": "script",
    "modelId": "script",
    "outputs": [
      {
        "type": "json",
        "id": "o_xxxxxxxx",
        "value": {}
      }
    ]
  }
}

Async tasks (when --no-wait is passed) return outputs: [] and a task: { generateId, status } field instead. Use dlazy status \x3CgenerateId> --wait to poll.

Examples

dlazy script --prompt 'prompt content'

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.

安全使用建议
Install only if you trust dLazy and the pinned @dlazy/cli package. Before using it, understand that your prompt and any reference images/files you pass may be uploaded to dLazy, and that the CLI stores an API key locally unless you use an environment variable instead.
功能分析
Type: OpenClaw Skill Name: dlazy-script Version: 1.1.0 The dlazy-script skill is a standard integration for the dLazy SaaS platform, providing a wrapper for its CLI tool (@dlazy/cli) to generate storyboard scripts. It follows expected patterns for cloud-based services, such as using an API key stored in a local config file (~/.dlazy/config.json) and uploading user-provided media to its own endpoints (files.dlazy.com). The instructions for the AI agent are focused on error handling and guiding the user to the official dashboard for authentication and credits, with no evidence of malicious intent or prompt injection attacks.
能力标签
requires-sensitive-credentials
能力评估
Purpose & Capability
The stated storyboard-script purpose matches the documented `dlazy script` command, hosted API use, and optional reference-image handling.
Instruction Scope
The agent instructions are narrow and purpose-aligned, though they use forceful wording and include conditional guidance to send users to auth or credits pages.
Install Mechanism
The registry presents this as instruction-only with no code files scanned, while the skill metadata documents a pinned external npm/npx CLI package; users must trust or review that external package.
Credentials
Network calls to dLazy endpoints and uploads of user-specified media are proportionate for a hosted generation service, but users should avoid providing sensitive files unless they intend to upload them.
Persistence & Privilege
The skill documents persistent local API-key storage in the user's dLazy config; no background agent, self-propagation, or hidden persistence is shown.
如何使用
  1. 确保已安装 OpenClaw(本地或 Docker 部署)
  2. 在对话框中输入安装命令:/install dlazy-script
  3. 安装完成后,直接呼叫该 Skill 的名称或使用 /dlazy-script 触发
  4. 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v1.1.0
- Added detailed documentation for authentication, API key setup, and manual/automatic CLI configuration. - Expanded usage instructions and CLI option descriptions, including agent-specific critical instructions. - Clarified error handling with specific guidance for common error codes (e.g., insufficient balance, unauthorized). - Outlined output format and provided example CLI invocations. - Added provenance, installation guidance, and information on how the skill interacts with dLazy's API and file storage.
元数据
Slug dlazy-script
版本 1.1.0
许可证 MIT-0
累计安装 0
当前安装数 0
历史版本数 1
常见问题

Dlazy Script 是什么?

Storyboard script generator. Given a brief and optional reference images, returns a structured script (subjects + storyboards) plus a flat canvas shape list... 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 145 次。

如何安装 Dlazy Script?

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

Dlazy Script 是免费的吗?

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

Dlazy Script 支持哪些平台?

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

谁开发了 Dlazy Script?

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

💬 留言讨论