{"id":"3a93d769-d6ec-4c72-b562-698875d91e14","entityType":"agent","slug":"clawhub-dlazyai-dlazy-image-replicate","name":"图片仿制 Image Replicate","canonicalUrl":"https://www.xpersona.co/agent/clawhub-dlazyai-dlazy-image-replicate","canonicalPath":"/agent/clawhub-dlazyai-dlazy-image-replicate","generatedAt":"2026-10-09T12:22:04.977Z","source":"CLAWHUB","claimStatus":"UNCLAIMED","verificationTier":"NONE","summary":{"evidence":{"source":"CLAWHUB","verified":false,"confidence":"medium","updatedAt":"2026-10-09T05:59:23.027Z","emptyReason":null},"description":"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. 图像仿写工具：分析原图的视觉效果、构图、色彩、光影和风格，生成重绘提示词，并交给 Seedream 4.5 生成具有相同风格的新图像。","descriptionLabel":"Source description","evidenceSummary":"Capability contract not published. No trust telemetry is available yet. 4.1K downloads reported by the source. Last updated 10/9/2026.","installCommand":"clawhub skill install s170j1ymymrxasgd00dsk7tckx84cf45:dlazy-image-replicate","sourceUrl":"https://clawhub.ai/dlazyai/dlazy-image-replicate","homepage":"https://clawhub.ai/dlazyai/skills/dlazy-image-replicate","primaryLinks":[{"label":"View on ClawHub","url":"https://clawhub.ai/dlazyai/dlazy-image-replicate","kind":"source"},{"label":"Homepage","url":"https://clawhub.ai/dlazyai/skills/dlazy-image-replicate","kind":"homepage"}],"safetyScore":84,"overallRank":62,"popularityScore":72,"trustScore":null,"claimedByName":null,"isOwner":false,"seoDescription":"图片仿制 Image Replicate technical dossier on Xpersona with agent coverage, OPENCLEW support, and live trust metadata."},"coverage":{"evidence":{"source":"public-profile","verified":false,"confidence":"medium","updatedAt":"2026-10-09T05:59:23.027Z","emptyReason":null},"protocols":[{"protocol":"OPENCLEW","label":"OpenClaw","status":"self-declared","notes":"Declared in the public agent profile."}],"capabilities":[],"verifiedCount":0,"selfDeclaredCount":1,"capabilityMatrix":{"rows":[{"key":"OPENCLEW","type":"protocol","support":"unknown","confidenceSource":"profile","notes":"Listed on profile"}],"flattenedTokens":"protocol:OPENCLEW|unknown|profile"}},"adoption":{"evidence":{"source":"CLAWHUB","verified":false,"confidence":"medium","updatedAt":"2026-10-09T05:59:23.027Z","emptyReason":null},"stars":null,"forks":null,"downloads":4123,"packageName":null,"latestVersion":"1.3.27","tractionLabel":"4.1K downloads"},"release":{"evidence":{"source":"CLAWHUB","verified":false,"confidence":"medium","updatedAt":"2026-10-09T05:59:23.027Z","emptyReason":null},"lastUpdatedAt":"2026-10-09T05:59:23.027Z","lastCrawledAt":"2026-10-09T05:59:23.027Z","lastIndexedAt":null,"nextCrawlAt":"2026-10-10T05:59:23.027Z","lastVerifiedAt":null,"highlights":[{"version":"1.3.27","createdAt":"2026-10-08T01:14:36.128Z","changelog":"例行版本更新 2026-10-08","fileCount":4,"zipByteSize":7943},{"version":"1.3.26","createdAt":"2026-10-04T01:13:22.762Z","changelog":"例行版本更新 2026-10-04","fileCount":4,"zipByteSize":7958},{"version":"1.3.25","createdAt":"2026-10-02T04:56:02.653Z","changelog":"例行版本更新 2026-10-02","fileCount":4,"zipByteSize":8015},{"version":"1.3.24","createdAt":"2026-09-30T01:12:25.609Z","changelog":"例行版本更新 2026-09-30","fileCount":4,"zipByteSize":8004},{"version":"1.3.23","createdAt":"2026-09-28T02:11:11.865Z","changelog":"例行版本更新 2026-09-28","fileCount":4,"zipByteSize":8029},{"version":"1.3.22","createdAt":"2026-09-28T01:13:21.818Z","changelog":"例行版本更新 2026-09-28","fileCount":4,"zipByteSize":8036},{"version":"1.3.21","createdAt":"2026-09-24T01:49:50.863Z","changelog":"例行版本更新 2026-09-24","fileCount":4,"zipByteSize":8138},{"version":"1.3.20","createdAt":"2026-09-22T01:11:06.688Z","changelog":"例行版本更新 2026-09-22","fileCount":4,"zipByteSize":8204}]},"execution":{"evidence":{"source":"CLAWHUB","verified":false,"confidence":"low","updatedAt":null,"emptyReason":"No published capability contract is available yet."},"installCommand":"clawhub skill install s170j1ymymrxasgd00dsk7tckx84cf45:dlazy-image-replicate","setupComplexity":"low","setupSteps":["Install using `clawhub skill install s170j1ymymrxasgd00dsk7tckx84cf45:dlazy-image-replicate` in an isolated environment before connecting it to live workloads.","No published capability contract is available yet, so validate auth and request/response behavior manually.","Review the upstream CLAWHUB listing at https://clawhub.ai/dlazyai/dlazy-image-replicate before using production credentials."],"contract":{"contractStatus":"missing","authModes":[],"requires":[],"forbidden":[],"supportsMcp":false,"supportsA2a":false,"supportsStreaming":false,"inputSchemaRef":null,"outputSchemaRef":null,"dataRegion":null,"contractUpdatedAt":null,"sourceUpdatedAt":null,"freshnessSeconds":null},"invocationGuide":{"preferredApi":{"snapshotUrl":"https://www.xpersona.co/api/v1/agents/clawhub-dlazyai-dlazy-image-replicate/snapshot","contractUrl":"https://www.xpersona.co/api/v1/agents/clawhub-dlazyai-dlazy-image-replicate/contract","trustUrl":"https://www.xpersona.co/api/v1/agents/clawhub-dlazyai-dlazy-image-replicate/trust"},"curlExamples":["curl -s \"https://www.xpersona.co/api/v1/agents/clawhub-dlazyai-dlazy-image-replicate/snapshot\"","curl -s \"https://www.xpersona.co/api/v1/agents/clawhub-dlazyai-dlazy-image-replicate/contract\"","curl -s \"https://www.xpersona.co/api/v1/agents/clawhub-dlazyai-dlazy-image-replicate/trust\""],"jsonRequestTemplate":{"query":"summarize this repo","constraints":{"maxLatencyMs":2000,"protocolPreference":["OPENCLEW"]}},"jsonResponseTemplate":{"ok":true,"result":{"summary":"...","confidence":0.9},"meta":{"source":"CLAWHUB","generatedAt":"2026-10-09T12:22:04.974Z"}},"retryPolicy":{"maxAttempts":3,"backoffMs":[500,1500,3500],"retryableConditions":["HTTP_429","HTTP_503","NETWORK_TIMEOUT"]}},"endpoints":{"dossierUrl":"https://www.xpersona.co/api/v1/agents/clawhub-dlazyai-dlazy-image-replicate/dossier","snapshotUrl":"https://www.xpersona.co/api/v1/agents/clawhub-dlazyai-dlazy-image-replicate/snapshot","contractUrl":"https://www.xpersona.co/api/v1/agents/clawhub-dlazyai-dlazy-image-replicate/contract","trustUrl":"https://www.xpersona.co/api/v1/agents/clawhub-dlazyai-dlazy-image-replicate/trust"}},"reliability":{"evidence":{"source":"runtime-metrics","verified":false,"confidence":"low","updatedAt":null,"emptyReason":"No trust, reliability, or runtime telemetry is available."},"trust":{"status":"unavailable","handshakeStatus":"UNKNOWN","verificationFreshnessHours":null,"reputationScore":null,"p95LatencyMs":null,"successRate30d":null,"fallbackRate":null,"attempts30d":null,"trustUpdatedAt":null,"trustConfidence":"unknown","sourceUpdatedAt":null,"freshnessSeconds":null},"decisionGuardrails":{"doNotUseIf":["Contract metadata is missing or unavailable for deterministic execution."],"safeUseWhen":[],"riskFlags":["missing_or_unavailable_contract","trust_data_unavailable","schema_references_missing"],"operationalConfidence":"low"},"executionMetrics":{"observedLatencyMsP50":null,"observedLatencyMsP95":null,"estimatedCostUsd":null,"uptime30d":null,"rateLimitRpm":null,"rateLimitBurst":null,"lastVerifiedAt":null,"verificationSource":null},"runtimeMetrics":{"successRate":null,"avgLatencyMs":null,"avgCostUsd":null,"hallucinationRate":null,"retryRate":null,"disputeRate":null,"p50Latency":null,"p95Latency":null,"lastUpdated":null}},"benchmarks":{"evidence":{"source":"no-benchmark-data","verified":false,"confidence":"low","updatedAt":null,"emptyReason":"No benchmark suites or observed failure patterns are available."},"suites":[],"failurePatterns":[]},"artifacts":{"evidence":{"source":"CLAWHUB","verified":false,"confidence":"medium","updatedAt":"2026-10-09T05:59:23.027Z","emptyReason":null},"readme":"Skill: 图片仿制 Image Replicate\n\nOwner: dlazyai\n\nSummary: 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. 图像仿写工具：分析原图的视觉效果、构图、色彩、光影和风格，生成重绘提示词，并交给 Seedream 4.5 生成具有相同风格的新图像。\n\nTags: latest:1.3.27\n\nVersion history:\n\nv1.3.27 | 2026-10-08T01:14:36.128Z | user\n\n例行版本更新 2026-10-08\n\nv1.3.26 | 2026-10-04T01:13:22.762Z | user\n\n例行版本更新 2026-10-04\n\nv1.3.25 | 2026-10-02T04:56:02.653Z | user\n\n例行版本更新 2026-10-02\n\nv1.3.24 | 2026-09-30T01:12:25.609Z | user\n\n例行版本更新 2026-09-30\n\nv1.3.23 | 2026-09-28T02:11:11.865Z | user\n\n例行版本更新 2026-09-28\n\nv1.3.22 | 2026-09-28T01:13:21.818Z | user\n\n例行版本更新 2026-09-28\n\nv1.3.21 | 2026-09-24T01:49:50.863Z | user\n\n例行版本更新 2026-09-24\n\nv1.3.20 | 2026-09-22T01:11:06.688Z | user\n\n例行版本更新 2026-09-22\n\nv1.3.19 | 2026-09-20T01:16:55.930Z | user\n\n例行版本更新 2026-09-20\n\nv1.3.18 | 2026-09-18T01:37:29.234Z | user\n\n例行版本更新 2026-09-18\n\nv1.3.17 | 2026-09-14T01:13:23.175Z | user\n\n例行版本更新 2026-09-14\n\nv1.3.16 | 2026-09-10T01:10:34.840Z | user\n\n例行版本更新 2026-09-10\n\nv1.3.15 | 2026-09-08T01:11:16.431Z | user\n\n例行版本更新 2026-09-08\n\nv1.3.14 | 2026-09-07T01:14:36.988Z | user\n\n例行版本更新 2026-09-07\n\nv1.3.13 | 2026-09-04T01:16:43.134Z | user\n\n例行版本更新 2026-09-04\n\nv1.3.12 | 2026-09-02T01:11:17.606Z | user\n\n例行版本更新 2026-09-02\n\nv1.3.11 | 2026-08-31T02:51:57.654Z | user\n\n源码仓库迁移至 github.com/dlazy-ai/cli\n\nv1.3.10 | 2026-08-24T09:22:50.020Z | user\n\nRestore Chinese display name\n\nv1.3.9 | 2026-08-17T09:05:00.866Z | user\n\nRestore Chinese display name\n\nv1.3.8 | 2026-08-10T05:46:31.499Z | user\n\nRestore Chinese display name\n\nv1.3.7 | 2026-08-10T04:01:05.521Z | user\n\nRestore Chinese display name\n\nv1.3.6 | 2026-07-21T07:53:54.447Z | auto\n\n- Updated to version 1.3.6.\n- Removed the redundant skill-card.md file.\n- Minor editorial updates to documentation (SKILL.md, SKILL-cn.md).\n- No changes to functionality or configuration.\n\nv1.3.5 | 2026-07-21T02:17:40.309Z | auto\n\n- Updated CLI dependency to @dlazy/cli version 1.2.3 (was 1.2.2).\n- Revised install commands and instructions to reflect the new CLI version.\n- Removed the skill-card.md file for streamlined documentation.\n\nv1.3.4 | 2026-07-17T10:37:48.950Z | auto\n\n- Updated npm package version pin from @dlazy/cli@latest to @dlazy/cli@1.2.2 for installation and usage instructions.\n- Adjusted metadata to match the new CLI version specification.\n- Removed the skill-card.md file.\n- Minor documentation and formatting updates in SKILL.md and SKILL-cn.md.\n\nv1.2.2 | 2026-07-17T08:43:34.848Z | auto\n\n- Removed the file skill-card.md.\n- No functional or CLI command changes introduced in this version.\n\nv1.3.3 | 2026-07-09T01:47:40.698Z | user\n\nset Chinese display name for CN search\n\nv1.3.2 | 2026-07-09T01:47:28.054Z | user\n\nset Chinese display name for CN search\n\nv1.3.1 | 2026-07-09T01:29:14.861Z | user\n\nset Chinese display name for CN search\n\nv1.2.1 | 2026-07-07T20:12:56.814Z | user\n\n更新技能配置与内容\n\nv1.3.0 | 2026-07-07T19:43:00.370Z | auto\n\n- Added Chinese description alongside the English description for multilingual support.\n- Updated both SKILL.md and SKILL-cn.md files.\n- Removed redundant documentation file (skill-card.md) for simplification.\n\nv1.2.0 | 2026-06-02T09:54:24.965Z | auto\n\n- Updated CLI installation instructions to use the latest version (`@latest`) of `@dlazy/cli` instead of a pinned version.\n- Removed the `skill-card.md` file from the repository.\n- Documentation refreshed to reflect installation and usage changes.\n- No breaking changes; basic tool usage and API unchanged.\n\nv1.1.2 | 2026-06-02T01:38:05.492Z | user\n\nUpdate model skills (names/params refreshed); add search-audio/image/video\n\nv1.1.1 | 2026-05-06T14:05:27.487Z | auto\n\n- Updated version to 1.1.1.\n- Documentation improvements in SKILL.md and SKILL-cn.md; no functional or CLI changes.\n\nv1.1.0 | 2026-05-01T07:48:35.430Z | auto\n\n- Added recommended authentication via dlazy login device-code flow for easier CLI setup.\n- Clarified manual API key setup as an alternative authentication method.\n- Updated output format to use modelId: \"image-replicate\" (was \"imageReplicate\").\n- Improved authentication instructions and readability throughout documentation.\n\nv1.0.9 | 2026-04-30T10:18:46.352Z | user\n\nSync to CLI 1.0.9 with cliWarning support\n\nv1.0.6 | 2026-04-29T02:34:27.298Z | user\n\nbump @dlazy/cli to 1.0.8\n\nv1.0.5 | 2026-04-27T08:02:36.434Z | user\n\nReduce 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.\n\nv1.0.4 | 2026-04-27T07:41:18.786Z | user\n\nAdd 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/cli@1.0.6' install alternative, normalise Chinese auth-error instruction wording.\n\nv1.0.3 | 2026-04-24T04:02:14.437Z | auto\n\n- Fixed language in agent instruction regarding API key saving for greater clarity.\n- Updated SKILL.md, SKILL-en.md, and SKILL-cn.md documentation for minor text clarity improvements.\n\nv1.0.2 | 2026-04-24T03:27:23.882Z | auto\n\n- Updated CLI install version to @dlazy/cli@1.0.6 in metadata.\n- Bumped skill version to 1.0.2.\n- Documentation remains unchanged except for the CLI install version.\n\nv1.0.1 | 2026-04-24T03:22:06.017Z | auto\n\ndlazy-image-replicate 1.0.1\n\n- Adds detailed usage instructions and error handling guidance.\n- Documents CLI options and authentication process for the dLazy API.\n- Includes critical user instructions for handling insufficient balance or missing API key.\n- Clarifies expected output format and provides example commands.\n\nArchive index:\n\nArchive v1.3.27: 4 files, 7943 bytes\n\nFiles: skill-card.md (1772b), SKILL-cn.md (6981b), SKILL.md (7234b), _meta.json (141b)\n\nFile v1.3.27:SKILL.md\n\n---\r\nname: dlazy-image-replicate\r\nversion: 1.3.6\r\ndescription: \"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. 图像仿写工具：分析原图的视觉效果、构图、色彩、光影和风格，生成重绘提示词，并交给 Seedream 4.5 生成具有相同风格的新图像。\"\r\nmetadata: {\"clawdbot\":{\"emoji\":\"🤖\",\"requires\":{\"bins\":[\"npm\",\"npx\"]},\"install\":\"npm install -g @dlazy/cli@1.2.3\",\"installAlternative\":\"npx @dlazy/cli@1.2.3\",\"homepage\":\"https://github.com/dlazy-ai/cli\",\"source\":\"https://github.com/dlazy-ai/cli\",\"author\":\"dlazyai\",\"license\":\"see-repo\",\"npm\":\"https://www.npmjs.com/package/@dlazy/cli\",\"configLocation\":\"~/.dlazy/config.json\",\"apiEndpoints\":[\"api.dlazy.com\",\"files.dlazy.com\"]},\"openclaw\":{\"systemPrompt\":\"When invoking this skill, use dlazy image-replicate -h for help.\"}}\r\n---\r\n\r\n# 图片仿制 Image Replicate\r\n\r\n[English](./SKILL.md) · [中文](./SKILL-cn.md)\r\n\r\n\r\nImage 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.\r\n\r\n## Trigger Keywords\r\n\r\n- image-replicate\r\n\r\n## Authentication\r\n\r\nAll requests require a dLazy API key. The recommended way to authenticate is:\r\n\r\n```bash\r\ndlazy login\r\n```\r\n\r\nThis 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.\r\n\r\n### Alternative: Set the Key Manually\r\n\r\nIf you already have an API key, you can save it directly:\r\n\r\n```bash\r\ndlazy auth set YOUR_API_KEY\r\n```\r\n\r\nThe 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.\r\n\r\n### Getting Your API Key Manually\r\n\r\n1. Sign in or create an account at [dlazy.com](https://dlazy.com)\r\n2. Go to [dlazy.com/dashboard/organization/api-key](https://dlazy.com/dashboard/organization/api-key)\r\n3. Copy the key shown in the API Key section\r\n\r\nEach key is scoped to your dLazy organization and can be **rotated or revoked at any time** from the same dashboard.\r\n\r\n## About & Provenance\r\n\r\n- **CLI source code**: [github.com/dlazy-ai/cli](https://github.com/dlazy-ai/cli)\r\n- **Maintainer**: dlazyai\r\n- **npm package**: `@dlazy/cli` (pinned to `1.2.3` in this skill's install spec)\r\n- **Homepage**: [dlazy.com](https://dlazy.com)\r\n\r\nYou can install on demand without persisting a global binary by running:\r\n\r\n```bash\r\nnpx @dlazy/cli@1.2.3 <command>\r\n```\r\n\r\nOr, if you prefer a global install, the skill's `metadata.clawdbot.install` field declares the exact pinned version (`npm install -g @dlazy/cli@1.2.3`). Review the GitHub source before installing.\r\n\r\n## How It Works\r\n\r\nThis skill is a thin client over the dLazy hosted API. When you invoke it:\r\n\r\n- Prompts and parameters you provide are sent to the dLazy API endpoint (`api.dlazy.com`) for inference.\r\n- 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.\r\n- Generated output URLs returned by the API are hosted on `files.dlazy.com`.\r\n\r\nThis 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](https://dlazy.com) for the full service terms.\r\n\r\n## Usage\r\n\r\n**CRITICAL INSTRUCTION FOR AGENT**:\r\nExecute `dlazy image-replicate` to get the result.\r\n\r\n```bash\r\ndlazy image-replicate -h\r\n\r\nOptions:\r\n  --images [images...]                 Images [image: url or local path]\r\n  --dry-run                            Print payload + cost estimate without calling API\r\n  --no-wait                            Return generateId immediately for async tasks\r\n  --timeout <seconds>                  Max seconds to wait for async completion (default: \"1800\")\r\n  --save <path>                        Download the result asset to this local path (mkdir + retry handled for you)\r\n  -h, --help                           display help for command\r\n```\r\n\r\n> 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.\r\n\r\n## Output Format\r\n\r\n```json\r\n{\r\n  \"ok\": true,\r\n  \"result\": {\r\n    \"tool\": \"image-replicate\",\r\n    \"modelId\": \"image-replicate\",\r\n    \"outputs\": [\r\n      {\r\n        \"type\": \"image\",\r\n        \"id\": \"o_xxxxxxxx\",\r\n        \"url\": \"https://files.dlazy.com/result.png\",\r\n        \"mimeType\": \"image/png\"\r\n      }\r\n    ]\r\n  }\r\n}\r\n```\r\n\r\n> Async tasks (when `--no-wait` is passed) return `outputs: []` and a `task: { generateId, status }` field instead. Use `dlazy status <generateId> --wait` to poll.\r\n\r\n## Examples\r\n\r\n```bash\r\ndlazy image-replicate --prompt 'prompt content'\r\n```\r\n\r\n## Error Handling\r\n\r\n| Code | Error Type                         | Example Message                                                                                                          |\r\n| ---- | ---------------------------------- | ------------------------------------------------------------------------------------------------------------------------ |\r\n| 401  | Unauthorized (No API Key)          | `ok: false, code: \"unauthorized\", message: \"API key is missing or invalid\"`                                                              |\r\n| 501  | Missing required parameter         | `error: required option '--prompt <prompt>' not specified`                                                              |\r\n| 502  | Local file read error              | `Error: Image file/Video file not found: C:\\path\\to\\your\\file`                                                          |\r\n| 503  | API request failed (no balance)    | `ok: false, code: \"insufficient_balance\"` |\r\n| 503  | API request failed (server error)  | `HTTP status code error (500 server crash)`                                                                             |\r\n| 504  | Asynchronous task execution failed | `=== Generation Failed ===` / `{Specific error reason returned by backend, for example \"Prompt violates safety policy\"}` |\r\n\r\n> **AGENT CRITICAL INSTRUCTION**: \r\n> 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](https://dlazy.com/dashboard/organization/settings?tab=credits)\r\n> 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](https://dlazy.com/dashboard/organization/api-key) and save it using `dlazy auth set <key>` and resume the task.\r\n\r\n## Tips\r\n\r\nVisit https://dlazy.com for more information.\n\nFile v1.3.27:_meta.json\n\n{\n  \"ownerId\": \"kn7c5wgeajfcfvdfb5ceemvdb984cjpd\",\n  \"slug\": \"dlazy-image-replicate\",\n  \"version\": \"1.3.27\",\n  \"publishedAt\": 1791422076128\n}\n\nFile v1.3.27:skill-card.md\n\n## Description:\n\nAnalyzes a reference image's composition, colors, lighting, and style to generate a new image in a similar style using Seedream 4.5.\n\nThis skill is ready for commercial/non-commercial use.\n\n## Publisher:\n\n[dlazyai](https://clawhub.ai/user/dlazyai)\n\n### License/Terms of Use:\n\nMIT-0\n\n## Use Case:\n\nCreators and developers use this skill to generate an image that follows the visual style of a reference image through the dLazy service.\n\n### Deployment Geography for Use:\n\nGlobal\n\n## Known Risks and Mitigations:\n\nRisk: Prompts and provided media may be sent to dLazy, and generated images are hosted by dLazy.\n\nMitigation: Only provide content approved for the external service and review outputs before sharing them.\n\nRisk: The CLI may save an API key locally.\n\nMitigation: Protect local credentials and rotate or revoke the key from the dLazy dashboard if needed.\n\n## Reference(s):\n\n- [ClawHub skill listing](https://clawhub.ai/dlazyai/skills/dlazy-image-replicate)\n- [dLazy CLI homepage (skill metadata)](https://github.com/dlazy-ai/cli)\n- [dLazy CLI npm package (skill metadata)](https://www.npmjs.com/package/@dlazy/cli)\n\n## Skill Output:\n\n**Output Type(s):** [Image, JSON, Shell commands]\n\n**Output Format:** [JSON containing a generated image URL, with optional local image download]\n\n**Output Parameters:** [1D]\n\n**Other Properties Related to Output:** [Asynchronous requests may return a task ID for later polling.]\n\n## Skill Version(s):\n\n1.3.27 (source: server-resolved release)\n\n## Ethical Considerations:\n\nUsers should evaluate whether this skill is appropriate for their environment, review any generated or modified files before relying on them, and apply their organization's safety, security, and compliance requirements before deployment.\n\nFile v1.3.27:SKILL-cn.md\n\n---\r\nname: dlazy-image-replicate\r\nversion: 1.3.6\r\ndescription: '图像仿写工具：分析原图的视觉效果、构图、色彩、光影和风格，生成重绘提示词，并交给 Seedream 4.5 生成具有相同风格的新图像。'\r\nmetadata: {\"clawdbot\":{\"emoji\":\"🤖\",\"requires\":{\"bins\":[\"npm\",\"npx\"]},\"install\":\"npm install -g @dlazy/cli@1.2.3\",\"installAlternative\":\"npx @dlazy/cli@1.2.3\",\"homepage\":\"https://github.com/dlazy-ai/cli\",\"source\":\"https://github.com/dlazy-ai/cli\",\"author\":\"dlazyai\",\"license\":\"see-repo\",\"npm\":\"https://www.npmjs.com/package/@dlazy/cli\",\"configLocation\":\"~/.dlazy/config.json\",\"apiEndpoints\":[\"api.dlazy.com\",\"files.dlazy.com\"]},\"openclaw\":{\"systemPrompt\":\"当调用此技能时，可以使用 dlazy image-replicate -h 查看帮助信息。\"}}\r\n---\r\n\r\n# 图片仿制 Image Replicate\r\n\r\n[English](./SKILL.md) · [中文](./SKILL-cn.md)\r\n\r\n\r\n图像仿写工具：分析原图的视觉效果、构图、色彩、光影和风格，生成重绘提示词，并交给 Seedream 4.5 生成具有相同风格的新图像。\r\n\r\n## 触发关键词\r\n\r\n- image-replicate\r\n\r\n## 身份验证 (Authentication)\r\n\r\n所有请求都需要 dLazy API key。**推荐使用** `dlazy login` 完成登录：\r\n\r\n```bash\r\ndlazy login\r\n```\r\n\r\n该命令使用设备码流程（远程终端也可用），登录成功后 **自动把 API key 写入本地 CLI 配置**，无需手动复制粘贴。\r\n\r\n### 备选：手动设置 API Key\r\n\r\n如果你已有 API key，也可以直接保存：\r\n\r\n```bash\r\ndlazy auth set YOUR_API_KEY\r\n```\r\n\r\nCLI 会把 key 保存在你的用户配置目录（macOS/Linux 上为 `~/.dlazy/config.json`，Windows 上为 `%USERPROFILE%\\.dlazy\\config.json`），文件权限仅限当前操作系统用户访问。你也可以用 `DLAZY_API_KEY` 环境变量按次传入。\r\n\r\n### 手动获取 API Key\r\n\r\n1. 登录或在 [dlazy.com](https://dlazy.com) 创建账号\r\n2. 访问 [dlazy.com/dashboard/organization/api-key](https://dlazy.com/dashboard/organization/api-key)\r\n3. 复制 API Key 区域显示的密钥\r\n\r\n每个 key 都属于你自己的 dLazy 组织，可在同一控制面板**随时轮换或吊销**。\r\n\r\n## 关于与来源 (Provenance)\r\n\r\n- **CLI 源代码**: [github.com/dlazy-ai/cli](https://github.com/dlazy-ai/cli)\r\n- **维护者**: dlazyai\r\n- **npm 包名**: `@dlazy/cli`（本技能 install 字段固定到 `1.2.3` 版本）\r\n- **官网**: [dlazy.com](https://dlazy.com)\r\n\r\n如果你不希望在系统上长期保留一个全局 CLI，可以按需运行：\r\n\r\n```bash\r\nnpx @dlazy/cli@1.2.3 <command>\r\n```\r\n\r\n如选择全局安装，技能的 `metadata.clawdbot.install` 字段已固定到 `npm install -g @dlazy/cli@1.2.3`。安装前建议先到 GitHub 仓库审阅源码。\r\n\r\n## 工作原理\r\n\r\n此技能是 dLazy 托管 API 的轻量封装。调用时：\r\n\r\n- 你提供的提示词与参数会发送到 dLazy API（`api.dlazy.com`）进行推理。\r\n- 传入图像 / 视频 / 音频字段的本地文件路径会被 CLI 上传到 dLazy 媒体存储（`files.dlazy.com`），以便模型读取 —— 与任何云端生成 API 的流程一致。\r\n- API 返回的生成结果 URL 由 `files.dlazy.com` 托管。\r\n\r\n这是标准的 SaaS 调用模式；技能本身不会越权访问网络或文件系统，所有动作都由 dLazy CLI 完成。完整服务条款请参见 [dlazy.com](https://dlazy.com)。\r\n\r\n## 使用方法\r\n\r\n**CRITICAL INSTRUCTION FOR AGENT**:\r\n执行 `dlazy image-replicate` 命令获取结果。\r\n\r\n```bash\r\ndlazy image-replicate -h\r\n\r\nOptions:\r\n  --images [images...]                 参考图 [image: url or local path]\r\n  --dry-run                            Print payload + cost estimate without calling API\r\n  --no-wait                            Return generateId immediately for async tasks\r\n  --timeout <seconds>                  Max seconds to wait for async completion (default: \"1800\")\r\n  --save <path>                        Download the result asset to this local path (mkdir + retry handled for you)\r\n  -h, --help                           display help for command\r\n```\r\n\r\n> 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.\r\n\r\n## 输出格式\r\n\r\n```json\r\n{\r\n  \"ok\": true,\r\n  \"result\": {\r\n    \"tool\": \"image-replicate\",\r\n    \"modelId\": \"image-replicate\",\r\n    \"outputs\": [\r\n      {\r\n        \"type\": \"image\",\r\n        \"id\": \"o_xxxxxxxx\",\r\n        \"url\": \"https://files.dlazy.com/result.png\",\r\n        \"mimeType\": \"image/png\"\r\n      }\r\n    ]\r\n  }\r\n}\r\n```\r\n\r\n> Async tasks (when `--no-wait` is passed) return `outputs: []` and a `task: { generateId, status }` field instead. Use `dlazy status <generateId> --wait` to poll.\r\n\r\n## 命令示例\r\n\r\n```bash\r\ndlazy image-replicate --prompt '提示词内容'\r\n```\r\n\r\n## 错误处理\r\n\r\n| Code | 错误类型                         | 示例信息                                                                                                                 |\r\n| ---- | -------------------------------- | ------------------------------------------------------------------------------------------------------------------------ |\r\n| 401  | 未授权 (API Key缺失或无效)       | `ok: false, code: \"unauthorized\", message: \"API key is missing or invalid\"`                                                              |\r\n| 501  | 缺少必填参数                     | `error: required option '--prompt <prompt>' not specified`                                                               |\r\n| 502  | 本地文件读取失败                 | `Error: Image file/Video file not found: C:\\path\\to\\your\\file`                                                           |\r\n| 503  | API 请求失败（余额不足）         | `ok: false, code: \"insufficient_balance\"` |\r\n| 503  | API 请求失败（服务端错误）       | `HTTP status code error (500 server crash)`                                                                              |\r\n| 504  | 异步任务执行失败                 | `=== Generation Failed ===` / `{后端返回的具体失败原因，比如 \"Prompt violates safety policy\"}`                             |\r\n\r\n> **智能体关键指令**: \r\n> 1. 如果执行结果返回 `code: \"insufficient_balance\"` 且提示余额不足（Insufficient balance），您必须明确告知用户当前积分不足，并引导用户点击以下链接前往充值：[https://dlazy.com/dashboard/organization/settings?tab=credits](https://dlazy.com/dashboard/organization/settings?tab=credits)\r\n> 2. 如果执行结果返回 `code: \"unauthorized\"` 或提示缺少 API Key，您必须明确告知用户前往 [https://dlazy.com/dashboard/organization/api-key](https://dlazy.com/dashboard/organization/api-key) 获取 API Key 并使用 `dlazy auth set <key>` 保存，然后继续执行任务。\r\n\r\n## Tips\r\n\r\nVisit https://dlazy.com for more information.\n\nArchive v1.3.26: 4 files, 7958 bytes\n\nFiles: skill-card.md (1808b), SKILL-cn.md (6981b), SKILL.md (7234b), _meta.json (141b)\n\nFile v1.3.26:SKILL.md\n\n---\r\nname: dlazy-image-replicate\r\nversion: 1.3.6\r\ndescription: \"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. 图像仿写工具：分析原图的视觉效果、构图、色彩、光影和风格，生成重绘提示词，并交给 Seedream 4.5 生成具有相同风格的新图像。\"\r\nmetadata: {\"clawdbot\":{\"emoji\":\"🤖\",\"requires\":{\"bins\":[\"npm\",\"npx\"]},\"install\":\"npm install -g @dlazy/cli@1.2.3\",\"installAlternative\":\"npx @dlazy/cli@1.2.3\",\"homepage\":\"https://github.com/dlazy-ai/cli\",\"source\":\"https://github.com/dlazy-ai/cli\",\"author\":\"dlazyai\",\"license\":\"see-repo\",\"npm\":\"https://www.npmjs.com/package/@dlazy/cli\",\"configLocation\":\"~/.dlazy/config.json\",\"apiEndpoints\":[\"api.dlazy.com\",\"files.dlazy.com\"]},\"openclaw\":{\"systemPrompt\":\"When invoking this skill, use dlazy image-replicate -h for help.\"}}\r\n---\r\n\r\n# 图片仿制 Image Replicate\r\n\r\n[English](./SKILL.md) · [中文](./SKILL-cn.md)\r\n\r\n\r\nImage 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.\r\n\r\n## Trigger Keywords\r\n\r\n- image-replicate\r\n\r\n## Authentication\r\n\r\nAll requests require a dLazy API key. The recommended way to authenticate is:\r\n\r\n```bash\r\ndlazy login\r\n```\r\n\r\nThis 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.\r\n\r\n### Alternative: Set the Key Manually\r\n\r\nIf you already have an API key, you can save it directly:\r\n\r\n```bash\r\ndlazy auth set YOUR_API_KEY\r\n```\r\n\r\nThe 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.\r\n\r\n### Getting Your API Key Manually\r\n\r\n1. Sign in or create an account at [dlazy.com](https://dlazy.com)\r\n2. Go to [dlazy.com/dashboard/organization/api-key](https://dlazy.com/dashboard/organization/api-key)\r\n3. Copy the key shown in the API Key section\r\n\r\nEach key is scoped to your dLazy organization and can be **rotated or revoked at any time** from the same dashboard.\r\n\r\n## About & Provenance\r\n\r\n- **CLI source code**: [github.com/dlazy-ai/cli](https://github.com/dlazy-ai/cli)\r\n- **Maintainer**: dlazyai\r\n- **npm package**: `@dlazy/cli` (pinned to `1.2.3` in this skill's install spec)\r\n- **Homepage**: [dlazy.com](https://dlazy.com)\r\n\r\nYou can install on demand without persisting a global binary by running:\r\n\r\n```bash\r\nnpx @dlazy/cli@1.2.3 <command>\r\n```\r\n\r\nOr, if you prefer a global install, the skill's `metadata.clawdbot.install` field declares the exact pinned version (`npm install -g @dlazy/cli@1.2.3`). Review the GitHub source before installing.\r\n\r\n## How It Works\r\n\r\nThis skill is a thin client over the dLazy hosted API. When you invoke it:\r\n\r\n- Prompts and parameters you provide are sent to the dLazy API endpoint (`api.dlazy.com`) for inference.\r\n- 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.\r\n- Generated output URLs returned by the API are hosted on `files.dlazy.com`.\r\n\r\nThis 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](https://dlazy.com) for the full service terms.\r\n\r\n## Usage\r\n\r\n**CRITICAL INSTRUCTION FOR AGENT**:\r\nExecute `dlazy image-replicate` to get the result.\r\n\r\n```bash\r\ndlazy image-replicate -h\r\n\r\nOptions:\r\n  --images [images...]                 Images [image: url or local path]\r\n  --dry-run                            Print payload + cost estimate without calling API\r\n  --no-wait                            Return generateId immediately for async tasks\r\n  --timeout <seconds>                  Max seconds to wait for async completion (default: \"1800\")\r\n  --save <path>                        Download the result asset to this local path (mkdir + retry handled for you)\r\n  -h, --help                           display help for command\r\n```\r\n\r\n> 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.\r\n\r\n## Output Format\r\n\r\n```json\r\n{\r\n  \"ok\": true,\r\n  \"result\": {\r\n    \"tool\": \"image-replicate\",\r\n    \"modelId\": \"image-replicate\",\r\n    \"outputs\": [\r\n      {\r\n        \"type\": \"image\",\r\n        \"id\": \"o_xxxxxxxx\",\r\n        \"url\": \"https://files.dlazy.com/result.png\",\r\n        \"mimeType\": \"image/png\"\r\n      }\r\n    ]\r\n  }\r\n}\r\n```\r\n\r\n> Async tasks (when `--no-wait` is passed) return `outputs: []` and a `task: { generateId, status }` field instead. Use `dlazy status <generateId> --wait` to poll.\r\n\r\n## Examples\r\n\r\n```bash\r\ndlazy image-replicate --prompt 'prompt content'\r\n```\r\n\r\n## Error Handling\r\n\r\n| Code | Error Type                         | Example Message                                                                                                          |\r\n| ---- | ---------------------------------- | ------------------------------------------------------------------------------------------------------------------------ |\r\n| 401  | Unauthorized (No API Key)          | `ok: false, code: \"unauthorized\", message: \"API key is missing or invalid\"`                                                              |\r\n| 501  | Missing required parameter         | `error: required option '--prompt <prompt>' not specified`                                                              |\r\n| 502  | Local file read error              | `Error: Image file/Video file not found: C:\\path\\to\\your\\file`                                                          |\r\n| 503  | API request failed (no balance)    | `ok: false, code: \"insufficient_balance\"` |\r\n| 503  | API request failed (server error)  | `HTTP status code error (500 server crash)`                                                                             |\r\n| 504  | Asynchronous task execution failed | `=== Generation Failed ===` / `{Specific error reason returned by backend, for example \"Prompt violates safety policy\"}` |\r\n\r\n> **AGENT CRITICAL INSTRUCTION**: \r\n> 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](https://dlazy.com/dashboard/organization/settings?tab=credits)\r\n> 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](https://dlazy.com/dashboard/organization/api-key) and save it using `dlazy auth set <key>` and resume the task.\r\n\r\n## Tips\r\n\r\nVisit https://dlazy.com for more information.\n\nFile v1.3.26:_meta.json\n\n{\n  \"ownerId\": \"kn7c5wgeajfcfvdfb5ceemvdb984cjpd\",\n  \"slug\": \"dlazy-image-replicate\",\n  \"version\": \"1.3.26\",\n  \"publishedAt\": 1791076402762\n}\n\nFile v1.3.26:skill-card.md\n\n## Description:\n\nAnalyzes a reference image's composition, colors, lighting, and style to guide generation of a similar image with Seedream 4.5.\n\nThis skill is ready for commercial/non-commercial use.\n\n## Publisher:\n\n[dlazyai](https://clawhub.ai/user/dlazyai)\n\n### License/Terms of Use:\n\nMIT-0\n\n## Use Case:\n\nCreators and designers use this skill to generate an image inspired by a reference image's visual style.\n\n### Deployment Geography for Use:\n\nGlobal\n\n## Known Risks and Mitigations:\n\nRisk: Reference media and prompts are sent to dLazy's hosted service.\n\nMitigation: Only submit media and prompts you intend to share with the service.\n\nRisk: The external CLI is required, and login can store an API key locally.\n\nMitigation: Review the pinned CLI package before installation; use the documented on-demand option if preferred and protect the local API key.\n\n## Reference(s):\n\n- [ClawHub skill listing](https://clawhub.ai/dlazyai/skills/dlazy-image-replicate)\n- [dLazy CLI repository (listed in skill metadata)](https://github.com/dlazy-ai/cli)\n- [dLazy CLI npm package](https://www.npmjs.com/package/@dlazy/cli)\n- [dLazy website](https://dlazy.com)\n\n## Skill Output:\n\n**Output Type(s):** [Text, Shell commands, Image links]\n\n**Output Format:** [Markdown guidance and commands; generated image URL in CLI JSON output]\n\n**Output Parameters:** [1D]\n\n**Other Properties Related to Output:** [Optional local download or asynchronous generation.]\n\n## Skill Version(s):\n\n1.3.26 (source: ClawHub release; bundled skill frontmatter says 1.3.6)\n\n## Ethical Considerations:\n\nUsers should evaluate whether this skill is appropriate for their environment, review any generated or modified files before relying on them, and apply their organization's safety, security, and compliance requirements before deployment.\n\nFile v1.3.26:SKILL-cn.md\n\n---\r\nname: dlazy-image-replicate\r\nversion: 1.3.6\r\ndescription: '图像仿写工具：分析原图的视觉效果、构图、色彩、光影和风格，生成重绘提示词，并交给 Seedream 4.5 生成具有相同风格的新图像。'\r\nmetadata: {\"clawdbot\":{\"emoji\":\"🤖\",\"requires\":{\"bins\":[\"npm\",\"npx\"]},\"install\":\"npm install -g @dlazy/cli@1.2.3\",\"installAlternative\":\"npx @dlazy/cli@1.2.3\",\"homepage\":\"https://github.com/dlazy-ai/cli\",\"source\":\"https://github.com/dlazy-ai/cli\",\"author\":\"dlazyai\",\"license\":\"see-repo\",\"npm\":\"https://www.npmjs.com/package/@dlazy/cli\",\"configLocation\":\"~/.dlazy/config.json\",\"apiEndpoints\":[\"api.dlazy.com\",\"files.dlazy.com\"]},\"openclaw\":{\"systemPrompt\":\"当调用此技能时，可以使用 dlazy image-replicate -h 查看帮助信息。\"}}\r\n---\r\n\r\n# 图片仿制 Image Replicate\r\n\r\n[English](./SKILL.md) · [中文](./SKILL-cn.md)\r\n\r\n\r\n图像仿写工具：分析原图的视觉效果、构图、色彩、光影和风格，生成重绘提示词，并交给 Seedream 4.5 生成具有相同风格的新图像。\r\n\r\n## 触发关键词\r\n\r\n- image-replicate\r\n\r\n## 身份验证 (Authentication)\r\n\r\n所有请求都需要 dLazy API key。**推荐使用** `dlazy login` 完成登录：\r\n\r\n```bash\r\ndlazy login\r\n```\r\n\r\n该命令使用设备码流程（远程终端也可用），登录成功后 **自动把 API key 写入本地 CLI 配置**，无需手动复制粘贴。\r\n\r\n### 备选：手动设置 API Key\r\n\r\n如果你已有 API key，也可以直接保存：\r\n\r\n```bash\r\ndlazy auth set YOUR_API_KEY\r\n```\r\n\r\nCLI 会把 key 保存在你的用户配置目录（macOS/Linux 上为 `~/.dlazy/config.json`，Windows 上为 `%USERPROFILE%\\.dlazy\\config.json`），文件权限仅限当前操作系统用户访问。你也可以用 `DLAZY_API_KEY` 环境变量按次传入。\r\n\r\n### 手动获取 API Key\r\n\r\n1. 登录或在 [dlazy.com](https://dlazy.com) 创建账号\r\n2. 访问 [dlazy.com/dashboard/organization/api-key](https://dlazy.com/dashboard/organization/api-key)\r\n3. 复制 API Key 区域显示的密钥\r\n\r\n每个 key 都属于你自己的 dLazy 组织，可在同一控制面板**随时轮换或吊销**。\r\n\r\n## 关于与来源 (Provenance)\r\n\r\n- **CLI 源代码**: [github.com/dlazy-ai/cli](https://github.com/dlazy-ai/cli)\r\n- **维护者**: dlazyai\r\n- **npm 包名**: `@dlazy/cli`（本技能 install 字段固定到 `1.2.3` 版本）\r\n- **官网**: [dlazy.com](https://dlazy.com)\r\n\r\n如果你不希望在系统上长期保留一个全局 CLI，可以按需运行：\r\n\r\n```bash\r\nnpx @dlazy/cli@1.2.3 <command>\r\n```\r\n\r\n如选择全局安装，技能的 `metadata.clawdbot.install` 字段已固定到 `npm install -g @dlazy/cli@1.2.3`。安装前建议先到 GitHub 仓库审阅源码。\r\n\r\n## 工作原理\r\n\r\n此技能是 dLazy 托管 API 的轻量封装。调用时：\r\n\r\n- 你提供的提示词与参数会发送到 dLazy API（`api.dlazy.com`）进行推理。\r\n- 传入图像 / 视频 / 音频字段的本地文件路径会被 CLI 上传到 dLazy 媒体存储（`files.dlazy.com`），以便模型读取 —— 与任何云端生成 API 的流程一致。\r\n- API 返回的生成结果 URL 由 `files.dlazy.com` 托管。\r\n\r\n这是标准的 SaaS 调用模式；技能本身不会越权访问网络或文件系统，所有动作都由 dLazy CLI 完成。完整服务条款请参见 [dlazy.com](https://dlazy.com)。\r\n\r\n## 使用方法\r\n\r\n**CRITICAL INSTRUCTION FOR AGENT**:\r\n执行 `dlazy image-replicate` 命令获取结果。\r\n\r\n```bash\r\ndlazy image-replicate -h\r\n\r\nOptions:\r\n  --images [images...]                 参考图 [image: url or local path]\r\n  --dry-run                            Print payload + cost estimate without calling API\r\n  --no-wait                            Return generateId immediately for async tasks\r\n  --timeout <seconds>                  Max seconds to wait for async completion (default: \"1800\")\r\n  --save <path>                        Download the result asset to this local path (mkdir + retry handled for you)\r\n  -h, --help                           display help for command\r\n```\r\n\r\n> 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.\r\n\r\n## 输出格式\r\n\r\n```json\r\n{\r\n  \"ok\": true,\r\n  \"result\": {\r\n    \"tool\": \"image-replicate\",\r\n    \"modelId\": \"image-replicate\",\r\n    \"outputs\": [\r\n      {\r\n        \"type\": \"image\",\r\n        \"id\": \"o_xxxxxxxx\",\r\n        \"url\": \"https://files.dlazy.com/result.png\",\r\n        \"mimeType\": \"image/png\"\r\n      }\r\n    ]\r\n  }\r\n}\r\n```\r\n\r\n> Async tasks (when `--no-wait` is passed) return `outputs: []` and a `task: { generateId, status }` field instead. Use `dlazy status <generateId> --wait` to poll.\r\n\r\n## 命令示例\r\n\r\n```bash\r\ndlazy image-replicate --prompt '提示词内容'\r\n```\r\n\r\n## 错误处理\r\n\r\n| Code | 错误类型                         | 示例信息                                                                                                                 |\r\n| ---- | -------------------------------- | ------------------------------------------------------------------------------------------------------------------------ |\r\n| 401  | 未授权 (API Key缺失或无效)       | `ok: false, code: \"unauthorized\", message: \"API key is missing or invalid\"`                                                              |\r\n| 501  | 缺少必填参数                     | `error: required option '--prompt <prompt>' not specified`                                                               |\r\n| 502  | 本地文件读取失败                 | `Error: Image file/Video file not found: C:\\path\\to\\your\\file`                                                           |\r\n| 503  | API 请求失败（余额不足）         | `ok: false, code: \"insufficient_balance\"` |\r\n| 503  | API 请求失败（服务端错误）       | `HTTP status code error (500 server crash)`                                                                              |\r\n| 504  | 异步任务执行失败                 | `=== Generation Failed ===` / `{后端返回的具体失败原因，比如 \"Prompt violates safety policy\"}`                             |\r\n\r\n> **智能体关键指令**: \r\n> 1. 如果执行结果返回 `code: \"insufficient_balance\"` 且提示余额不足（Insufficient balance），您必须明确告知用户当前积分不足，并引导用户点击以下链接前往充值：[https://dlazy.com/dashboard/organization/settings?tab=credits](https://dlazy.com/dashboard/organization/settings?tab=credits)\r\n> 2. 如果执行结果返回 `code: \"unauthorized\"` 或提示缺少 API Key，您必须明确告知用户前往 [https://dlazy.com/dashboard/organization/api-key](https://dlazy.com/dashboard/organization/api-key) 获取 API Key 并使用 `dlazy auth set <key>` 保存，然后继续执行任务。\r\n\r\n## Tips\r\n\r\nVisit https://dlazy.com for more information.\n\nArchive v1.3.25: 4 files, 8015 bytes\n\nFiles: skill-card.md (1944b), SKILL-cn.md (6981b), SKILL.md (7234b), _meta.json (141b)\n\nFile v1.3.25:SKILL.md\n\n---\r\nname: dlazy-image-replicate\r\nversion: 1.3.6\r\ndescription: \"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. 图像仿写工具：分析原图的视觉效果、构图、色彩、光影和风格，生成重绘提示词，并交给 Seedream 4.5 生成具有相同风格的新图像。\"\r\nmetadata: {\"clawdbot\":{\"emoji\":\"🤖\",\"requires\":{\"bins\":[\"npm\",\"npx\"]},\"install\":\"npm install -g @dlazy/cli@1.2.3\",\"installAlternative\":\"npx @dlazy/cli@1.2.3\",\"homepage\":\"https://github.com/dlazy-ai/cli\",\"source\":\"https://github.com/dlazy-ai/cli\",\"author\":\"dlazyai\",\"license\":\"see-repo\",\"npm\":\"https://www.npmjs.com/package/@dlazy/cli\",\"configLocation\":\"~/.dlazy/config.json\",\"apiEndpoints\":[\"api.dlazy.com\",\"files.dlazy.com\"]},\"openclaw\":{\"systemPrompt\":\"When invoking this skill, use dlazy image-replicate -h for help.\"}}\r\n---\r\n\r\n# 图片仿制 Image Replicate\r\n\r\n[English](./SKILL.md) · [中文](./SKILL-cn.md)\r\n\r\n\r\nImage 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.\r\n\r\n## Trigger Keywords\r\n\r\n- image-replicate\r\n\r\n## Authentication\r\n\r\nAll requests require a dLazy API key. The recommended way to authenticate is:\r\n\r\n```bash\r\ndlazy login\r\n```\r\n\r\nThis 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.\r\n\r\n### Alternative: Set the Key Manually\r\n\r\nIf you already have an API key, you can save it directly:\r\n\r\n```bash\r\ndlazy auth set YOUR_API_KEY\r\n```\r\n\r\nThe 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.\r\n\r\n### Getting Your API Key Manually\r\n\r\n1. Sign in or create an account at [dlazy.com](https://dlazy.com)\r\n2. Go to [dlazy.com/dashboard/organization/api-key](https://dlazy.com/dashboard/organization/api-key)\r\n3. Copy the key shown in the API Key section\r\n\r\nEach key is scoped to your dLazy organization and can be **rotated or revoked at any time** from the same dashboard.\r\n\r\n## About & Provenance\r\n\r\n- **CLI source code**: [github.com/dlazy-ai/cli](https://github.com/dlazy-ai/cli)\r\n- **Maintainer**: dlazyai\r\n- **npm package**: `@dlazy/cli` (pinned to `1.2.3` in this skill's install spec)\r\n- **Homepage**: [dlazy.com](https://dlazy.com)\r\n\r\nYou can install on demand without persisting a global binary by running:\r\n\r\n```bash\r\nnpx @dlazy/cli@1.2.3 <command>\r\n```\r\n\r\nOr, if you prefer a global install, the skill's `metadata.clawdbot.install` field declares the exact pinned version (`npm install -g @dlazy/cli@1.2.3`). Review the GitHub source before installing.\r\n\r\n## How It Works\r\n\r\nThis skill is a thin client over the dLazy hosted API. When you invoke it:\r\n\r\n- Prompts and parameters you provide are sent to the dLazy API endpoint (`api.dlazy.com`) for inference.\r\n- 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.\r\n- Generated output URLs returned by the API are hosted on `files.dlazy.com`.\r\n\r\nThis 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](https://dlazy.com) for the full service terms.\r\n\r\n## Usage\r\n\r\n**CRITICAL INSTRUCTION FOR AGENT**:\r\nExecute `dlazy image-replicate` to get the result.\r\n\r\n```bash\r\ndlazy image-replicate -h\r\n\r\nOptions:\r\n  --images [images...]                 Images [image: url or local path]\r\n  --dry-run                            Print payload + cost estimate without calling API\r\n  --no-wait                            Return generateId immediately for async tasks\r\n  --timeout <seconds>                  Max seconds to wait for async completion (default: \"1800\")\r\n  --save <path>                        Download the result asset to this local path (mkdir + retry handled for you)\r\n  -h, --help                           display help for command\r\n```\r\n\r\n> 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.\r\n\r\n## Output Format\r\n\r\n```json\r\n{\r\n  \"ok\": true,\r\n  \"result\": {\r\n    \"tool\": \"image-replicate\",\r\n    \"modelId\": \"image-replicate\",\r\n    \"outputs\": [\r\n      {\r\n        \"type\": \"image\",\r\n        \"id\": \"o_xxxxxxxx\",\r\n        \"url\": \"https://files.dlazy.com/result.png\",\r\n        \"mimeType\": \"image/png\"\r\n      }\r\n    ]\r\n  }\r\n}\r\n```\r\n\r\n> Async tasks (when `--no-wait` is passed) return `outputs: []` and a `task: { generateId, status }` field instead. Use `dlazy status <generateId> --wait` to poll.\r\n\r\n## Examples\r\n\r\n```bash\r\ndlazy image-replicate --prompt 'prompt content'\r\n```\r\n\r\n## Error Handling\r\n\r\n| Code | Error Type                         | Example Message                                                                                                          |\r\n| ---- | ---------------------------------- | ------------------------------------------------------------------------------------------------------------------------ |\r\n| 401  | Unauthorized (No API Key)          | `ok: false, code: \"unauthorized\", message: \"API key is missing or invalid\"`                                                              |\r\n| 501  | Missing required parameter         | `error: required option '--prompt <prompt>' not specified`                                                              |\r\n| 502  | Local file read error              | `Error: Image file/Video file not found: C:\\path\\to\\your\\file`                                                          |\r\n| 503  | API request failed (no balance)    | `ok: false, code: \"insufficient_balance\"` |\r\n| 503  | API request failed (server error)  | `HTTP status code error (500 server crash)`                                                                             |\r\n| 504  | Asynchronous task execution failed | `=== Generation Failed ===` / `{Specific error reason returned by backend, for example \"Prompt violates safety policy\"}` |\r\n\r\n> **AGENT CRITICAL INSTRUCTION**: \r\n> 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](https://dlazy.com/dashboard/organization/settings?tab=credits)\r\n> 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](https://dlazy.com/dashboard/organization/api-key) and save it using `dlazy auth set <key>` and resume the task.\r\n\r\n## Tips\r\n\r\nVisit https://dlazy.com for more information.\n\nFile v1.3.25:_meta.json\n\n{\n  \"ownerId\": \"kn7c5wgeajfcfvdfb5ceemvdb984cjpd\",\n  \"slug\": \"dlazy-image-replicate\",\n  \"version\": \"1.3.25\",\n  \"publishedAt\": 1790916962653\n}\n\nFile v1.3.25:skill-card.md\n\n## Description:\n\nAnalyzes a reference image's composition, colors, lighting, and style to generate a new image in a similar style using Seedream 4.5.\n\nThis skill is ready for commercial/non-commercial use.\n\n## Publisher:\n\n[dlazyai](https://clawhub.ai/user/dlazyai)\n\n### License/Terms of Use:\n\nMIT-0\n\n## Use Case:\n\nCreators and developers use this skill to generate a new image inspired by the visual style of a supplied reference image through dLazy's hosted service.\n\n### Deployment Geography for Use:\n\nGlobal\n\n## Known Risks and Mitigations:\n\nRisk: Prompts and selected local media are sent to dLazy's cloud service, and generated images are hosted by dLazy.\n\nMitigation: Only submit media and prompts you are comfortable sharing with dLazy.\n\nRisk: Authentication can store an API key locally.\n\nMitigation: Protect local credentials and rotate or revoke the key through the dLazy dashboard if needed.\n\nRisk: A global CLI installation persists on the device.\n\nMitigation: Use the documented pinned npx command if a persistent global installation is not desired.\n\n## Reference(s):\n\n- [ClawHub skill release](https://clawhub.ai/dlazyai/skills/dlazy-image-replicate)\n- [dLazy CLI (declared in skill metadata)](https://github.com/dlazy-ai/cli)\n- [dLazy CLI npm package](https://www.npmjs.com/package/@dlazy/cli)\n\n## Skill Output:\n\n**Output Type(s):** [Images, JSON]\n\n**Output Format:** [JSON containing a generated image URL; optional downloaded image file]\n\n**Output Parameters:** [1D]\n\n**Other Properties Related to Output:** [Asynchronous requests may initially return a task ID instead of an image URL.]\n\n## Skill Version(s):\n\n1.3.25 (source: server-resolved ClawHub release)\n\n## Ethical Considerations:\n\nUsers should evaluate whether this skill is appropriate for their environment, review any generated or modified files before relying on them, and apply their organization's safety, security, and compliance requirements before deployment.\n\nFile v1.3.25:SKILL-cn.md\n\n---\r\nname: dlazy-image-replicate\r\nversion: 1.3.6\r\ndescription: '图像仿写工具：分析原图的视觉效果、构图、色彩、光影和风格，生成重绘提示词，并交给 Seedream 4.5 生成具有相同风格的新图像。'\r\nmetadata: {\"clawdbot\":{\"emoji\":\"🤖\",\"requires\":{\"bins\":[\"npm\",\"npx\"]},\"install\":\"npm install -g @dlazy/cli@1.2.3\",\"installAlternative\":\"npx @dlazy/cli@1.2.3\",\"homepage\":\"https://github.com/dlazy-ai/cli\",\"source\":\"https://github.com/dlazy-ai/cli\",\"author\":\"dlazyai\",\"license\":\"see-repo\",\"npm\":\"https://www.npmjs.com/package/@dlazy/cli\",\"configLocation\":\"~/.dlazy/config.json\",\"apiEndpoints\":[\"api.dlazy.com\",\"files.dlazy.com\"]},\"openclaw\":{\"systemPrompt\":\"当调用此技能时，可以使用 dlazy image-replicate -h 查看帮助信息。\"}}\r\n---\r\n\r\n# 图片仿制 Image Replicate\r\n\r\n[English](./SKILL.md) · [中文](./SKILL-cn.md)\r\n\r\n\r\n图像仿写工具：分析原图的视觉效果、构图、色彩、光影和风格，生成重绘提示词，并交给 Seedream 4.5 生成具有相同风格的新图像。\r\n\r\n## 触发关键词\r\n\r\n- image-replicate\r\n\r\n## 身份验证 (Authentication)\r\n\r\n所有请求都需要 dLazy API key。**推荐使用** `dlazy login` 完成登录：\r\n\r\n```bash\r\ndlazy login\r\n```\r\n\r\n该命令使用设备码流程（远程终端也可用），登录成功后 **自动把 API key 写入本地 CLI 配置**，无需手动复制粘贴。\r\n\r\n### 备选：手动设置 API Key\r\n\r\n如果你已有 API key，也可以直接保存：\r\n\r\n```bash\r\ndlazy auth set YOUR_API_KEY\r\n```\r\n\r\nCLI 会把 key 保存在你的用户配置目录（macOS/Linux 上为 `~/.dlazy/config.json`，Windows 上为 `%USERPROFILE%\\.dlazy\\config.json`），文件权限仅限当前操作系统用户访问。你也可以用 `DLAZY_API_KEY` 环境变量按次传入。\r\n\r\n### 手动获取 API Key\r\n\r\n1. 登录或在 [dlazy.com](https://dlazy.com) 创建账号\r\n2. 访问 [dlazy.com/dashboard/organization/api-key](https://dlazy.com/dashboard/organization/api-key)\r\n3. 复制 API Key 区域显示的密钥\r\n\r\n每个 key 都属于你自己的 dLazy 组织，可在同一控制面板**随时轮换或吊销**。\r\n\r\n## 关于与来源 (Provenance)\r\n\r\n- **CLI 源代码**: [github.com/dlazy-ai/cli](https://github.com/dlazy-ai/cli)\r\n- **维护者**: dlazyai\r\n- **npm 包名**: `@dlazy/cli`（本技能 install 字段固定到 `1.2.3` 版本）\r\n- **官网**: [dlazy.com](https://dlazy.com)\r\n\r\n如果你不希望在系统上长期保留一个全局 CLI，可以按需运行：\r\n\r\n```bash\r\nnpx @dlazy/cli@1.2.3 <command>\r\n```\r\n\r\n如选择全局安装，技能的 `metadata.clawdbot.install` 字段已固定到 `npm install -g @dlazy/cli@1.2.3`。安装前建议先到 GitHub 仓库审阅源码。\r\n\r\n## 工作原理\r\n\r\n此技能是 dLazy 托管 API 的轻量封装。调用时：\r\n\r\n- 你提供的提示词与参数会发送到 dLazy API（`api.dlazy.com`）进行推理。\r\n- 传入图像 / 视频 / 音频字段的本地文件路径会被 CLI 上传到 dLazy 媒体存储（`files.dlazy.com`），以便模型读取 —— 与任何云端生成 API 的流程一致。\r\n- API 返回的生成结果 URL 由 `files.dlazy.com` 托管。\r\n\r\n这是标准的 SaaS 调用模式；技能本身不会越权访问网络或文件系统，所有动作都由 dLazy CLI 完成。完整服务条款请参见 [dlazy.com](https://dlazy.com)。\r\n\r\n## 使用方法\r\n\r\n**CRITICAL INSTRUCTION FOR AGENT**:\r\n执行 `dlazy image-replicate` 命令获取结果。\r\n\r\n```bash\r\ndlazy image-replicate -h\r\n\r\nOptions:\r\n  --images [images...]                 参考图 [image: url or local path]\r\n  --dry-run                            Print payload + cost estimate without calling API\r\n  --no-wait                            Return generateId immediately for async tasks\r\n  --timeout <seconds>                  Max seconds to wait for async completion (default: \"1800\")\r\n  --save <path>                        Download the result asset to this local path (mkdir + retry handled for you)\r\n  -h, --help                           display help for command\r\n```\r\n\r\n> 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.\r\n\r\n## 输出格式\r\n\r\n```json\r\n{\r\n  \"ok\": true,\r\n  \"result\": {\r\n    \"tool\": \"image-replicate\",\r\n    \"modelId\": \"image-replicate\",\r\n    \"outputs\": [\r\n      {\r\n        \"type\": \"image\",\r\n        \"id\": \"o_xxxxxxxx\",\r\n        \"url\": \"https://files.dlazy.com/result.png\",\r\n        \"mimeType\": \"image/png\"\r\n      }\r\n    ]\r\n  }\r\n}\r\n```\r\n\r\n> Async tasks (when `--no-wait` is passed) return `outputs: []` and a `task: { generateId, status }` field instead. Use `dlazy status <generateId> --wait` to poll.\r\n\r\n## 命令示例\r\n\r\n```bash\r\ndlazy image-replicate --prompt '提示词内容'\r\n```\r\n\r\n## 错误处理\r\n\r\n| Code | 错误类型                         | 示例信息                                                                                                                 |\r\n| ---- | -------------------------------- | ------------------------------------------------------------------------------------------------------------------------ |\r\n| 401  | 未授权 (API Key缺失或无效)       | `ok: false, code: \"unauthorized\", message: \"API key is missing or invalid\"`                                                              |\r\n| 501  | 缺少必填参数                     | `error: required option '--prompt <prompt>' not specified`                                                               |\r\n| 502  | 本地文件读取失败                 | `Error: Image file/Video file not found: C:\\path\\to\\your\\file`                                                           |\r\n| 503  | API 请求失败（余额不足）         | `ok: false, code: \"insufficient_balance\"` |\r\n| 503  | API 请求失败（服务端错误）       | `HTTP status code error (500 server crash)`                                                                              |\r\n| 504  | 异步任务执行失败                 | `=== Generation Failed ===` / `{后端返回的具体失败原因，比如 \"Prompt violates safety policy\"}`                             |\r\n\r\n> **智能体关键指令**: \r\n> 1. 如果执行结果返回 `code: \"insufficient_balance\"` 且提示余额不足（Insufficient balance），您必须明确告知用户当前积分不足，并引导用户点击以下链接前往充值：[https://dlazy.com/dashboard/organization/settings?tab=credits](https://dlazy.com/dashboard/organization/settings?tab=credits)\r\n> 2. 如果执行结果返回 `code: \"unauthorized\"` 或提示缺少 API Key，您必须明确告知用户前往 [https://dlazy.com/dashboard/organization/api-key](https://dlazy.com/dashboard/organization/api-key) 获取 API Key 并使用 `dlazy auth set <key>` 保存，然后继续执行任务。\r\n\r\n## Tips\r\n\r\nVisit https://dlazy.com for more information.\n\nArchive v1.3.24: 4 files, 8004 bytes\n\nFiles: skill-card.md (1920b), SKILL-cn.md (6981b), SKILL.md (7234b), _meta.json (141b)\n\nFile v1.3.24:SKILL.md\n\n---\r\nname: dlazy-image-replicate\r\nversion: 1.3.6\r\ndescription: \"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. 图像仿写工具：分析原图的视觉效果、构图、色彩、光影和风格，生成重绘提示词，并交给 Seedream 4.5 生成具有相同风格的新图像。\"\r\nmetadata: {\"clawdbot\":{\"emoji\":\"🤖\",\"requires\":{\"bins\":[\"npm\",\"npx\"]},\"install\":\"npm install -g @dlazy/cli@1.2.3\",\"installAlternative\":\"npx @dlazy/cli@1.2.3\",\"homepage\":\"https://github.com/dlazy-ai/cli\",\"source\":\"https://github.com/dlazy-ai/cli\",\"author\":\"dlazyai\",\"license\":\"see-repo\",\"npm\":\"https://www.npmjs.com/package/@dlazy/cli\",\"configLocation\":\"~/.dlazy/config.json\",\"apiEndpoints\":[\"api.dlazy.com\",\"files.dlazy.com\"]},\"openclaw\":{\"systemPrompt\":\"When invoking this skill, use dlazy image-replicate -h for help.\"}}\r\n---\r\n\r\n# 图片仿制 Image Replicate\r\n\r\n[English](./SKILL.md) · [中文](./SKILL-cn.md)\r\n\r\n\r\nImage 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.\r\n\r\n## Trigger Keywords\r\n\r\n- image-replicate\r\n\r\n## Authentication\r\n\r\nAll requests require a dLazy API key. The recommended way to authenticate is:\r\n\r\n```bash\r\ndlazy login\r\n```\r\n\r\nThis 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.\r\n\r\n### Alternative: Set the Key Manually\r\n\r\nIf you already have an API key, you can save it directly:\r\n\r\n```bash\r\ndlazy auth set YOUR_API_KEY\r\n```\r\n\r\nThe 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.\r\n\r\n### Getting Your API Key Manually\r\n\r\n1. Sign in or create an account at [dlazy.com](https://dlazy.com)\r\n2. Go to [dlazy.com/dashboard/organization/api-key](https://dlazy.com/dashboard/organization/api-key)\r\n3. Copy the key shown in the API Key section\r\n\r\nEach key is scoped to your dLazy organization and can be **rotated or revoked at any time** from the same dashboard.\r\n\r\n## About & Provenance\r\n\r\n- **CLI source code**: [github.com/dlazy-ai/cli](https://github.com/dlazy-ai/cli)\r\n- **Maintainer**: dlazyai\r\n- **npm package**: `@dlazy/cli` (pinned to `1.2.3` in this skill's install spec)\r\n- **Homepage**: [dlazy.com](https://dlazy.com)\r\n\r\nYou can install on demand without persisting a global binary by running:\r\n\r\n```bash\r\nnpx @dlazy/cli@1.2.3 <command>\r\n```\r\n\r\nOr, if you prefer a global install, the skill's `metadata.clawdbot.install` field declares the exact pinned version (`npm install -g @dlazy/cli@1.2.3`). Review the GitHub source before installing.\r\n\r\n## How It Works\r\n\r\nThis skill is a thin client over the dLazy hosted API. When you invoke it:\r\n\r\n- Prompts and parameters you provide are sent to the dLazy API endpoint (`api.dlazy.com`) for inference.\r\n- 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.\r\n- Generated output URLs returned by the API are hosted on `files.dlazy.com`.\r\n\r\nThis 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](https://dlazy.com) for the full service terms.\r\n\r\n## Usage\r\n\r\n**CRITICAL INSTRUCTION FOR AGENT**:\r\nExecute `dlazy image-replicate` to get the result.\r\n\r\n```bash\r\ndlazy image-replicate -h\r\n\r\nOptions:\r\n  --images [images...]                 Images [image: url or local path]\r\n  --dry-run                            Print payload + cost estimate without calling API\r\n  --no-wait                            Return generateId immediately for async tasks\r\n  --timeout <seconds>                  Max seconds to wait for async completion (default: \"1800\")\r\n  --save <path>                        Download the result asset to this local path (mkdir + retry handled for you)\r\n  -h, --help                           display help for command\r\n```\r\n\r\n> 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.\r\n\r\n## Output Format\r\n\r\n```json\r\n{\r\n  \"ok\": true,\r\n  \"result\": {\r\n    \"tool\": \"image-replicate\",\r\n    \"modelId\": \"image-replicate\",\r\n    \"outputs\": [\r\n      {\r\n        \"type\": \"image\",\r\n        \"id\": \"o_xxxxxxxx\",\r\n        \"url\": \"https://files.dlazy.com/result.png\",\r\n        \"mimeType\": \"image/png\"\r\n      }\r\n    ]\r\n  }\r\n}\r\n```\r\n\r\n> Async tasks (when `--no-wait` is passed) return `outputs: []` and a `task: { generateId, status }` field instead. Use `dlazy status <generateId> --wait` to poll.\r\n\r\n## Examples\r\n\r\n```bash\r\ndlazy image-replicate --prompt 'prompt content'\r\n```\r\n\r\n## Error Handling\r\n\r\n| Code | Error Type                         | Example Message                                                                                                          |\r\n| ---- | ---------------------------------- | ------------------------------------------------------------------------------------------------------------------------ |\r\n| 401  | Unauthorized (No API Key)          | `ok: false, code: \"unauthorized\", message: \"API key is missing or invalid\"`                                                              |\r\n| 501  | Missing required parameter         | `error: required option '--prompt <prompt>' not specified`                                                              |\r\n| 502  | Local file read error              | `Error: Image file/Video file not found: C:\\path\\to\\your\\file`                                                          |\r\n| 503  | API request failed (no balance)    | `ok: false, code: \"insufficient_balance\"` |\r\n| 503  | API request failed (server error)  | `HTTP status code error (500 server crash)`                                                                             |\r\n| 504  | Asynchronous task execution failed | `=== Generation Failed ===` / `{Specific error reason returned by backend, for example \"Prompt violates safety policy\"}` |\r\n\r\n> **AGENT CRITICAL INSTRUCTION**: \r\n> 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](https://dlazy.com/dashboard/organization/settings?tab=credits)\r\n> 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](https://dlazy.com/dashboard/organization/api-key) and save it using `dlazy auth set <key>` and resume the task.\r\n\r\n## Tips\r\n\r\nVisit https://dlazy.com for more information.\n\nFile v1.3.24:_meta.json\n\n{\n  \"ownerId\": \"kn7c5wgeajfcfvdfb5ceemvdb984cjpd\",\n  \"slug\": \"dlazy-image-replicate\",\n  \"version\": \"1.3.24\",\n  \"publishedAt\": 1790730745609\n}\n\nFile v1.3.24:skill-card.md\n\n## Description:\n\nHelps agents recreate an image's composition, colors, lighting, and style using dLazy's image-replication service.\n\nThis skill is ready for commercial/non-commercial use.\n\n## Publisher:\n\n[dlazyai](https://clawhub.ai/user/dlazyai)\n\n### License/Terms of Use:\n\nMIT-0\n\n## Use Case:\n\nCreators and developers use this skill to generate a new image inspired by the composition and visual style of a reference image.\n\n### Deployment Geography for Use:\n\nGlobal\n\n## Known Risks and Mitigations:\n\nRisk: Prompts and supplied image or other media files may be sent to dLazy's cloud service.\n\nMitigation: Confirm the material may be shared with dLazy before providing sensitive prompts or files.\n\nRisk: The dLazy CLI stores an API key locally after login, and the skill relies on a third-party package and service.\n\nMitigation: Review and trust the package and service before installation; protect the key and rotate, revoke, or remove it when no longer needed.\n\n## Reference(s):\n\n- [ClawHub skill release](https://clawhub.ai/dlazyai/skills/dlazy-image-replicate)\n- [dLazy CLI source listed in skill metadata](https://github.com/dlazy-ai/cli)\n- [dLazy CLI npm package](https://www.npmjs.com/package/@dlazy/cli)\n\n## Skill Output:\n\n**Output Type(s):** [Shell commands, Guidance]\n\n**Output Format:** [Markdown with shell commands and image-result links]\n\n**Output Parameters:** [1D]\n\n**Other Properties Related to Output:** [The service returns a generated image URL; optional CLI flags can save the image locally or return an asynchronous task ID.]\n\n## Skill Version(s):\n\n1.3.24 (source: ClawHub release evidence; bundled skill frontmatter says 1.3.6)\n\n## Ethical Considerations:\n\nUsers should evaluate whether this skill is appropriate for their environment, review any generated or modified files before relying on them, and apply their organization's safety, security, and compliance requirements before deployment.\n\nFile v1.3.24:SKILL-cn.md\n\n---\r\nname: dlazy-image-replicate\r\nversion: 1.3.6\r\ndescription: '图像仿写工具：分析原图的视觉效果、构图、色彩、光影和风格，生成重绘提示词，并交给 Seedream 4.5 生成具有相同风格的新图像。'\r\nmetadata: {\"clawdbot\":{\"emoji\":\"🤖\",\"requires\":{\"bins\":[\"npm\",\"npx\"]},\"install\":\"npm install -g @dlazy/cli@1.2.3\",\"installAlternative\":\"npx @dlazy/cli@1.2.3\",\"homepage\":\"https://github.com/dlazy-ai/cli\",\"source\":\"https://github.com/dlazy-ai/cli\",\"author\":\"dlazyai\",\"license\":\"see-repo\",\"npm\":\"https://www.npmjs.com/package/@dlazy/cli\",\"configLocation\":\"~/.dlazy/config.json\",\"apiEndpoints\":[\"api.dlazy.com\",\"files.dlazy.com\"]},\"openclaw\":{\"systemPrompt\":\"当调用此技能时，可以使用 dlazy image-replicate -h 查看帮助信息。\"}}\r\n---\r\n\r\n# 图片仿制 Image Replicate\r\n\r\n[English](./SKILL.md) · [中文](./SKILL-cn.md)\r\n\r\n\r\n图像仿写工具：分析原图的视觉效果、构图、色彩、光影和风格，生成重绘提示词，并交给 Seedream 4.5 生成具有相同风格的新图像。\r\n\r\n## 触发关键词\r\n\r\n- image-replicate\r\n\r\n## 身份验证 (Authentication)\r\n\r\n所有请求都需要 dLazy API key。**推荐使用** `dlazy login` 完成登录：\r\n\r\n```bash\r\ndlazy login\r\n```\r\n\r\n该命令使用设备码流程（远程终端也可用），登录成功后 **自动把 API key 写入本地 CLI 配置**，无需手动复制粘贴。\r\n\r\n### 备选：手动设置 API Key\r\n\r\n如果你已有 API key，也可以直接保存：\r\n\r\n```bash\r\ndlazy auth set YOUR_API_KEY\r\n```\r\n\r\nCLI 会把 key 保存在你的用户配置目录（macOS/Linux 上为 `~/.dlazy/config.json`，Windows 上为 `%USERPROFILE%\\.dlazy\\config.json`），文件权限仅限当前操作系统用户访问。你也可以用 `DLAZY_API_KEY` 环境变量按次传入。\r\n\r\n### 手动获取 API Key\r\n\r\n1. 登录或在 [dlazy.com](https://dlazy.com) 创建账号\r\n2. 访问 [dlazy.com/dashboard/organization/api-key](https://dlazy.com/dashboard/organization/api-key)\r\n3. 复制 API Key 区域显示的密钥\r\n\r\n每个 key 都属于你自己的 dLazy 组织，可在同一控制面板**随时轮换或吊销**。\r\n\r\n## 关于与来源 (Provenance)\r\n\r\n- **CLI 源代码**: [github.com/dlazy-ai/cli](https://github.com/dlazy-ai/cli)\r\n- **维护者**: dlazyai\r\n- **npm 包名**: `@dlazy/cli`（本技能 install 字段固定到 `1.2.3` 版本）\r\n- **官网**: [dlazy.com](https://dlazy.com)\r\n\r\n如果你不希望在系统上长期保留一个全局 CLI，可以按需运行：\r\n\r\n```bash\r\nnpx @dlazy/cli@1.2.3 <command>\r\n```\r\n\r\n如选择全局安装，技能的 `metadata.clawdbot.install` 字段已固定到 `npm install -g @dlazy/cli@1.2.3`。安装前建议先到 GitHub 仓库审阅源码。\r\n\r\n## 工作原理\r\n\r\n此技能是 dLazy 托管 API 的轻量封装。调用时：\r\n\r\n- 你提供的提示词与参数会发送到 dLazy API（`api.dlazy.com`）进行推理。\r\n- 传入图像 / 视频 / 音频字段的本地文件路径会被 CLI 上传到 dLazy 媒体存储（`files.dlazy.com`），以便模型读取 —— 与任何云端生成 API 的流程一致。\r\n- API 返回的生成结果 URL 由 `files.dlazy.com` 托管。\r\n\r\n这是标准的 SaaS 调用模式；技能本身不会越权访问网络或文件系统，所有动作都由 dLazy CLI 完成。完整服务条款请参见 [dlazy.com](https://dlazy.com)。\r\n\r\n## 使用方法\r\n\r\n**CRITICAL INSTRUCTION FOR AGENT**:\r\n执行 `dlazy image-replicate` 命令获取结果。\r\n\r\n```bash\r\ndlazy image-replicate -h\r\n\r\nOptions:\r\n  --images [images...]                 参考图 [image: url or local path]\r\n  --dry-run                            Print payload + cost estimate without calling API\r\n  --no-wait                            Return generateId immediately for async tasks\r\n  --timeout <seconds>                  Max seconds to wait for async completion (default: \"1800\")\r\n  --save <path>                        Download the result asset to this local path (mkdir + retry handled for you)\r\n  -h, --help                           display help for command\r\n```\r\n\r\n> 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.\r\n\r\n## 输出格式\r\n\r\n```json\r\n{\r\n  \"ok\": true,\r\n  \"result\": {\r\n    \"tool\": \"image-replicate\",\r\n    \"modelId\": \"image-replicate\",\r\n    \"outputs\": [\r\n      {\r\n        \"type\": \"image\",\r\n        \"id\": \"o_xxxxxxxx\",\r\n        \"url\": \"https://files.dlazy.com/result.png\",\r\n        \"mimeType\": \"image/png\"\r\n      }\r\n    ]\r\n  }\r\n}\r\n```\r\n\r\n> Async tasks (when `--no-wait` is passed) return `outputs: []` and a `task: { generateId, status }` field instead. Use `dlazy status <generateId> --wait` to poll.\r\n\r\n## 命令示例\r\n\r\n```bash\r\ndlazy image-replicate --prompt '提示词内容'\r\n```\r\n\r\n## 错误处理\r\n\r\n| Code | 错误类型                         | 示例信息                                                                                                                 |\r\n| ---- | -------------------------------- | ------------------------------------------------------------------------------------------------------------------------ |\r\n| 401  | 未授权 (API Key缺失或无效)       | `ok: false, code: \"unauthorized\", message: \"API key is missing or invalid\"`                                                              |\r\n| 501  | 缺少必填参数                     | `error: required option '--prompt <prompt>' not specified`                                                               |\r\n| 502  | 本地文件读取失败                 | `Error: Image file/Video file not found: C:\\path\\to\\your\\file`                                                           |\r\n| 503  | API 请求失败（余额不足）         | `ok: false, code: \"insufficient_balance\"` |\r\n| 503  | API 请求失败（服务端错误）       | `HTTP status code error (500 server crash)`                                                                              |\r\n| 504  | 异步任务执行失败                 | `=== Generation Failed ===` / `{后端返回的具体失败原因，比如 \"Prompt violates safety policy\"}`                             |\r\n\r\n> **智能体关键指令**: \r\n> 1. 如果执行结果返回 `code: \"insufficient_balance\"` 且提示余额不足（Insufficient balance），您必须明确告知用户当前积分不足，并引导用户点击以下链接前往充值：[https://dlazy.com/dashboard/organization/settings?tab=credits](https://dlazy.com/dashboard/organization/settings?tab=credits)\r\n> 2. 如果执行结果返回 `code: \"unauthorized\"` 或提示缺少 API Key，您必须明确告知用户前往 [https://dlazy.com/dashboard/organization/api-key](https://dlazy.com/dashboard/organization/api-key) 获取 API Key 并使用 `dlazy auth set <key>` 保存，然后继续执行任务。\r\n\r\n## Tips\r\n\r\nVisit https://dlazy.com for more information.\n\nArchive v1.3.23: 4 files, 8029 bytes\n\nFiles: skill-card.md (1944b), SKILL-cn.md (6981b), SKILL.md (7234b), _meta.json (141b)\n\nFile v1.3.23:SKILL.md\n\n---\r\nname: dlazy-image-replicate\r\nversion: 1.3.6\r\ndescription: \"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. 图像仿写工具：分析原图的视觉效果、构图、色彩、光影和风格，生成重绘提示词，并交给 Seedream 4.5 生成具有相同风格的新图像。\"\r\nmetadata: {\"clawdbot\":{\"emoji\":\"🤖\",\"requires\":{\"bins\":[\"npm\",\"npx\"]},\"install\":\"npm install -g @dlazy/cli@1.2.3\",\"installAlternative\":\"npx @dlazy/cli@1.2.3\",\"homepage\":\"https://github.com/dlazy-ai/cli\",\"source\":\"https://github.com/dlazy-ai/cli\",\"author\":\"dlazyai\",\"license\":\"see-repo\",\"npm\":\"https://www.npmjs.com/package/@dlazy/cli\",\"configLocation\":\"~/.dlazy/config.json\",\"apiEndpoints\":[\"api.dlazy.com\",\"files.dlazy.com\"]},\"openclaw\":{\"systemPrompt\":\"When invoking this skill, use dlazy image-replicate -h for help.\"}}\r\n---\r\n\r\n# 图片仿制 Image Replicate\r\n\r\n[English](./SKILL.md) · [中文](./SKILL-cn.md)\r\n\r\n\r\nImage 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.\r\n\r\n## Trigger Keywords\r\n\r\n- image-replicate\r\n\r\n## Authentication\r\n\r\nAll requests require a dLazy API key. The recommended way to authenticate is:\r\n\r\n```bash\r\ndlazy login\r\n```\r\n\r\nThis 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.\r\n\r\n### Alternative: Set the Key Manually\r\n\r\nIf you already have an API key, you can save it directly:\r\n\r\n```bash\r\ndlazy auth set YOUR_API_KEY\r\n```\r\n\r\nThe 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.\r\n\r\n### Getting Your API Key Manually\r\n\r\n1. Sign in or create an account at [dlazy.com](https://dlazy.com)\r\n2. Go to [dlazy.com/dashboard/organization/api-key](https://dlazy.com/dashboard/organization/api-key)\r\n3. Copy the key shown in the API Key section\r\n\r\nEach key is scoped to your dLazy organization and can be **rotated or revoked at any time** from the same dashboard.\r\n\r\n## About & Provenance\r\n\r\n- **CLI source code**: [github.com/dlazy-ai/cli](https://github.com/dlazy-ai/cli)\r\n- **Maintainer**: dlazyai\r\n- **npm package**: `@dlazy/cli` (pinned to `1.2.3` in this skill's install spec)\r\n- **Homepage**: [dlazy.com](https://dlazy.com)\r\n\r\nYou can install on demand without persisting a global binary by running:\r\n\r\n```bash\r\nnpx @dlazy/cli@1.2.3 <command>\r\n```\r\n\r\nOr, if you prefer a global install, the skill's `metadata.clawdbot.install` field declares the exact pinned version (`npm install -g @dlazy/cli@1.2.3`). Review the GitHub source before installing.\r\n\r\n## How It Works\r\n\r\nThis skill is a thin client over the dLazy hosted API. When you invoke it:\r\n\r\n- Prompts and parameters you provide are sent to the dLazy API endpoint (`api.dlazy.com`) for inference.\r\n- 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.\r\n- Generated output URLs returned by the API are hosted on `files.dlazy.com`.\r\n\r\nThis 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](https://dlazy.com) for the full service terms.\r\n\r\n## Usage\r\n\r\n**CRITICAL INSTRUCTION FOR AGENT**:\r\nExecute `dlazy image-replicate` to get the result.\r\n\r\n```bash\r\ndlazy image-replicate -h\r\n\r\nOptions:\r\n  --images [images...]                 Images [image: url or local path]\r\n  --dry-run                            Print payload + cost estimate without calling API\r\n  --no-wait                            Return generateId immediately for async tasks\r\n  --timeout <seconds>                  Max seconds to wait for async completion (default: \"1800\")\r\n  --save <path>                        Download the result asset to this local path (mkdir + retry handled for you)\r\n  -h, --help                           display help for command\r\n```\r\n\r\n> 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.\r\n\r\n## Output Format\r\n\r\n```json\r\n{\r\n  \"ok\": true,\r\n  \"result\": {\r\n    \"tool\": \"image-replicate\",\r\n    \"modelId\": \"image-replicate\",\r\n    \"outputs\": [\r\n      {\r\n        \"type\": \"image\",\r\n        \"id\": \"o_xxxxxxxx\",\r\n        \"url\": \"https://files.dlazy.com/result.png\",\r\n        \"mimeType\": \"image/png\"\r\n      }\r\n    ]\r\n  }\r\n}\r\n```\r\n\r\n> Async tasks (when `--no-wait` is passed) return `outputs: []` and a `task: { generateId, status }` field instead. Use `dlazy status <generateId> --wait` to poll.\r\n\r\n## Examples\r\n\r\n```bash\r\ndlazy image-replicate --prompt 'prompt content'\r\n```\r\n\r\n## Error Handling\r\n\r\n| Code | Error Type                         | Example Message                                                                                                          |\r\n| ---- | ---------------------------------- | ------------------------------------------------------------------------------------------------------------------------ |\r\n| 401  | Unauthorized (No API Key)          | `ok: false, code: \"unauthorized\", message: \"API key is missing or invalid\"`                                                              |\r\n| 501  | Missing required parameter         | `error: required option '--prompt <prompt>' not specified`                                                              |\r\n| 502  | Local file read error              | `Error: Image file/Video file not found: C:\\path\\to\\your\\file`                                                          |\r\n| 503  | API request failed (no balance)    | `ok: false, code: \"insufficient_balance\"` |\r\n| 503  | API request failed (server error)  | `HTTP status code error (500 server crash)`                                                                             |\r\n| 504  | Asynchronous task execution failed | `=== Generation Failed ===` / `{Specific error reason returned by backend, for example \"Prompt violates safety policy\"}` |\r\n\r\n> **AGENT CRITICAL INSTRUCTION**: \r\n> 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](https://dlazy.com/dashboard/organization/settings?tab=credits)\r\n> 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](https://dlazy.com/dashboard/organization/api-key) and save it using `dlazy auth set <key>` and resume the task.\r\n\r\n## Tips\r\n\r\nVisit https://dlazy.com for more information.\n\nFile v1.3.23:_meta.json\n\n{\n  \"ownerId\": \"kn7c5wgeajfcfvdfb5ceemvdb984cjpd\",\n  \"slug\": \"dlazy-image-replicate\",\n  \"version\": \"1.3.23\",\n  \"publishedAt\": 1790561471865\n}\n\nFile v1.3.23:skill-card.md\n\n## Description:\n\nAnalyzes a reference image's composition, color, lighting, and style to generate a new image in a similar style with Seedream 4.5.\n\nThis skill is ready for commercial/non-commercial use.\n\n## Publisher:\n\n[dlazyai](https://clawhub.ai/user/dlazyai)\n\n### License/Terms of Use:\n\nMIT-0\n\n## Use Case:\n\nCreators and developers use this skill to generate images based on the visual style of a reference image through dLazy's hosted service.\n\n### Deployment Geography for Use:\n\nGlobal\n\n## Known Risks and Mitigations:\n\nRisk: Prompts and user-supplied media may be sent to dLazy's hosted service.\n\nMitigation: Confirm the content is suitable for upload before providing it to the skill.\n\nRisk: The CLI can store a dLazy API key locally.\n\nMitigation: Protect local credentials and rotate or revoke the key from the dLazy dashboard if needed.\n\nRisk: A globally installed CLI remains on the system after use.\n\nMitigation: Use the pinned npx invocation if a persistent global binary is not desired.\n\n## Reference(s):\n\n- [ClawHub skill listing](https://clawhub.ai/dlazyai/skills/dlazy-image-replicate)\n- [dLazy CLI repository (listed in release metadata)](https://github.com/dlazy-ai/cli)\n- [dLazy CLI npm package](https://www.npmjs.com/package/@dlazy/cli)\n- [dLazy service](https://dlazy.com)\n\n## Skill Output:\n\n**Output Type(s):** [Image URLs, JSON metadata]\n\n**Output Format:** [JSON response with an image URL and MIME type; optional downloaded image file]\n\n**Output Parameters:** [1D]\n\n**Other Properties Related to Output:** [Asynchronous requests may return a task ID before the image is ready.]\n\n## Skill Version(s):\n\n1.3.23 (source: server-resolved release metadata)\n\n## Ethical Considerations:\n\nUsers should evaluate whether this skill is appropriate for their environment, review any generated or modified files before relying on them, and apply their organization's safety, security, and compliance requirements before deployment.\n\nFile v1.3.23:SKILL-cn.md\n\n---\r\nname: dlazy-image-replicate\r\nversion: 1.3.6\r\ndescription: '图像仿写工具：分析原图的视觉效果、构图、色彩、光影和风格，生成重绘提示词，并交给 Seedream 4.5 生成具有相同风格的新图像。'\r\nmetadata: {\"clawdbot\":{\"emoji\":\"🤖\",\"requires\":{\"bins\":[\"npm\",\"npx\"]},\"install\":\"npm install -g @dlazy/cli@1.2.3\",\"installAlternative\":\"npx @dlazy/cli@1.2.3\",\"homepage\":\"https://github.com/dlazy-ai/cli\",\"source\":\"https://github.com/dlazy-ai/cli\",\"author\":\"dlazyai\",\"license\":\"see-repo\",\"npm\":\"https://www.npmjs.com/package/@dlazy/cli\",\"configLocation\":\"~/.dlazy/config.json\",\"apiEndpoints\":[\"api.dlazy.com\",\"files.dlazy.com\"]},\"openclaw\":{\"systemPrompt\":\"当调用此技能时，可以使用 dlazy image-replicate -h 查看帮助信息。\"}}\r\n---\r\n\r\n# 图片仿制 Image Replicate\r\n\r\n[English](./SKILL.md) · [中文](./SKILL-cn.md)\r\n\r\n\r\n图像仿写工具：分析原图的视觉效果、构图、色彩、光影和风格，生成重绘提示词，并交给 Seedream 4.5 生成具有相同风格的新图像。\r\n\r\n## 触发关键词\r\n\r\n- image-replicate\r\n\r\n## 身份验证 (Authentication)\r\n\r\n所有请求都需要 dLazy API key。**推荐使用** `dlazy login` 完成登录：\r\n\r\n```bash\r\ndlazy login\r\n```\r\n\r\n该命令使用设备码流程（远程终端也可用），登录成功后 **自动把 API key 写入本地 CLI 配置**，无需手动复制粘贴。\r\n\r\n### 备选：手动设置 API Key\r\n\r\n如果你已有 API key，也可以直接保存：\r\n\r\n```bash\r\ndlazy auth set YOUR_API_KEY\r\n```\r\n\r\nCLI 会把 key 保存在你的用户配置目录（macOS/Linux 上为 `~/.dlazy/config.json`，Windows 上为 `%USERPROFILE%\\.dlazy\\config.json`），文件权限仅限当前操作系统用户访问。你也可以用 `DLAZY_API_KEY` 环境变量按次传入。\r\n\r\n### 手动获取 API Key\r\n\r\n1. 登录或在 [dlazy.com](https://dlazy.com) 创建账号\r\n2. 访问 [dlazy.com/dashboard/organization/api-key](https://dlazy.com/dashboard/organization/api-key)\r\n3. 复制 API Key 区域显示的密钥\r\n\r\n每个 key 都属于你自己的 dLazy 组织，可在同一控制面板**随时轮换或吊销**。\r\n\r\n## 关于与来源 (Provenance)\r\n\r\n- **CLI 源代码**: [github.com/dlazy-ai/cli](https://github.com/dlazy-ai/cli)\r\n- **维护者**: dlazyai\r\n- **npm 包名**: `@dlazy/cli`（本技能 install 字段固定到 `1.2.3` 版本）\r\n- **官网**: [dlazy.com](https://dlazy.com)\r\n\r\n如果你不希望在系统上长期保留一个全局 CLI，可以按需运行：\r\n\r\n```bash\r\nnpx @dlazy/cli@1.2.3 <command>\r\n```\r\n\r\n如选择全局安装，技能的 `metadata.clawdbot.install` 字段已固定到 `npm install -g @dlazy/cli@1.2.3`。安装前建议先到 GitHub 仓库审阅源码。\r\n\r\n## 工作原理\r\n\r\n此技能是 dLazy 托管 API 的轻量封装。调用时：\r\n\r\n- 你提供的提示词与参数会发送到 dLazy API（`api.dlazy.com`）进行推理。\r\n- 传入图像 / 视频 / 音频字段的本地文件路径会被 CLI 上传到 dLazy 媒体存储（`files.dlazy.com`），以便模型读取 —— 与任何云端生成 API 的流程一致。\r\n- API 返回的生成结果 URL 由 `files.dlazy.com` 托管。\r\n\r\n这是标准的 SaaS 调用模式；技能本身不会越权访问网络或文件系统，所有动作都由 dLazy CLI 完成。完整服务条款请参见 [dlazy.com](https://dlazy.com)。\r\n\r\n## 使用方法\r\n\r\n**CRITICAL INSTRUCTION FOR AGENT**:\r\n执行 `dlazy image-replicate` 命令获取结果。\r\n\r\n```bash\r\ndlazy image-replicate -h\r\n\r\nOptions:\r\n  --images [images...]                 参考图 [image: url or local path]\r\n  --dry-run                            Print payload + cost estimate without calling API\r\n  --no-wait                            Return generateId immediately for async tasks\r\n  --timeout <seconds>                  Max seconds to wait for async completion (default: \"1800\")\r\n  --save <path>                        Download the result asset to this local path (mkdir + retry handled for you)\r\n  -h, --help                           display help for command\r\n```\r\n\r\n> 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.\r\n\r\n## 输出格式\r\n\r\n```json\r\n{\r\n  \"ok\": true,\r\n  \"result\": {\r\n    \"tool\": \"image-replicate\",\r\n    \"modelId\": \"image-replicate\",\r\n    \"outputs\": [\r\n      {\r\n        \"type\": \"image\",\r\n        \"id\": \"o_xxxxxxxx\",\r\n        \"url\": \"https://files.dlazy.com/result.png\",\r\n        \"mimeType\": \"image/png\"\r\n      }\r\n    ]\r\n  }\r\n}\r\n```\r\n\r\n> Async tasks (when `--no-wait` is passed) return `outputs: []` and a `task: { generateId, status }` field instead. Use `dlazy status <generateId> --wait` to poll.\r\n\r\n## 命令示例\r\n\r\n```bash\r\ndlazy image-replicate --prompt '提示词内容'\r\n```\r\n\r\n## 错误处理\r\n\r\n| Code | 错误类型                         | 示例信息                                                                                                                 |\r\n| ---- | -------------------------------- | ------------------------------------------------------------------------------------------------------------------------ |\r\n| 401  | 未授权 (API Key缺失或无效)       | `ok: false, code: \"unauthorized\", message: \"API key is missing or invalid\"`                                                              |\r\n| 501  | 缺少必填参数                     | `error: required option '--prompt <prompt>' not specified`                                                               |\r\n| 502  | 本地文件读取失败                 | `Error: Image file/Video file not found: C:\\path\\to\\your\\file`                                                           |\r\n| 503  | API 请求失败（余额不足）         | `ok: false, code: \"insufficient_balance\"` |\r\n| 503  | API 请求失败（服务端错误）       | `HTTP status code error (500 server crash)`                                                                              |\r\n| 504  | 异步任务执行失败                 | `=== Generation Failed ===` / `{后端返回的具体失败原因，比如 \"Prompt violates safety policy\"}`                             |\r\n\r\n> **智能体关键指令**: \r\n> 1. 如果执行结果返回 `code: \"insufficient_balance\"` 且提示余额不足（Insufficient balance），您必须明确告知用户当前积分不足，并引导用户点击以下链接前往充值：[https://dlazy.com/dashboard/organization/settings?tab=credits](https://dlazy.com/dashboard/organization/settings?tab=credits)\r\n> 2. 如果执行结果返回 `code: \"unauthorized\"` 或提示缺少 API Key，您必须明确告知用户前往 [https://dlazy.com/dashboard/organization/api-key](https://dlazy.com/dashboard/organization/api-key) 获取 API Key 并使用 `dlazy auth set <key>` 保存，然后继续执行任务。\r\n\r\n## Tips\r\n\r\nVisit https://dlazy.com for more information.\n\nArchive v1.3.22: 4 files, 8036 bytes\n\nFiles: skill-card.md (1962b), SKILL-cn.md (6981b), SKILL.md (7234b), _meta.json (141b)\n\nFile v1.3.22:SKILL.md\n\n---\r\nname: dlazy-image-replicate\r\nversion: 1.3.6\r\ndescription: \"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. 图像仿写工具：分析原图的视觉效果、构图、色彩、光影和风格，生成重绘提示词，并交给 Seedream 4.5 生成具有相同风格的新图像。\"\r\nmetadata: {\"clawdbot\":{\"emoji\":\"🤖\",\"requires\":{\"bins\":[\"npm\",\"npx\"]},\"install\":\"npm install -g @dlazy/cli@1.2.3\",\"installAlternative\":\"npx @dlazy/cli@1.2.3\",\"homepage\":\"https://github.com/dlazy-ai/cli\",\"source\":\"https://github.com/dlazy-ai/cli\",\"author\":\"dlazyai\",\"license\":\"see-repo\",\"npm\":\"https://www.npmjs.com/package/@dlazy/cli\",\"configLocation\":\"~/.dlazy/config.json\",\"apiEndpoints\":[\"api.dlazy.com\",\"files.dlazy.com\"]},\"openclaw\":{\"systemPrompt\":\"When invoking this skill, use dlazy image-replicate -h for help.\"}}\r\n---\r\n\r\n# 图片仿制 Image Replicate\r\n\r\n[English](./SKILL.md) · [中文](./SKILL-cn.md)\r\n\r\n\r\nImage 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.\r\n\r\n## Trigger Keywords\r\n\r\n- image-replicate\r\n\r\n## Authentication\r\n\r\nAll requests require a dLazy API key. The recommended way to authenticate is:\r\n\r\n```bash\r\ndlazy login\r\n```\r\n\r\nThis 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.\r\n\r\n### Alternative: Set the Key Manually\r\n\r\nIf you already have an API key, you can save it directly:\r\n\r\n```bash\r\ndlazy auth set YOUR_API_KEY\r\n```\r\n\r\nThe 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.\r\n\r\n### Getting Your API Key Manually\r\n\r\n1. Sign in or create an account at [dlazy.com](https://dlazy.com)\r\n2. Go to [dlazy.com/dashboard/organization/api-key](https://dlazy.com/dashboard/organization/api-key)\r\n3. Copy the key shown in the API Key section\r\n\r\nEach key is scoped to your dLazy organization and can be **rotated or revoked at any time** from the same dashboard.\r\n\r\n## About & Provenance\r\n\r\n- **CLI source code**: [github.com/dlazy-ai/cli](https://github.com/dlazy-ai/cli)\r\n- **Maintainer**: dlazyai\r\n- **npm package**: `@dlazy/cli` (pinned to `1.2.3` in this skill's install spec)\r\n- **Homepage**: [dlazy.com](https://dlazy.com)\r\n\r\nYou can install on demand without persisting a global binary by running:\r\n\r\n```bash\r\nnpx @dlazy/cli@1.2.3 <command>\r\n```\r\n\r\nOr, if you prefer a global install, the skill's `metadata.clawdbot.install` field declares the exact pinned version (`npm install -g @dlazy/cli@1.2.3`). Review the GitHub source before installing.\r\n\r\n## How It Works\r\n\r\nThis skill is a thin client over the dLazy hosted API. When you invoke it:\r\n\r\n- Prompts and parameters you provide are sent to the dLazy API endpoint (`api.dlazy.com`) for inference.\r\n- 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.\r\n- Generated output URLs returned by the API are hosted on `files.dlazy.com`.\r\n\r\nThis 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](https://dlazy.com) for the full service terms.\r\n\r\n## Usage\r\n\r\n**CRITICAL INSTRUCTION FOR AGENT**:\r\nExecute `dlazy image-replicate` to get the result.\r\n\r\n```bash\r\ndlazy image-replicate -h\r\n\r\nOptions:\r\n  --images [images...]                 Images [image: url or local path]\r\n  --dry-run                            Print payload + cost estimate without calling API\r\n  --no-wait                            Return generateId immediately for async tasks\r\n  --timeout <seconds>                  Max seconds to wait for async completion (default: \"1800\")\r\n  --save <path>                        Download the result asset to this local path (mkdir + retry handled for you)\r\n  -h, --help                           display help for command\r\n```\r\n\r\n> 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.\r\n\r\n## Output Format\r\n\r\n```json\r\n{\r\n  \"ok\": true,\r\n  \"result\": {\r\n    \"tool\": \"image-replicate\",\r\n    \"modelId\": \"image-replicate\",\r\n    \"outputs\": [\r\n      {\r\n        \"type\": \"image\",\r\n        \"id\": \"o_xxxxxxxx\",\r\n        \"url\": \"https://files.dlazy.com/result.png\",\r\n        \"mimeType\": \"image/png\"\r\n      }\r\n    ]\r\n  }\r\n}\r\n```\r\n\r\n> Async tasks (when `--no-wait` is passed) return `outputs: []` and a `task: { generateId, status }` field instead. Use `dlazy status <generateId> --wait` to poll.\r\n\r\n## Examples\r\n\r\n```bash\r\ndlazy image-replicate --prompt 'prompt content'\r\n```\r\n\r\n## Error Handling\r\n\r\n| Code | Error Type                         | Example Message                                                                                                          |\r\n| ---- | ---------------------------------- | ------------------------------------------------------------------------------------------------------------------------ |\r\n| 401  | Unauthorized (No API Key)          | `ok: false, code: \"unauthorized\", message: \"API key is missing or invalid\"`                                                              |\r\n| 501  | Missing required parameter         | `error: required option '--prompt <prompt>' not specified`                                                              |\r\n| 502  | Local file read error              | `Error: Image file/Video file not found: C:\\path\\to\\your\\file`                                                          |\r\n| 503  | API request failed (no balance)    | `ok: false, code: \"insufficient_balance\"` |\r\n| 503  | API request failed (server error)  | `HTTP status code error (500 server crash)`                                                                             |\r\n| 504  | Asynchronous task execution failed | `=== Generation Failed ===` / `{Specific error reason returned by backend, for example \"Prompt violates safety policy\"}` |\r\n\r\n> **AGENT CRITICAL INSTRUCTION**: \r\n> 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](https://dlazy.com/dashboard/organization/settings?tab=credits)\r\n> 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](https://dlazy.com/dashboard/organization/api-key) and save it using `dlazy auth set <key>` and resume the task.\r\n\r\n## Tips\r\n\r\nVisit https://dlazy.com for more information.\n\nFile v1.3.22:_meta.json\n\n{\n  \"ownerId\": \"kn7c5wgeajfcfvdfb5ceemvdb984cjpd\",\n  \"slug\": \"dlazy-image-replicate\",\n  \"version\": \"1.3.22\",\n  \"publishedAt\": 1790558001818\n}\n\nFile v1.3.22:skill-card.md\n\n## Description:\n\nHelps agents analyze a reference image and request a new image in a similar visual style through dLazy's image-replication service.\n\nThis skill is ready for commercial/non-commercial use.\n\n## Publisher:\n\n[dlazyai](https://clawhub.ai/user/dlazyai)\n\n### License/Terms of Use:\n\nMIT-0\n\n## Use Case:\n\nCreators and developers use this skill to generate a new image inspired by the composition, colors, lighting, and style of a reference image.\n\n### Deployment Geography for Use:\n\nGlobal\n\n## Known Risks and Mitigations:\n\nRisk: Prompts and selected local media are sent to dLazy's cloud service.\n\nMitigation: Only submit prompts and files you are comfortable uploading to dLazy.\n\nRisk: Authentication stores a dLazy API key on the local machine.\n\nMitigation: Rotate or revoke the key in the dLazy dashboard when it is no longer needed.\n\nRisk: Installing the dLazy CLI runs third-party software.\n\nMitigation: Install only if you trust dLazy and the @dlazy/cli package; use the pinned npx command to avoid a persistent global installation.\n\n## Reference(s):\n\n- [ClawHub skill release](https://clawhub.ai/dlazyai/skills/dlazy-image-replicate)\n- [dLazy CLI package](https://www.npmjs.com/package/@dlazy/cli)\n- [dLazy CLI repository (listed in skill metadata)](https://github.com/dlazy-ai/cli)\n\n## Skill Output:\n\n**Output Type(s):** [Guidance, Shell commands]\n\n**Output Format:** [Markdown with shell commands and JSON results]\n\n**Output Parameters:** [1D]\n\n**Other Properties Related to Output:** [Results can include a generated image URL, an asynchronous task ID, or an optionally saved image file.]\n\n## Skill Version(s):\n\n1.3.22 (source: ClawHub release; skill frontmatter lists 1.3.6)\n\n## Ethical Considerations:\n\nUsers should evaluate whether this skill is appropriate for their environment, review any generated or modified files before relying on them, and apply their organization's safety, security, and compliance requirements before deployment.\n\nFile v1.3.22:SKILL-cn.md\n\n---\r\nname: dlazy-image-replicate\r\nversion: 1.3.6\r\ndescription: '图像仿写工具：分析原图的视觉效果、构图、色彩、光影和风格，生成重绘提示词，并交给 Seedream 4.5 生成具有相同风格的新图像。'\r\nmetadata: {\"clawdbot\":{\"emoji\":\"🤖\",\"requires\":{\"bins\":[\"npm\",\"npx\"]},\"install\":\"npm install -g @dlazy/cli@1.2.3\",\"installAlternative\":\"npx @dlazy/cli@1.2.3\",\"homepage\":\"https://github.com/dlazy-ai/cli\",\"source\":\"https://github.com/dlazy-ai/cli\",\"author\":\"dlazyai\",\"license\":\"see-repo\",\"npm\":\"https://www.npmjs.com/package/@dlazy/cli\",\"configLocation\":\"~/.dlazy/config.json\",\"apiEndpoints\":[\"api.dlazy.com\",\"files.dlazy.com\"]},\"openclaw\":{\"systemPrompt\":\"当调用此技能时，可以使用 dlazy image-replicate -h 查看帮助信息。\"}}\r\n---\r\n\r\n# 图片仿制 Image Replicate\r\n\r\n[English](./SKILL.md) · [中文](./SKILL-cn.md)\r\n\r\n\r\n图像仿写工具：分析原图的视觉效果、构图、色彩、光影和风格，生成重绘提示词，并交给 Seedream 4.5 生成具有相同风格的新图像。\r\n\r\n## 触发关键词\r\n\r\n- image-replicate\r\n\r\n## 身份验证 (Authentication)\r\n\r\n所有请求都需要 dLazy API key。**推荐使用** `dlazy login` 完成登录：\r\n\r\n```bash\r\ndlazy login\r\n```\r\n\r\n该命令使用设备码流程（远程终端也可用），登录成功后 **自动把 API key 写入本地 CLI 配置**，无需手动复制粘贴。\r\n\r\n### 备选：手动设置 API Key\r\n\r\n如果你已有 API key，也可以直接保存：\r\n\r\n```bash\r\ndlazy auth set YOUR_API_KEY\r\n```\r\n\r\nCLI 会把 key 保存在你的用户配置目录（macOS/Linux 上为 `~/.dlazy/config.json`，Windows 上为 `%USERPROFILE%\\.dlazy\\config.json`），文件权限仅限当前操作系统用户访问。你也可以用 `DLAZY_API_KEY` 环境变量按次传入。\r\n\r\n### 手动获取 API Key\r\n\r\n1. 登录或在 [dlazy.com](https://dlazy.com) 创建账号\r\n2. 访问 [dlazy.com/dashboard/organization/api-key](https://dlazy.com/dashboard/organization/api-key)\r\n3. 复制 API Key 区域显示的密钥\r\n\r\n每个 key 都属于你自己的 dLazy 组织，可在同一控制面板**随时轮换或吊销**。\r\n\r\n## 关于与来源 (Provenance)\r\n\r\n- **CLI 源代码**: [github.com/dlazy-ai/cli](https://github.com/dlazy-ai/cli)\r\n- **维护者**: dlazyai\r\n- **npm 包名**: `@dlazy/cli`（本技能 install 字段固定到 `1.2.3` 版本）\r\n- **官网**: [dlazy.com](https://dlazy.com)\r\n\r\n如果你不希望在系统上长期保留一个全局 CLI，可以按需运行：\r\n\r\n```bash\r\nnpx @dlazy/cli@1.2.3 <command>\r\n```\r\n\r\n如选择全局安装，技能的 `metadata.clawdbot.install` 字段已固定到 `npm install -g @dlazy/cli@1.2.3`。安装前建议先到 GitHub 仓库审阅源码。\r\n\r\n## 工作原理\r\n\r\n此技能是 dLazy 托管 API 的轻量封装。调用时：\r\n\r\n- 你提供的提示词与参数会发送到 dLazy API（`api.dlazy.com`）进行推理。\r\n- 传入图像 / 视频 / 音频字段的本地文件路径会被 CLI 上传到 dLazy 媒体存储（`files.dlazy.com`），以便模型读取 —— 与任何云端生成 API 的流程一致。\r\n- API 返回的生成结果 URL 由 `files.dlazy.com` 托管。\r\n\r\n这是标准的 SaaS 调用模式；技能本身不会越权访问网络或文件系统，所有动作都由 dLazy CLI 完成。完整服务条款请参见 [dlazy.com](https://dlazy.com)。\r\n\r\n## 使用方法\r\n\r\n**CRITICAL INSTRUCTION FOR AGENT**:\r\n执行 `dlazy image-replicate` 命令获取结果。\r\n\r\n```bash\r\ndlazy image-replicate -h\r\n\r\nOptions:\r\n  --images [images...]                 参考图 [image: url or local path]\r\n  --dry-run                            Print payload + cost estimate without calling API\r\n  --no-wait                            Return generateId immediately for async tasks\r\n  --timeout <seconds>                  Max seconds to wait for async completion (default: \"1800\")\r\n  --save <path>                        Download the result asset to this local path (mkdir + retry handled for you)\r\n  -h, --help                           display help for command\r\n```\r\n\r\n> 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.\r\n\r\n## 输出格式\r\n\r\n```json\r\n{\r\n  \"ok\": true,\r\n  \"result\": {\r\n    \"tool\": \"image-replicate\",\r\n    \"modelId\": \"image-replicate\",\r\n    \"outputs\": [\r\n      {\r\n        \"type\": \"image\",\r\n        \"id\": \"o_xxxxxxxx\",\r\n        \"url\": \"https://files.dlazy.com/result.png\",\r\n        \"mimeType\": \"image/png\"\r\n      }\r\n    ]\r\n  }\r\n}\r\n```\r\n\r\n> Async tasks (when `--no-wait` is passed) return `outputs: []` and a `task: { generateId, status }` field instead. Use `dlazy status <generateId> --wait` to poll.\r\n\r\n## 命令示例\r\n\r\n```bash\r\ndlazy image-replicate --prompt '提示词内容'\r\n```\r\n\r\n## 错误处理\r\n\r\n| Code | 错误类型                         | 示例信息                                                                                                                 |\r\n| ---- | -------------------------------- | ------------------------------------------------------------------------------------------------------------------------ |\r\n| 401  | 未授权 (API Key缺失或无效)       | `ok: false, code: \"unauthorized\", message: \"API key is missing or invalid\"`                                                              |\r\n| 501  | 缺少必填参数                     | `error: required option '--prompt <prompt>' not specified`                                                               |\r\n| 502  | 本地文件读取失败                 | `Error: Image file/Video file not found: C:\\path\\to\\your\\file`                                                           |\r\n| 503  | API 请求失败（余额不足）         | `ok: false, code: \"insufficient_balance\"` |\r\n| 503  | API 请求失败（服务端错误）       | `HTTP status code error (500 server crash)`                                                                              |\r\n| 504  | 异步任务执行失败                 | `=== Generation Failed ===` / `{后端返回的具体失败原因，比如 \"Prompt violates safety policy\"}`                             |\r\n\r\n> **智能体关键指令**: \r\n> 1. 如果执行结果返回 `code: \"insufficient_balance\"` 且提示余额不足（Insufficient balance），您必须明确告知用户当前积分不足，并引导用户点击以下链接前往充值：[https://dlazy.com/dashboard/organization/settings?tab=credits](https://dlazy.com/dashboard/organization/settings?tab=credits)\r\n> 2. 如果执行结果返回 `code: \"unauthorized\"` 或提示缺少 API Key，您必须明确告知用户前往 [https://dlazy.com/dashboard/organization/api-key](https://dlazy.com/dashboard/organization/api-key) 获取 API Key 并使用 `dlazy auth set <key>` 保存，然后继续执行任务。\r\n\r\n## Tips\r\n\r\nVisit https://dlazy.com for more information.\n\nArchive v1.3.21: 4 files, 8138 bytes\n\nFiles: skill-card.md (2259b), SKILL-cn.md (6981b), SKILL.md (7234b), _meta.json (141b)\n\nFile v1.3.21:SKILL.md\n\n---\r\nname: dlazy-image-replicate\r\nversion: 1.3.6\r\ndescription: \"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. 图像仿写工具：分析原图的视觉效果、构图、色彩、光影和风格，生成重绘提示词，并交给 Seedream 4.5 生成具有相同风格的新图像。\"\r\nmetadata: {\"clawdbot\":{\"emoji\":\"🤖\",\"requires\":{\"bins\":[\"npm\",\"npx\"]},\"install\":\"npm install -g @dlazy/cli@1.2.3\",\"installAlternative\":\"npx @dlazy/cli@1.2.3\",\"homepage\":\"https://github.com/dlazy-ai/cli\",\"source\":\"https://github.com/dlazy-ai/cli\",\"author\":\"dlazyai\",\"license\":\"see-repo\",\"npm\":\"https://www.npmjs.com/package/@dlazy/cli\",\"configLocation\":\"~/.dlazy/config.json\",\"apiEndpoints\":[\"api.dlazy.com\",\"files.dlazy.com\"]},\"openclaw\":{\"systemPrompt\":\"When invoking this skill, use dlazy image-replicate -h for help.\"}}\r\n---\r\n\r\n# 图片仿制 Image Replicate\r\n\r\n[English](./SKILL.md) · [中文](./SKILL-cn.md)\r\n\r\n\r\nImage 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.\r\n\r\n## Trigger Keywords\r\n\r\n- image-replicate\r\n\r\n## Authentication\r\n\r\nAll requests require a dLazy API key. The recommended way to authenticate is:\r\n\r\n```bash\r\ndlazy login\r\n```\r\n\r\nThis 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.\r\n\r\n### Alternative: Set the Key Manually\r\n\r\nIf you already have an API key, you can save it directly:\r\n\r\n```bash\r\ndlazy auth set YOUR_API_KEY\r\n```\r\n\r\nThe 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.\r\n\r\n### Getting Your API Key Manually\r\n\r\n1. Sign in or create an account at [dlazy.com](https://dlazy.com)\r\n2. Go to [dlazy.com/dashboard/organization/api-key](https://dlazy.com/dashboard/organization/api-key)\r\n3. Copy the key shown in the API Key section\r\n\r\nEach key is scoped to your dLazy organization and can be **rotated or revoked at any time** from the same dashboard.\r\n\r\n## About & Provenance\r\n\r\n- **CLI source code**: [github.com/dlazy-ai/cli](https://github.com/dlazy-ai/cli)\r\n- **Maintainer**: dlazyai\r\n- **npm package**: `@dlazy/cli` (pinned to `1.2.3` in this skill's install spec)\r\n- **Homepage**: [dlazy.com](https://dlazy.com)\r\n\r\nYou can install on demand without persisting a global binary by running:\r\n\r\n```bash\r\nnpx @dlazy/cli@1.2.3 <command>\r\n```\r\n\r\nOr, if you prefer a global install, the skill's `metadata.clawdbot.install` field declares the exact pinned version (`npm install -g @dlazy/cli@1.2.3`). Review the GitHub source before installing.\r\n\r\n## How It Works\r\n\r\nThis skill is a thin client over the dLazy hosted API. When you invoke it:\r\n\r\n- Prompts and parameters you provide are sent to the dLazy API endpoint (`api.dlazy.com`) for inference.\r\n- 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.\r\n- Generated output URLs returned by the API are hosted on `files.dlazy.com`.\r\n\r\nThis 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](https://dlazy.com) for the full service terms.\r\n\r\n## Usage\r\n\r\n**CRITICAL INSTRUCTION FOR AGENT**:\r\nExecute `dlazy image-replicate` to get the result.\r\n\r\n```bash\r\ndlazy image-replicate -h\r\n\r\nOptions:\r\n  --images [images...]                 Images [image: url or local path]\r\n  --dry-run                            Print payload + cost estimate without calling API\r\n  --no-wait                            Return generateId immediately for async tasks\r\n  --timeout <seconds>                  Max seconds to wait for async completion (default: \"1800\")\r\n  --save <path>                        Download the result asset to this local path (mkdir + retry handled for you)\r\n  -h, --help                           display help for command\r\n```\r\n\r\n> 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.\r\n\r\n## Output Format\r\n\r\n```json\r\n{\r\n  \"ok\": true,\r\n  \"result\": {\r\n    \"tool\": \"image-replicate\",\r\n    \"modelId\": \"image-replicate\",\r\n    \"outputs\": [\r\n      {\r\n        \"type\": \"image\",\r\n        \"id\": \"o_xxxxxxxx\",\r\n        \"url\": \"https://files.dlazy.com/result.png\",\r\n        \"mimeType\": \"image/png\"\r\n      }\r\n    ]\r\n  }\r\n}\r\n```\r\n\r\n> Async tasks (when `--no-wait` is passed) return `outputs: []` and a `task: { generateId, status }` field instead. Use `dlazy status <generateId> --wait` to poll.\r\n\r\n## Examples\r\n\r\n```bash\r\ndlazy image-replicate --prompt 'prompt content'\r\n```\r\n\r\n## Error Handling\r\n\r\n| Code | Error Type                         | Example Message                                                                                                          |\r\n| ---- | ---------------------------------- | ------------------------------------------------------------------------------------------------------------------------ |\r\n| 401  | Unauthorized (No API Key)          | `ok: false, code: \"unauthorized\", message: \"API key is missing or invalid\"`                                                              |\r\n| 501  | Missing required parameter         | `error: required option '--prompt <prompt>' not specified`                                                              |\r\n| 502  | Local file read error              | `Error: Image file/Video file not found: C:\\path\\to\\your\\file`                                                          |\r\n| 503  | API request failed (no balance)    | `ok: false, code: \"insufficient_balance\"` |\r\n| 503  | API request failed (server error)  | `HTTP status code error (500 server crash)`                                                                             |\r\n| 504  | Asynchronous task execution failed | `=== Generation Failed ===` / `{Specific error reason returned by backend, for example \"Prompt violates safety policy\"}` |\r\n\r\n> **AGENT CRITICAL INSTRUCTION**: \r\n> 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](https://dlazy.com/dashboard/organization/settings?tab=credits)\r\n> 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](https://dlazy.com/dashboard/organization/api-key) and save it using `dlazy auth set <key>` and resume the task.\r\n\r\n## Tips\r\n\r\nVisit https://dlazy.com for more information.\n\nFile v1.3.21:_meta.json\n\n{\n  \"ownerId\": \"kn7c5wgeajfcfvdfb5ceemvdb984cjpd\",\n  \"slug\": \"dlazy-image-replicate\",\n  \"version\": \"1.3.21\",\n  \"publishedAt\": 1790214590863\n}\n\nFile v1.3.21:skill-card.md\n\n## Description:\n\nImage Replicate analyzes a source image's composition, colors, lighting, and style, builds a replication prompt, and invokes Seedream 4.5 through the dLazy CLI to generate a new image in a similar style.\n\nThis skill is ready for commercial/non-commercial use.\n\n## Publisher:\n\n[dlazyai](https://clawhub.ai/user/dlazyai)\n\n### License/Terms of Use:\n\nMIT-0\n\n## Use Case:\n\nExternal users and developers use this skill to generate new images that follow the visual style of user-supplied reference images. The agent invokes a pinned dLazy CLI command and can return generated image URLs or saved output files.\n\n### Deployment Geography for Use:\n\nGlobal\n\n## Known Risks and Mitigations:\n\nRisk: Prompts and selected media files are sent to the dLazy hosted service.\n\nMitigation: Use the skill only with media and prompts approved for upload to dLazy, and review dLazy service terms before use.\n\nRisk: Authentication requires storing or providing a dLazy API key.\n\nMitigation: Use OS-restricted CLI configuration or the DLAZY_API_KEY environment variable, and rotate or revoke the key from the dLazy dashboard when needed.\n\nRisk: A global CLI install persists the dLazy binary on the user's machine.\n\nMitigation: Use npx @dlazy/cli@1.2.3 for on-demand execution when a persistent global install is not desired.\n\n## Reference(s):\n\n- [ClawHub Skill Page](https://clawhub.ai/dlazyai/skills/dlazy-image-replicate)\n- [dLazy Homepage](https://dlazy.com)\n- [dLazy CLI Source](https://github.com/dlazy-ai/cli)\n- [dLazy CLI npm Package](https://www.npmjs.com/package/@dlazy/cli)\n\n## Skill Output:\n\n**Output Type(s):** [text, shell commands, configuration, JSON, files]\n\n**Output Format:** [JSON responses from the dLazy CLI, with optional image URLs or saved image files]\n\n**Output Parameters:** [1D]\n\n**Other Properties Related to Output:** [Requires a dLazy API key and npm or npx; generated output URLs are hosted by dLazy.]\n\n## Skill Version(s):\n\n1.3.21 (source: ClawHub release evidence)\n\n## Ethical Considerations:\n\nUsers should evaluate whether this skill is appropriate for their environment, review any generated or modified files before relying on them, and apply their organization's safety, security, and compliance requirements before deployment.\n\nFile v1.3.21:SKILL-cn.md\n\n---\r\nname: dlazy-image-replicate\r\nversion: 1.3.6\r\ndescription: '图像仿写工具：分析原图的视觉效果、构图、色彩、光影和风格，生成重绘提示词，并交给 Seedream 4.5 生成具有相同风格的新图像。'\r\nmetadata: {\"clawdbot\":{\"emoji\":\"🤖\",\"requires\":{\"bins\":[\"npm\",\"npx\"]},\"install\":\"npm install -g @dlazy/cli@1.2.3\",\"installAlternative\":\"npx @dlazy/cli@1.2.3\",\"homepage\":\"https://github.com/dlazy-ai/cli\",\"source\":\"https://github.com/dlazy-ai/cli\",\"author\":\"dlazyai\",\"license\":\"see-repo\",\"npm\":\"https://www.npmjs.com/package/@dlazy/cli\",\"configLocation\":\"~/.dlazy/config.json\",\"apiEndpoints\":[\"api.dlazy.com\",\"files.dlazy.com\"]},\"openclaw\":{\"systemPrompt\":\"当调用此技能时，可以使用 dlazy image-replicate -h 查看帮助信息。\"}}\r\n---\r\n\r\n# 图片仿制 Image Replicate\r\n\r\n[English](./SKILL.md) · [中文](./SKILL-cn.md)\r\n\r\n\r\n图像仿写工具：分析原图的视觉效果、构图、色彩、光影和风格，生成重绘提示词，并交给 Seedream 4.5 生成具有相同风格的新图像。\r\n\r\n## 触发关键词\r\n\r\n- image-replicate\r\n\r\n## 身份验证 (Authentication)\r\n\r\n所有请求都需要 dLazy API key。**推荐使用** `dlazy login` 完成登录：\r\n\r\n```bash\r\ndlazy login\r\n```\r\n\r\n该命令使用设备码流程（远程终端也可用），登录成功后 **自动把 API key 写入本地 CLI 配置**，无需手动复制粘贴。\r\n\r\n### 备选：手动设置 API Key\r\n\r\n如果你已有 API key，也可以直接保存：\r\n\r\n```bash\r\ndlazy auth set YOUR_API_KEY\r\n```\r\n\r\nCLI 会把 key 保存在你的用户配置目录（macOS/Linux 上为 `~/.dlazy/config.json`，Windows 上为 `%USERPROFILE%\\.dlazy\\config.json`），文件权限仅限当前操作系统用户访问。你也可以用 `DLAZY_API_KEY` 环境变量按次传入。\r\n\r\n### 手动获取 API Key\r\n\r\n1. 登录或在 [dlazy.com](https://dlazy.com) 创建账号\r\n2. 访问 [dlazy.com/dashboard/organization/api-key](https://dlazy.com/dashboard/organization/api-key)\r\n3. 复制 API Key 区域显示的密钥\r\n\r\n每个 key 都属于你自己的 dLazy 组织，可在同一控制面板**随时轮换或吊销**。\r\n\r\n## 关于与来源 (Provenance)\r\n\r\n- **CLI 源代码**: [github.com/dlazy-ai/cli](https://github.com/dlazy-ai/cli)\r\n- **维护者**: dlazyai\r\n- **npm 包名**: `@dlazy/cli`（本技能 install 字段固定到 `1.2.3` 版本）\r\n- **官网**: [dlazy.com](https://dlazy.com)\r\n\r\n如果你不希望在系统上长期保留一个全局 CLI，可以按需运行：\r\n\r\n```bash\r\nnpx @dlazy/cli@1.2.3 <command>\r\n```\r\n\r\n如选择全局安装，技能的 `metadata.clawdbot.install` 字段已固定到 `npm install -g @dlazy/cli@1.2.3`。安装前建议先到 GitHub 仓库审阅源码。\r\n\r\n## 工作原理\r\n\r\n此技能是 dLazy 托管 API 的轻量封装。调用时：\r\n\r\n- 你提供的提示词与参数会发送到 dLazy API（`api.dlazy.com`）进行推理。\r\n- 传入图像 / 视频 / 音频字段的本地文件路径会被 CLI 上传到 dLazy 媒体存储（`files.dlazy.com`），以便模型读取 —— 与任何云端生成 API 的流程一致。\r\n- API 返回的生成结果 URL 由 `files.dlazy.com` 托管。\r\n\r\n这是标准的 SaaS 调用模式；技能本身不会越权访问网络或文件系统，所有动作都由 dLazy CLI 完成。完整服务条款请参见 [dlazy.com](https://dlazy.com)。\r\n\r\n## 使用方法\r\n\r\n**CRITICAL INSTRUCTION FOR AGENT**:\r\n执行 `dlazy image-replicate` 命令获取结果。\r\n\r\n```bash\r\ndlazy image-replicate -h\r\n\r\nOptions:\r\n  --images [images...]                 参考图 [image: url or local path]\r\n  --dry-run                            Print payload + cost estimate without calling API\r\n  --no-wait                            Return generateId immediately for async tasks\r\n  --timeout <seconds>                  Max seconds to wait for async completion (default: \"1800\")\r\n  --save <path>                        Download the result asset to this local path (mkdir + retry handled for you)\r\n  -h, --help                           display help for command\r\n```\r\n\r\n> 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.\r\n\r\n## 输出格式\r\n\r\n```json\r\n{\r\n  \"ok\": true,\r\n  \"result\": {\r\n    \"tool\": \"image-replicate\",\r\n    \"modelId\": \"image-replicate\",\r\n    \"outputs\": [\r\n      {\r\n        \"type\": \"image\",\r\n        \"id\": \"o_xxxxxxxx\",\r\n        \"url\": \"https://files.dlazy.com/result.png\",\r\n        \"mimeType\": \"image/png\"\r\n      }\r\n    ]\r\n  }\r\n}\r\n```\r\n\r\n> Async tasks (when `--no-wait` is passed) return `outputs: []` and a `task: { generateId, status }` field instead. Use `dlazy status <generateId> --wait` to poll.\r\n\r\n## 命令示例\r\n\r\n```bash\r\ndlazy image-replicate --prompt '提示词内容'\r\n```\r\n\r\n## 错误处理\r\n\r\n| Code | 错误类型                         | 示例信息                                                                                                                 |\r\n| ---- | -------------------------------- | ------------------------------------------------------------------------------------------------------------------------ |\r\n| 401  | 未授权 (API Key缺失或无效)       | `ok: false, code: \"unauthorized\", message: \"API key is missing or invalid\"`                                                              |\r\n| 501  | 缺少必填参数                     | `error: required option '--prompt <prompt>' not specified`                                                               |\r\n| 502  | 本地文件读取失败                 | `Error: Image file/Video file not found: C:\\path\\to\\your\\file`                                                           |\r\n| 503  | API 请求失败（余额不足）         | `ok: false, code: \"insufficient_balance\"` |\r\n| 503  | API 请求失败（服务端错误）       | `HTTP status code error (500 server crash)`                                                                              |\r\n| 504  | 异步任务执行失败                 | `=== Generation Failed ===` / `{后端返回的具体失败原因，比如 \"Prompt violates safety policy\"}`                             |\r\n\r\n> **智能体关键指令**: \r\n> 1. 如果执行结果返回 `code: \"insufficient_balance\"` 且提示余额不足（Insufficient balance），您必须明确告知用户当前积分不足，并引导用户点击以下链接前往充值：[https://dlazy.com/dashboard/organization/settings?tab=credits](https://dlazy.com/dashboard/organization/settings?tab=credits)\r\n> 2. 如果执行结果返回 `code: \"unauthorized\"` 或提示缺少 API Key，您必须明确告知用户前往 [https://dlazy.com/dashboard/organization/api-key](https://dlazy.com/dashboard/organization/api-key) 获取 API Key 并使用 `dlazy auth set <key>` 保存，然后继续执行任务。\r\n\r\n## Tips\r\n\r\nVisit https://dlazy.com for more information.\n\nArchive v1.3.20: 4 files, 8204 bytes\n\nFiles: skill-card.md (2349b), SKILL-cn.md (6981b), SKILL.md (7234b), _meta.json (141b)\n\nFile v1.3.20:SKILL.md\n\n---\r\nname: dlazy-image-replicate\r\nversion: 1.3.6\r\ndescription: \"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. 图像仿写工具：分析原图的视觉效果、构图、色彩、光影和风格，生成重绘提示词，并交给 Seedream 4.5 生成具有相同风格的新图像。\"\r\nmetadata: {\"clawdbot\":{\"emoji\":\"🤖\",\"requires\":{\"bins\":[\"npm\",\"npx\"]},\"install\":\"npm install -g @dlazy/cli@1.2.3\",\"installAlternative\":\"npx @dlazy/cli@1.2.3\",\"homepage\":\"https://github.com/dlazy-ai/cli\",\"source\":\"https://github.com/dlazy-ai/cli\",\"author\":\"dlazyai\",\"license\":\"see-repo\",\"npm\":\"https://www.npmjs.com/package/@dlazy/cli\",\"configLocation\":\"~/.dlazy/config.json\",\"apiEndpoints\":[\"api.dlazy.com\",\"files.dlazy.com\"]},\"openclaw\":{\"systemPrompt\":\"When invoking this skill, use dlazy image-replicate -h for help.\"}}\r\n---\r\n\r\n# 图片仿制 Image Replicate\r\n\r\n[English](./SKILL.md) · [中文](./SKILL-cn.md)\r\n\r\n\r\nImage 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.\r\n\r\n## Trigger Keywords\r\n\r\n- image-replicate\r\n\r\n## Authentication\r\n\r\nAll requests require a dLazy API key. The recommended way to authenticate is:\r\n\r\n```bash\r\ndlazy login\r\n```\r\n\r\nThis 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.\r\n\r\n### Alternative: Set the Key Manually\r\n\r\nIf you already have an API key, you can save it directly:\r\n\r\n```bash\r\ndlazy auth set YOUR_API_KEY\r\n```\r\n\r\nThe 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.\r\n\r\n### Getting Your API Key Manually\r\n\r\n1. Sign in or create an account at [dlazy.com](https://dlazy.com)\r\n2. Go to [dlazy.com/dashboard/organization/api-key](https://dlazy.com/dashboard/organization/api-key)\r\n3. Copy the key shown in the API Key section\r\n\r\nEach key is scoped to your dLazy organization and can be **rotated or revoked at any time** from the same dashboard.\r\n\r\n## About & Provenance\r\n\r\n- **CLI source code**: [github.com/dlazy-ai/cli](https://github.com/dlazy-ai/cli)\r\n- **Maintainer**: dlazyai\r\n- **npm package**: `@dlazy/cli` (pinned to `1.2.3` in this skill's install spec)\r\n- **Homepage**: [dlazy.com](https://dlazy.com)\r\n\r\nYou can install on demand without persisting a global binary by running:\r\n\r\n```bash\r\nnpx @dlazy/cli@1.2.3 <command>\r\n```\r\n\r\nOr, if you prefer a global install, the skill's `metadata.clawdbot.install` field declares the exact pinned version (`npm install -g @dlazy/cli@1.2.3`). Review the GitHub source before installing.\r\n\r\n## How It Works\r\n\r\nThis skill is a thin client over the dLazy hosted API. When you invoke it:\r\n\r\n- Prompts and parameters you provide are sent to the dLazy API endpoint (`api.dlazy.com`) for inference.\r\n- 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.\r\n- Generated output URLs returned by the API are hosted on `files.dlazy.com`.\r\n\r\nThis 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](https://dlazy.com) for the full service terms.\r\n\r\n## Usage\r\n\r\n**CRITICAL INSTRUCTION FOR AGENT**:\r\nExecute `dlazy image-replicate` to get the result.\r\n\r\n```bash\r\ndlazy image-replicate -h\r\n\r\nOptions:\r\n  --images [images...]                 Images [image: url or local path]\r\n  --dry-run                            Print payload + cost estimate without calling API\r\n  --no-wait                            Return generateId immediately for async tasks\r\n  --timeout <seconds>                  Max seconds to wait for async completion (default: \"1800\")\r\n  --save <path>                        Download the result asset to this local path (mkdir + retry handled for you)\r\n  -h, --help                           display help for command\r\n```\r\n\r\n> 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.\r\n\r\n## Output Format\r\n\r\n```json\r\n{\r\n  \"ok\": true,\r\n  \"result\": {\r\n    \"tool\": \"image-replicate\",\r\n    \"modelId\": \"image-replicate\",\r\n    \"outputs\": [\r\n      {\r\n        \"type\": \"image\",\r\n        \"id\": \"o_xxxxxxxx\",\r\n        \"url\": \"https://files.dlazy.com/result.png\",\r\n        \"mimeType\": \"image/png\"\r\n      }\r\n    ]\r\n  }\r\n}\r\n```\r\n\r\n> Async tasks (when `--no-wait` is passed) return `outputs: []` and a `task: { generateId, status }` field instead. Use `dlazy status <generateId> --wait` to poll.\r\n\r\n## Examples\r\n\r\n```bash\r\ndlazy image-replicate --prompt 'prompt content'\r\n```\r\n\r\n## Error Handling\r\n\r\n| Code | Error Type                         | Example Message                                                                                                          |\r\n| ---- | ---------------------------------- | ------------------------------------------------------------------------------------------------------------------------ |\r\n| 401  | Unauthorized (No API Key)          | `ok: false, code: \"unauthorized\", message: \"API key is missing or invalid\"`                                                              |\r\n| 501  | Missing required parameter         | `error: required option '--prompt <prompt>' not specified`                                                              |\r\n| 502  | Local file read error              | `Error: Image file/Video file not found: C:\\path\\to\\your\\file`                                                          |\r\n| 503  | API request failed (no balance)    | `ok: false, code: \"insufficient_balance\"` |\r\n| 503  | API request failed (server error)  | `HTTP status code error (500 server crash)`                                                                             |\r\n| 504  | Asynchronous task execution failed | `=== Generation Failed ===` / `{Specific error reason returned by backend, for example \"Prompt violates safety policy\"}` |\r\n\r\n> **AGENT CRITICAL INSTRUCTION**: \r\n> 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](https://dlazy.com/dashboard/organization/settings?tab=credits)\r\n> 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](https://dlazy.com/dashboard/organization/api-key) and save it using `dlazy auth set <key>` and resume the task.\r\n\r\n## Tips\r\n\r\nVisit https://dlazy.com for more information.\n\nFile v1.3.20:_meta.json\n\n{\n  \"ownerId\": \"kn7c5wgeajfcfvdfb5ceemvdb984cjpd\",\n  \"slug\": \"dlazy-image-replicate\",\n  \"version\": \"1.3.20\",\n  \"publishedAt\": 1790039466688\n}\n\nFile v1.3.20:skill-card.md\n\n## Description:\n\nImage Replicate analyzes a source image's visuals, composition, colors, lighting, and style, builds a replication prompt, and hands it off to Seedream 4.5 to generate a new image in the same style.\n\nThis skill is ready for commercial/non-commercial use.\n\n## Publisher:\n\n[dlazyai](https://clawhub.ai/user/dlazyai)\n\n### License/Terms of Use:\n\nMIT-0\n\n## Use Case:\n\nDevelopers, creators, and agent users use this skill to invoke the dLazy image-replicate CLI for reference-image style replication and image generation through the dLazy hosted service.\n\n### Deployment Geography for Use:\n\nGlobal\n\n## Known Risks and Mitigations:\n\nRisk: Prompts, parameters, and referenced local media may be sent to dLazy API and storage endpoints.\n\nMitigation: Use only data approved for dLazy cloud processing and avoid sensitive images or prompts unless that transfer is authorized.\n\nRisk: Authentication can store a dLazy API key in the local CLI configuration.\n\nMitigation: Use the DLAZY_API_KEY environment variable for per-invocation authentication when persistent local key storage is not acceptable, and rotate or revoke keys from the dLazy dashboard when needed.\n\nRisk: The skill installs or invokes a pinned third-party npm CLI package.\n\nMitigation: Review the pinned @dlazy/cli package and linked source before use in environments with strict supply-chain controls.\n\n## Reference(s):\n\n- [ClawHub skill page](https://clawhub.ai/dlazyai/skills/dlazy-image-replicate)\n- [dLazy CLI source](https://github.com/dlazy-ai/cli)\n- [dLazy CLI npm package](https://www.npmjs.com/package/@dlazy/cli)\n- [dLazy homepage](https://dlazy.com)\n\n## Skill Output:\n\n**Output Type(s):** [shell commands, configuration, JSON, guidance]\n\n**Output Format:** [Markdown guidance with bash commands and JSON output examples]\n\n**Output Parameters:** [1D]\n\n**Other Properties Related to Output:** [May return image output URLs hosted by files.dlazy.com or an async task identifier when --no-wait is used.]\n\n## Skill Version(s):\n\n1.3.20 (source: server release metadata; artifact frontmatter reports 1.3.6)\n\n## Ethical Considerations:\n\nUsers should evaluate whether this skill is appropriate for their environment, review any generated or modified files before relying on them, and apply their organization's safety, security, and compliance requirements before deployment.\n\nFile v1.3.20:SKILL-cn.md\n\n---\r\nname: dlazy-image-replicate\r\nversion: 1.3.6\r\ndescription: '图像仿写工具：分析原图的视觉效果、构图、色彩、光影和风格，生成重绘提示词，并交给 Seedream 4.5 生成具有相同风格的新图像。'\r\nmetadata: {\"clawdbot\":{\"emoji\":\"🤖\",\"requires\":{\"bins\":[\"npm\",\"npx\"]},\"install\":\"npm install -g @dlazy/cli@1.2.3\",\"installAlternative\":\"npx @dlazy/cli@1.2.3\",\"homepage\":\"https://github.com/dlazy-ai/cli\",\"source\":\"https://github.com/dlazy-ai/cli\",\"author\":\"dlazyai\",\"license\":\"see-repo\",\"npm\":\"https://www.npmjs.com/package/@dlazy/cli\",\"configLocation\":\"~/.dlazy/config.json\",\"apiEndpoints\":[\"api.dlazy.com\",\"files.dlazy.com\"]},\"openclaw\":{\"systemPrompt\":\"当调用此技能时，可以使用 dlazy image-replicate -h 查看帮助信息。\"}}\r\n---\r\n\r\n# 图片仿制 Image Replicate\r\n\r\n[English](./SKILL.md) · [中文](./SKILL-cn.md)\r\n\r\n\r\n图像仿写工具：分析原图的视觉效果、构图、色彩、光影和风格，生成重绘提示词，并交给 Seedream 4.5 生成具有相同风格的新图像。\r\n\r\n## 触发关键词\r\n\r\n- image-replicate\r\n\r\n## 身份验证 (Authentication)\r\n\r\n所有请求都需要 dLazy API key。**推荐使用** `dlazy login` 完成登录：\r\n\r\n```bash\r\ndlazy login\r\n```\r\n\r\n该命令使用设备码流程（远程终端也可用），登录成功后 **自动把 API key 写入本地 CLI 配置**，无需手动复制粘贴。\r\n\r\n### 备选：手动设置 API Key\r\n\r\n如果你已有 API key，也可以直接保存：\r\n\r\n```bash\r\ndlazy auth set YOUR_API_KEY\r\n```\r\n\r\nCLI 会把 key 保存在你的用户配置目录（macOS/Linux 上为 `~/.dlazy/config.json`，Windows 上为 `%USERPROFILE%\\.dlazy\\config.json`），文件权限仅限当前操作系统用户访问。你也可以用 `DLAZY_API_KEY` 环境变量按次传入。\r\n\r\n### 手动获取 API Key\r\n\r\n1. 登录或在 [dlazy.com](https://dlazy.com) 创建账号\r\n2. 访问 [dlazy.com/dashboard/organization/api-key](https://dlazy.com/dashboard/organization/api-key)\r\n3. 复制 API Key 区域显示的密钥\r\n\r\n每个 key 都属于你自己的 dLazy 组织，可在同一控制面板**随时轮换或吊销**。\r\n\r\n## 关于与来源 (Provenance)\r\n\r\n- **CLI 源代码**: [github.com/dlazy-ai/cli](https://github.com/dlazy-ai/cli)\r\n- **维护者**: dlazyai\r\n- **npm 包名**: `@dlazy/cli`（本技能 install 字段固定到 `1.2.3` 版本）\r\n- **官网**: [dlazy.com](https://dlazy.com)\r\n\r\n如果你不希望在系统上长期保留一个全局 CLI，可以按需运行：\r\n\r\n```bash\r\nnpx @dlazy/cli@1.2.3 <command>\r\n```\r\n\r\n如选择全局安装，技能的 `metadata.clawdbot.install` 字段已固定到 `npm install -g @dlazy/cli@1.2.3`。安装前建议先到 GitHub 仓库审阅源码。\r\n\r\n## 工作原理\r\n\r\n此技能是 dLazy 托管 API 的轻量封装。调用时：\r\n\r\n- 你提供的提示词与参数会发送到 dLazy API（`api.dlazy.com`）进行推理。\r\n- 传入图像 / 视频 / 音频字段的本地文件路径会被 CLI 上传到 dLazy 媒体存储（`files.dlazy.com`），以便模型读取 —— 与任何云端生成 API 的流程一致。\r\n- API 返回的生成结果 URL 由 `files.dlazy.com` 托管。\r\n\r\n这是标准的 SaaS 调用模式；技能本身不会越权访问网络或文件系统，所有动作都由 dLazy CLI 完成。完整服务条款请参见 [dlazy.com](https://dlazy.com)。\r\n\r\n## 使用方法\r\n\r\n**CRITICAL INSTRUCTION FOR AGENT**:\r\n执行 `dlazy image-replicate` 命令获取结果。\r\n\r\n```bash\r\ndlazy image-replicate -h\r\n\r\nOptions:\r\n  --images [images...]                 参考图 [image: url or local path]\r\n  --dry-run                            Print payload + cost estimate without calling API\r\n  --no-wait                            Return generateId immediately for async tasks\r\n  --timeout <seconds>                  Max seconds to wait for async completion (default: \"1800\")\r\n  --save <path>                        Download the result asset to this local path (mkdir + retry handled for you)\r\n  -h, --help                           display help for command\r\n```\r\n\r\n> 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.\r\n\r\n## 输出格式\r\n\r\n```json\r\n{\r\n  \"ok\": true,\r\n  \"result\": {\r\n    \"tool\": \"image-replicate\",\r\n    \"modelId\": \"image-replicate\",\r\n    \"outputs\": [\r\n      {\r\n        \"type\": \"image\",\r\n        \"id\": \"o_xxxxxxxx\",\r\n        \"url\": \"https://files.dlazy.com/result.png\",\r\n        \"mimeType\": \"image/png\"\r\n      }\r\n    ]\r\n  }\r\n}\r\n```\r\n\r\n> Async tasks (when `--no-wait` is passed) return `outputs: []` and a `task: { generateId, status }` field instead. Use `dlazy status <generateId> --wait` to poll.\r\n\r\n## 命令示例\r\n\r\n```bash\r\ndlazy image-replicate --prompt '提示词内容'\r\n```\r\n\r\n## 错误处理\r\n\r\n| Code | 错误类型                         | 示例信息                                                                                                                 |\r\n| ---- | -------------------------------- | ------------------------------------------------------------------------------------------------------------------------ |\r\n| 401  | 未授权 (API Key缺失或无效)       | `ok: false, code: \"unauthorized\", message: \"API key is missing or invalid\"`                                                              |\r\n| 501  | 缺少必填参数                     | `error: required option '--prompt <prompt>' not specified`                                                               |\r\n| 502  | 本地文件读取失败                 | `Error: Image file/Video file not found: C:\\path\\to\\your\\file`                                                           |\r\n| 503  | API 请求失败（余额不足）         | `ok: false, code: \"insufficient_balance\"` |\r\n| 503  | API 请求失败（服务端错误）       | `HTTP status code error (500 server crash)`                                                                              |\r\n| 504  | 异步任务执行失败                 | `=== Generation Failed ===` / `{后端返回的具体失败原因，比如 \"Prompt violates safety policy\"}`                             |\r\n\r\n> **智能体关键指令**: \r\n> 1. 如果执行结果返回 `code: \"insufficient_balance\"` 且提示余额不足（Insufficient balance），您必须明确告知用户当前积分不足，并引导用户点击以下链接前往充值：[https://dlazy.com/dashboard/organization/settings?tab=credits](https://dlazy.com/dashboard/organization/settings?tab=credits)\r\n> 2. 如果执行结果返回 `code: \"unauthorized\"` 或提示缺少 API Key，您必须明确告知用户前往 [https://dlazy.com/dashboard/organization/api-key](https://dlazy.com/dashboard/organization/api-key) 获取 API Key 并使用 `dlazy auth set <key>` 保存，然后继续执行任务。\r\n\r\n## Tips\r\n\r\nVisit https://dlazy.com for more information.\n\nArchive v1.3.19: 4 files, 8138 bytes\n\nFiles: skill-card.md (2233b), SKILL-cn.md (6981b), SKILL.md (7234b), _meta.json (141b)\n\nFile v1.3.19:SKILL.md\n\n---\r\nname: dlazy-image-replicate\r\nversion: 1.3.6\r\ndescription: \"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. 图像仿写工具：分析原图的视觉效果、构图、色彩、光影和风格，生成重绘提示词，并交给 Seedream 4.5 生成具有相同风格的新图像。\"\r\nmetadata: {\"clawdbot\":{\"emoji\":\"🤖\",\"requires\":{\"bins\":[\"npm\",\"npx\"]},\"install\":\"npm install -g @dlazy/cli@1.2.3\",\"installAlternative\":\"npx @dlazy/cli@1.2.3\",\"homepage\":\"https://github.com/dlazy-ai/cli\",\"source\":\"https://github.com/dlazy-ai/cli\",\"author\":\"dlazyai\",\"license\":\"see-repo\",\"npm\":\"https://www.npmjs.com/package/@dlazy/cli\",\"configLocation\":\"~/.dlazy/config.json\",\"apiEndpoints\":[\"api.dlazy.com\",\"files.dlazy.com\"]},\"openclaw\":{\"systemPrompt\":\"When invoking this skill, use dlazy image-replicate -h for help.\"}}\r\n---\r\n\r\n# 图片仿制 Image Replicate\r\n\r\n[English](./SKILL.md) · [中文](./SKILL-cn.md)\r\n\r\n\r\nImage 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.\r\n\r\n## Trigger Keywords\r\n\r\n- image-replicate\r\n\r\n## Authentication\r\n\r\nAll requests require a dLazy API key. The recommended way to authenticate is:\r\n\r\n```bash\r\ndlazy login\r\n```\r\n\r\nThis 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.\r\n\r\n### Alternative: Set the Key Manually\r\n\r\nIf you already have an API key, you can save it directly:\r\n\r\n```bash\r\ndlazy auth set YOUR_API_KEY\r\n```\r\n\r\nThe 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.\r\n\r\n### Getting Your API Key Manually\r\n\r\n1. Sign in or create an account at [dlazy.com](https://dlazy.com)\r\n2. Go to [dlazy.com/dashboard/organization/api-key](https://dlazy.com/dashboard/organization/api-key)\r\n3. Copy the key shown in the API Key section\r\n\r\nEach key is scoped to your dLazy organization and can be **rotated or revoked at any time** from the same dashboard.\r\n\r\n## About & Provenance\r\n\r\n- **CLI source code**: [github.com/dlazy-ai/cli](https://github.com/dlazy-ai/cli)\r\n- **Maintainer**: dlazyai\r\n- **npm package**: `@dlazy/cli` (pinned to `1.2.3` in this skill's install spec)\r\n- **Homepage**: [dlazy.com](https://dlazy.com)\r\n\r\nYou can install on demand without persisting a global binary by running:\r\n\r\n```bash\r\nnpx @dlazy/cli@1.2.3 <command>\r\n```\r\n\r\nOr, if you prefer a global install, the skill's `metadata.clawdbot.install` field declares the exact pinned version (`npm install -g @dlazy/cli@1.2.3`). Review the GitHub source before installing.\r\n\r\n## How It Works\r\n\r\nThis skill is a thin client over the dLazy hosted API. When you invoke it:\r\n\r\n- Prompts and parameters you provide are sent to the dLazy API endpoint (`api.dlazy.com`) for inference.\r\n- 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.\r\n- Generated output URLs returned by the API are hosted on `files.dlazy.com`.\r\n\r\nThis 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](https://dlazy.com) for the full service terms.\r\n\r\n## Usage\r\n\r\n**CRITICAL INSTRUCTION FOR AGENT**:\r\nExecute `dlazy image-replicate` to get the result.\r\n\r\n```bash\r\ndlazy image-replicate -h\r\n\r\nOptions:\r\n  --images [images...]                 Images [image: url or local path]\r\n  --dry-run                            Print payload + cost estimate without calling API\r\n  --no-wait                            Return generateId immediately for async tasks\r\n  --timeout <seconds>                  Max seconds to wait for async completion (default: \"1800\")\r\n  --save <path>                        Download the result asset to this local path (mkdir + retry handled for you)\r\n  -h, --help                           display help for command\r\n```\r\n\r\n> 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.\r\n\r\n## Output Format\r\n\r\n```json\r\n{\r\n  \"ok\": true,\r\n  \"result\": {\r\n    \"tool\": \"image-replicate\",\r\n    \"modelId\": \"image-replicate\",\r\n    \"outputs\": [\r\n      {\r\n        \"type\": \"image\",\r\n        \"id\": \"o_xxxxxxxx\",\r\n        \"url\": \"https://files.dlazy.com/result.png\",\r\n        \"mimeType\": \"image/png\"\r\n      }\r\n    ]\r\n  }\r\n}\r\n```\r\n\r\n> Async tasks (when `--no-wait` is passed) return `outputs: []` and a `task: { generateId, status }` field instead. Use `dlazy status <generateId> --wait` to poll.\r\n\r\n## Examples\r\n\r\n```bash\r\ndlazy image-replicate --prompt 'prompt content'\r\n```\r\n\r\n## Error Handling\r\n\r\n| Code | Error Type                         | Example Message                                                                                                          |\r\n| ---- | ---------------------------------- | ------------------------------------------------------------------------------------------------------------------------ |\r\n| 401  | Unauthorized (No API Key)          | `ok: false, code: \"unauthorized\", message: \"API key is missing or invalid\"`                                                              |\r\n| 501  | Missing required parameter         | `error: required option '--prompt <prompt>' not specified`                                                              |\r\n| 502  | Local file read error              | `Error: Image file/Video file not found: C:\\path\\to\\your\\file`                                                          |\r\n| 503  | API request failed (no balance)    | `ok: false, code: \"insufficient_balance\"` |\r\n| 503  | API request failed (server error)  | `HTTP status code error (500 server crash)`                                                                             |\r\n| 504  | Asynchronous task execution failed | `=== Generation Failed ===` / `{Specific error reason returned by backend, for example \"Prompt violates safety policy\"}` |\r\n\r\n> **AGENT CRITICAL INSTRUCTION**: \r\n> 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](https://dlazy.com/dashboard/organization/settings?tab=credits)\r\n> 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](https://dlazy.com/dashboard/organization/api-key) and save it using `dlazy auth set <key>` and resume the task.\r\n\r\n## Tips\r\n\r\nVisit https://dlazy.com for more information.\n\nFile v1.3.19:_meta.json\n\n{\n  \"ownerId\": \"kn7c5wgeajfcfvdfb5ceemvdb984cjpd\",\n  \"slug\": \"dlazy-image-replicate\",\n  \"version\": \"1.3.19\",\n  \"publishedAt\": 1789867015930\n}\n\nFile v1.3.19:skill-card.md\n\n## Description:\n\nImage 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.\n\nThis skill is ready for commercial/non-commercial use.\n\n## Publisher:\n\n[dlazyai](https://clawhub.ai/user/dlazyai)\n\n### License/Terms of Use:\n\nMIT-0\n\n## Use Case:\n\nExternal users, developers, and agents use this skill to invoke dLazy's image-replicate workflow for producing a new image in the style and composition of a supplied reference image.\n\n### Deployment Geography for Use:\n\nGlobal\n\n## Known Risks and Mitigations:\n\nRisk: Prompts and local media paths supplied to the CLI may be uploaded to dLazy-hosted services for processing.\n\nMitigation: Avoid submitting sensitive prompts or media unless the user's policy allows third-party cloud processing.\n\nRisk: Authentication can save a dLazy API key in local CLI configuration.\n\nMitigation: Use per-invocation environment variables or rotate and revoke keys from dLazy when access changes.\n\nRisk: A persistent global npm install adds and updates a third-party CLI on the host.\n\nMitigation: Use the pinned npx invocation when a persistent global installation is not desired.\n\n## Reference(s):\n\n- [ClawHub skill page](https://clawhub.ai/dlazyai/skills/dlazy-image-replicate)\n- [dLazy CLI source](https://github.com/dlazy-ai/cli)\n- [@dlazy/cli npm package](https://www.npmjs.com/package/@dlazy/cli)\n- [dLazy service website](https://dlazy.com)\n\n## Skill Output:\n\n**Output Type(s):** [shell commands, configuration, guidance, JSON, image]\n\n**Output Format:** [CLI commands and JSON responses containing generated image URLs]\n\n**Output Parameters:** [1D]\n\n**Other Properties Related to Output:** [Supports asynchronous task IDs, optional local saving, and remotely hosted generated outputs.]\n\n## Skill Version(s):\n\n1.3.19 (source: server evidence release; artifact frontmatter reports 1.3.6)\n\n## Ethical Considerations:\n\nUsers should evaluate whether this skill is appropriate for their environment, review any generated or modified files before relying on them, and apply their organization's safety, security, and compliance requirements before deployment.\n\nFile v1.3.19:SKILL-cn.md\n\n---\r\nname: dlazy-image-replicate\r\nversion: 1.3.6\r\ndescription: '图像仿写工具：分析原图的视觉效果、构图、色彩、光影和风格，生成重绘提示词，并交给 Seedream 4.5 生成具有相同风格的新图像。'\r\nmetadata: {\"clawdbot\":{\"emoji\":\"🤖\",\"requires\":{\"bins\":[\"npm\",\"npx\"]},\"install\":\"npm install -g @dlazy/cli@1.2.3\",\"installAlternative\":\"npx @dlazy/cli@1.2.3\",\"homepage\":\"https://github.com/dlazy-ai/cli\",\"source\":\"https://github.com/dlazy-ai/cli\",\"author\":\"dlazyai\",\"license\":\"see-repo\",\"npm\":\"https://www.npmjs.com/package/@dlazy/cli\",\"configLocation\":\"~/.dlazy/config.json\",\"apiEndpoints\":[\"api.dlazy.com\",\"files.dlazy.com\"]},\"openclaw\":{\"systemPrompt\":\"当调用此技能时，可以使用 dlazy image-replicate -h 查看帮助信息。\"}}\r\n---\r\n\r\n# 图片仿制 Image Replicate\r\n\r\n[English](./SKILL.md) · [中文](./SKILL-cn.md)\r\n\r\n\r\n图像仿写工具：分析原图的视觉效果、构图、色彩、光影和风格，生成重绘提示词，并交给 Seedream 4.5 生成具有相同风格的新图像。\r\n\r\n## 触发关键词\r\n\r\n- image-replicate\r\n\r\n## 身份验证 (Authentication)\r\n\r\n所有请求都需要 dLazy API key。**推荐使用** `dlazy login` 完成登录：\r\n\r\n```bash\r\ndlazy login\r\n```\r\n\r\n该命令使用设备码流程（远程终端也可用），登录成功后 **自动把 API key 写入本地 CLI 配置**，无需手动复制粘贴。\r\n\r\n### 备选：手动设置 API Key\r\n\r\n如果你已有 API key，也可以直接保存：\r\n\r\n```bash\r\ndlazy auth set YOUR_API_KEY\r\n```\r\n\r\nCLI 会把 key 保存在你的用户配置目录（macOS/Linux 上为 `~/.dlazy/config.json`，Windows 上为 `%USERPROFILE%\\.dlazy\\config.json`），文件权限仅限当前操作系统用户访问。你也可以用 `DLAZY_API_KEY` 环境变量按次传入。\r\n\r\n### 手动获取 API Key\r\n\r\n1. 登录或在 [dlazy.com](https://dlazy.com) 创建账号\r\n2. 访问 [dlazy.com/dashboard/organization/api-key](https://dlazy.com/dashboard/organization/api-key)\r\n3. 复制 API Key 区域显示的密钥\r\n\r\n每个 key 都属于你自己的 dLazy 组织，可在同一控制面板**随时轮换或吊销**。\r\n\r\n## 关于与来源 (Provenance)\r\n\r\n- **CLI 源代码**: [github.com/dlazy-ai/cli](https://github.com/dlazy-ai/cli)\r\n- **维护者**: dlazyai\r\n- **npm 包名**: `@dlazy/cli`（本技能 install 字段固定到 `1.2.3` 版本）\r\n- **官网**: [dlazy.com](https://dlazy.com)\r\n\r\n如果你不希望在系统上长期保留一个全局 CLI，可以按需运行：\r\n\r\n```bash\r\nnpx @dlazy/cli@1.2.3 <command>\r\n```\r\n\r\n如选择全局安装，技能的 `metadata.clawdbot.install` 字段已固定到 `npm install -g @dlazy/cli@1.2.3`。安装前建议先到 GitHub 仓库审阅源码。\r\n\r\n## 工作原理\r\n\r\n此技能是 dLazy 托管 API 的轻量封装。调用时：\r\n\r\n- 你提供的提示词与参数会发送到 dLazy API（`api.dlazy.com`）进行推理。\r\n- 传入图像 / 视频 / 音频字段的本地文件路径会被 CLI 上传到 dLazy 媒体存储（`files.dlazy.com`），以便模型读取 —— 与任何云端生成 API 的流程一致。\r\n- API 返回的生成结果 URL 由 `files.dlazy.com` 托管。\r\n\r\n这是标准的 SaaS 调用模式；技能本身不会越权访问网络或文件系统，所有动作都由 dLazy CLI 完成。完整服务条款请参见 [dlazy.com](https://dlazy.com)。\r\n\r\n## 使用方法\r\n\r\n**CRITICAL INSTRUCTION FOR AGENT**:\r\n执行 `dlazy image-replicate` 命令获取结果。\r\n\r\n```bash\r\ndlazy image-replicate -h\r\n\r\nOptions:\r\n  --images [images...]                 参考图 [image: url or local path]\r\n  --dry-run                            Print payload + cost estimate without calling API\r\n  --no-wait                            Return generateId immediately for async tasks\r\n  --timeout <seconds>                  Max seconds to wait for async completion (default: \"1800\")\r\n  --save <path>                        Download the result asset to this local path (mkdir + retry handled for you)\r\n  -h, --help                           display help for command\r\n```\r\n\r\n> 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.\r\n\r\n## 输出格式\r\n\r\n```json\r\n{\r\n  \"ok\": true,\r\n  \"result\": {\r\n    \"tool\": \"image-replicate\",\r\n    \"modelId\": \"image-replicate\",\r\n    \"outputs\": [\r\n      {\r\n        \"type\": \"image\",\r\n        \"id\": \"o_xxxxxxxx\",\r\n        \"url\": \"https://files.dlazy.com/result.png\",\r\n        \"mimeType\": \"image/png\"\r\n      }\r\n    ]\r\n  }\r\n}\r\n```\r\n\r\n> Async tasks (when `--no-wait` is passed) return `outputs: []` and a `task: { generateId, status }` field instead. Use `dlazy status <generateId> --wait` to poll.\r\n\r\n## 命令示例\r\n\r\n```bash\r\ndlazy image-replicate --prompt '提示词内容'\r\n```\r\n\r\n## 错误处理\r\n\r\n| Code | 错误类型                         | 示例信息                                                                                                                 |\r\n| ---- | -------------------------------- | ------------------------------------------------------------------------------------------------------------------------ |\r\n| 401  | 未授权 (API Key缺失或无效)       | `ok: false, code: \"unauthorized\", message: \"API key is missing or invalid\"`                                                              |\r\n| 501  | 缺少必填参数                     | `error: required option '--prompt <prompt>' not specified`                                                               |\r\n| 502  | 本地文件读取失败                 | `Error: Image file/Video file not found: C:\\path\\to\\your\\file`                                                           |\r\n| 503  | API 请求失败（余额不足）         | `ok: false, code: \"insufficient_balance\"` |\r\n| 503  | API 请求失败（服务端错误）       | `HTTP status code error (500 server crash)`                                                                              |\r\n| 504  | 异步任务执行失败                 | `=== Generation Failed ===` / `{后端返回的具体失败原因，比如 \"Prompt violates safety policy\"}`                             |\r\n\r\n> **智能体关键指令**: \r\n> 1. 如果执行结果返回 `code: \"insufficient_balance\"` 且提示余额不足（Insufficient balance），您必须明确告知用户当前积分不足，并引导用户点击以下链接前往充值：[https://dlazy.com/dashboard/organization/settings?tab=credits](https://dlazy.com/dashboard/organization/settings?tab=credits)\r\n> 2. 如果执行结果返回 `code: \"unauthorized\"` 或提示缺少 API Key，您必须明确告知用户前往 [https://dlazy.com/dashboard/organization/api-key](https://dlazy.com/dashboard/organization/api-key) 获取 API Key 并使用 `dlazy auth set <key>` 保存，然后继续执行任务。\r\n\r\n## Tips\r\n\r\nVisit https://dlazy.com for more information.\n\nArchive v1.3.18: 4 files, 8222 bytes\n\nFiles: skill-card.md (2372b), SKILL-cn.md (6981b), SKILL.md (7234b), _meta.json (141b)\n\nFile v1.3.18:SKILL.md\n\n---\r\nname: dlazy-image-replicate\r\nversion: 1.3.6\r\ndescription: \"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. 图像仿写工具：分析原图的视觉效果、构图、色彩、光影和风格，生成重绘提示词，并交给 Seedream 4.5 生成具有相同风格的新图像。\"\r\nmetadata: {\"clawdbot\":{\"emoji\":\"🤖\",\"requires\":{\"bins\":[\"npm\",\"npx\"]},\"install\":\"npm install -g @dlazy/cli@1.2.3\",\"installAlternative\":\"npx @dlazy/cli@1.2.3\",\"homepage\":\"https://github.com/dlazy-ai/cli\",\"source\":\"https://github.com/dlazy-ai/cli\",\"author\":\"dlazyai\",\"license\":\"see-repo\",\"npm\":\"https://www.npmjs.com/package/@dlazy/cli\",\"configLocation\":\"~/.dlazy/config.json\",\"apiEndpoints\":[\"api.dlazy.com\",\"files.dlazy.com\"]},\"openclaw\":{\"systemPrompt\":\"When invoking this skill, use dlazy image-replicate -h for help.\"}}\r\n---\r\n\r\n# 图片仿制 Image Replicate\r\n\r\n[English](./SKILL.md) · [中文](./SKILL-cn.md)\r\n\r\n\r\nImage 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.\r\n\r\n## Trigger Keywords\r\n\r\n- image-replicate\r\n\r\n## Authentication\r\n\r\nAll requests require a dLazy API key. The recommended way to authenticate is:\r\n\r\n```bash\r\ndlazy login\r\n```\r\n\r\nThis 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.\r\n\r\n### Alternative: Set the Key Manually\r\n\r\nIf you already have an API key, you can save it directly:\r\n\r\n```bash\r\ndlazy auth set YOUR_API_KEY\r\n```\r\n\r\nThe 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.\r\n\r\n### Getting Your API Key Manually\r\n\r\n1. Sign in or create an account at [dlazy.com](https://dlazy.com)\r\n2. Go to [dlazy.com/dashboard/organization/api-key](https://dlazy.com/dashboard/organization/api-key)\r\n3. Copy the key shown in the API Key section\r\n\r\nEach key is scoped to your dLazy organization and can be **rotated or revoked at any time** from the same dashboard.\r\n\r\n## About & Provenance\r\n\r\n- **CLI source code**: [github.com/dlazy-ai/cli](https://github.com/dlazy-ai/cli)\r\n- **Maintainer**: dlazyai\r\n- **npm package**: `@dlazy/cli` (pinned to `1.2.3` in this skill's install spec)\r\n- **Homepage**: [dlazy.com](https://dlazy.com)\r\n\r\nYou can install on demand without persisting a global binary by running:\r\n\r\n```bash\r\nnpx @dlazy/cli@1.2.3 <command>\r\n```\r\n\r\nOr, if you prefer a global install, the skill's `metadata.clawdbot.install` field declares the exact pinned version (`npm install -g @dlazy/cli@1.2.3`). Review the GitHub source before installing.\r\n\r\n## How It Works\r\n\r\nThis skill is a thin client over the dLazy hosted API. When you invoke it:\r\n\r\n- Prompts and parameters you provide are sent to the dLazy API endpoint (`api.dlazy.com`) for inference.\r\n- 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.\r\n- Generated output URLs returned by the API are hosted on `files.dlazy.com`.\r\n\r\nThis 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](https://dlazy.com) for the full service terms.\r\n\r\n## Usage\r\n\r\n**CRITICAL INSTRUCTION FOR AGENT**:\r\nExecute `dlazy image-replicate` to get the result.\r\n\r\n```bash\r\ndlazy image-replicate -h\r\n\r\nOptions:\r\n  --images [images...]                 Images [image: url or local path]\r\n  --dry-run                            Print payload + cost estimate without calling API\r\n  --no-wait                            Return generateId immediately for async tasks\r\n  --timeout <seconds>                  Max seconds to wait for async completion (default: \"1800\")\r\n  --save <path>                        Download the result asset to this local path (mkdir + retry handled for you)\r\n  -h, --help                           display help for command\r\n```\r\n\r\n> 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.\r\n\r\n## Output Format\r\n\r\n```json\r\n{\r\n  \"ok\": true,\r\n  \"result\": {\r\n    \"tool\": \"image-replicate\",\r\n    \"modelId\": \"image-replicate\",\r\n    \"outputs\": [\r\n      {\r\n        \"type\": \"image\",\r\n        \"id\": \"o_xxxxxxxx\",\r\n        \"url\": \"https://files.dlazy.com/result.png\",\r\n        \"mimeType\": \"image/png\"\r\n      }\r\n    ]\r\n  }\r\n}\r\n```\r\n\r\n> Async tasks (when `--no-wait` is passed) return `outputs: []` and a `task: { generateId, status }` field instead. Use `dlazy status <generateId> --wait` to poll.\r\n\r\n## Examples\r\n\r\n```bash\r\ndlazy image-replicate --prompt 'prompt content'\r\n```\r\n\r\n## Error Handling\r\n\r\n| Code | Error Type                         | Example Message                                                                                                          |\r\n| ---- | ---------------------------------- | ------------------------------------------------------------------------------------------------------------------------ |\r\n| 401  | Unauthorized (No API Key)          | `ok: false, code: \"unauthorized\", message: \"API key is missing or invalid\"`                                                              |\r\n| 501  | Missing required parameter         | `error: required option '--prompt <prompt>' not specified`                                                              |\r\n| 502  | Local file read error              | `Error: Image file/Video file not found: C:\\path\\to\\your\\file`                                                          |\r\n| 503  | API request failed (no balance)    | `ok: false, code: \"insufficient_balance\"` |\r\n| 503  | API request failed (server error)  | `HTTP status code error (500 server crash)`                                                                             |\r\n| 504  | Asynchronous task execution failed | `=== Generation Failed ===` / `{Specific error reason returned by backend, for example \"Prompt violates safety policy\"}` |\r\n\r\n> **AGENT CRITICAL INSTRUCTION**: \r\n> 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](https://dlazy.com/dashboard/organization/settings?tab=credits)\r\n> 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](https://dlazy.com/dashboard/organization/api-key) and save it using `dlazy auth set <key>` and resume the task.\r\n\r\n## Tips\r\n\r\nVisit https://dlazy.com for more information.\n\nFile v1.3.18:_meta.json\n\n{\n  \"ownerId\": \"kn7c5wgeajfcfvdfb5ceemvdb984cjpd\",\n  \"slug\": \"dlazy-image-replicate\",\n  \"version\": \"1.3.18\",\n  \"publishedAt\": 1789695449234\n}\n\nFile v1.3.18:skill-card.md\n\n## Description:\n\nImage 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.\n\nThis skill is ready for commercial/non-commercial use.\n\n## Publisher:\n\n[dlazyai","readmeExcerpt":"Skill: 图片仿制 Image Replicate Owner: dlazyai Summary: 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. 图像仿写工具：分析原图的视觉效果、构图、色彩、光影和风格，生成重绘提示词，并交给 Seedream 4.5 生成具有相同风格的新图像。 Tags: latest:1.3.27 Version history: v1.3.27 | 2026-10-08T01:14:36.128Z | user 例行版本更新 2026-","codeSnippets":[],"executableExamples":[],"parameters":null,"dependencies":[],"permissions":[],"extractedFiles":[{"path":"SKILL.md","content":"---\r\nname: dlazy-image-replicate\r\nversion: 1.3.6\r\ndescription: \"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. 图像仿写工具：分析原图的视觉效果、构图、色彩、光影和风格，生成重绘提示词，并交给 Seedream 4.5 生成具有相同风格的新图像。\"\r\nmetadata: {\"clawdbot\":{\"emoji\":\"🤖\",\"requires\":{\"bins\":[\"npm\",\"npx\"]},\"install\":\"npm install -g @dlazy/cli@1.2.3\",\"installAlternative\":\"npx @dlazy/cli@1.2.3\",\"homepage\":\"https://github.com/dlazy-ai/cli\",\"source\":\"https://github.com/dlazy-ai/cli\",\"author\":\"dlazyai\",\"license\":\"see-repo\",\"npm\":\"https://www.npmjs.com/package/@dlazy/cli\",\"configLocation\":\"~/.dlazy/config.json\",\"apiEndpoints\":[\"api.dlazy.com\",\"files.dlazy.com\"]},\"openclaw\":{\"systemPrompt\":\"When invoking this skill, use dlazy image-replicate -h for help.\"}}\r\n---\r\n\r\n# 图片仿制 Image Replicate\r\n\r\n[English](./SKILL.md) · [中文](./SKILL-cn.md)\r\n\r\n\r\nImage 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.\r\n\r\n## Trigger Keywords\r\n\r\n- image-replicate\r\n\r\n## Authentication\r\n\r\nAll requests require a dLazy API key. The recommended way to authenticate is:\r\n\r\n```bash\r\ndlazy login\r\n```\r\n\r\nThis 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.\r\n\r\n### Alternative: Set the Key Manually\r\n\r\nIf you already have an API key, you can save it directly:\r\n\r\n```bash\r\ndlazy auth set YOUR_API_KEY\r\n```\r\n\r\nThe 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.\r\n\r\n### Getting Your API Key Manually\r\n\r\n1. Sign in or create an account at [dlazy.com](https://dlazy.com)\r\n2. Go to [dlazy.com/dashboard/organization/api-key](https://dlazy.com/dashboard/organization/api-key)\r\n3. Copy the key shown in the API Key section\r\n\r\nEach key is scoped to your dLazy organization and can be **rotated or revoked at any time** from the same dashboard.\r\n\r\n## About & Provenance\r\n\r\n- **CLI source code**: [github.com/dlazy-ai/cli](https://github.com/dlazy-ai/cli)\r\n- **Maintainer**: dlazyai\r\n- **npm package**: `@dlazy/cli` (pinned to `1.2.3` in this skill's install spec)\r\n- **Homepage**: [dlazy.com](https://dlazy.com)\r\n\r\nYou can install on demand without persisting a global binary by running:\r\n\r\n```bash\r\nnpx @dlazy/cli@1.2.3 <command>\r\n```\r\n\r\nOr, if you prefer a global install, the skill's `metadata.clawdbot.install` field declares the exact pinned version (`npm install -g @dlazy/cli@1.2.3`). Review the GitHub source before installing.\r\n\r\n## How It Works\r\n\r\nThis skill is a thin client over the dLazy hosted API. When you invoke it:\r\n\r\n- Pr"},{"path":"_meta.json","content":"{\n  \"ownerId\": \"kn7c5wgeajfcfvdfb5ceemvdb984cjpd\",\n  \"slug\": \"dlazy-image-replicate\",\n  \"version\": \"1.3.27\",\n  \"publishedAt\": 1791422076128\n}"},{"path":"skill-card.md","content":"## Description:\n\nAnalyzes a reference image's composition, colors, lighting, and style to generate a new image in a similar style using Seedream 4.5.\n\nThis skill is ready for commercial/non-commercial use.\n\n## Publisher:\n\n[dlazyai](https://clawhub.ai/user/dlazyai)\n\n### License/Terms of Use:\n\nMIT-0\n\n## Use Case:\n\nCreators and developers use this skill to generate an image that follows the visual style of a reference image through the dLazy service.\n\n### Deployment Geography for Use:\n\nGlobal\n\n## Known Risks and Mitigations:\n\nRisk: Prompts and provided media may be sent to dLazy, and generated images are hosted by dLazy.\n\nMitigation: Only provide content approved for the external service and review outputs before sharing them.\n\nRisk: The CLI may save an API key locally.\n\nMitigation: Protect local credentials and rotate or revoke the key from the dLazy dashboard if needed.\n\n## Reference(s):\n\n- [ClawHub skill listing](https://clawhub.ai/dlazyai/skills/dlazy-image-replicate)\n- [dLazy CLI homepage (skill metadata)](https://github.com/dlazy-ai/cli)\n- [dLazy CLI npm package (skill metadata)](https://www.npmjs.com/package/@dlazy/cli)\n\n## Skill Output:\n\n**Output Type(s):** [Image, JSON, Shell commands]\n\n**Output Format:** [JSON containing a generated image URL, with optional local image download]\n\n**Output Parameters:** [1D]\n\n**Other Properties Related to Output:** [Asynchronous requests may return a task ID for later polling.]\n\n## Skill Version(s):\n\n1.3.27 (source: server-resolved release)\n\n## Ethical Considerations:\n\nUsers should evaluate whether this skill is appropriate for their environment, review any generated or modified files before relying on them, and apply their organization's safety, security, and compliance requirements before deployment."},{"path":"SKILL-cn.md","content":"---\r\nname: dlazy-image-replicate\r\nversion: 1.3.6\r\ndescription: '图像仿写工具：分析原图的视觉效果、构图、色彩、光影和风格，生成重绘提示词，并交给 Seedream 4.5 生成具有相同风格的新图像。'\r\nmetadata: {\"clawdbot\":{\"emoji\":\"🤖\",\"requires\":{\"bins\":[\"npm\",\"npx\"]},\"install\":\"npm install -g @dlazy/cli@1.2.3\",\"installAlternative\":\"npx @dlazy/cli@1.2.3\",\"homepage\":\"https://github.com/dlazy-ai/cli\",\"source\":\"https://github.com/dlazy-ai/cli\",\"author\":\"dlazyai\",\"license\":\"see-repo\",\"npm\":\"https://www.npmjs.com/package/@dlazy/cli\",\"configLocation\":\"~/.dlazy/config.json\",\"apiEndpoints\":[\"api.dlazy.com\",\"files.dlazy.com\"]},\"openclaw\":{\"systemPrompt\":\"当调用此技能时，可以使用 dlazy image-replicate -h 查看帮助信息。\"}}\r\n---\r\n\r\n# 图片仿制 Image Replicate\r\n\r\n[English](./SKILL.md) · [中文](./SKILL-cn.md)\r\n\r\n\r\n图像仿写工具：分析原图的视觉效果、构图、色彩、光影和风格，生成重绘提示词，并交给 Seedream 4.5 生成具有相同风格的新图像。\r\n\r\n## 触发关键词\r\n\r\n- image-replicate\r\n\r\n## 身份验证 (Authentication)\r\n\r\n所有请求都需要 dLazy API key。**推荐使用** `dlazy login` 完成登录：\r\n\r\n```bash\r\ndlazy login\r\n```\r\n\r\n该命令使用设备码流程（远程终端也可用），登录成功后 **自动把 API key 写入本地 CLI 配置**，无需手动复制粘贴。\r\n\r\n### 备选：手动设置 API Key\r\n\r\n如果你已有 API key，也可以直接保存：\r\n\r\n```bash\r\ndlazy auth set YOUR_API_KEY\r\n```\r\n\r\nCLI 会把 key 保存在你的用户配置目录（macOS/Linux 上为 `~/.dlazy/config.json`，Windows 上为 `%USERPROFILE%\\.dlazy\\config.json`），文件权限仅限当前操作系统用户访问。你也可以用 `DLAZY_API_KEY` 环境变量按次传入。\r\n\r\n### 手动获取 API Key\r\n\r\n1. 登录或在 [dlazy.com](https://dlazy.com) 创建账号\r\n2. 访问 [dlazy.com/dashboard/organization/api-key](https://dlazy.com/dashboard/organization/api-key)\r\n3. 复制 API Key 区域显示的密钥\r\n\r\n每个 key 都属于你自己的 dLazy 组织，可在同一控制面板**随时轮换或吊销**。\r\n\r\n## 关于与来源 (Provenance)\r\n\r\n- **CLI 源代码**: [github.com/dlazy-ai/cli](https://github.com/dlazy-ai/cli)\r\n- **维护者**: dlazyai\r\n- **npm 包名**: `@dlazy/cli`（本技能 install 字段固定到 `1.2.3` 版本）\r\n- **官网**: [dlazy.com](https://dlazy.com)\r\n\r\n如果你不希望在系统上长期保留一个全局 CLI，可以按需运行：\r\n\r\n```bash\r\nnpx @dlazy/cli@1.2.3 <command>\r\n```\r\n\r\n如选择全局安装，技能的 `metadata.clawdbot.install` 字段已固定到 `npm install -g @dlazy/cli@1.2.3`。安装前建议先到 GitHub 仓库审阅源码。\r\n\r\n## 工作原理\r\n\r\n此技能是 dLazy 托管 API 的轻量封装。调用时：\r\n\r\n- 你提供的提示词与参数会发送到 dLazy API（`api.dlazy.com`）进行推理。\r\n- 传入图像 / 视频 / 音频字段的本地文件路径会被 CLI 上传到 dLazy 媒体存储（`files.dlazy.com`），以便模型读取 —— 与任何云端生成 API 的流程一致。\r\n- API 返回的生成结果 URL 由 `files.dlazy.com` 托管。\r\n\r\n这是标准的 SaaS 调用模式；技能本身不会越权访问网络或文件系统，所有动作都由 dLazy CLI 完成。完整服务条款请参见 [dlazy.com](https://dlazy.com)。\r\n\r\n## 使用方法\r\n\r\n**CRITICAL INSTRUCTION FOR AGENT**:\r\n执行 `dlazy image-replicate` 命令获取结果。\r\n\r\n```bash\r\ndlazy image-replicate -h\r\n\r\nOptions:\r\n  --images [images...]                 参考图 [image: url or local path]\r\n  --dry-run                            Print payload + cost estimate without calling API\r\n  --no-wait                            Return generateId immediately for async tasks\r\n  --timeout <seconds>                  Max seconds to wait for async completion (default: \"1800\")\r\n  --save <path>                        Download the result asset to this local path (mkdir + retry handled for you)\r\n  -h, --help                           display help for command\r\n```\r\n\r\n> Any flag also accepts pipe references — `-` (auto-pick from upstream stdin), `@N` (n-th out"}],"languages":[],"docsSourceLabel":"CLAWHUB","editorialOverview":null,"editorialQuality":{"score":100,"threshold":65,"status":"thin","wordCount":1218,"uniquenessScore":43,"reasons":["uniqueness-below-45"]}},"media":{"evidence":{"source":"no-media","verified":false,"confidence":"low","updatedAt":"2026-10-09T05:59:23.027Z","emptyReason":"No screenshots, media assets, or demo links are available."},"primaryImageUrl":null,"mediaAssetCount":0,"assets":[],"demoUrl":null},"ownerResources":{"evidence":{"source":"unclaimed","verified":false,"confidence":"low","updatedAt":"2026-10-09T05:59:23.027Z","emptyReason":"This page has not been claimed by the agent owner."},"hasCustomPage":false,"customPageUpdatedAt":null,"customLinks":[],"structuredLinks":{"docsUrl":null,"demoUrl":null,"supportUrl":null,"pricingUrl":null,"statusUrl":null},"customPage":null},"relatedAgents":{"evidence":{"source":"protocol-neighbors","verified":false,"confidence":"medium","updatedAt":"2026-10-09T12:22:04.977Z","emptyReason":null},"items":[{"id":"b917f68a-ebff-438e-84f8-3f4b2494c0bc","entityType":"agent","canonicalPath":"/agent/activepieces-activepieces","slug":"activepieces-activepieces","name":"activepieces","description":"AI Agents & MCPs & AI Workflow Automation • (~400 MCP servers for AI agents) • AI Automation / AI Agent with MCPs • AI Workflows & AI Agents • MCPs for AI Agents","url":"https://github.com/activepieces/activepieces","homepage":"https://www.activepieces.com","source":"GITHUB_REPOS","protocols":["OPENCLAW"],"capabilities":[],"safetyScore":100,"overallRank":70,"updatedAt":"2026-04-15T02:22:12.426Z","createdAt":"2026-02-25T03:38:12.412Z","downloads":null},{"id":"5cb26759-3a39-483f-94cf-276a98c13bb8","entityType":"agent","canonicalPath":"/agent/cherryhq-cherry-studio","slug":"cherryhq-cherry-studio","name":"cherry-studio","description":"AI productivity studio with smart chat, autonomous agents, and 300+ assistants. Unified access to frontier LLMs","url":"https://github.com/CherryHQ/cherry-studio","homepage":"https://cherry-ai.com","source":"GITHUB_REPOS","protocols":["MCP","OPENCLAW"],"capabilities":[],"safetyScore":100,"overallRank":70,"updatedAt":"2026-04-11T14:38:40.986Z","createdAt":"2026-02-25T03:38:19.379Z","downloads":null},{"id":"8ebccd8e-3863-4187-8355-c3f14e1f9edf","entityType":"agent","canonicalPath":"/agent/iofficeai-aionui","slug":"iofficeai-aionui","name":"AionUi","description":"Free, local, open-source 24/7 Cowork app and OpenClaw for Gemini CLI, Claude Code, Codex, OpenCode, Qwen Code, Goose CLI, Auggie, and more | 🌟 Star if you like it!","url":"https://github.com/iOfficeAI/AionUi","homepage":"https://www.aionui.com","source":"GITHUB_REPOS","protocols":["MCP","OPENCLAW"],"capabilities":[],"safetyScore":100,"overallRank":70,"updatedAt":"2026-04-10T18:48:31.762Z","createdAt":"2026-02-25T03:38:16.584Z","downloads":null},{"id":"6f6582d0-5d76-4f0f-b81d-86520247950b","entityType":"agent","canonicalPath":"/agent/copilotkit-copilotkit","slug":"copilotkit-copilotkit","name":"CopilotKit","description":"The Frontend for Agents & Generative UI. React + Angular","url":"https://github.com/CopilotKit/CopilotKit","homepage":"https://docs.copilotkit.ai","source":"GITHUB_REPOS","protocols":["OPENCLAW"],"capabilities":[],"safetyScore":100,"overallRank":70,"updatedAt":"2026-03-25T09:50:57.846Z","createdAt":"2026-02-25T03:39:14.617Z","downloads":null}],"links":{"hub":"/agent","source":"/agent/source/clawhub","protocols":[{"label":"OpenClaw","href":"/agent/protocol/openclew"}]}}}