← 返回 Skills 市场
dlazyai

Dlazy Image Replicate

作者 dlazy · GitHub ↗ · v1.0.6 · MIT-0
cross-platform ✓ 安全检测通过
219
总下载
0
收藏
1
当前安装
6
版本数
在 OpenClaw 中安装
/install dlazy-image-replicate
功能描述
Analyzes an image's style, composition, and lighting to generate a new image in the same style using Seedream 4.5.
使用说明 (SKILL.md)

dlazy-image-replicate

English · 中文

Image replicate tool: analyzes the visuals, composition, colors, lighting, and style of the source image, builds a replicate prompt, and hands it off to Seedream 4.5 to generate a new image in the same style.

Trigger Keywords

  • image-replicate

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: Execute dlazy image-replicate to get the result.

dlazy image-replicate -h

Options:
  --images \x3Cimages...>                 Images [image: url or local path]
  --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"
    ]
  }
}

Examples

dlazy image-replicate --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 to be a thin client for the dLazy service and is internally consistent, but take these precautions before installing or using it: - Review the referenced GitHub repository and the npm package (@dlazy/[email protected]) to ensure the package code matches expectations before running npm install globally. Prefer using `npx` for one-off runs to avoid a global install. - The skill will upload any images you pass to dlazy's media store (oss.dlazy.com). Do not provide images you consider highly sensitive unless you trust dlazy's terms and storage policies. - The CLI stores your API key in ~/.dlazy/config.json (or Windows equivalent). Keep your key private, rotate it if you suspect compromise, and revoke it from the dlazy dashboard if needed. - Verify the service's privacy, retention, and licensing terms on dlazy.com (and confirm Seedream 4.5 usage is acceptable for your content). - Note the minor inconsistency: the skill bundle registry shows no install spec while SKILL.md contains install instructions/metadata. Confirm how your agent platform will handle installation and whether it will attempt to run the npm install command automatically.
功能分析
Type: OpenClaw Skill Name: dlazy-image-replicate Version: 1.0.6 The skill is a wrapper for the dlazy CLI tool used for image replication via the Seedream 4.5 model. It installs a pinned version of the @dlazy/cli package from npm and interacts with legitimate endpoints (api.dlazy.com and oss.dlazy.com). While it handles local file uploads and stores an API key in ~/.dlazy/config.json, these actions are transparently documented and aligned with its stated functionality as a SaaS-based image processing tool. No malicious intent or harmful prompt injection instructions were identified in SKILL.md.
能力标签
requires-sensitive-credentials
能力评估
Purpose & Capability
The name and description describe an image-replication client that calls dLazy/Seedream. The SKILL.md instructs using the dLazy CLI and an API key. Asking for a dLazy API key and using api.dlazy.com / oss.dlazy.com is consistent with the stated functionality.
Instruction Scope
Runtime instructions tell the agent to run `dlazy image-replicate`, upload any local media via the CLI, and handle typical API errors. The instructions do not ask the agent to read unrelated files or exfiltrate unrelated data; they only reference the user-provided image paths and the dLazy endpoints. The SKILL.md includes explicit rules about reporting insufficient balance or missing API key, which is scope-limited to this service.
Install Mechanism
The registry package has no formal install spec, but the SKILL.md metadata recommends installing the CLI from npm (npmjs.com) or running via npx and links to a GitHub repo. Those are traceable sources (npm/GitHub) and not high-risk in themselves, but the registry-level absence of an install spec vs. SKILL.md install instructions is an inconsistency worth noting — verify the npm package and GitHub source before installing.
Credentials
No unrelated credentials are requested by the skill manifest. The SKILL.md legitimately requires a single dLazy API key (or DLAZY_API_KEY env var) which is proportional to calling a hosted API. The CLI stores the key in a per-user config (~/.dlazy/config.json), which is normal for a CLI that needs an API key.
Persistence & Privilege
The skill is not marked 'always'. It does not request elevated or system-wide privileges and only persists the dLazy API key in its own user config file. It does not modify other skills or system-wide agent settings.
如何使用
  1. 确保已安装 OpenClaw(本地或 Docker 部署)
  2. 在对话框中输入安装命令:/install dlazy-image-replicate
  3. 安装完成后,直接呼叫该 Skill 的名称或使用 /dlazy-image-replicate 触发
  4. 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v1.0.6
bump @dlazy/cli to 1.0.8
v1.0.5
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.4
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.3
- Fixed language in agent instruction regarding API key saving for greater clarity. - Updated SKILL.md, SKILL-en.md, and SKILL-cn.md documentation for minor text clarity improvements.
v1.0.2
- Updated CLI install version to @dlazy/[email protected] in metadata. - Bumped skill version to 1.0.2. - Documentation remains unchanged except for the CLI install version.
v1.0.1
dlazy-image-replicate 1.0.1 - Adds detailed usage instructions and error handling guidance. - Documents CLI options and authentication process for the dLazy API. - Includes critical user instructions for handling insufficient balance or missing API key. - Clarifies expected output format and provides example commands.
元数据
Slug dlazy-image-replicate
版本 1.0.6
许可证 MIT-0
累计安装 1
当前安装数 1
历史版本数 6
常见问题

Dlazy Image Replicate 是什么?

Analyzes an image's style, composition, and lighting to generate a new image in the same style using Seedream 4.5. 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 219 次。

如何安装 Dlazy Image Replicate?

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

Dlazy Image Replicate 是免费的吗?

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

Dlazy Image Replicate 支持哪些平台?

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

谁开发了 Dlazy Image Replicate?

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

💬 留言讨论