← 返回 Skills 市场
dlazyai

Dlazy Recraft V4 Vector

作者 dlazy · GitHub ↗ · v1.1.0 · MIT-0
cross-platform ⚠ suspicious
152
总下载
0
收藏
0
当前安装
1
版本数
在 OpenClaw 中安装
/install dlazy-recraft-v4-vector
功能描述
Text-to-vector model that outputs SVG results. Suitable for logos, icons, and scalable design assets.
使用说明 (SKILL.md)

dlazy-recraft-v4-vector

English · 中文

Text-to-vector model that outputs SVG results. Suitable for logos, icons, and scalable design assets.

Trigger Keywords

  • recraft-v4-vector

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 recraft-v4-vector to get the result.

dlazy recraft-v4-vector -h

Options:
  --prompt [prompt]                    Prompt
  --aspect_ratio [aspect_ratio]        Aspect Ratio [default: auto] (choices: "auto", "1:1", "4:3", "3:4", "16:9", "9:16", "3:2", "2:3", "2:1", "1:2")
  --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": "recraft-v4-vector",
    "modelId": "recraft-v4-vector",
    "outputs": [
      {
        "type": "image",
        "id": "o_xxxxxxxx",
        "url": "https://files.dlazy.com/result.png",
        "mimeType": "image/png"
      }
    ]
  }
}

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 recraft-v4-vector --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.

安全使用建议
This skill appears benign and purpose-aligned. Before installing or invoking it, verify the @dlazy/cli package/source, understand that dLazy prompts and supplied files are sent to api.dlazy.com/files.dlazy.com, and protect or revoke the saved API key if needed.
功能分析
Type: OpenClaw Skill Name: dlazy-recraft-v4-vector Version: 1.1.0 The skill facilitates text-to-vector generation by interfacing with the dLazy API, requiring high-risk capabilities such as network access to api.dlazy.com and files.dlazy.com, and filesystem access to read local media and store credentials in ~/.dlazy/config.json. It also mandates the installation and execution of an external npm package (@dlazy/[email protected]). While these behaviors are aligned with the stated purpose in SKILL.md and SKILL-cn.md, the combination of global binary installation, credential persistence, and local file exfiltration to a third-party service constitutes a significant attack surface without explicit malicious intent.
能力标签
requires-sensitive-credentials
能力评估
Purpose & Capability
The stated purpose and workflow are coherent for text-to-vector generation via dLazy. One minor functional inconsistency is that the description says SVG/vector results while the sample output shows an image/png URL, but this is not evidence of malicious behavior.
Instruction Scope
The skill instructs the agent to execute the dLazy CLI for this model. That is purpose-aligned, but users should understand that invoking it may call a hosted API and consume account credits.
Install Mechanism
The skill is instruction-only, but its metadata documents use of a pinned external npm package, @dlazy/[email protected], via npm or npx. The package code is not included in the provided artifacts.
Credentials
Network access to api.dlazy.com/files.dlazy.com and optional upload of user-supplied local media paths are disclosed and fit the hosted generation purpose.
Persistence & Privilege
The skill documents saving a dLazy API key to a local user config file. This is expected for the service and appears scoped to the dLazy account, with no evidence of background persistence beyond credential storage.
如何使用
  1. 确保已安装 OpenClaw(本地或 Docker 部署)
  2. 在对话框中输入安装命令:/install dlazy-recraft-v4-vector
  3. 安装完成后,直接呼叫该 Skill 的名称或使用 /dlazy-recraft-v4-vector 触发
  4. 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v1.1.0
dlazy-recraft-v4-vector 1.1.0 introduces a detailed skill overview and updated usage guidance. - Expanded and clarified SKILL.md with setup instructions, authentication steps, and API key management. - Added explicit command-line usage examples and parameter options. - Provided detailed error codes and corresponding handling instructions for users. - Outlined expected output formats and tips for managing async tasks. - Included new agent-specific instructions for credit and authorization errors.
元数据
Slug dlazy-recraft-v4-vector
版本 1.1.0
许可证 MIT-0
累计安装 0
当前安装数 0
历史版本数 1
常见问题

Dlazy Recraft V4 Vector 是什么?

Text-to-vector model that outputs SVG results. Suitable for logos, icons, and scalable design assets. 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 152 次。

如何安装 Dlazy Recraft V4 Vector?

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

Dlazy Recraft V4 Vector 是免费的吗?

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

Dlazy Recraft V4 Vector 支持哪些平台?

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

谁开发了 Dlazy Recraft V4 Vector?

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

💬 留言讨论