← 返回 Skills 市场
dlazyai

Dlazy Recraft V3

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

dlazy-recraft-v3

English · 中文

Generate diverse design style images with Recraft v3. Supports text-to-image and image-to-image.

Trigger Keywords

  • recraft v3
  • generate image, design 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 recraft-v3 command to get results.

dlazy recraft-v3 -h

Options:
  --prompt \x3Cprompt>                    Prompt
  --aspect_ratio \x3Caspect_ratio>        Aspect Ratio [default: auto] (choices: "auto", "1:1", "4:3", "3:4", "16:9", "9:16", "3:2", "2:3", "21:9")
  --style \x3Cstyle>                      Style [default: Recraft V3 Raw] (choices: "Recraft V3 Raw", "Photorealism", "Illustration")
  --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 recraft-v3 --prompt 'prompt text' --image '/path/to/image.png'

# complex call:
dlazy recraft-v3 --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 wrapper for the dLazy Recraft v3 service and appears coherent. Before installing or using it: 1) Prefer npx to avoid a global install, or review the GitHub repo and the @dlazy/cli npm package source at the pinned version (1.0.6). 2) Provide only data you are comfortable uploading — any local images/videos you pass will be uploaded to oss.dlazy.com. 3) The CLI requires a dLazy API key (stored in ~/.dlazy/config.json or passed via DLAZY_API_KEY); treat that key like any API secret (rotate/revoke if compromised). 4) Confirm billing/credit implications (the skill instructs the agent to notify users when balance is insufficient). 5) If you need higher assurance, audit the referenced GitHub repository and the npm package contents for unexpected behavior before granting the key or running the CLI.
功能分析
Type: OpenClaw Skill Name: dlazy-recraft-v3 Version: 1.0.4 The skill is a wrapper for the dLazy CLI tool (@dlazy/cli) used to interface with the Recraft v3 image generation API. It manages authentication via API keys stored in ~/.dlazy/config.json and communicates with api.dlazy.com and oss.dlazy.com. While the tool uploads local files to cloud storage for image-to-image processing, this behavior is explicitly documented and necessary for the stated functionality. No evidence of malicious intent, data exfiltration, or prompt injection was found in SKILL.md or _meta.json.
能力标签
requires-sensitive-credentials
能力评估
Purpose & Capability
Name/description (image generation with Recraft v3) aligns with the artifacts: the SKILL.md instructs the agent to run the dlazy CLI, references the dLazy API endpoints (api.dlazy.com, oss.dlazy.com), and documents a pinned npm package (@dlazy/[email protected]). No unrelated credentials, binaries, or capabilities are requested.
Instruction Scope
Runtime instructions are narrowly scoped to invoking the dlazy CLI (dlazy recraft-v3) and handling its responses. The SKILL.md explicitly states that local files passed as inputs will be uploaded to oss.dlazy.com — this is expected for an image-generation SaaS client, but users should understand that any local files they provide will be transmitted to dLazy.
Install Mechanism
There is no registry-level install spec; the SKILL.md metadata suggests installing a pinned npm package (@dlazy/[email protected]) or using npx. This is a standard, low-risk install vector from the public npm registry. No arbitrary download URLs or extract-from-remote archives are present.
Credentials
The registry requires only npm/npx binaries; no env vars are mandatory. The SKILL.md documents that the CLI uses a dLazy API key saved to ~/.dlazy/config.json or optionally DLAZY_API_KEY. Requesting a service API key is proportional to the stated purpose, but be aware the key is stored locally in the user's config file and/or provided via an env var.
Persistence & Privilege
The skill is not always-enabled and does not request elevated persistence. It does not modify other skills or system-wide agent settings. Autonomous invocation is allowed by default (normal for skills) but no additional privileges are requested.
如何使用
  1. 确保已安装 OpenClaw(本地或 Docker 部署)
  2. 在对话框中输入安装命令:/install dlazy-recraft-v3
  3. 安装完成后,直接呼叫该 Skill 的名称或使用 /dlazy-recraft-v3 触发
  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 agent instructions for handling missing or unauthorized API keys: agents must now save the provided API key using `dlazy auth set <key>` and resume the task. - Improved clarity in error handling and recharge instructions for insufficient balance. - Minor documentation adjustments in SKILL.md, SKILL-en.md, and SKILL-cn.md for consistency.
v1.0.1
- Added an authentication section with instructions for setting and obtaining the dLazy API key. - Updated CLI install requirement to @dlazy/[email protected]. - Improved documentation for setup and usage in all supported languages.
v1.0.0
- Initial release of dlazy-recraft-v3 skill. - Supports diverse design style image generation using Recraft v3, including text-to-image and image-to-image options. - Includes detailed usage instructions, trigger keywords, and command-line options. - Provides structured output format and robust error handling guidance. - Critical agent instructions for handling insufficient balance and missing API key scenarios.
元数据
Slug dlazy-recraft-v3
版本 1.0.4
许可证 MIT-0
累计安装 1
当前安装数 1
历史版本数 5
常见问题

Dlazy Recraft V3 是什么?

Generate diverse design style images with Recraft v3. Supports text-to-image and image-to-image. 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 447 次。

如何安装 Dlazy Recraft V3?

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

Dlazy Recraft V3 是免费的吗?

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

Dlazy Recraft V3 支持哪些平台?

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

谁开发了 Dlazy Recraft V3?

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

💬 留言讨论