← 返回 Skills 市场
dlazyai

Dlazy Imageseg

作者 dlazy · GitHub ↗ · v1.0.6 · MIT-0
cross-platform ⚠ suspicious
663
总下载
0
收藏
1
当前安装
7
版本数
在 OpenClaw 中安装
/install dlazy-imageseg
功能描述
Image matting tool: separates foreground from background and returns transparent background URL, suitable for product image processing, character cutout, and...
使用说明 (SKILL.md)

dlazy-imageseg

English · 中文

Image matting tool: separates foreground from background and returns transparent background URL, suitable for product image processing, character cutout, and composition.

Trigger Keywords

  • imageseg

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 imageseg to get the result.

dlazy imageseg -h

Options:
  --image \x3Cimage>                      Image (URL) [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 imageseg --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 dLazy's image-matting service and will upload any local images you provide to dLazy's OSS. Before installing or running it: 1) Verify the npm package and GitHub repo (@dlazy/cli) to ensure the code matches expectations; prefer `npx @dlazy/[email protected]` if you don't want a global install. 2) Understand that you must provide a dLazy API key (SKILL.md mentions DLAZY_API_KEY and saving to ~/.dlazy/config.json), but the registry metadata did not declare this — treat that as a red flag and confirm where secrets are stored. 3) Do not upload sensitive images you don't want hosted externally. 4) Consider creating a scoped/test API key you can rotate, and review dLazy's privacy/terms. 5) If you need to proceed, inspect the CLI source on GitHub and confirm network endpoints (api.dlazy.com / oss.dlazy.com) before granting any credentials.
功能分析
Type: OpenClaw Skill Name: dlazy-imageseg Version: 1.0.6 The skill is a legitimate wrapper for the dLazy image matting service, facilitating background removal via a CLI tool (@dlazy/cli). It transparently documents its use of local file uploads to oss.dlazy.com and the storage of API keys in ~/.dlazy/config.json, which are standard operations for this type of SaaS integration. No evidence of malicious intent, data exfiltration beyond the stated purpose, or harmful prompt injections was found in SKILL.md or the metadata.
能力标签
requires-sensitive-credentials
能力评估
Purpose & Capability
Name/description, required binaries (npm/npx), and the instructions all describe a thin CLI client that calls dLazy's api.dlazy.com and uploads media to oss.dlazy.com — this matches the stated image-matting purpose.
Instruction Scope
SKILL.md explicitly instructs the agent to run `dlazy imageseg` and explains local files will be uploaded to dLazy's OSS. The instructions do not ask the agent to read unrelated system files, but they do cause user-provided local files to be transmitted to a remote service (expected for a SaaS client).
Install Mechanism
There is no formal install spec in the registry (skill is instruction-only) but the SKILL metadata recommends `npm install -g @dlazy/[email protected]` or `npx @dlazy/[email protected]`. Installing a pinned npm package is typical; using npx avoids persisting a global binary and is lower-risk. The package is from npmjs.com (expected) but the registry does not perform a code review — review the GitHub repo before installing.
Credentials
SKILL.md requires a dLazy API key and documents the config path (~/.dlazy/config.json) and the DLAZY_API_KEY env var, but the skill metadata/registry lists 'Required env vars: none' and 'Primary credential: none'. The skill will store the API key in the user's home config and upload local media — the credential and storage behavior should be explicitly declared in registry metadata.
Persistence & Privilege
always: false (normal). The only persistent side effect described is the CLI storing the API key in ~/.dlazy/config.json (per-user). The agent is allowed to invoke the skill autonomously by default (platform default) but this skill does not request elevated platform-wide privileges.
如何使用
  1. 确保已安装 OpenClaw(本地或 Docker 部署)
  2. 在对话框中输入安装命令:/install dlazy-imageseg
  3. 安装完成后,直接呼叫该 Skill 的名称或使用 /dlazy-imageseg 触发
  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
- Updated to version 1.0.3. - Minor phrasing adjustment in agent instructions to clarify API key handling. - No changes to command usage or overall functionality. - Documentation refreshed in SKILL.md, SKILL-en.md, and SKILL-cn.md.
v1.0.2
- Updated CLI installation instructions to require @dlazy/[email protected] (was 1.0.5). - Bumped skill version to 1.0.2. - Documentation updated in SKILL.md, SKILL-en.md, and SKILL-cn.md.
v1.0.1
- Added detailed authentication instructions, including how to obtain and set the API key. - Provided a dedicated "Authentication" section to clarify API key requirements. - No changes made to command options or core usage instructions. - Documentation updated in English and Chinese.
v1.0.0
Initial release of dlazy-imageseg. - Image matting tool for separating foreground from background with transparent background output. - Supports product image processing, character cutout, and image composition. - Provides command-line options for input images, JSON payloads, async tasks, and error handling. - Clear instructions for handling authorization and credit-related errors. - Output includes URLs to processed images with transparent backgrounds.
元数据
Slug dlazy-imageseg
版本 1.0.6
许可证 MIT-0
累计安装 1
当前安装数 1
历史版本数 7
常见问题

Dlazy Imageseg 是什么?

Image matting tool: separates foreground from background and returns transparent background URL, suitable for product image processing, character cutout, and... 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 663 次。

如何安装 Dlazy Imageseg?

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

Dlazy Imageseg 是免费的吗?

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

Dlazy Imageseg 支持哪些平台?

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

谁开发了 Dlazy Imageseg?

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

💬 留言讨论