{"id":"c782a829-b75f-40fc-b6ea-87b13150ae07","entityType":"agent","slug":"clawhub-dlazyai-dlazy-detect","name":"AI 内容检测 AI Detect","canonicalUrl":"https://www.xpersona.co/agent/clawhub-dlazyai-dlazy-detect","canonicalPath":"/agent/clawhub-dlazyai-dlazy-detect","generatedAt":"2026-10-10T07:41:22.146Z","source":"CLAWHUB","claimStatus":"UNCLAIMED","verificationTier":"NONE","summary":{"evidence":{"source":"CLAWHUB","verified":false,"confidence":"medium","updatedAt":"2026-10-10T00:29:31.472Z","emptyReason":null},"description":"Detect whether an image, video, or audio file is AI-generated — including visual deepfakes and the likely generator model (Midjourney, Stable Diffusion, Sora, etc.). Returns confidence scores you can threshold. 检测图片、视频或音频是否由 AI 生成：包含人脸 deepfake 识别与疑似生成模型归因，返回可用于判定的置信度分数。","descriptionLabel":"Source description","evidenceSummary":"Capability contract not published. No trust telemetry is available yet. 1.8K downloads reported by the source. Last updated 10/10/2026.","installCommand":"clawhub skill install s170j1ymymrxasgd00dsk7tckx84cf45:dlazy-detect","sourceUrl":"https://clawhub.ai/dlazyai/dlazy-detect","homepage":"https://clawhub.ai/dlazyai/skills/dlazy-detect","primaryLinks":[{"label":"View on ClawHub","url":"https://clawhub.ai/dlazyai/dlazy-detect","kind":"source"},{"label":"Homepage","url":"https://clawhub.ai/dlazyai/skills/dlazy-detect","kind":"homepage"}],"safetyScore":84,"overallRank":62,"popularityScore":65,"trustScore":null,"claimedByName":null,"isOwner":false,"seoDescription":"AI 内容检测 AI Detect 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-10T00:29:31.472Z","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-10T00:29:31.472Z","emptyReason":null},"stars":null,"forks":null,"downloads":1835,"packageName":null,"latestVersion":"1.0.25","tractionLabel":"1.8K downloads"},"release":{"evidence":{"source":"CLAWHUB","verified":false,"confidence":"medium","updatedAt":"2026-10-10T00:29:31.472Z","emptyReason":null},"lastUpdatedAt":"2026-10-10T00:29:31.472Z","lastCrawledAt":"2026-10-10T00:29:31.472Z","lastIndexedAt":null,"nextCrawlAt":"2026-10-11T00:29:31.472Z","lastVerifiedAt":null,"highlights":[{"version":"1.0.25","createdAt":"2026-10-08T01:03:10.528Z","changelog":"例行版本更新 2026-10-08","fileCount":4,"zipByteSize":8577},{"version":"1.0.24","createdAt":"2026-10-04T01:03:47.215Z","changelog":"例行版本更新 2026-10-04","fileCount":4,"zipByteSize":8556},{"version":"1.0.23","createdAt":"2026-10-02T04:48:24.791Z","changelog":"例行版本更新 2026-10-02","fileCount":4,"zipByteSize":8537},{"version":"1.0.22","createdAt":"2026-09-30T01:03:08.421Z","changelog":"例行版本更新 2026-09-30","fileCount":4,"zipByteSize":8444},{"version":"1.0.21","createdAt":"2026-09-28T02:03:03.818Z","changelog":"例行版本更新 2026-09-28","fileCount":4,"zipByteSize":8445},{"version":"1.0.20","createdAt":"2026-09-28T01:03:33.126Z","changelog":"例行版本更新 2026-09-28","fileCount":4,"zipByteSize":8542},{"version":"1.0.19","createdAt":"2026-09-24T06:47:54.334Z","changelog":"例行版本更新 2026-09-24","fileCount":4,"zipByteSize":8595},{"version":"1.0.18","createdAt":"2026-09-22T01:02:31.152Z","changelog":"例行版本更新 2026-09-22","fileCount":4,"zipByteSize":8651}]},"execution":{"evidence":{"source":"CLAWHUB","verified":false,"confidence":"low","updatedAt":null,"emptyReason":"No published capability contract is available yet."},"installCommand":"clawhub skill install s170j1ymymrxasgd00dsk7tckx84cf45:dlazy-detect","setupComplexity":"low","setupSteps":["Install using `clawhub skill install s170j1ymymrxasgd00dsk7tckx84cf45:dlazy-detect` 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-detect 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-detect/snapshot","contractUrl":"https://www.xpersona.co/api/v1/agents/clawhub-dlazyai-dlazy-detect/contract","trustUrl":"https://www.xpersona.co/api/v1/agents/clawhub-dlazyai-dlazy-detect/trust"},"curlExamples":["curl -s \"https://www.xpersona.co/api/v1/agents/clawhub-dlazyai-dlazy-detect/snapshot\"","curl -s \"https://www.xpersona.co/api/v1/agents/clawhub-dlazyai-dlazy-detect/contract\"","curl -s \"https://www.xpersona.co/api/v1/agents/clawhub-dlazyai-dlazy-detect/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-10T07:41:22.143Z"}},"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-detect/dossier","snapshotUrl":"https://www.xpersona.co/api/v1/agents/clawhub-dlazyai-dlazy-detect/snapshot","contractUrl":"https://www.xpersona.co/api/v1/agents/clawhub-dlazyai-dlazy-detect/contract","trustUrl":"https://www.xpersona.co/api/v1/agents/clawhub-dlazyai-dlazy-detect/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-10T00:29:31.472Z","emptyReason":null},"readme":"Skill: AI 内容检测 AI Detect\n\nOwner: dlazyai\n\nSummary: Detect whether an image, video, or audio file is AI-generated — including visual deepfakes and the likely generator model (Midjourney, Stable Diffusion, Sora, etc.). Returns confidence scores you can threshold. 检测图片、视频或音频是否由 AI 生成：包含人脸 deepfake 识别与疑似生成模型归因，返回可用于判定的置信度分数。\n\nTags: latest:1.0.25\n\nVersion history:\n\nv1.0.25 | 2026-10-08T01:03:10.528Z | user\n\n例行版本更新 2026-10-08\n\nv1.0.24 | 2026-10-04T01:03:47.215Z | user\n\n例行版本更新 2026-10-04\n\nv1.0.23 | 2026-10-02T04:48:24.791Z | user\n\n例行版本更新 2026-10-02\n\nv1.0.22 | 2026-09-30T01:03:08.421Z | user\n\n例行版本更新 2026-09-30\n\nv1.0.21 | 2026-09-28T02:03:03.818Z | user\n\n例行版本更新 2026-09-28\n\nv1.0.20 | 2026-09-28T01:03:33.126Z | user\n\n例行版本更新 2026-09-28\n\nv1.0.19 | 2026-09-24T06:47:54.334Z | user\n\n例行版本更新 2026-09-24\n\nv1.0.18 | 2026-09-22T01:02:31.152Z | user\n\n例行版本更新 2026-09-22\n\nv1.0.17 | 2026-09-20T01:04:48.541Z | user\n\n例行版本更新 2026-09-20\n\nv1.0.16 | 2026-09-14T01:03:46.421Z | user\n\n例行版本更新 2026-09-14\n\nv1.0.15 | 2026-09-10T01:02:55.018Z | user\n\n例行版本更新 2026-09-10\n\nv1.0.14 | 2026-09-08T01:02:59.225Z | user\n\n例行版本更新 2026-09-08\n\nv1.0.13 | 2026-09-07T01:04:56.398Z | user\n\n例行版本更新 2026-09-07\n\nv1.0.12 | 2026-09-04T01:08:34.800Z | user\n\n例行版本更新 2026-09-04\n\nv1.0.11 | 2026-09-02T01:03:15.556Z | user\n\n例行版本更新 2026-09-02\n\nv1.0.10 | 2026-08-31T02:44:51.597Z | user\n\n源码仓库迁移至 github.com/dlazy-ai/cli\n\nv1.0.9 | 2026-08-24T09:14:16.248Z | user\n\nRestore Chinese display name\n\nv1.0.8 | 2026-08-17T08:57:47.600Z | user\n\nRestore Chinese display name\n\nv1.0.7 | 2026-08-10T05:39:32.697Z | user\n\nRestore Chinese display name\n\nv1.0.6 | 2026-08-10T03:53:57.663Z | user\n\nRestore Chinese display name\n\nv1.0.5 | 2026-07-21T02:05:37.947Z | auto\n\n- Updated CLI dependency to install @dlazy/cli version 1.2.3.\n- Removed obsolete skill-card.md file.\n- Minor documentation updates and maintenance in both English and Chinese skill documents.\n\nv1.0.4 | 2026-07-17T10:34:27.175Z | auto\n\n- Updated SKILL.md and SKILL-cn.md documentation.\n- Removed the file skill-card.md.\n- Incremented version number in SKILL.md from 1.0.2 to 1.0.3.\n- No functional changes to skill logic.\n\nv1.0.3 | 2026-07-17T10:06:28.446Z | auto\n\ndlazy-detect 1.0.3 Changelog\n\n- Updated documentation in SKILL.md and SKILL-cn.md.\n- No functional or interface changes; content changes only.\n\nv1.0.2 | 2026-07-17T09:58:29.622Z | auto\n\n- Updated version metadata to 1.0.1.\n- No changes to functionality, usage, or output.\n- Documentation files updated with corrected or current version metadata.\n\nv1.0.1 | 2026-07-17T09:49:27.066Z | auto\n\ndlazy-detect 1.0.1 Changelog\n\n- Updated documentation and instructions in SKILL.md, including clear usage examples, error handling, and authentication methods.\n- Expanded multilingual support and improved clarity for both English and Chinese users.\n- Provided detailed agent instructions for handling errors and user guidance.\n- Clarified media type support, confidence thresholds, and generator attribution coverage.\n\nv1.0.0 | 2026-07-17T08:35:53.252Z | auto\n\n- Initial public release of dlazy-detect, version 1.0.0.\n- Detects AI-generated images, videos (including deepfakes), and audio files.\n- Identifies likely generator models (e.g., Midjourney, Stable Diffusion).\n- Returns detailed confidence scores and structured results.\n- Authentication via dLazy API key is required.\n- Removed the outdated skill-card.md documentation file.\n\nArchive index:\n\nArchive v1.0.25: 4 files, 8577 bytes\n\nFiles: skill-card.md (1949b), SKILL-cn.md (7668b), SKILL.md (8061b), _meta.json (132b)\n\nFile v1.0.25:SKILL.md\n\n---\nname: dlazy-detect\nversion: 1.0.5\ndescription: \"Detect whether an image, video, or audio file is AI-generated — including visual deepfakes and the likely generator model (Midjourney, Stable Diffusion, Sora, etc.). Returns confidence scores you can threshold. 检测图片、视频或音频是否由 AI 生成：包含人脸 deepfake 识别与疑似生成模型归因，返回可用于判定的置信度分数。\"\nmetadata:\n  {\n    'clawdbot':\n      {\n        'emoji': '🔍',\n        'requires': { 'bins': ['npm', 'npx'] },\n        'install': 'npm install -g @dlazy/cli@1.2.3',\n        'installAlternative': 'npx @dlazy/cli@1.2.3',\n        'homepage': 'https://github.com/dlazy-ai/cli',\n        'source': 'https://github.com/dlazy-ai/cli',\n        'author': 'dlazyai',\n        'license': 'see-repo',\n        'npm': 'https://www.npmjs.com/package/@dlazy/cli',\n        'configLocation': '~/.dlazy/config.json',\n        'apiEndpoints': ['api.dlazy.com', 'files.dlazy.com'],\n      },\n    'openclaw': { 'systemPrompt': 'When invoking this skill, use dlazy detect -h for help.' },\n  }\n---\n\n# AI 内容检测 AI Detect\n\n[English](./SKILL.md) · [中文](./SKILL-cn.md)\n\nDetect whether an image, video, or audio file is AI-generated — including visual deepfakes and the likely generator model (Midjourney, Stable Diffusion, Sora, etc.). Returns confidence scores you can threshold.\n\n## Trigger Keywords\n\n- detect\n- ai-detect\n- ai-generated\n- deepfake\n- is this AI\n\n## What It Detects\n\n- **Image / Video**: whether the visual is AI-generated (`ai_generated` score), whether it contains a **deepfake** (face swap), and the **likely generator** (Midjourney, Stable Diffusion, DALL·E, etc.).\n- **Audio** (audio-only files, or the audio track of a video): whether the audio is AI-generated (`ai_generated_audio` score).\n- **Text is NOT supported** by this model — image, video, and audio only.\n\n> Recommended decision threshold: treat as AI-generated when the score is **≥ 0.9**. The skill already applies this to the `is_ai_generated` / `is_deepfake` booleans.\n>\n> Note: the underlying provider (Hive V3 Playground) has a default rate limit of **100 requests/day**.\n\n## Authentication\n\nAll requests require a dLazy API key. The recommended way to authenticate is:\n\n```bash\ndlazy login\n```\n\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.\n\n### Alternative: Set the Key Manually\n\n```bash\ndlazy auth set YOUR_API_KEY\n```\n\nThe CLI saves the key in your user config directory (`~/.dlazy/config.json` on macOS/Linux, `%USERPROFILE%\\.dlazy\\config.json` on Windows). You can also supply the key per-invocation via the `DLAZY_API_KEY` environment variable.\n\n### Getting Your API Key Manually\n\n1. Sign in or create an account at [dlazy.com](https://dlazy.com)\n2. Go to [dlazy.com/dashboard/organization/api-key](https://dlazy.com/dashboard/organization/api-key)\n3. Copy the key shown in the API Key section\n\n## How It Works\n\nThis skill is a thin client over the dLazy hosted API. When you invoke it:\n\n- **Each `--image_url` / `--video_url` / `--audio_url` accepts EITHER a local file path OR a public URL — the CLI detects which automatically.** No need to upload first or convert anything; just pass whatever you have.\n  - **Local file** (e.g. `./photo.jpg`, `C:\\clip.mp4`): the CLI uploads it to dLazy's media storage (`files.dlazy.com`) and forwards the resulting URL.\n  - **Public URL** (e.g. `https://example.com/a.png`): passed through as-is. The URL must be publicly reachable — links behind login/auth or on a private network can't be fetched by the detection service.\n- The media is analyzed and a structured verdict (AI-generated confidence, deepfake confidence, likely generator) is returned.\n\n## Usage\n\n**CRITICAL INSTRUCTION FOR AGENT**:\nRun `dlazy detect` with exactly ONE of `--image_url`, `--video_url`, or `--audio_url`.\n\n```bash\ndlazy detect -h\n\nOptions:\n  --image_url [image_url]              Image to check (local path or public URL)\n  --video_url [video_url]              Video to check (local path or public URL)\n  --audio_url [audio_url]              Audio to check (local path or public URL)\n  --dry-run                            Print payload + cost estimate without calling API\n  --no-wait                            Return generateId immediately for async tasks\n  --timeout <seconds>                  Max seconds to wait for async completion (default: \"1800\")\n  -h, --help                           display help for command\n```\n\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.\n\n## Output Format\n\n```json\n{\n  \"ok\": true,\n  \"result\": {\n    \"tool\": \"detect\",\n    \"modelId\": \"detect\",\n    \"outputs\": [\n      {\n        \"type\": \"json\",\n        \"id\": \"o_xxxxxxxx\",\n        \"value\": {\n          \"media_type\": \"image\",\n          \"is_ai_generated\": true,\n          \"ai_generated_score\": 0.98,\n          \"not_ai_generated_score\": 0.02,\n          \"is_deepfake\": false,\n          \"deepfake_score\": 0.03,\n          \"top_generator\": \"midjourney\",\n          \"top_generator_score\": 0.91,\n          \"ai_generated_audio_score\": 0.0,\n          \"frames_analyzed\": 1\n        }\n      }\n    ]\n  }\n}\n```\n\nA human-readable summary is also returned in the task's `texts`, e.g. `疑似 AI 生成（AI 置信度 98%，疑似 midjourney）；未检出 deepfake`.\n\n> Async tasks (when `--no-wait` is passed) return `outputs: []` and a `task: { generateId, status }` field instead. Use `dlazy status <generateId> --wait` to poll.\n\n## Examples\n\n```bash\n# Check a local image\ndlazy detect --image_url ./photo.jpg\n\n# Check a video (AI-generation + deepfake)\ndlazy detect --video_url ./clip.mp4\n\n# Check an audio clip (AI voice)\ndlazy detect --audio_url ./voice.mp3\n\n# Check by public URL\ndlazy detect --image_url https://example.com/a.png\n```\n\n## Error Handling\n\n| Code | Error Type                         | Example Message                                                                                                          |\n| ---- | ---------------------------------- | ------------------------------------------------------------------------------------------------------------------------ |\n| 401  | Unauthorized (No API Key)          | `ok: false, code: \"unauthorized\", message: \"API key is missing or invalid\"`                                              |\n| 501  | Missing required parameter         | `Provide one of image_url, video_url, or audio_url`                                                                      |\n| 502  | Local file read error              | `Error: Image file/Video file not found: C:\\path\\to\\your\\file`                                                           |\n| 503  | API request failed (no balance)    | `ok: false, code: \"insufficient_balance\"`                                                                                |\n| 503  | API request failed (rate limited)  | `HTTP status code error (429 too many requests)` — Hive V3 allows 100 requests/day                                       |\n| 504  | Asynchronous task execution failed | `=== Generation Failed ===` / `{Specific error reason returned by backend}`                                              |\n\n> **AGENT CRITICAL INSTRUCTION**:\n>\n> 1. If the result returns `code: \"insufficient_balance\"`, you MUST tell the user 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)\n> 2. If the result returns `code: \"unauthorized\"` or indicates a missing API key, you MUST tell 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 with `dlazy auth set <key>`, then resume the task.\n\n## Tips\n\nVisit https://dlazy.com for more information.\n\nFile v1.0.25:_meta.json\n\n{\n  \"ownerId\": \"kn7c5wgeajfcfvdfb5ceemvdb984cjpd\",\n  \"slug\": \"dlazy-detect\",\n  \"version\": \"1.0.25\",\n  \"publishedAt\": 1791421390528\n}\n\nFile v1.0.25:skill-card.md\n\n## Description:\n\nChecks images, videos, and audio for signs of AI generation, reporting confidence scores, possible deepfakes, and likely generators.\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\nPeople and teams checking whether an image, video, or audio clip may be AI-generated use this skill to obtain confidence scores, deepfake indicators, and possible generator attribution.\n\n### Deployment Geography for Use:\n\nGlobal\n\n## Known Risks and Mitigations:\n\nRisk: Local images, videos, or audio can be uploaded to dLazy's hosted service without a prominent consent step.\n\nMitigation: Confirm the specific media before analysis; avoid sensitive files unless the service's privacy and retention terms are acceptable.\n\nRisk: The login flow saves an API key in local CLI configuration.\n\nMitigation: Use a per-task API key when a saved credential is not desired, and protect any locally stored key.\n\n## Reference(s):\n\n- [ClawHub skill listing](https://clawhub.ai/dlazyai/skills/dlazy-detect)\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\n## Skill Output:\n\n**Output Type(s):** [Text, Shell commands, Guidance]\n\n**Output Format:** [Markdown with command examples and summarized JSON detection results]\n\n**Output Parameters:** [1D]\n\n**Other Properties Related to Output:** [Results can include confidence scores and likely generator; asynchronous requests return a task ID.]\n\n## Skill Version(s):\n\n1.0.25 (source: release metadata; skill frontmatter lists 1.0.5)\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.0.25:SKILL-cn.md\n\n---\nname: dlazy-detect\nversion: 1.0.5\ndescription: \"检测图片、视频或音频是否由 AI 生成：包含人脸 deepfake 识别与疑似生成模型归因（Midjourney、Stable Diffusion、Sora 等），返回可用于判定的置信度分数。\"\nmetadata:\n  {\n    'clawdbot':\n      {\n        'emoji': '🔍',\n        'requires': { 'bins': ['npm', 'npx'] },\n        'install': 'npm install -g @dlazy/cli@1.2.3',\n        'installAlternative': 'npx @dlazy/cli@1.2.3',\n        'homepage': 'https://github.com/dlazy-ai/cli',\n        'source': 'https://github.com/dlazy-ai/cli',\n        'author': 'dlazyai',\n        'license': 'see-repo',\n        'npm': 'https://www.npmjs.com/package/@dlazy/cli',\n        'configLocation': '~/.dlazy/config.json',\n        'apiEndpoints': ['api.dlazy.com', 'files.dlazy.com'],\n      },\n    'openclaw': { 'systemPrompt': '当调用此技能时，可以使用 dlazy detect -h 查看帮助信息。' },\n  }\n---\n\n# AI 内容检测 AI Detect\n\n[English](./SKILL.md) · [中文](./SKILL-cn.md)\n\n检测图片、视频或音频是否由 AI 生成：包含人脸 deepfake 识别与疑似生成模型归因（Midjourney、Stable Diffusion、Sora 等），返回可用于判定的置信度分数。\n\n## 触发关键词\n\n- detect\n- ai-detect\n- ai-generated\n- deepfake\n- AI 检测\n- 是不是 AI 生成\n\n## 能检测什么\n\n- **图片 / 视频**：是否 AI 生成（`ai_generated` 分数）、是否含 **deepfake**（换脸）、以及**疑似生成模型**（Midjourney、Stable Diffusion、DALL·E 等）。\n- **音频**（纯音频文件，或视频里的音轨）：音频是否 AI 生成（`ai_generated_audio` 分数）。\n- **不支持文字**——本模型仅支持图片、视频、音频。\n\n> 推荐判定阈值：分数 **≥ 0.9** 视为 AI 生成。技能已按此阈值给出 `is_ai_generated` / `is_deepfake` 布尔结果。\n>\n> 注意：底层服务商（Hive V3 Playground）默认限速 **100 次/天**。\n\n## 身份验证 (Authentication)\n\n所有请求都需要 dLazy API key。**推荐使用** `dlazy login` 完成登录：\n\n```bash\ndlazy login\n```\n\n该命令使用设备码流程（远程终端也可用），登录成功后 **自动把 API key 写入本地 CLI 配置**，无需手动复制粘贴。\n\n### 备选：手动设置 API Key\n\n```bash\ndlazy auth set YOUR_API_KEY\n```\n\nCLI 会把 key 保存在你的用户配置目录（macOS/Linux 上为 `~/.dlazy/config.json`，Windows 上为 `%USERPROFILE%\\.dlazy\\config.json`）。你也可以用 `DLAZY_API_KEY` 环境变量按次传入。\n\n### 手动获取 API Key\n\n1. 登录或在 [dlazy.com](https://dlazy.com) 创建账号\n2. 访问 [dlazy.com/dashboard/organization/api-key](https://dlazy.com/dashboard/organization/api-key)\n3. 复制 API Key 区域显示的密钥\n\n## 工作原理\n\n此技能是 dLazy 托管 API 的轻量封装。调用时：\n\n- **`--image_url` / `--video_url` / `--audio_url` 既可以传本地文件路径，也可以传公开链接（URL）—— CLI 会自动判断是哪种。** 不用先上传、也不用做任何转换，有什么直接传就行。\n  - **本地文件**（如 `./photo.jpg`、`C:\\clip.mp4`）：CLI 会自动上传到 dLazy 媒体存储（`files.dlazy.com`），再把得到的 URL 传给后端。\n  - **公开链接**（如 `https://example.com/a.png`）：原样透传。注意该链接必须**公开可访问**——需要登录/鉴权或在内网的链接，检测服务抓取不到。\n- 媒体会被分析，返回结构化判定结果（AI 生成置信度、deepfake 置信度、疑似生成模型）。\n\n## 使用方法\n\n**CRITICAL INSTRUCTION FOR AGENT**:\n执行 `dlazy detect`，并且只传 `--image_url`、`--video_url`、`--audio_url` 三者之一。\n\n```bash\ndlazy detect -h\n\nOptions:\n  --image_url [image_url]              待检测的图片（本地路径或公开 URL）\n  --video_url [video_url]              待检测的视频（本地路径或公开 URL）\n  --audio_url [audio_url]              待检测的音频（本地路径或公开 URL）\n  --dry-run                            Print payload + cost estimate without calling API\n  --no-wait                            Return generateId immediately for async tasks\n  --timeout <seconds>                  Max seconds to wait for async completion (default: \"1800\")\n  -h, --help                           display help for command\n```\n\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.\n\n## 输出格式\n\n```json\n{\n  \"ok\": true,\n  \"result\": {\n    \"tool\": \"detect\",\n    \"modelId\": \"detect\",\n    \"outputs\": [\n      {\n        \"type\": \"json\",\n        \"id\": \"o_xxxxxxxx\",\n        \"value\": {\n          \"media_type\": \"image\",\n          \"is_ai_generated\": true,\n          \"ai_generated_score\": 0.98,\n          \"not_ai_generated_score\": 0.02,\n          \"is_deepfake\": false,\n          \"deepfake_score\": 0.03,\n          \"top_generator\": \"midjourney\",\n          \"top_generator_score\": 0.91,\n          \"ai_generated_audio_score\": 0.0,\n          \"frames_analyzed\": 1\n        }\n      }\n    ]\n  }\n}\n```\n\n任务的 `texts` 里还会返回一句人类可读的结论，例如 `疑似 AI 生成（AI 置信度 98%，疑似 midjourney）；未检出 deepfake`。\n\n> Async tasks (when `--no-wait` is passed) return `outputs: []` and a `task: { generateId, status }` field instead. Use `dlazy status <generateId> --wait` to poll.\n\n## 命令示例\n\n```bash\n# 检测本地图片\ndlazy detect --image_url ./photo.jpg\n\n# 检测视频（AI 生成 + deepfake）\ndlazy detect --video_url ./clip.mp4\n\n# 检测音频（AI 声音）\ndlazy detect --audio_url ./voice.mp3\n\n# 用公开 URL 检测\ndlazy detect --image_url https://example.com/a.png\n```\n\n## 错误处理\n\n| Code | 错误类型                   | 示例信息                                                                                       |\n| ---- | -------------------------- | ---------------------------------------------------------------------------------------------- |\n| 401  | 未授权 (API Key缺失或无效) | `ok: false, code: \"unauthorized\", message: \"API key is missing or invalid\"`                    |\n| 501  | 缺少必填参数               | `Provide one of image_url, video_url, or audio_url`                                             |\n| 502  | 本地文件读取失败           | `Error: Image file/Video file not found: C:\\path\\to\\your\\file`                                 |\n| 503  | API 请求失败（余额不足）   | `ok: false, code: \"insufficient_balance\"`                                                      |\n| 503  | API 请求失败（触发限速）   | `HTTP status code error (429 too many requests)` —— Hive V3 每天限 100 次                       |\n| 504  | 异步任务执行失败           | `=== Generation Failed ===` / `{后端返回的具体失败原因}`                                        |\n\n> **智能体关键指令**:\n>\n> 1. 如果执行结果返回 `code: \"insufficient_balance\"` 且提示余额不足，您必须明确告知用户当前积分不足，并引导用户前往充值：[https://dlazy.com/dashboard/organization/settings?tab=credits](https://dlazy.com/dashboard/organization/settings?tab=credits)\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>` 保存，然后继续执行任务。\n\n## Tips\n\nVisit https://dlazy.com for more information.\n\nArchive v1.0.24: 4 files, 8556 bytes\n\nFiles: skill-card.md (1981b), SKILL-cn.md (7668b), SKILL.md (8061b), _meta.json (132b)\n\nFile v1.0.24:SKILL.md\n\n---\nname: dlazy-detect\nversion: 1.0.5\ndescription: \"Detect whether an image, video, or audio file is AI-generated — including visual deepfakes and the likely generator model (Midjourney, Stable Diffusion, Sora, etc.). Returns confidence scores you can threshold. 检测图片、视频或音频是否由 AI 生成：包含人脸 deepfake 识别与疑似生成模型归因，返回可用于判定的置信度分数。\"\nmetadata:\n  {\n    'clawdbot':\n      {\n        'emoji': '🔍',\n        'requires': { 'bins': ['npm', 'npx'] },\n        'install': 'npm install -g @dlazy/cli@1.2.3',\n        'installAlternative': 'npx @dlazy/cli@1.2.3',\n        'homepage': 'https://github.com/dlazy-ai/cli',\n        'source': 'https://github.com/dlazy-ai/cli',\n        'author': 'dlazyai',\n        'license': 'see-repo',\n        'npm': 'https://www.npmjs.com/package/@dlazy/cli',\n        'configLocation': '~/.dlazy/config.json',\n        'apiEndpoints': ['api.dlazy.com', 'files.dlazy.com'],\n      },\n    'openclaw': { 'systemPrompt': 'When invoking this skill, use dlazy detect -h for help.' },\n  }\n---\n\n# AI 内容检测 AI Detect\n\n[English](./SKILL.md) · [中文](./SKILL-cn.md)\n\nDetect whether an image, video, or audio file is AI-generated — including visual deepfakes and the likely generator model (Midjourney, Stable Diffusion, Sora, etc.). Returns confidence scores you can threshold.\n\n## Trigger Keywords\n\n- detect\n- ai-detect\n- ai-generated\n- deepfake\n- is this AI\n\n## What It Detects\n\n- **Image / Video**: whether the visual is AI-generated (`ai_generated` score), whether it contains a **deepfake** (face swap), and the **likely generator** (Midjourney, Stable Diffusion, DALL·E, etc.).\n- **Audio** (audio-only files, or the audio track of a video): whether the audio is AI-generated (`ai_generated_audio` score).\n- **Text is NOT supported** by this model — image, video, and audio only.\n\n> Recommended decision threshold: treat as AI-generated when the score is **≥ 0.9**. The skill already applies this to the `is_ai_generated` / `is_deepfake` booleans.\n>\n> Note: the underlying provider (Hive V3 Playground) has a default rate limit of **100 requests/day**.\n\n## Authentication\n\nAll requests require a dLazy API key. The recommended way to authenticate is:\n\n```bash\ndlazy login\n```\n\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.\n\n### Alternative: Set the Key Manually\n\n```bash\ndlazy auth set YOUR_API_KEY\n```\n\nThe CLI saves the key in your user config directory (`~/.dlazy/config.json` on macOS/Linux, `%USERPROFILE%\\.dlazy\\config.json` on Windows). You can also supply the key per-invocation via the `DLAZY_API_KEY` environment variable.\n\n### Getting Your API Key Manually\n\n1. Sign in or create an account at [dlazy.com](https://dlazy.com)\n2. Go to [dlazy.com/dashboard/organization/api-key](https://dlazy.com/dashboard/organization/api-key)\n3. Copy the key shown in the API Key section\n\n## How It Works\n\nThis skill is a thin client over the dLazy hosted API. When you invoke it:\n\n- **Each `--image_url` / `--video_url` / `--audio_url` accepts EITHER a local file path OR a public URL — the CLI detects which automatically.** No need to upload first or convert anything; just pass whatever you have.\n  - **Local file** (e.g. `./photo.jpg`, `C:\\clip.mp4`): the CLI uploads it to dLazy's media storage (`files.dlazy.com`) and forwards the resulting URL.\n  - **Public URL** (e.g. `https://example.com/a.png`): passed through as-is. The URL must be publicly reachable — links behind login/auth or on a private network can't be fetched by the detection service.\n- The media is analyzed and a structured verdict (AI-generated confidence, deepfake confidence, likely generator) is returned.\n\n## Usage\n\n**CRITICAL INSTRUCTION FOR AGENT**:\nRun `dlazy detect` with exactly ONE of `--image_url`, `--video_url`, or `--audio_url`.\n\n```bash\ndlazy detect -h\n\nOptions:\n  --image_url [image_url]              Image to check (local path or public URL)\n  --video_url [video_url]              Video to check (local path or public URL)\n  --audio_url [audio_url]              Audio to check (local path or public URL)\n  --dry-run                            Print payload + cost estimate without calling API\n  --no-wait                            Return generateId immediately for async tasks\n  --timeout <seconds>                  Max seconds to wait for async completion (default: \"1800\")\n  -h, --help                           display help for command\n```\n\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.\n\n## Output Format\n\n```json\n{\n  \"ok\": true,\n  \"result\": {\n    \"tool\": \"detect\",\n    \"modelId\": \"detect\",\n    \"outputs\": [\n      {\n        \"type\": \"json\",\n        \"id\": \"o_xxxxxxxx\",\n        \"value\": {\n          \"media_type\": \"image\",\n          \"is_ai_generated\": true,\n          \"ai_generated_score\": 0.98,\n          \"not_ai_generated_score\": 0.02,\n          \"is_deepfake\": false,\n          \"deepfake_score\": 0.03,\n          \"top_generator\": \"midjourney\",\n          \"top_generator_score\": 0.91,\n          \"ai_generated_audio_score\": 0.0,\n          \"frames_analyzed\": 1\n        }\n      }\n    ]\n  }\n}\n```\n\nA human-readable summary is also returned in the task's `texts`, e.g. `疑似 AI 生成（AI 置信度 98%，疑似 midjourney）；未检出 deepfake`.\n\n> Async tasks (when `--no-wait` is passed) return `outputs: []` and a `task: { generateId, status }` field instead. Use `dlazy status <generateId> --wait` to poll.\n\n## Examples\n\n```bash\n# Check a local image\ndlazy detect --image_url ./photo.jpg\n\n# Check a video (AI-generation + deepfake)\ndlazy detect --video_url ./clip.mp4\n\n# Check an audio clip (AI voice)\ndlazy detect --audio_url ./voice.mp3\n\n# Check by public URL\ndlazy detect --image_url https://example.com/a.png\n```\n\n## Error Handling\n\n| Code | Error Type                         | Example Message                                                                                                          |\n| ---- | ---------------------------------- | ------------------------------------------------------------------------------------------------------------------------ |\n| 401  | Unauthorized (No API Key)          | `ok: false, code: \"unauthorized\", message: \"API key is missing or invalid\"`                                              |\n| 501  | Missing required parameter         | `Provide one of image_url, video_url, or audio_url`                                                                      |\n| 502  | Local file read error              | `Error: Image file/Video file not found: C:\\path\\to\\your\\file`                                                           |\n| 503  | API request failed (no balance)    | `ok: false, code: \"insufficient_balance\"`                                                                                |\n| 503  | API request failed (rate limited)  | `HTTP status code error (429 too many requests)` — Hive V3 allows 100 requests/day                                       |\n| 504  | Asynchronous task execution failed | `=== Generation Failed ===` / `{Specific error reason returned by backend}`                                              |\n\n> **AGENT CRITICAL INSTRUCTION**:\n>\n> 1. If the result returns `code: \"insufficient_balance\"`, you MUST tell the user 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)\n> 2. If the result returns `code: \"unauthorized\"` or indicates a missing API key, you MUST tell 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 with `dlazy auth set <key>`, then resume the task.\n\n## Tips\n\nVisit https://dlazy.com for more information.\n\nFile v1.0.24:_meta.json\n\n{\n  \"ownerId\": \"kn7c5wgeajfcfvdfb5ceemvdb984cjpd\",\n  \"slug\": \"dlazy-detect\",\n  \"version\": \"1.0.24\",\n  \"publishedAt\": 1791075827215\n}\n\nFile v1.0.24:skill-card.md\n\n## Description:\n\nDetects likely AI-generated images, videos, and audio, including visual deepfakes and possible generator models, with confidence scores.\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 and other users can check images, videos, or audio for signs of AI generation, deepfakes, and possible generator models using confidence scores. Text detection is not supported.\n\n### Deployment Geography for Use:\n\nGlobal\n\n## Known Risks and Mitigations:\n\nRisk: Local images, videos, or audio may be uploaded to dLazy's hosted service.\n\nMitigation: Confirm the selected file or URL and obtain permission before submitting private media.\n\nRisk: A dLazy API key is stored locally for authenticated requests.\n\nMitigation: Protect the local credential and use the CLI's supported authentication options.\n\nRisk: Broad trigger words can cause unintended requests that consume API quota.\n\nMitigation: Confirm the intended media and request before invoking detection.\n\n## Reference(s):\n\n- [ClawHub skill page](https://clawhub.ai/dlazyai/skills/dlazy-detect)\n- [dLazy CLI documentation](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, Analysis]\n\n**Output Format:** [JSON verdict with confidence scores and a plain-text summary]\n\n**Output Parameters:** [1D]\n\n**Other Properties Related to Output:** [A detection result may include deepfake and likely-generator scores; asynchronous requests return a task identifier until complete.]\n\n## Skill Version(s):\n\n1.0.24 (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.0.24:SKILL-cn.md\n\n---\nname: dlazy-detect\nversion: 1.0.5\ndescription: \"检测图片、视频或音频是否由 AI 生成：包含人脸 deepfake 识别与疑似生成模型归因（Midjourney、Stable Diffusion、Sora 等），返回可用于判定的置信度分数。\"\nmetadata:\n  {\n    'clawdbot':\n      {\n        'emoji': '🔍',\n        'requires': { 'bins': ['npm', 'npx'] },\n        'install': 'npm install -g @dlazy/cli@1.2.3',\n        'installAlternative': 'npx @dlazy/cli@1.2.3',\n        'homepage': 'https://github.com/dlazy-ai/cli',\n        'source': 'https://github.com/dlazy-ai/cli',\n        'author': 'dlazyai',\n        'license': 'see-repo',\n        'npm': 'https://www.npmjs.com/package/@dlazy/cli',\n        'configLocation': '~/.dlazy/config.json',\n        'apiEndpoints': ['api.dlazy.com', 'files.dlazy.com'],\n      },\n    'openclaw': { 'systemPrompt': '当调用此技能时，可以使用 dlazy detect -h 查看帮助信息。' },\n  }\n---\n\n# AI 内容检测 AI Detect\n\n[English](./SKILL.md) · [中文](./SKILL-cn.md)\n\n检测图片、视频或音频是否由 AI 生成：包含人脸 deepfake 识别与疑似生成模型归因（Midjourney、Stable Diffusion、Sora 等），返回可用于判定的置信度分数。\n\n## 触发关键词\n\n- detect\n- ai-detect\n- ai-generated\n- deepfake\n- AI 检测\n- 是不是 AI 生成\n\n## 能检测什么\n\n- **图片 / 视频**：是否 AI 生成（`ai_generated` 分数）、是否含 **deepfake**（换脸）、以及**疑似生成模型**（Midjourney、Stable Diffusion、DALL·E 等）。\n- **音频**（纯音频文件，或视频里的音轨）：音频是否 AI 生成（`ai_generated_audio` 分数）。\n- **不支持文字**——本模型仅支持图片、视频、音频。\n\n> 推荐判定阈值：分数 **≥ 0.9** 视为 AI 生成。技能已按此阈值给出 `is_ai_generated` / `is_deepfake` 布尔结果。\n>\n> 注意：底层服务商（Hive V3 Playground）默认限速 **100 次/天**。\n\n## 身份验证 (Authentication)\n\n所有请求都需要 dLazy API key。**推荐使用** `dlazy login` 完成登录：\n\n```bash\ndlazy login\n```\n\n该命令使用设备码流程（远程终端也可用），登录成功后 **自动把 API key 写入本地 CLI 配置**，无需手动复制粘贴。\n\n### 备选：手动设置 API Key\n\n```bash\ndlazy auth set YOUR_API_KEY\n```\n\nCLI 会把 key 保存在你的用户配置目录（macOS/Linux 上为 `~/.dlazy/config.json`，Windows 上为 `%USERPROFILE%\\.dlazy\\config.json`）。你也可以用 `DLAZY_API_KEY` 环境变量按次传入。\n\n### 手动获取 API Key\n\n1. 登录或在 [dlazy.com](https://dlazy.com) 创建账号\n2. 访问 [dlazy.com/dashboard/organization/api-key](https://dlazy.com/dashboard/organization/api-key)\n3. 复制 API Key 区域显示的密钥\n\n## 工作原理\n\n此技能是 dLazy 托管 API 的轻量封装。调用时：\n\n- **`--image_url` / `--video_url` / `--audio_url` 既可以传本地文件路径，也可以传公开链接（URL）—— CLI 会自动判断是哪种。** 不用先上传、也不用做任何转换，有什么直接传就行。\n  - **本地文件**（如 `./photo.jpg`、`C:\\clip.mp4`）：CLI 会自动上传到 dLazy 媒体存储（`files.dlazy.com`），再把得到的 URL 传给后端。\n  - **公开链接**（如 `https://example.com/a.png`）：原样透传。注意该链接必须**公开可访问**——需要登录/鉴权或在内网的链接，检测服务抓取不到。\n- 媒体会被分析，返回结构化判定结果（AI 生成置信度、deepfake 置信度、疑似生成模型）。\n\n## 使用方法\n\n**CRITICAL INSTRUCTION FOR AGENT**:\n执行 `dlazy detect`，并且只传 `--image_url`、`--video_url`、`--audio_url` 三者之一。\n\n```bash\ndlazy detect -h\n\nOptions:\n  --image_url [image_url]              待检测的图片（本地路径或公开 URL）\n  --video_url [video_url]              待检测的视频（本地路径或公开 URL）\n  --audio_url [audio_url]              待检测的音频（本地路径或公开 URL）\n  --dry-run                            Print payload + cost estimate without calling API\n  --no-wait                            Return generateId immediately for async tasks\n  --timeout <seconds>                  Max seconds to wait for async completion (default: \"1800\")\n  -h, --help                           display help for command\n```\n\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.\n\n## 输出格式\n\n```json\n{\n  \"ok\": true,\n  \"result\": {\n    \"tool\": \"detect\",\n    \"modelId\": \"detect\",\n    \"outputs\": [\n      {\n        \"type\": \"json\",\n        \"id\": \"o_xxxxxxxx\",\n        \"value\": {\n          \"media_type\": \"image\",\n          \"is_ai_generated\": true,\n          \"ai_generated_score\": 0.98,\n          \"not_ai_generated_score\": 0.02,\n          \"is_deepfake\": false,\n          \"deepfake_score\": 0.03,\n          \"top_generator\": \"midjourney\",\n          \"top_generator_score\": 0.91,\n          \"ai_generated_audio_score\": 0.0,\n          \"frames_analyzed\": 1\n        }\n      }\n    ]\n  }\n}\n```\n\n任务的 `texts` 里还会返回一句人类可读的结论，例如 `疑似 AI 生成（AI 置信度 98%，疑似 midjourney）；未检出 deepfake`。\n\n> Async tasks (when `--no-wait` is passed) return `outputs: []` and a `task: { generateId, status }` field instead. Use `dlazy status <generateId> --wait` to poll.\n\n## 命令示例\n\n```bash\n# 检测本地图片\ndlazy detect --image_url ./photo.jpg\n\n# 检测视频（AI 生成 + deepfake）\ndlazy detect --video_url ./clip.mp4\n\n# 检测音频（AI 声音）\ndlazy detect --audio_url ./voice.mp3\n\n# 用公开 URL 检测\ndlazy detect --image_url https://example.com/a.png\n```\n\n## 错误处理\n\n| Code | 错误类型                   | 示例信息                                                                                       |\n| ---- | -------------------------- | ---------------------------------------------------------------------------------------------- |\n| 401  | 未授权 (API Key缺失或无效) | `ok: false, code: \"unauthorized\", message: \"API key is missing or invalid\"`                    |\n| 501  | 缺少必填参数               | `Provide one of image_url, video_url, or audio_url`                                             |\n| 502  | 本地文件读取失败           | `Error: Image file/Video file not found: C:\\path\\to\\your\\file`                                 |\n| 503  | API 请求失败（余额不足）   | `ok: false, code: \"insufficient_balance\"`                                                      |\n| 503  | API 请求失败（触发限速）   | `HTTP status code error (429 too many requests)` —— Hive V3 每天限 100 次                       |\n| 504  | 异步任务执行失败           | `=== Generation Failed ===` / `{后端返回的具体失败原因}`                                        |\n\n> **智能体关键指令**:\n>\n> 1. 如果执行结果返回 `code: \"insufficient_balance\"` 且提示余额不足，您必须明确告知用户当前积分不足，并引导用户前往充值：[https://dlazy.com/dashboard/organization/settings?tab=credits](https://dlazy.com/dashboard/organization/settings?tab=credits)\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>` 保存，然后继续执行任务。\n\n## Tips\n\nVisit https://dlazy.com for more information.\n\nArchive v1.0.23: 4 files, 8537 bytes\n\nFiles: skill-card.md (1899b), SKILL-cn.md (7668b), SKILL.md (8061b), _meta.json (132b)\n\nFile v1.0.23:SKILL.md\n\n---\nname: dlazy-detect\nversion: 1.0.5\ndescription: \"Detect whether an image, video, or audio file is AI-generated — including visual deepfakes and the likely generator model (Midjourney, Stable Diffusion, Sora, etc.). Returns confidence scores you can threshold. 检测图片、视频或音频是否由 AI 生成：包含人脸 deepfake 识别与疑似生成模型归因，返回可用于判定的置信度分数。\"\nmetadata:\n  {\n    'clawdbot':\n      {\n        'emoji': '🔍',\n        'requires': { 'bins': ['npm', 'npx'] },\n        'install': 'npm install -g @dlazy/cli@1.2.3',\n        'installAlternative': 'npx @dlazy/cli@1.2.3',\n        'homepage': 'https://github.com/dlazy-ai/cli',\n        'source': 'https://github.com/dlazy-ai/cli',\n        'author': 'dlazyai',\n        'license': 'see-repo',\n        'npm': 'https://www.npmjs.com/package/@dlazy/cli',\n        'configLocation': '~/.dlazy/config.json',\n        'apiEndpoints': ['api.dlazy.com', 'files.dlazy.com'],\n      },\n    'openclaw': { 'systemPrompt': 'When invoking this skill, use dlazy detect -h for help.' },\n  }\n---\n\n# AI 内容检测 AI Detect\n\n[English](./SKILL.md) · [中文](./SKILL-cn.md)\n\nDetect whether an image, video, or audio file is AI-generated — including visual deepfakes and the likely generator model (Midjourney, Stable Diffusion, Sora, etc.). Returns confidence scores you can threshold.\n\n## Trigger Keywords\n\n- detect\n- ai-detect\n- ai-generated\n- deepfake\n- is this AI\n\n## What It Detects\n\n- **Image / Video**: whether the visual is AI-generated (`ai_generated` score), whether it contains a **deepfake** (face swap), and the **likely generator** (Midjourney, Stable Diffusion, DALL·E, etc.).\n- **Audio** (audio-only files, or the audio track of a video): whether the audio is AI-generated (`ai_generated_audio` score).\n- **Text is NOT supported** by this model — image, video, and audio only.\n\n> Recommended decision threshold: treat as AI-generated when the score is **≥ 0.9**. The skill already applies this to the `is_ai_generated` / `is_deepfake` booleans.\n>\n> Note: the underlying provider (Hive V3 Playground) has a default rate limit of **100 requests/day**.\n\n## Authentication\n\nAll requests require a dLazy API key. The recommended way to authenticate is:\n\n```bash\ndlazy login\n```\n\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.\n\n### Alternative: Set the Key Manually\n\n```bash\ndlazy auth set YOUR_API_KEY\n```\n\nThe CLI saves the key in your user config directory (`~/.dlazy/config.json` on macOS/Linux, `%USERPROFILE%\\.dlazy\\config.json` on Windows). You can also supply the key per-invocation via the `DLAZY_API_KEY` environment variable.\n\n### Getting Your API Key Manually\n\n1. Sign in or create an account at [dlazy.com](https://dlazy.com)\n2. Go to [dlazy.com/dashboard/organization/api-key](https://dlazy.com/dashboard/organization/api-key)\n3. Copy the key shown in the API Key section\n\n## How It Works\n\nThis skill is a thin client over the dLazy hosted API. When you invoke it:\n\n- **Each `--image_url` / `--video_url` / `--audio_url` accepts EITHER a local file path OR a public URL — the CLI detects which automatically.** No need to upload first or convert anything; just pass whatever you have.\n  - **Local file** (e.g. `./photo.jpg`, `C:\\clip.mp4`): the CLI uploads it to dLazy's media storage (`files.dlazy.com`) and forwards the resulting URL.\n  - **Public URL** (e.g. `https://example.com/a.png`): passed through as-is. The URL must be publicly reachable — links behind login/auth or on a private network can't be fetched by the detection service.\n- The media is analyzed and a structured verdict (AI-generated confidence, deepfake confidence, likely generator) is returned.\n\n## Usage\n\n**CRITICAL INSTRUCTION FOR AGENT**:\nRun `dlazy detect` with exactly ONE of `--image_url`, `--video_url`, or `--audio_url`.\n\n```bash\ndlazy detect -h\n\nOptions:\n  --image_url [image_url]              Image to check (local path or public URL)\n  --video_url [video_url]              Video to check (local path or public URL)\n  --audio_url [audio_url]              Audio to check (local path or public URL)\n  --dry-run                            Print payload + cost estimate without calling API\n  --no-wait                            Return generateId immediately for async tasks\n  --timeout <seconds>                  Max seconds to wait for async completion (default: \"1800\")\n  -h, --help                           display help for command\n```\n\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.\n\n## Output Format\n\n```json\n{\n  \"ok\": true,\n  \"result\": {\n    \"tool\": \"detect\",\n    \"modelId\": \"detect\",\n    \"outputs\": [\n      {\n        \"type\": \"json\",\n        \"id\": \"o_xxxxxxxx\",\n        \"value\": {\n          \"media_type\": \"image\",\n          \"is_ai_generated\": true,\n          \"ai_generated_score\": 0.98,\n          \"not_ai_generated_score\": 0.02,\n          \"is_deepfake\": false,\n          \"deepfake_score\": 0.03,\n          \"top_generator\": \"midjourney\",\n          \"top_generator_score\": 0.91,\n          \"ai_generated_audio_score\": 0.0,\n          \"frames_analyzed\": 1\n        }\n      }\n    ]\n  }\n}\n```\n\nA human-readable summary is also returned in the task's `texts`, e.g. `疑似 AI 生成（AI 置信度 98%，疑似 midjourney）；未检出 deepfake`.\n\n> Async tasks (when `--no-wait` is passed) return `outputs: []` and a `task: { generateId, status }` field instead. Use `dlazy status <generateId> --wait` to poll.\n\n## Examples\n\n```bash\n# Check a local image\ndlazy detect --image_url ./photo.jpg\n\n# Check a video (AI-generation + deepfake)\ndlazy detect --video_url ./clip.mp4\n\n# Check an audio clip (AI voice)\ndlazy detect --audio_url ./voice.mp3\n\n# Check by public URL\ndlazy detect --image_url https://example.com/a.png\n```\n\n## Error Handling\n\n| Code | Error Type                         | Example Message                                                                                                          |\n| ---- | ---------------------------------- | ------------------------------------------------------------------------------------------------------------------------ |\n| 401  | Unauthorized (No API Key)          | `ok: false, code: \"unauthorized\", message: \"API key is missing or invalid\"`                                              |\n| 501  | Missing required parameter         | `Provide one of image_url, video_url, or audio_url`                                                                      |\n| 502  | Local file read error              | `Error: Image file/Video file not found: C:\\path\\to\\your\\file`                                                           |\n| 503  | API request failed (no balance)    | `ok: false, code: \"insufficient_balance\"`                                                                                |\n| 503  | API request failed (rate limited)  | `HTTP status code error (429 too many requests)` — Hive V3 allows 100 requests/day                                       |\n| 504  | Asynchronous task execution failed | `=== Generation Failed ===` / `{Specific error reason returned by backend}`                                              |\n\n> **AGENT CRITICAL INSTRUCTION**:\n>\n> 1. If the result returns `code: \"insufficient_balance\"`, you MUST tell the user 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)\n> 2. If the result returns `code: \"unauthorized\"` or indicates a missing API key, you MUST tell 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 with `dlazy auth set <key>`, then resume the task.\n\n## Tips\n\nVisit https://dlazy.com for more information.\n\nFile v1.0.23:_meta.json\n\n{\n  \"ownerId\": \"kn7c5wgeajfcfvdfb5ceemvdb984cjpd\",\n  \"slug\": \"dlazy-detect\",\n  \"version\": \"1.0.23\",\n  \"publishedAt\": 1790916504791\n}\n\nFile v1.0.23:skill-card.md\n\n## Description:\n\nHelps detect AI-generated images, video, and audio, including visual deepfakes and likely generator models, with confidence scores.\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 and other users can check images, video, or audio for signs of AI generation and review confidence scores, deepfake indicators, and likely generator attribution.\n\n### Deployment Geography for Use:\n\nGlobal\n\n## Known Risks and Mitigations:\n\nRisk: Local media submitted for analysis may be uploaded to dLazy storage and processed by its hosted service.\n\nMitigation: Use public URLs or non-sensitive test media when privacy matters, and confirm permission before submitting sensitive media.\n\nRisk: The CLI can save an API key in a local configuration file.\n\nMitigation: Use DLAZY_API_KEY for per-session authentication if you do not want a saved key.\n\n## Reference(s):\n\n- [ClawHub skill listing](https://clawhub.ai/dlazyai/skills/dlazy-detect)\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\n## Skill Output:\n\n**Output Type(s):** [Text, Markdown, Shell commands, Guidance]\n\n**Output Format:** [Markdown with detection summaries and inline commands]\n\n**Output Parameters:** [1D]\n\n**Other Properties Related to Output:** [May report AI-generation and deepfake confidence scores and a likely generator; text detection is not supported.]\n\n## Skill Version(s):\n\n1.0.23 (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.0.23:SKILL-cn.md\n\n---\nname: dlazy-detect\nversion: 1.0.5\ndescription: \"检测图片、视频或音频是否由 AI 生成：包含人脸 deepfake 识别与疑似生成模型归因（Midjourney、Stable Diffusion、Sora 等），返回可用于判定的置信度分数。\"\nmetadata:\n  {\n    'clawdbot':\n      {\n        'emoji': '🔍',\n        'requires': { 'bins': ['npm', 'npx'] },\n        'install': 'npm install -g @dlazy/cli@1.2.3',\n        'installAlternative': 'npx @dlazy/cli@1.2.3',\n        'homepage': 'https://github.com/dlazy-ai/cli',\n        'source': 'https://github.com/dlazy-ai/cli',\n        'author': 'dlazyai',\n        'license': 'see-repo',\n        'npm': 'https://www.npmjs.com/package/@dlazy/cli',\n        'configLocation': '~/.dlazy/config.json',\n        'apiEndpoints': ['api.dlazy.com', 'files.dlazy.com'],\n      },\n    'openclaw': { 'systemPrompt': '当调用此技能时，可以使用 dlazy detect -h 查看帮助信息。' },\n  }\n---\n\n# AI 内容检测 AI Detect\n\n[English](./SKILL.md) · [中文](./SKILL-cn.md)\n\n检测图片、视频或音频是否由 AI 生成：包含人脸 deepfake 识别与疑似生成模型归因（Midjourney、Stable Diffusion、Sora 等），返回可用于判定的置信度分数。\n\n## 触发关键词\n\n- detect\n- ai-detect\n- ai-generated\n- deepfake\n- AI 检测\n- 是不是 AI 生成\n\n## 能检测什么\n\n- **图片 / 视频**：是否 AI 生成（`ai_generated` 分数）、是否含 **deepfake**（换脸）、以及**疑似生成模型**（Midjourney、Stable Diffusion、DALL·E 等）。\n- **音频**（纯音频文件，或视频里的音轨）：音频是否 AI 生成（`ai_generated_audio` 分数）。\n- **不支持文字**——本模型仅支持图片、视频、音频。\n\n> 推荐判定阈值：分数 **≥ 0.9** 视为 AI 生成。技能已按此阈值给出 `is_ai_generated` / `is_deepfake` 布尔结果。\n>\n> 注意：底层服务商（Hive V3 Playground）默认限速 **100 次/天**。\n\n## 身份验证 (Authentication)\n\n所有请求都需要 dLazy API key。**推荐使用** `dlazy login` 完成登录：\n\n```bash\ndlazy login\n```\n\n该命令使用设备码流程（远程终端也可用），登录成功后 **自动把 API key 写入本地 CLI 配置**，无需手动复制粘贴。\n\n### 备选：手动设置 API Key\n\n```bash\ndlazy auth set YOUR_API_KEY\n```\n\nCLI 会把 key 保存在你的用户配置目录（macOS/Linux 上为 `~/.dlazy/config.json`，Windows 上为 `%USERPROFILE%\\.dlazy\\config.json`）。你也可以用 `DLAZY_API_KEY` 环境变量按次传入。\n\n### 手动获取 API Key\n\n1. 登录或在 [dlazy.com](https://dlazy.com) 创建账号\n2. 访问 [dlazy.com/dashboard/organization/api-key](https://dlazy.com/dashboard/organization/api-key)\n3. 复制 API Key 区域显示的密钥\n\n## 工作原理\n\n此技能是 dLazy 托管 API 的轻量封装。调用时：\n\n- **`--image_url` / `--video_url` / `--audio_url` 既可以传本地文件路径，也可以传公开链接（URL）—— CLI 会自动判断是哪种。** 不用先上传、也不用做任何转换，有什么直接传就行。\n  - **本地文件**（如 `./photo.jpg`、`C:\\clip.mp4`）：CLI 会自动上传到 dLazy 媒体存储（`files.dlazy.com`），再把得到的 URL 传给后端。\n  - **公开链接**（如 `https://example.com/a.png`）：原样透传。注意该链接必须**公开可访问**——需要登录/鉴权或在内网的链接，检测服务抓取不到。\n- 媒体会被分析，返回结构化判定结果（AI 生成置信度、deepfake 置信度、疑似生成模型）。\n\n## 使用方法\n\n**CRITICAL INSTRUCTION FOR AGENT**:\n执行 `dlazy detect`，并且只传 `--image_url`、`--video_url`、`--audio_url` 三者之一。\n\n```bash\ndlazy detect -h\n\nOptions:\n  --image_url [image_url]              待检测的图片（本地路径或公开 URL）\n  --video_url [video_url]              待检测的视频（本地路径或公开 URL）\n  --audio_url [audio_url]              待检测的音频（本地路径或公开 URL）\n  --dry-run                            Print payload + cost estimate without calling API\n  --no-wait                            Return generateId immediately for async tasks\n  --timeout <seconds>                  Max seconds to wait for async completion (default: \"1800\")\n  -h, --help                           display help for command\n```\n\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.\n\n## 输出格式\n\n```json\n{\n  \"ok\": true,\n  \"result\": {\n    \"tool\": \"detect\",\n    \"modelId\": \"detect\",\n    \"outputs\": [\n      {\n        \"type\": \"json\",\n        \"id\": \"o_xxxxxxxx\",\n        \"value\": {\n          \"media_type\": \"image\",\n          \"is_ai_generated\": true,\n          \"ai_generated_score\": 0.98,\n          \"not_ai_generated_score\": 0.02,\n          \"is_deepfake\": false,\n          \"deepfake_score\": 0.03,\n          \"top_generator\": \"midjourney\",\n          \"top_generator_score\": 0.91,\n          \"ai_generated_audio_score\": 0.0,\n          \"frames_analyzed\": 1\n        }\n      }\n    ]\n  }\n}\n```\n\n任务的 `texts` 里还会返回一句人类可读的结论，例如 `疑似 AI 生成（AI 置信度 98%，疑似 midjourney）；未检出 deepfake`。\n\n> Async tasks (when `--no-wait` is passed) return `outputs: []` and a `task: { generateId, status }` field instead. Use `dlazy status <generateId> --wait` to poll.\n\n## 命令示例\n\n```bash\n# 检测本地图片\ndlazy detect --image_url ./photo.jpg\n\n# 检测视频（AI 生成 + deepfake）\ndlazy detect --video_url ./clip.mp4\n\n# 检测音频（AI 声音）\ndlazy detect --audio_url ./voice.mp3\n\n# 用公开 URL 检测\ndlazy detect --image_url https://example.com/a.png\n```\n\n## 错误处理\n\n| Code | 错误类型                   | 示例信息                                                                                       |\n| ---- | -------------------------- | ---------------------------------------------------------------------------------------------- |\n| 401  | 未授权 (API Key缺失或无效) | `ok: false, code: \"unauthorized\", message: \"API key is missing or invalid\"`                    |\n| 501  | 缺少必填参数               | `Provide one of image_url, video_url, or audio_url`                                             |\n| 502  | 本地文件读取失败           | `Error: Image file/Video file not found: C:\\path\\to\\your\\file`                                 |\n| 503  | API 请求失败（余额不足）   | `ok: false, code: \"insufficient_balance\"`                                                      |\n| 503  | API 请求失败（触发限速）   | `HTTP status code error (429 too many requests)` —— Hive V3 每天限 100 次                       |\n| 504  | 异步任务执行失败           | `=== Generation Failed ===` / `{后端返回的具体失败原因}`                                        |\n\n> **智能体关键指令**:\n>\n> 1. 如果执行结果返回 `code: \"insufficient_balance\"` 且提示余额不足，您必须明确告知用户当前积分不足，并引导用户前往充值：[https://dlazy.com/dashboard/organization/settings?tab=credits](https://dlazy.com/dashboard/organization/settings?tab=credits)\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>` 保存，然后继续执行任务。\n\n## Tips\n\nVisit https://dlazy.com for more information.\n\nArchive v1.0.22: 4 files, 8444 bytes\n\nFiles: skill-card.md (1764b), SKILL-cn.md (7668b), SKILL.md (8061b), _meta.json (132b)\n\nFile v1.0.22:SKILL.md\n\n---\nname: dlazy-detect\nversion: 1.0.5\ndescription: \"Detect whether an image, video, or audio file is AI-generated — including visual deepfakes and the likely generator model (Midjourney, Stable Diffusion, Sora, etc.). Returns confidence scores you can threshold. 检测图片、视频或音频是否由 AI 生成：包含人脸 deepfake 识别与疑似生成模型归因，返回可用于判定的置信度分数。\"\nmetadata:\n  {\n    'clawdbot':\n      {\n        'emoji': '🔍',\n        'requires': { 'bins': ['npm', 'npx'] },\n        'install': 'npm install -g @dlazy/cli@1.2.3',\n        'installAlternative': 'npx @dlazy/cli@1.2.3',\n        'homepage': 'https://github.com/dlazy-ai/cli',\n        'source': 'https://github.com/dlazy-ai/cli',\n        'author': 'dlazyai',\n        'license': 'see-repo',\n        'npm': 'https://www.npmjs.com/package/@dlazy/cli',\n        'configLocation': '~/.dlazy/config.json',\n        'apiEndpoints': ['api.dlazy.com', 'files.dlazy.com'],\n      },\n    'openclaw': { 'systemPrompt': 'When invoking this skill, use dlazy detect -h for help.' },\n  }\n---\n\n# AI 内容检测 AI Detect\n\n[English](./SKILL.md) · [中文](./SKILL-cn.md)\n\nDetect whether an image, video, or audio file is AI-generated — including visual deepfakes and the likely generator model (Midjourney, Stable Diffusion, Sora, etc.). Returns confidence scores you can threshold.\n\n## Trigger Keywords\n\n- detect\n- ai-detect\n- ai-generated\n- deepfake\n- is this AI\n\n## What It Detects\n\n- **Image / Video**: whether the visual is AI-generated (`ai_generated` score), whether it contains a **deepfake** (face swap), and the **likely generator** (Midjourney, Stable Diffusion, DALL·E, etc.).\n- **Audio** (audio-only files, or the audio track of a video): whether the audio is AI-generated (`ai_generated_audio` score).\n- **Text is NOT supported** by this model — image, video, and audio only.\n\n> Recommended decision threshold: treat as AI-generated when the score is **≥ 0.9**. The skill already applies this to the `is_ai_generated` / `is_deepfake` booleans.\n>\n> Note: the underlying provider (Hive V3 Playground) has a default rate limit of **100 requests/day**.\n\n## Authentication\n\nAll requests require a dLazy API key. The recommended way to authenticate is:\n\n```bash\ndlazy login\n```\n\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.\n\n### Alternative: Set the Key Manually\n\n```bash\ndlazy auth set YOUR_API_KEY\n```\n\nThe CLI saves the key in your user config directory (`~/.dlazy/config.json` on macOS/Linux, `%USERPROFILE%\\.dlazy\\config.json` on Windows). You can also supply the key per-invocation via the `DLAZY_API_KEY` environment variable.\n\n### Getting Your API Key Manually\n\n1. Sign in or create an account at [dlazy.com](https://dlazy.com)\n2. Go to [dlazy.com/dashboard/organization/api-key](https://dlazy.com/dashboard/organization/api-key)\n3. Copy the key shown in the API Key section\n\n## How It Works\n\nThis skill is a thin client over the dLazy hosted API. When you invoke it:\n\n- **Each `--image_url` / `--video_url` / `--audio_url` accepts EITHER a local file path OR a public URL — the CLI detects which automatically.** No need to upload first or convert anything; just pass whatever you have.\n  - **Local file** (e.g. `./photo.jpg`, `C:\\clip.mp4`): the CLI uploads it to dLazy's media storage (`files.dlazy.com`) and forwards the resulting URL.\n  - **Public URL** (e.g. `https://example.com/a.png`): passed through as-is. The URL must be publicly reachable — links behind login/auth or on a private network can't be fetched by the detection service.\n- The media is analyzed and a structured verdict (AI-generated confidence, deepfake confidence, likely generator) is returned.\n\n## Usage\n\n**CRITICAL INSTRUCTION FOR AGENT**:\nRun `dlazy detect` with exactly ONE of `--image_url`, `--video_url`, or `--audio_url`.\n\n```bash\ndlazy detect -h\n\nOptions:\n  --image_url [image_url]              Image to check (local path or public URL)\n  --video_url [video_url]              Video to check (local path or public URL)\n  --audio_url [audio_url]              Audio to check (local path or public URL)\n  --dry-run                            Print payload + cost estimate without calling API\n  --no-wait                            Return generateId immediately for async tasks\n  --timeout <seconds>                  Max seconds to wait for async completion (default: \"1800\")\n  -h, --help                           display help for command\n```\n\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.\n\n## Output Format\n\n```json\n{\n  \"ok\": true,\n  \"result\": {\n    \"tool\": \"detect\",\n    \"modelId\": \"detect\",\n    \"outputs\": [\n      {\n        \"type\": \"json\",\n        \"id\": \"o_xxxxxxxx\",\n        \"value\": {\n          \"media_type\": \"image\",\n          \"is_ai_generated\": true,\n          \"ai_generated_score\": 0.98,\n          \"not_ai_generated_score\": 0.02,\n          \"is_deepfake\": false,\n          \"deepfake_score\": 0.03,\n          \"top_generator\": \"midjourney\",\n          \"top_generator_score\": 0.91,\n          \"ai_generated_audio_score\": 0.0,\n          \"frames_analyzed\": 1\n        }\n      }\n    ]\n  }\n}\n```\n\nA human-readable summary is also returned in the task's `texts`, e.g. `疑似 AI 生成（AI 置信度 98%，疑似 midjourney）；未检出 deepfake`.\n\n> Async tasks (when `--no-wait` is passed) return `outputs: []` and a `task: { generateId, status }` field instead. Use `dlazy status <generateId> --wait` to poll.\n\n## Examples\n\n```bash\n# Check a local image\ndlazy detect --image_url ./photo.jpg\n\n# Check a video (AI-generation + deepfake)\ndlazy detect --video_url ./clip.mp4\n\n# Check an audio clip (AI voice)\ndlazy detect --audio_url ./voice.mp3\n\n# Check by public URL\ndlazy detect --image_url https://example.com/a.png\n```\n\n## Error Handling\n\n| Code | Error Type                         | Example Message                                                                                                          |\n| ---- | ---------------------------------- | ------------------------------------------------------------------------------------------------------------------------ |\n| 401  | Unauthorized (No API Key)          | `ok: false, code: \"unauthorized\", message: \"API key is missing or invalid\"`                                              |\n| 501  | Missing required parameter         | `Provide one of image_url, video_url, or audio_url`                                                                      |\n| 502  | Local file read error              | `Error: Image file/Video file not found: C:\\path\\to\\your\\file`                                                           |\n| 503  | API request failed (no balance)    | `ok: false, code: \"insufficient_balance\"`                                                                                |\n| 503  | API request failed (rate limited)  | `HTTP status code error (429 too many requests)` — Hive V3 allows 100 requests/day                                       |\n| 504  | Asynchronous task execution failed | `=== Generation Failed ===` / `{Specific error reason returned by backend}`                                              |\n\n> **AGENT CRITICAL INSTRUCTION**:\n>\n> 1. If the result returns `code: \"insufficient_balance\"`, you MUST tell the user 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)\n> 2. If the result returns `code: \"unauthorized\"` or indicates a missing API key, you MUST tell 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 with `dlazy auth set <key>`, then resume the task.\n\n## Tips\n\nVisit https://dlazy.com for more information.\n\nFile v1.0.22:_meta.json\n\n{\n  \"ownerId\": \"kn7c5wgeajfcfvdfb5ceemvdb984cjpd\",\n  \"slug\": \"dlazy-detect\",\n  \"version\": \"1.0.22\",\n  \"publishedAt\": 1790730188421\n}\n\nFile v1.0.22:skill-card.md\n\n## Description:\n\nDetects signs of AI generation in images, videos, and audio, including visual deepfakes and likely generator models, with confidence scores.\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\nUsers and developers can check images, videos, or audio for signs of AI generation and review confidence scores, potential deepfakes, and likely generator models.\n\n### Deployment Geography for Use:\n\nGlobal\n\n## Known Risks and Mitigations:\n\nRisk: Local images, videos, or audio submitted for detection are uploaded to dLazy infrastructure.\n\nMitigation: Submit private, biometric, confidential, or regulated media only when third-party processing is acceptable.\n\nRisk: Authentication saves a dLazy API key locally.\n\nMitigation: Protect access to the local credentials and avoid sharing the saved key.\n\n## Reference(s):\n\n- [ClawHub skill listing](https://clawhub.ai/dlazyai/skills/dlazy-detect)\n- [dLazy CLI documentation and 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):** [Analysis, Text]\n\n**Output Format:** [JSON with a human-readable summary]\n\n**Output Parameters:** [1D]\n\n**Other Properties Related to Output:** [Includes AI-generation and deepfake confidence scores and a likely generator when available.]\n\n## Skill Version(s):\n\n1.0.22 (source: ClawHub 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.0.22:SKILL-cn.md\n\n---\nname: dlazy-detect\nversion: 1.0.5\ndescription: \"检测图片、视频或音频是否由 AI 生成：包含人脸 deepfake 识别与疑似生成模型归因（Midjourney、Stable Diffusion、Sora 等），返回可用于判定的置信度分数。\"\nmetadata:\n  {\n    'clawdbot':\n      {\n        'emoji': '🔍',\n        'requires': { 'bins': ['npm', 'npx'] },\n        'install': 'npm install -g @dlazy/cli@1.2.3',\n        'installAlternative': 'npx @dlazy/cli@1.2.3',\n        'homepage': 'https://github.com/dlazy-ai/cli',\n        'source': 'https://github.com/dlazy-ai/cli',\n        'author': 'dlazyai',\n        'license': 'see-repo',\n        'npm': 'https://www.npmjs.com/package/@dlazy/cli',\n        'configLocation': '~/.dlazy/config.json',\n        'apiEndpoints': ['api.dlazy.com', 'files.dlazy.com'],\n      },\n    'openclaw': { 'systemPrompt': '当调用此技能时，可以使用 dlazy detect -h 查看帮助信息。' },\n  }\n---\n\n# AI 内容检测 AI Detect\n\n[English](./SKILL.md) · [中文](./SKILL-cn.md)\n\n检测图片、视频或音频是否由 AI 生成：包含人脸 deepfake 识别与疑似生成模型归因（Midjourney、Stable Diffusion、Sora 等），返回可用于判定的置信度分数。\n\n## 触发关键词\n\n- detect\n- ai-detect\n- ai-generated\n- deepfake\n- AI 检测\n- 是不是 AI 生成\n\n## 能检测什么\n\n- **图片 / 视频**：是否 AI 生成（`ai_generated` 分数）、是否含 **deepfake**（换脸）、以及**疑似生成模型**（Midjourney、Stable Diffusion、DALL·E 等）。\n- **音频**（纯音频文件，或视频里的音轨）：音频是否 AI 生成（`ai_generated_audio` 分数）。\n- **不支持文字**——本模型仅支持图片、视频、音频。\n\n> 推荐判定阈值：分数 **≥ 0.9** 视为 AI 生成。技能已按此阈值给出 `is_ai_generated` / `is_deepfake` 布尔结果。\n>\n> 注意：底层服务商（Hive V3 Playground）默认限速 **100 次/天**。\n\n## 身份验证 (Authentication)\n\n所有请求都需要 dLazy API key。**推荐使用** `dlazy login` 完成登录：\n\n```bash\ndlazy login\n```\n\n该命令使用设备码流程（远程终端也可用），登录成功后 **自动把 API key 写入本地 CLI 配置**，无需手动复制粘贴。\n\n### 备选：手动设置 API Key\n\n```bash\ndlazy auth set YOUR_API_KEY\n```\n\nCLI 会把 key 保存在你的用户配置目录（macOS/Linux 上为 `~/.dlazy/config.json`，Windows 上为 `%USERPROFILE%\\.dlazy\\config.json`）。你也可以用 `DLAZY_API_KEY` 环境变量按次传入。\n\n### 手动获取 API Key\n\n1. 登录或在 [dlazy.com](https://dlazy.com) 创建账号\n2. 访问 [dlazy.com/dashboard/organization/api-key](https://dlazy.com/dashboard/organization/api-key)\n3. 复制 API Key 区域显示的密钥\n\n## 工作原理\n\n此技能是 dLazy 托管 API 的轻量封装。调用时：\n\n- **`--image_url` / `--video_url` / `--audio_url` 既可以传本地文件路径，也可以传公开链接（URL）—— CLI 会自动判断是哪种。** 不用先上传、也不用做任何转换，有什么直接传就行。\n  - **本地文件**（如 `./photo.jpg`、`C:\\clip.mp4`）：CLI 会自动上传到 dLazy 媒体存储（`files.dlazy.com`），再把得到的 URL 传给后端。\n  - **公开链接**（如 `https://example.com/a.png`）：原样透传。注意该链接必须**公开可访问**——需要登录/鉴权或在内网的链接，检测服务抓取不到。\n- 媒体会被分析，返回结构化判定结果（AI 生成置信度、deepfake 置信度、疑似生成模型）。\n\n## 使用方法\n\n**CRITICAL INSTRUCTION FOR AGENT**:\n执行 `dlazy detect`，并且只传 `--image_url`、`--video_url`、`--audio_url` 三者之一。\n\n```bash\ndlazy detect -h\n\nOptions:\n  --image_url [image_url]              待检测的图片（本地路径或公开 URL）\n  --video_url [video_url]              待检测的视频（本地路径或公开 URL）\n  --audio_url [audio_url]              待检测的音频（本地路径或公开 URL）\n  --dry-run                            Print payload + cost estimate without calling API\n  --no-wait                            Return generateId immediately for async tasks\n  --timeout <seconds>                  Max seconds to wait for async completion (default: \"1800\")\n  -h, --help                           display help for command\n```\n\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.\n\n## 输出格式\n\n```json\n{\n  \"ok\": true,\n  \"result\": {\n    \"tool\": \"detect\",\n    \"modelId\": \"detect\",\n    \"outputs\": [\n      {\n        \"type\": \"json\",\n        \"id\": \"o_xxxxxxxx\",\n        \"value\": {\n          \"media_type\": \"image\",\n          \"is_ai_generated\": true,\n          \"ai_generated_score\": 0.98,\n          \"not_ai_generated_score\": 0.02,\n          \"is_deepfake\": false,\n          \"deepfake_score\": 0.03,\n          \"top_generator\": \"midjourney\",\n          \"top_generator_score\": 0.91,\n          \"ai_generated_audio_score\": 0.0,\n          \"frames_analyzed\": 1\n        }\n      }\n    ]\n  }\n}\n```\n\n任务的 `texts` 里还会返回一句人类可读的结论，例如 `疑似 AI 生成（AI 置信度 98%，疑似 midjourney）；未检出 deepfake`。\n\n> Async tasks (when `--no-wait` is passed) return `outputs: []` and a `task: { generateId, status }` field instead. Use `dlazy status <generateId> --wait` to poll.\n\n## 命令示例\n\n```bash\n# 检测本地图片\ndlazy detect --image_url ./photo.jpg\n\n# 检测视频（AI 生成 + deepfake）\ndlazy detect --video_url ./clip.mp4\n\n# 检测音频（AI 声音）\ndlazy detect --audio_url ./voice.mp3\n\n# 用公开 URL 检测\ndlazy detect --image_url https://example.com/a.png\n```\n\n## 错误处理\n\n| Code | 错误类型                   | 示例信息                                                                                       |\n| ---- | -------------------------- | ---------------------------------------------------------------------------------------------- |\n| 401  | 未授权 (API Key缺失或无效) | `ok: false, code: \"unauthorized\", message: \"API key is missing or invalid\"`                    |\n| 501  | 缺少必填参数               | `Provide one of image_url, video_url, or audio_url`                                             |\n| 502  | 本地文件读取失败           | `Error: Image file/Video file not found: C:\\path\\to\\your\\file`                                 |\n| 503  | API 请求失败（余额不足）   | `ok: false, code: \"insufficient_balance\"`                                                      |\n| 503  | API 请求失败（触发限速）   | `HTTP status code error (429 too many requests)` —— Hive V3 每天限 100 次                       |\n| 504  | 异步任务执行失败           | `=== Generation Failed ===` / `{后端返回的具体失败原因}`                                        |\n\n> **智能体关键指令**:\n>\n> 1. 如果执行结果返回 `code: \"insufficient_balance\"` 且提示余额不足，您必须明确告知用户当前积分不足，并引导用户前往充值：[https://dlazy.com/dashboard/organization/settings?tab=credits](https://dlazy.com/dashboard/organization/settings?tab=credits)\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>` 保存，然后继续执行任务。\n\n## Tips\n\nVisit https://dlazy.com for more information.\n\nArchive v1.0.21: 4 files, 8445 bytes\n\nFiles: skill-card.md (1703b), SKILL-cn.md (7668b), SKILL.md (8061b), _meta.json (132b)\n\nFile v1.0.21:SKILL.md\n\n---\nname: dlazy-detect\nversion: 1.0.5\ndescription: \"Detect whether an image, video, or audio file is AI-generated — including visual deepfakes and the likely generator model (Midjourney, Stable Diffusion, Sora, etc.). Returns confidence scores you can threshold. 检测图片、视频或音频是否由 AI 生成：包含人脸 deepfake 识别与疑似生成模型归因，返回可用于判定的置信度分数。\"\nmetadata:\n  {\n    'clawdbot':\n      {\n        'emoji': '🔍',\n        'requires': { 'bins': ['npm', 'npx'] },\n        'install': 'npm install -g @dlazy/cli@1.2.3',\n        'installAlternative': 'npx @dlazy/cli@1.2.3',\n        'homepage': 'https://github.com/dlazy-ai/cli',\n        'source': 'https://github.com/dlazy-ai/cli',\n        'author': 'dlazyai',\n        'license': 'see-repo',\n        'npm': 'https://www.npmjs.com/package/@dlazy/cli',\n        'configLocation': '~/.dlazy/config.json',\n        'apiEndpoints': ['api.dlazy.com', 'files.dlazy.com'],\n      },\n    'openclaw': { 'systemPrompt': 'When invoking this skill, use dlazy detect -h for help.' },\n  }\n---\n\n# AI 内容检测 AI Detect\n\n[English](./SKILL.md) · [中文](./SKILL-cn.md)\n\nDetect whether an image, video, or audio file is AI-generated — including visual deepfakes and the likely generator model (Midjourney, Stable Diffusion, Sora, etc.). Returns confidence scores you can threshold.\n\n## Trigger Keywords\n\n- detect\n- ai-detect\n- ai-generated\n- deepfake\n- is this AI\n\n## What It Detects\n\n- **Image / Video**: whether the visual is AI-generated (`ai_generated` score), whether it contains a **deepfake** (face swap), and the **likely generator** (Midjourney, Stable Diffusion, DALL·E, etc.).\n- **Audio** (audio-only files, or the audio track of a video): whether the audio is AI-generated (`ai_generated_audio` score).\n- **Text is NOT supported** by this model — image, video, and audio only.\n\n> Recommended decision threshold: treat as AI-generated when the score is **≥ 0.9**. The skill already applies this to the `is_ai_generated` / `is_deepfake` booleans.\n>\n> Note: the underlying provider (Hive V3 Playground) has a default rate limit of **100 requests/day**.\n\n## Authentication\n\nAll requests require a dLazy API key. The recommended way to authenticate is:\n\n```bash\ndlazy login\n```\n\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.\n\n### Alternative: Set the Key Manually\n\n```bash\ndlazy auth set YOUR_API_KEY\n```\n\nThe CLI saves the key in your user config directory (`~/.dlazy/config.json` on macOS/Linux, `%USERPROFILE%\\.dlazy\\config.json` on Windows). You can also supply the key per-invocation via the `DLAZY_API_KEY` environment variable.\n\n### Getting Your API Key Manually\n\n1. Sign in or create an account at [dlazy.com](https://dlazy.com)\n2. Go to [dlazy.com/dashboard/organization/api-key](https://dlazy.com/dashboard/organization/api-key)\n3. Copy the key shown in the API Key section\n\n## How It Works\n\nThis skill is a thin client over the dLazy hosted API. When you invoke it:\n\n- **Each `--image_url` / `--video_url` / `--audio_url` accepts EITHER a local file path OR a public URL — the CLI detects which automatically.** No need to upload first or convert anything; just pass whatever you have.\n  - **Local file** (e.g. `./photo.jpg`, `C:\\clip.mp4`): the CLI uploads it to dLazy's media storage (`files.dlazy.com`) and forwards the resulting URL.\n  - **Public URL** (e.g. `https://example.com/a.png`): passed through as-is. The URL must be publicly reachable — links behind login/auth or on a private network can't be fetched by the detection service.\n- The media is analyzed and a structured verdict (AI-generated confidence, deepfake confidence, likely generator) is returned.\n\n## Usage\n\n**CRITICAL INSTRUCTION FOR AGENT**:\nRun `dlazy detect` with exactly ONE of `--image_url`, `--video_url`, or `--audio_url`.\n\n```bash\ndlazy detect -h\n\nOptions:\n  --image_url [image_url]              Image to check (local path or public URL)\n  --video_url [video_url]              Video to check (local path or public URL)\n  --audio_url [audio_url]              Audio to check (local path or public URL)\n  --dry-run                            Print payload + cost estimate without calling API\n  --no-wait                            Return generateId immediately for async tasks\n  --timeout <seconds>                  Max seconds to wait for async completion (default: \"1800\")\n  -h, --help                           display help for command\n```\n\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.\n\n## Output Format\n\n```json\n{\n  \"ok\": true,\n  \"result\": {\n    \"tool\": \"detect\",\n    \"modelId\": \"detect\",\n    \"outputs\": [\n      {\n        \"type\": \"json\",\n        \"id\": \"o_xxxxxxxx\",\n        \"value\": {\n          \"media_type\": \"image\",\n          \"is_ai_generated\": true,\n          \"ai_generated_score\": 0.98,\n          \"not_ai_generated_score\": 0.02,\n          \"is_deepfake\": false,\n          \"deepfake_score\": 0.03,\n          \"top_generator\": \"midjourney\",\n          \"top_generator_score\": 0.91,\n          \"ai_generated_audio_score\": 0.0,\n          \"frames_analyzed\": 1\n        }\n      }\n    ]\n  }\n}\n```\n\nA human-readable summary is also returned in the task's `texts`, e.g. `疑似 AI 生成（AI 置信度 98%，疑似 midjourney）；未检出 deepfake`.\n\n> Async tasks (when `--no-wait` is passed) return `outputs: []` and a `task: { generateId, status }` field instead. Use `dlazy status <generateId> --wait` to poll.\n\n## Examples\n\n```bash\n# Check a local image\ndlazy detect --image_url ./photo.jpg\n\n# Check a video (AI-generation + deepfake)\ndlazy detect --video_url ./clip.mp4\n\n# Check an audio clip (AI voice)\ndlazy detect --audio_url ./voice.mp3\n\n# Check by public URL\ndlazy detect --image_url https://example.com/a.png\n```\n\n## Error Handling\n\n| Code | Error Type                         | Example Message                                                                                                          |\n| ---- | ---------------------------------- | ------------------------------------------------------------------------------------------------------------------------ |\n| 401  | Unauthorized (No API Key)          | `ok: false, code: \"unauthorized\", message: \"API key is missing or invalid\"`                                              |\n| 501  | Missing required parameter         | `Provide one of image_url, video_url, or audio_url`                                                                      |\n| 502  | Local file read error              | `Error: Image file/Video file not found: C:\\path\\to\\your\\file`                                                           |\n| 503  | API request failed (no balance)    | `ok: false, code: \"insufficient_balance\"`                                                                                |\n| 503  | API request failed (rate limited)  | `HTTP status code error (429 too many requests)` — Hive V3 allows 100 requests/day                                       |\n| 504  | Asynchronous task execution failed | `=== Generation Failed ===` / `{Specific error reason returned by backend}`                                              |\n\n> **AGENT CRITICAL INSTRUCTION**:\n>\n> 1. If the result returns `code: \"insufficient_balance\"`, you MUST tell the user 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)\n> 2. If the result returns `code: \"unauthorized\"` or indicates a missing API key, you MUST tell 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 with `dlazy auth set <key>`, then resume the task.\n\n## Tips\n\nVisit https://dlazy.com for more information.\n\nFile v1.0.21:_meta.json\n\n{\n  \"ownerId\": \"kn7c5wgeajfcfvdfb5ceemvdb984cjpd\",\n  \"slug\": \"dlazy-detect\",\n  \"version\": \"1.0.21\",\n  \"publishedAt\": 1790560983818\n}\n\nFile v1.0.21:skill-card.md\n\n## Description:\n\nChecks images, videos, and audio for signs of AI generation, including visual deepfakes and likely generator models, and returns confidence scores.\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\nPeople reviewing images, videos, or audio use this skill to assess whether media may be AI-generated and to review deepfake or generator-model confidence scores when available.\n\n### Deployment Geography for Use:\n\nGlobal\n\n## Known Risks and Mitigations:\n\nRisk: Selected local images, videos, or audio may be uploaded to dLazy's hosted service without an explicit confirmation step.\n\nMitigation: Confirm the intended upload and review dLazy's data handling terms before using private, regulated, or confidential media.\n\n## Reference(s):\n\n- [ClawHub skill release](https://clawhub.ai/dlazyai/skills/dlazy-detect)\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\n## Skill Output:\n\n**Output Type(s):** [Analysis, Guidance]\n\n**Output Format:** [JSON results with a plain-language summary]\n\n**Output Parameters:** [1D]\n\n**Other Properties Related to Output:** [Includes confidence scores; asynchronous requests may initially return a task ID.]\n\n## Skill Version(s):\n\n1.0.21 (source: ClawHub 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.0.21:SKILL-cn.md\n\n---\nname: dlazy-detect\nversion: 1.0.5\ndescription: \"检测图片、视频或音频是否由 AI 生成：包含人脸 deepfake 识别与疑似生成模型归因（Midjourney、Stable Diffusion、Sora 等），返回可用于判定的置信度分数。\"\nmetadata:\n  {\n    'clawdbot':\n      {\n        'emoji': '🔍',\n        'requires': { 'bins': ['npm', 'npx'] },\n        'install': 'npm install -g @dlazy/cli@1.2.3',\n        'installAlternative': 'npx @dlazy/cli@1.2.3',\n        'homepage': 'https://github.com/dlazy-ai/cli',\n        'source': 'https://github.com/dlazy-ai/cli',\n        'author': 'dlazyai',\n        'license': 'see-repo',\n        'npm': 'https://www.npmjs.com/package/@dlazy/cli',\n        'configLocation': '~/.dlazy/config.json',\n        'apiEndpoints': ['api.dlazy.com', 'files.dlazy.com'],\n      },\n    'openclaw': { 'systemPrompt': '当调用此技能时，可以使用 dlazy detect -h 查看帮助信息。' },\n  }\n---\n\n# AI 内容检测 AI Detect\n\n[English](./SKILL.md) · [中文](./SKILL-cn.md)\n\n检测图片、视频或音频是否由 AI 生成：包含人脸 deepfake 识别与疑似生成模型归因（Midjourney、Stable Diffusion、Sora 等），返回可用于判定的置信度分数。\n\n## 触发关键词\n\n- detect\n- ai-detect\n- ai-generated\n- deepfake\n- AI 检测\n- 是不是 AI 生成\n\n## 能检测什么\n\n- **图片 / 视频**：是否 AI 生成（`ai_generated` 分数）、是否含 **deepfake**（换脸）、以及**疑似生成模型**（Midjourney、Stable Diffusion、DALL·E 等）。\n- **音频**（纯音频文件，或视频里的音轨）：音频是否 AI 生成（`ai_generated_audio` 分数）。\n- **不支持文字**——本模型仅支持图片、视频、音频。\n\n> 推荐判定阈值：分数 **≥ 0.9** 视为 AI 生成。技能已按此阈值给出 `is_ai_generated` / `is_deepfake` 布尔结果。\n>\n> 注意：底层服务商（Hive V3 Playground）默认限速 **100 次/天**。\n\n## 身份验证 (Authentication)\n\n所有请求都需要 dLazy API key。**推荐使用** `dlazy login` 完成登录：\n\n```bash\ndlazy login\n```\n\n该命令使用设备码流程（远程终端也可用），登录成功后 **自动把 API key 写入本地 CLI 配置**，无需手动复制粘贴。\n\n### 备选：手动设置 API Key\n\n```bash\ndlazy auth set YOUR_API_KEY\n```\n\nCLI 会把 key 保存在你的用户配置目录（macOS/Linux 上为 `~/.dlazy/config.json`，Windows 上为 `%USERPROFILE%\\.dlazy\\config.json`）。你也可以用 `DLAZY_API_KEY` 环境变量按次传入。\n\n### 手动获取 API Key\n\n1. 登录或在 [dlazy.com](https://dlazy.com) 创建账号\n2. 访问 [dlazy.com/dashboard/organization/api-key](https://dlazy.com/dashboard/organization/api-key)\n3. 复制 API Key 区域显示的密钥\n\n## 工作原理\n\n此技能是 dLazy 托管 API 的轻量封装。调用时：\n\n- **`--image_url` / `--video_url` / `--audio_url` 既可以传本地文件路径，也可以传公开链接（URL）—— CLI 会自动判断是哪种。** 不用先上传、也不用做任何转换，有什么直接传就行。\n  - **本地文件**（如 `./photo.jpg`、`C:\\clip.mp4`）：CLI 会自动上传到 dLazy 媒体存储（`files.dlazy.com`），再把得到的 URL 传给后端。\n  - **公开链接**（如 `https://example.com/a.png`）：原样透传。注意该链接必须**公开可访问**——需要登录/鉴权或在内网的链接，检测服务抓取不到。\n- 媒体会被分析，返回结构化判定结果（AI 生成置信度、deepfake 置信度、疑似生成模型）。\n\n## 使用方法\n\n**CRITICAL INSTRUCTION FOR AGENT**:\n执行 `dlazy detect`，并且只传 `--image_url`、`--video_url`、`--audio_url` 三者之一。\n\n```bash\ndlazy detect -h\n\nOptions:\n  --image_url [image_url]              待检测的图片（本地路径或公开 URL）\n  --video_url [video_url]              待检测的视频（本地路径或公开 URL）\n  --audio_url [audio_url]              待检测的音频（本地路径或公开 URL）\n  --dry-run                            Print payload + cost estimate without calling API\n  --no-wait                            Return generateId immediately for async tasks\n  --timeout <seconds>                  Max seconds to wait for async completion (default: \"1800\")\n  -h, --help                           display help for command\n```\n\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.\n\n## 输出格式\n\n```json\n{\n  \"ok\": true,\n  \"result\": {\n    \"tool\": \"detect\",\n    \"modelId\": \"detect\",\n    \"outputs\": [\n      {\n        \"type\": \"json\",\n        \"id\": \"o_xxxxxxxx\",\n        \"value\": {\n          \"media_type\": \"image\",\n          \"is_ai_generated\": true,\n          \"ai_generated_score\": 0.98,\n          \"not_ai_generated_score\": 0.02,\n          \"is_deepfake\": false,\n          \"deepfake_score\": 0.03,\n          \"top_generator\": \"midjourney\",\n          \"top_generator_score\": 0.91,\n          \"ai_generated_audio_score\": 0.0,\n          \"frames_analyzed\": 1\n        }\n      }\n    ]\n  }\n}\n```\n\n任务的 `texts` 里还会返回一句人类可读的结论，例如 `疑似 AI 生成（AI 置信度 98%，疑似 midjourney）；未检出 deepfake`。\n\n> Async tasks (when `--no-wait` is passed) return `outputs: []` and a `task: { generateId, status }` field instead. Use `dlazy status <generateId> --wait` to poll.\n\n## 命令示例\n\n```bash\n# 检测本地图片\ndlazy detect --image_url ./photo.jpg\n\n# 检测视频（AI 生成 + deepfake）\ndlazy detect --video_url ./clip.mp4\n\n# 检测音频（AI 声音）\ndlazy detect --audio_url ./voice.mp3\n\n# 用公开 URL 检测\ndlazy detect --image_url https://example.com/a.png\n```\n\n## 错误处理\n\n| Code | 错误类型                   | 示例信息                                                                                       |\n| ---- | -------------------------- | ---------------------------------------------------------------------------------------------- |\n| 401  | 未授权 (API Key缺失或无效) | `ok: false, code: \"unauthorized\", message: \"API key is missing or invalid\"`                    |\n| 501  | 缺少必填参数               | `Provide one of image_url, video_url, or audio_url`                                             |\n| 502  | 本地文件读取失败           | `Error: Image file/Video file not found: C:\\path\\to\\your\\file`                                 |\n| 503  | API 请求失败（余额不足）   | `ok: false, code: \"insufficient_balance\"`                                                      |\n| 503  | API 请求失败（触发限速）   | `HTTP status code error (429 too many requests)` —— Hive V3 每天限 100 次                       |\n| 504  | 异步任务执行失败           | `=== Generation Failed ===` / `{后端返回的具体失败原因}`                                        |\n\n> **智能体关键指令**:\n>\n> 1. 如果执行结果返回 `code: \"insufficient_balance\"` 且提示余额不足，您必须明确告知用户当前积分不足，并引导用户前往充值：[https://dlazy.com/dashboard/organization/settings?tab=credits](https://dlazy.com/dashboard/organization/settings?tab=credits)\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>` 保存，然后继续执行任务。\n\n## Tips\n\nVisit https://dlazy.com for more information.\n\nArchive v1.0.20: 4 files, 8542 bytes\n\nFiles: skill-card.md (1895b), SKILL-cn.md (7668b), SKILL.md (8061b), _meta.json (132b)\n\nFile v1.0.20:SKILL.md\n\n---\nname: dlazy-detect\nversion: 1.0.5\ndescription: \"Detect whether an image, video, or audio file is AI-generated — including visual deepfakes and the likely generator model (Midjourney, Stable Diffusion, Sora, etc.). Returns confidence scores you can threshold. 检测图片、视频或音频是否由 AI 生成：包含人脸 deepfake 识别与疑似生成模型归因，返回可用于判定的置信度分数。\"\nmetadata:\n  {\n    'clawdbot':\n      {\n        'emoji': '🔍',\n        'requires': { 'bins': ['npm', 'npx'] },\n        'install': 'npm install -g @dlazy/cli@1.2.3',\n        'installAlternative': 'npx @dlazy/cli@1.2.3',\n        'homepage': 'https://github.com/dlazy-ai/cli',\n        'source': 'https://github.com/dlazy-ai/cli',\n        'author': 'dlazyai',\n        'license': 'see-repo',\n        'npm': 'https://www.npmjs.com/package/@dlazy/cli',\n        'configLocation': '~/.dlazy/config.json',\n        'apiEndpoints': ['api.dlazy.com', 'files.dlazy.com'],\n      },\n    'openclaw': { 'systemPrompt': 'When invoking this skill, use dlazy detect -h for help.' },\n  }\n---\n\n# AI 内容检测 AI Detect\n\n[English](./SKILL.md) · [中文](./SKILL-cn.md)\n\nDetect whether an image, video, or audio file is AI-generated — including visual deepfakes and the likely generator model (Midjourney, Stable Diffusion, Sora, etc.). Returns confidence scores you can threshold.\n\n## Trigger Keywords\n\n- detect\n- ai-detect\n- ai-generated\n- deepfake\n- is this AI\n\n## What It Detects\n\n- **Image / Video**: whether the visual is AI-generated (`ai_generated` score), whether it contains a **deepfake** (face swap), and the **likely generator** (Midjourney, Stable Diffusion, DALL·E, etc.).\n- **Audio** (audio-only files, or the audio track of a video): whether the audio is AI-generated (`ai_generated_audio` score).\n- **Text is NOT supported** by this model — image, video, and audio only.\n\n> Recommended decision threshold: treat as AI-generated when the score is **≥ 0.9**. The skill already applies this to the `is_ai_generated` / `is_deepfake` booleans.\n>\n> Note: the underlying provider (Hive V3 Playground) has a default rate limit of **100 requests/day**.\n\n## Authentication\n\nAll requests require a dLazy API key. The recommended way to authenticate is:\n\n```bash\ndlazy login\n```\n\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.\n\n### Alternative: Set the Key Manually\n\n```bash\ndlazy auth set YOUR_API_KEY\n```\n\nThe CLI saves the key in your user config directory (`~/.dlazy/config.json` on macOS/Linux, `%USERPROFILE%\\.dlazy\\config.json` on Windows). You can also supply the key per-invocation via the `DLAZY_API_KEY` environment variable.\n\n### Getting Your API Key Manually\n\n1. Sign in or create an account at [dlazy.com](https://dlazy.com)\n2. Go to [dlazy.com/dashboard/organization/api-key](https://dlazy.com/dashboard/organization/api-key)\n3. Copy the key shown in the API Key section\n\n## How It Works\n\nThis skill is a thin client over the dLazy hosted API. When you invoke it:\n\n- **Each `--image_url` / `--video_url` / `--audio_url` accepts EITHER a local file path OR a public URL — the CLI detects which automatically.** No need to upload first or convert anything; just pass whatever you have.\n  - **Local file** (e.g. `./photo.jpg`, `C:\\clip.mp4`): the CLI uploads it to dLazy's media storage (`files.dlazy.com`) and forwards the resulting URL.\n  - **Public URL** (e.g. `https://example.com/a.png`): passed through as-is. The URL must be publicly reachable — links behind login/auth or on a private network can't be fetched by the detection service.\n- The media is analyzed and a structured verdict (AI-generated confidence, deepfake confidence, likely generator) is returned.\n\n## Usage\n\n**CRITICAL INSTRUCTION FOR AGENT**:\nRun `dlazy detect` with exactly ONE of `--image_url`, `--video_url`, or `--audio_url`.\n\n```bash\ndlazy detect -h\n\nOptions:\n  --image_url [image_url]              Image to check (local path or public URL)\n  --video_url [video_url]              Video to check (local path or public URL)\n  --audio_url [audio_url]              Audio to check (local path or public URL)\n  --dry-run                            Print payload + cost estimate without calling API\n  --no-wait                            Return generateId immediately for async tasks\n  --timeout <seconds>                  Max seconds to wait for async completion (default: \"1800\")\n  -h, --help                           display help for command\n```\n\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.\n\n## Output Format\n\n```json\n{\n  \"ok\": true,\n  \"result\": {\n    \"tool\": \"detect\",\n    \"modelId\": \"detect\",\n    \"outputs\": [\n      {\n        \"type\": \"json\",\n        \"id\": \"o_xxxxxxxx\",\n        \"value\": {\n          \"media_type\": \"image\",\n          \"is_ai_generated\": true,\n          \"ai_generated_score\": 0.98,\n          \"not_ai_generated_score\": 0.02,\n          \"is_deepfake\": false,\n          \"deepfake_score\": 0.03,\n          \"top_generator\": \"midjourney\",\n          \"top_generator_score\": 0.91,\n          \"ai_generated_audio_score\": 0.0,\n          \"frames_analyzed\": 1\n        }\n      }\n    ]\n  }\n}\n```\n\nA human-readable summary is also returned in the task's `texts`, e.g. `疑似 AI 生成（AI 置信度 98%，疑似 midjourney）；未检出 deepfake`.\n\n> Async tasks (when `--no-wait` is passed) return `outputs: []` and a `task: { generateId, status }` field instead. Use `dlazy status <generateId> --wait` to poll.\n\n## Examples\n\n```bash\n# Check a local image\ndlazy detect --image_url ./photo.jpg\n\n# Check a video (AI-generation + deepfake)\ndlazy detect --video_url ./clip.mp4\n\n# Check an audio clip (AI voice)\ndlazy detect --audio_url ./voice.mp3\n\n# Check by public URL\ndlazy detect --image_url https://example.com/a.png\n```\n\n## Error Handling\n\n| Code | Error Type                         | Example Message                                                                                                          |\n| ---- | ---------------------------------- | ------------------------------------------------------------------------------------------------------------------------ |\n| 401  | Unauthorized (No API Key)          | `ok: false, code: \"unauthorized\", message: \"API key is missing or invalid\"`                                              |\n| 501  | Missing required parameter         | `Provide one of image_url, video_url, or audio_url`                                                                      |\n| 502  | Local file read error              | `Error: Image file/Video file not found: C:\\path\\to\\your\\file`                                                           |\n| 503  | API request failed (no balance)    | `ok: false, code: \"insufficient_balance\"`                                                                                |\n| 503  | API request failed (rate limited)  | `HTTP status code error (429 too many requests)` — Hive V3 allows 100 requests/day                                       |\n| 504  | Asynchronous task execution failed | `=== Generation Failed ===` / `{Specific error reason returned by backend}`                                              |\n\n> **AGENT CRITICAL INSTRUCTION**:\n>\n> 1. If the result returns `code: \"insufficient_balance\"`, you MUST tell the user 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)\n> 2. If the result returns `code: \"unauthorized\"` or indicates a missing API key, you MUST tell 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 with `dlazy auth set <key>`, then resume the task.\n\n## Tips\n\nVisit https://dlazy.com for more information.\n\nFile v1.0.20:_meta.json\n\n{\n  \"ownerId\": \"kn7c5wgeajfcfvdfb5ceemvdb984cjpd\",\n  \"slug\": \"dlazy-detect\",\n  \"version\": \"1.0.20\",\n  \"publishedAt\": 1790557413126\n}\n\nFile v1.0.20:skill-card.md\n\n## Description:\n\nHelps assess whether images, videos, or audio are AI-generated, including deepfake indicators and likely generator attribution.\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\nPeople reviewing media use this skill to check images, video, or audio for AI-generation signals, deepfake indicators, and confidence scores.\n\n### Deployment Geography for Use:\n\nGlobal\n\n## Known Risks and Mitigations:\n\nRisk: Local media supplied to the CLI is uploaded to dLazy's services for analysis.\n\nMitigation: Use only media you are comfortable sending to the provider; prefer public URLs and avoid confidential local files unless you understand its upload handling.\n\nRisk: The third-party CLI can use an API key saved in local configuration.\n\nMitigation: Review the CLI before installing and consider supplying DLAZY_API_KEY per invocation rather than storing a long-lived key.\n\n## Reference(s):\n\n- [ClawHub skill listing](https://clawhub.ai/dlazyai/skills/dlazy-detect)\n- [dLazy CLI project (skill metadata)](https://github.com/dlazy-ai/cli)\n- [dLazy CLI package](https://www.npmjs.com/package/@dlazy/cli)\n\n## Skill Output:\n\n**Output Type(s):** [Text, Guidance]\n\n**Output Format:** [Human-readable summary of structured JSON detection results]\n\n**Output Parameters:** [1D]\n\n**Other Properties Related to Output:** [Reports confidence scores, deepfake indicators, and likely generator when available.]\n\n## Skill Version(s):\n\n1.0.20 (source: server-resolved ClawHub release; bundled skill frontmatter says 1.0.5)\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.0.20:SKILL-cn.md\n\n---\nname: dlazy-detect\nversion: 1.0.5\ndescription: \"检测图片、视频或音频是否由 AI 生成：包含人脸 deepfake 识别与疑似生成模型归因（Midjourney、Stable Diffusion、Sora 等），返回可用于判定的置信度分数。\"\nmetadata:\n  {\n    'clawdbot':\n      {\n        'emoji': '🔍',\n        'requires': { 'bins': ['npm', 'npx'] },\n        'install': 'npm install -g @dlazy/cli@1.2.3',\n        'installAlternative': 'npx @dlazy/cli@1.2.3',\n        'homepage': 'https://github.com/dlazy-ai/cli',\n        'source': 'https://github.com/dlazy-ai/cli',\n        'author': 'dlazyai',\n        'license': 'see-repo',\n        'npm': 'https://www.npmjs.com/package/@dlazy/cli',\n        'configLocation': '~/.dlazy/config.json',\n        'apiEndpoints': ['api.dlazy.com', 'files.dlazy.com'],\n      },\n    'openclaw': { 'systemPrompt': '当调用此技能时，可以使用 dlazy detect -h 查看帮助信息。' },\n  }\n---\n\n# AI 内容检测 AI Detect\n\n[English](./SKILL.md) · [中文](./SKILL-cn.md)\n\n检测图片、视频或音频是否由 AI 生成：包含人脸 deepfake 识别与疑似生成模型归因（Midjourney、Stable Diffusion、Sora 等），返回可用于判定的置信度分数。\n\n## 触发关键词\n\n- detect\n- ai-detect\n- ai-generated\n- deepfake\n- AI 检测\n- 是不是 AI 生成\n\n## 能检测什么\n\n- **图片 / 视频**：是否 AI 生成（`ai_generated` 分数）、是否含 **deepfake**（换脸）、以及**疑似生成模型**（Midjourney、Stable Diffusion、DALL·E 等）。\n- **音频**（纯音频文件，或视频里的音轨）：音频是否 AI 生成（`ai_generated_audio` 分数）。\n- **不支持文字**——本模型仅支持图片、视频、音频。\n\n> 推荐判定阈值：分数 **≥ 0.9** 视为 AI 生成。技能已按此阈值给出 `is_ai_generated` / `is_deepfake` 布尔结果。\n>\n> 注意：底层服务商（Hive V3 Playground）默认限速 **100 次/天**。\n\n## 身份验证 (Authentication)\n\n所有请求都需要 dLazy API key。**推荐使用** `dlazy login` 完成登录：\n\n```bash\ndlazy login\n```\n\n该命令使用设备码流程（远程终端也可用），登录成功后 **自动把 API key 写入本地 CLI 配置**，无需手动复制粘贴。\n\n### 备选：手动设置 API Key\n\n```bash\ndlazy auth set YOUR_API_KEY\n```\n\nCLI 会把 key 保存在你的用户配置目录（macOS/Linux 上为 `~/.dlazy/config.json`，Windows 上为 `%USERPROFILE%\\.dlazy\\config.json`）。你也可以用 `DLAZY_API_KEY` 环境变量按次传入。\n\n### 手动获取 API Key\n\n1. 登录或在 [dlazy.com](https://dlazy.com) 创建账号\n2. 访问 [dlazy.com/dashboard/organization/api-key](https://dlazy.com/dashboard/organization/api-key)\n3. 复制 API Key 区域显示的密钥\n\n## 工作原理\n\n此技能是 dLazy 托管 API 的轻量封装。调用时：\n\n- **`--image_url` / `--video_url` / `--audio_url` 既可以传本地文件路径，也可以传公开链接（URL）—— CLI 会自动判断是哪种。** 不用先上传、也不用做任何转换，有什么直接传就行。\n  - **本地文件**（如 `./photo.jpg`、`C:\\clip.mp4`）：CLI 会自动上传到 dLazy 媒体存储（`files.dlazy.com`），再把得到的 URL 传给后端。\n  - **公开链接**（如 `https://example.com/a.png`）：原样透传。注意该链接必须**公开可访问**——需要登录/鉴权或在内网的链接，检测服务抓取不到。\n- 媒体会被分析，返回结构化判定结果（AI 生成置信度、deepfake 置信度、疑似生成模型）。\n\n## 使用方法\n\n**CRITICAL INSTRUCTION FOR AGENT**:\n执行 `dlazy detect`，并且只传 `--image_url`、`--video_url`、`--audio_url` 三者之一。\n\n```bash\ndlazy detect -h\n\nOptions:\n  --image_url [image_url]              待检测的图片（本地路径或公开 URL）\n  --video_url [video_url]              待检测的视频（本地路径或公开 URL）\n  --audio_url [audio_url]              待检测的音频（本地路径或公开 URL）\n  --dry-run                            Print payload + cost estimate without calling API\n  --no-wait                            Return generateId immediately for async tasks\n  --timeout <seconds>                  Max seconds to wait for async completion (default: \"1800\")\n  -h, --help                           display help for command\n```\n\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.\n\n## 输出格式\n\n```json\n{\n  \"ok\": true,\n  \"result\": {\n    \"tool\": \"detect\",\n    \"modelId\": \"detect\",\n    \"outputs\": [\n      {\n        \"type\": \"json\",\n        \"id\": \"o_xxxxxxxx\",\n        \"value\": {\n          \"media_type\": \"image\",\n          \"is_ai_generated\": true,\n          \"ai_generated_score\": 0.98,\n          \"not_ai_generated_score\": 0.02,\n          \"is_deepfake\": false,\n          \"deepfake_score\": 0.03,\n          \"top_generator\": \"midjourney\",\n          \"top_generator_score\": 0.91,\n          \"ai_generated_audio_score\": 0.0,\n          \"frames_analyzed\": 1\n        }\n      }\n    ]\n  }\n}\n```\n\n任务的 `texts` 里还会返回一句人类可读的结论，例如 `疑似 AI 生成（AI 置信度 98%，疑似 midjourney）；未检出 deepfake`。\n\n> Async tasks (when `--no-wait` is passed) return `outputs: []` and a `task: { generateId, status }` field instead. Use `dlazy status <generateId> --wait` to poll.\n\n## 命令示例\n\n```bash\n# 检测本地图片\ndlazy detect --image_url ./photo.jpg\n\n# 检测视频（AI 生成 + deepfake）\ndlazy detect --video_url ./clip.mp4\n\n# 检测音频（AI 声音）\ndlazy detect --audio_url ./voice.mp3\n\n# 用公开 URL 检测\ndlazy detect --image_url https://example.com/a.png\n```\n\n## 错误处理\n\n| Code | 错误类型                   | 示例信息                                                                                       |\n| ---- | -------------------------- | ---------------------------------------------------------------------------------------------- |\n| 401  | 未授权 (API Key缺失或无效) | `ok: false, code: \"unauthorized\", message: \"API key is missing or invalid\"`                    |\n| 501  | 缺少必填参数               | `Provide one of image_url, video_url, or audio_url`                                             |\n| 502  | 本地文件读取失败           | `Error: Image file/Video file not found: C:\\path\\to\\your\\file`                                 |\n| 503  | API 请求失败（余额不足）   | `ok: false, code: \"insufficient_balance\"`                                                      |\n| 503  | API 请求失败（触发限速）   | `HTTP status code error (429 too many requests)` —— Hive V3 每天限 100 次                       |\n| 504  | 异步任务执行失败           | `=== Generation Failed ===` / `{后端返回的具体失败原因}`                                        |\n\n> **智能体关键指令**:\n>\n> 1. 如果执行结果返回 `code: \"insufficient_balance\"` 且提示余额不足，您必须明确告知用户当前积分不足，并引导用户前往充值：[https://dlazy.com/dashboard/organization/settings?tab=credits](https://dlazy.com/dashboard/organization/settings?tab=credits)\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>` 保存，然后继续执行任务。\n\n## Tips\n\nVisit https://dlazy.com for more information.\n\nArchive v1.0.19: 4 files, 8595 bytes\n\nFiles: skill-card.md (1988b), SKILL-cn.md (7668b), SKILL.md (8061b), _meta.json (132b)\n\nFile v1.0.19:SKILL.md\n\n---\nname: dlazy-detect\nversion: 1.0.5\ndescription: \"Detect whether an image, video, or audio file is AI-generated — including visual deepfakes and the likely generator model (Midjourney, Stable Diffusion, Sora, etc.). Returns confidence scores you can threshold. 检测图片、视频或音频是否由 AI 生成：包含人脸 deepfake 识别与疑似生成模型归因，返回可用于判定的置信度分数。\"\nmetadata:\n  {\n    'clawdbot':\n      {\n        'emoji': '🔍',\n        'requires': { 'bins': ['npm', 'npx'] },\n        'install': 'npm install -g @dlazy/cli@1.2.3',\n        'installAlternative': 'npx @dlazy/cli@1.2.3',\n        'homepage': 'https://github.com/dlazy-ai/cli',\n        'source': 'https://github.com/dlazy-ai/cli',\n        'author': 'dlazyai',\n        'license': 'see-repo',\n        'npm': 'https://www.npmjs.com/package/@dlazy/cli',\n        'configLocation': '~/.dlazy/config.json',\n        'apiEndpoints': ['api.dlazy.com', 'files.dlazy.com'],\n      },\n    'openclaw': { 'systemPrompt': 'When invoking this skill, use dlazy detect -h for help.' },\n  }\n---\n\n# AI 内容检测 AI Detect\n\n[English](./SKILL.md) · [中文](./SKILL-cn.md)\n\nDetect whether an image, video, or audio file is AI-generated — including visual deepfakes and the likely generator model (Midjourney, Stable Diffusion, Sora, etc.). Returns confidence scores you can threshold.\n\n## Trigger Keywords\n\n- detect\n- ai-detect\n- ai-generated\n- deepfake\n- is this AI\n\n## What It Detects\n\n- **Image / Video**: whether the visual is AI-generated (`ai_generated` score), whether it contains a **deepfake** (face swap), and the **likely generator** (Midjourney, Stable Diffusion, DALL·E, etc.).\n- **Audio** (audio-only files, or the audio track of a video): whether the audio is AI-generated (`ai_generated_audio` score).\n- **Text is NOT supported** by this model — image, video, and audio only.\n\n> Recommended decision threshold: treat as AI-generated when the score is **≥ 0.9**. The skill already applies this to the `is_ai_generated` / `is_deepfake` booleans.\n>\n> Note: the underlying provider (Hive V3 Playground) has a default rate limit of **100 requests/day**.\n\n## Authentication\n\nAll requests require a dLazy API key. The recommended way to authenticate is:\n\n```bash\ndlazy login\n```\n\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.\n\n### Alternative: Set the Key Manually\n\n```bash\ndlazy auth set YOUR_API_KEY\n```\n\nThe CLI saves the key in your user config directory (`~/.dlazy/config.json` on macOS/Linux, `%USERPROFILE%\\.dlazy\\config.json` on Windows). You can also supply the key per-invocation via the `DLAZY_API_KEY` environment variable.\n\n### Getting Your API Key Manually\n\n1. Sign in or create an account at [dlazy.com](https://dlazy.com)\n2. Go to [dlazy.com/dashboard/organization/api-key](https://dlazy.com/dashboard/organization/api-key)\n3. Copy the key shown in the API Key section\n\n## How It Works\n\nThis skill is a thin client over the dLazy hosted API. When you invoke it:\n\n- **Each `--image_url` / `--video_url` / `--audio_url` accepts EITHER a local file path OR a public URL — the CLI detects which automatically.** No need to upload first or convert anything; just pass whatever you have.\n  - **Local file** (e.g. `./photo.jpg`, `C:\\clip.mp4`): the CLI uploads it to dLazy's media storage (`files.dlazy.com`) and forwards the resulting URL.\n  - **Public URL** (e.g. `https://example.com/a.png`): passed through as-is. The URL must be publicly reachable — links behind login/auth or on a private network can't be fetched by the detection service.\n- The media is analyzed and a structured verdict (AI-generated confidence, deepfake confidence, likely generator) is returned.\n\n## Usage\n\n**CRITICAL INSTRUCTION FOR AGENT**:\nRun `dlazy detect` with exactly ONE of `--image_url`, `--video_url`, or `--audio_url`.\n\n```bash\ndlazy detect -h\n\nOptions:\n  --image_url [image_url]              Image to check (local path or public URL)\n  --video_url [video_url]              Video to check (local path or public URL)\n  --audio_url [audio_url]              Audio to check (local path or public URL)\n  --dry-run                            Print payload + cost estimate without calling API\n  --no-wait                            Return generateId immediately for async tasks\n  --timeout <seconds>                  Max seconds to wait for async completion (default: \"1800\")\n  -h, --help                           display help for command\n```\n\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.\n\n## Output Format\n\n```json\n{\n  \"ok\": true,\n  \"result\": {\n    \"tool\": \"detect\",\n    \"modelId\": \"detect\",\n    \"outputs\": [\n      {\n        \"type\": \"json\",\n        \"id\": \"o_xxxxxxxx\",\n        \"value\": {\n          \"media_type\": \"image\",\n          \"is_ai_generated\": true,\n          \"ai_generated_score\": 0.98,\n          \"not_ai_generated_score\": 0.02,\n          \"is_deepfake\": false,\n          \"deepfake_score\": 0.03,\n          \"top_generator\": \"midjourney\",\n          \"top_generator_score\": 0.91,\n          \"ai_generated_audio_score\": 0.0,\n          \"frames_analyzed\": 1\n        }\n      }\n    ]\n  }\n}\n```\n\nA human-readable summary is also returned in the task's `texts`, e.g. `疑似 AI 生成（AI 置信度 98%，疑似 midjourney）；未检出 deepfake`.\n\n> Async tasks (when `--no-wait` is passed) return `outputs: []` and a `task: { generateId, status }` field instead. Use `dlazy status <generateId> --wait` to poll.\n\n## Examples\n\n```bash\n# Check a local image\ndlazy detect --image_url ./photo.jpg\n\n# Check a video (AI-generation + deepfake)\ndlazy detect --video_url ./clip.mp4\n\n# Check an audio clip (AI voice)\ndlazy detect --audio_url ./voice.mp3\n\n# Check by public URL\ndlazy detect --image_url https://example.com/a.png\n```\n\n## Error Handling\n\n| Code | Error Type                         | Example Message                                                                                                          |\n| ---- | ---------------------------------- | ------------------------------------------------------------------------------------------------------------------------ |\n| 401  | Unauthorized (No API Key)          | `ok: false, code: \"unauthorized\", message: \"API key is missing or invalid\"`                                              |\n| 501  | Missing required parameter         | `Provide one of image_url, video_url, or audio_url`                                                                      |\n| 502  | Local file read error              | `Error: Image file/Video file not found: C:\\path\\to\\your\\file`                                                           |\n| 503  | API request failed (no balance)    | `ok: false, code: \"insufficient_balance\"`                                                                                |\n| 503  | API request failed (rate limited)  | `HTTP status code error (429 too many requests)` — Hive V3 allows 100 requests/day                                       |\n| 504  | Asynchronous task execution failed | `=== Generation Failed ===` / `{Specific error reason returned by backend}`                                              |\n\n> **AGENT CRITICAL INSTRUCTION**:\n>\n> 1. If the result returns `code: \"insufficient_balance\"`, you MUST tell the user 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)\n> 2. If the result returns `code: \"unauthorized\"` or indicates a missing API key, you MUST tell 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 with `dlazy auth set <key>`, then resume the task.\n\n## Tips\n\nVisit https://dlazy.com for more information.\n\nFile v1.0.19:_meta.json\n\n{\n  \"ownerId\": \"kn7c5wgeajfcfvdfb5ceemvdb984cjpd\",\n  \"slug\": \"dlazy-detect\",\n  \"version\": \"1.0.19\",\n  \"publishedAt\": 1790232474334\n}\n\nFile v1.0.19:skill-card.md\n\n## Description:\n\nDetects whether image, video, or audio media is AI-generated, including visual deepfake signals and likely generator attribution, and returns confidence scores for thresholding.\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 ask an agent to run dLazy media detection on a single image, video, or audio input and return AI-generation, deepfake, and likely-generator confidence signals.\n\n### Deployment Geography for Use:\n\nGlobal\n\n## Known Risks and Mitigations:\n\nRisk: Local media submitted for analysis may be uploaded to dLazy storage and processed by dLazy's hosted service.\n\nMitigation: Use the skill only for media that is appropriate to send to dLazy, and avoid private, confidential, or biometric media unless that service use is acceptable.\n\nRisk: The dLazy API key may be saved in local CLI configuration.\n\nMitigation: Use the DLAZY_API_KEY environment variable for per-run authentication when a persistent local credential is not desired.\n\n## Reference(s):\n\n- [dLazy CLI source](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):** [Shell commands, JSON, Text, Guidance]\n\n**Output Format:** [Markdown guidance with shell commands and structured JSON result summaries]\n\n**Output Parameters:** [1D]\n\n**Other Properties Related to Output:** [May return asynchronous task status when invoked with no-wait mode.]\n\n## Skill Version(s):\n\n1.0.19 (source: server release metadata; artifact frontmatter lists 1.0.5)\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.0.19:SKILL-cn.md\n\n---\nname: dlazy-detect\nversion: 1.0.5\ndescription: \"检测图片、视频或音频是否由 AI 生成：包含人脸 deepfake 识别与疑似生成模型归因（Midjourney、Stable Diffusion、Sora 等），返回可用于判定的置信度分数。\"\nmetadata:\n  {\n    'clawdbot':\n      {\n        'emoji': '🔍',\n        'requires': { 'bins': ['npm', 'npx'] },\n        'install': 'npm install -g @dlazy/cli@1.2.3',\n        'installAlternative': 'npx @dlazy/cli@1.2.3',\n        'homepage': 'https://github.com/dlazy-ai/cli',\n        'source': 'https://github.com/dlazy-ai/cli',\n        'author': 'dlazyai',\n        'license': 'see-repo',\n        'npm': 'https://www.npmjs.com/package/@dlazy/cli',\n        'configLocation': '~/.dlazy/config.json',\n        'apiEndpoints': ['api.dlazy.com', 'files.dlazy.com'],\n      },\n    'openclaw': { 'systemPrompt': '当调用此技能时，可以使用 dlazy detect -h 查看帮助信息。' },\n  }\n---\n\n# AI 内容检测 AI Detect\n\n[English](./SKILL.md) · [中文](./SKILL-cn.md)\n\n检测图片、视频或音频是否由 AI 生成：包含人脸 deepfake 识别与疑似生成模型归因（Midjourney、Stable Diffusion、Sora 等），返回可用于判定的置信度分数。\n\n## 触发关键词\n\n- detect\n- ai-detect\n- ai-generated\n- deepfake\n- AI 检测\n- 是不是 AI 生成\n\n## 能检测什么\n\n- **图片 / 视频**：是否 AI 生成（`ai_generated` 分数）、是否含 **deepfake**（换脸）、以及**疑似生成模型**（Midjourney、Stable Diffusion、DALL·E 等）。\n- **音频**（纯音频文件，或视频里的音轨）：音频是否 AI 生成（`ai_generated_audio` 分数）。\n- **不支持文字**——本模型仅支持图片、视频、音频。\n\n> 推荐判定阈值：分数 **≥ 0.9** 视为 AI 生成。技能已按此阈值给出 `is_ai_generated` / `is_deepfake` 布尔结果。\n>\n> 注意：底层服务商（Hive V3 Playground）默认限速 **100 次/天**。\n\n## 身份验证 (Authentication)\n\n所有请求都需要 dLazy API key。**推荐使用** `dlazy login` 完成登录：\n\n```bash\ndlazy login\n```\n\n该命令使用设备码流程（远程终端也可用），登录成功后 **自动把 API key 写入本地 CLI 配置**，无需手动复制粘贴。\n\n### 备选：手动设置 API Key\n\n```bash\ndlazy auth set YOUR_API_KEY\n```\n\nCLI 会把 key 保存在你的用户配置目录（macOS/Linux 上为 `~/.dlazy/config.json`，Windows 上为 `%USERPROFILE%\\.dlazy\\config.json`）。你也可以用 `DLAZY_API_KEY` 环境变量按次传入。\n\n### 手动获取 API Key\n\n1. 登录或在 [dlazy.com](https://dlazy.com) 创建账号\n2. 访问 [dlazy.com/dashboard/organization/api-key](https://dlazy.com/dashboard/organization/api-key)\n3. 复制 API Key 区域显示的密钥\n\n## 工作原理\n\n此技能是 dLazy 托管 API 的轻量封装。调用时：\n\n- **`--image_url` / `--video_url` / `--audio_url` 既可以传本地文件路径，也可以传公开链接（URL）—— CLI 会自动判断是哪种。** 不用先上传、也不用做任何转换，有什么直接传就行。\n  - **本地文件**（如 `./photo.jpg`、`C:\\clip.mp4`）：CLI 会自动上传到 dLazy 媒体存储（`files.dlazy.com`），再把得到的 URL 传给后端。\n  - **公开链接**（如 `https://example.com/a.png`）：原样透传。注意该链接必须**公开可访问**——需要登录/鉴权或在内网的链接，检测服务抓取不到。\n- 媒体会被分析，返回结构化判定结果（AI 生成置信度、deepfake 置信度、疑似生成模型）。\n\n## 使用方法\n\n**CRITICAL INSTRUCTION FOR AGENT**:\n执行 `dlazy detect`，并且只传 `--image_url`、`--video_url`、`--audio_url` 三者之一。\n\n```bash\ndlazy detect -h\n\nOptions:\n  --image_url [image_url]              待检测的图片（本地路径或公开 URL）\n  --video_url [video_url]              待检测的视频（本地路径或公开 URL）\n  --audio_url [audio_url]              待检测的音频（本地路径或公开 URL）\n  --dry-run                            Print payload + cost estimate without calling API\n  --no-wait                            Return generateId immediately for async tasks\n  --timeout <seconds>                  Max seconds to wait for async completion (default: \"1800\")\n  -h, --help                           display help for command\n```\n\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.\n\n## 输出格式\n\n```json\n{\n  \"ok\": true,\n  \"result\": {\n    \"tool\": \"detect\",\n    \"modelId\": \"detect\",\n    \"outputs\": [\n      {\n        \"type\": \"json\",\n        \"id\": \"o_xxxxxxxx\",\n        \"value\": {\n          \"media_type\": \"image\",\n          \"is_ai_generated\": true,\n          \"ai_generated_score\": 0.98,\n          \"not_ai_generated_score\": 0.02,\n          \"is_deepfake\": false,\n          \"deepfake_score\": 0.03,\n          \"top_generator\": \"midjourney\",\n          \"top_generator_score\": 0.91,\n          \"ai_generated_audio_score\": 0.0,\n          \"frames_analyzed\": 1\n        }\n      }\n    ]\n  }\n}\n```\n\n任务的 `texts` 里还会返回一句人类可读的结论，例如 `疑似 AI 生成（AI 置信度 98%，疑似 midjourney）；未检出 deepfake`。\n\n> Async tasks (when `--no-wait` is passed) return `outputs: []` and a `task: { generateId, status }` field instead. Use `dlazy status <generateId> --wait` to poll.\n\n## 命令示例\n\n```bash\n# 检测本地图片\ndlazy detect --image_url ./photo.jpg\n\n# 检测视频（AI 生成 + deepfake）\ndlazy detect --video_url ./clip.mp4\n\n# 检测音频（AI 声音）\ndlazy detect --audio_url ./voice.mp3\n\n# 用公开 URL 检测\ndlazy detect --image_url https://example.com/a.png\n```\n\n## 错误处理\n\n| Code | 错误类型                   | 示例信息                                                                                       |\n| ---- | -------------------------- | ---------------------------------------------------------------------------------------------- |\n| 401  | 未授权 (API Key缺失或无效) | `ok: false, code: \"unauthorized\", message: \"API key is missing or invalid\"`                    |\n| 501  | 缺少必填参数               | `Provide one of image_url, video_url, or audio_url`                                             |\n| 502  | 本地文件读取失败           | `Error: Image file/Video file not found: C:\\path\\to\\your\\file`                                 |\n| 503  | API 请求失败（余额不足）   | `ok: false, code: \"insufficient_balance\"`                                                      |\n| 503  | API 请求失败（触发限速）   | `HTTP status code error (429 too many requests)` —— Hive V3 每天限 100 次                       |\n| 504  | 异步任务执行失败           | `=== Generation Failed ===` / `{后端返回的具体失败原因}`                                        |\n\n> **智能体关键指令**:\n>\n> 1. 如果执行结果返回 `code: \"insufficient_balance\"` 且提示余额不足，您必须明确告知用户当前积分不足，并引导用户前往充值：[https://dlazy.com/dashboard/organization/settings?tab=credits](https://dlazy.com/dashboard/organization/settings?tab=credits)\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>` 保存，然后继续执行任务。\n\n## Tips\n\nVisit https://dlazy.com for more information.\n\nArchive v1.0.18: 4 files, 8651 bytes\n\nFiles: skill-card.md (2168b), SKILL-cn.md (7668b), SKILL.md (8061b), _meta.json (132b)\n\nFile v1.0.18:SKILL.md\n\n---\nname: dlazy-detect\nversion: 1.0.5\ndescription: \"Detect whether an image, video, or audio file is AI-generated — including visual deepfakes and the likely generator model (Midjourney, Stable Diffusion, Sora, etc.). Returns confidence scores you can threshold. 检测图片、视频或音频是否由 AI 生成：包含人脸 deepfake 识别与疑似生成模型归因，返回可用于判定的置信度分数。\"\nmetadata:\n  {\n    'clawdbot':\n      {\n        'emoji': '🔍',\n        'requires': { 'bins': ['npm', 'npx'] },\n        'install': 'npm install -g @dlazy/cli@1.2.3',\n        'installAlternative': 'npx @dlazy/cli@1.2.3',\n        'homepage': 'https://github.com/dlazy-ai/cli',\n        'source': 'https://github.com/dlazy-ai/cli',\n        'author': 'dlazyai',\n        'license': 'see-repo',\n        'npm': 'https://www.npmjs.com/package/@dlazy/cli',\n        'configLocation': '~/.dlazy/config.json',\n        'apiEndpoints': ['api.dlazy.com', 'files.dlazy.com'],\n      },\n    'openclaw': { 'systemPrompt': 'When invoking this skill, use dlazy detect -h for help.' },\n  }\n---\n\n# AI 内容检测 AI Detect\n\n[English](./SKILL.md) · [中文](./SKILL-cn.md)\n\nDetect whether an image, video, or audio file is AI-generated — including visual deepfakes and the likely generator model (Midjourney, Stable Diffusion, Sora, etc.). Returns confidence scores you can threshold.\n\n## Trigger Keywords\n\n- detect\n- ai-detect\n- ai-generated\n- deepfake\n- is this AI\n\n## What It Detects\n\n- **Image / Video**: whether the visual is AI-generated (`ai_generated` score), whether it contains a **deepfake** (face swap), and the **likely generator** (Midjourney, Stable Diffusion, DALL·E, etc.).\n- **Audio** (audio-only files, or the audio track of a video): whether the audio is AI-generated (`ai_generated_audio` score).\n- **Text is NOT supported** by this model — image, video, and audio only.\n\n> Recommended decision threshold: treat as AI-generated when the score is **≥ 0.9**. The skill already applies this to the `is_ai_generated` / `is_deepfake` booleans.\n>\n> Note: the underlying provider (Hive V3 Playground) has a default rate limit of **100 requests/day**.\n\n## Authentication\n\nAll requests require a dLazy API key. The recommended way to authenticate is:\n\n```bash\ndlazy login\n```\n\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.\n\n### Alternative: Set the Key Manually\n\n```bash\ndlazy auth set YOUR_API_KEY\n```\n\nThe CLI saves the key in your user config directory (`~/.dlazy/config.json` on macOS/Linux, `%USERPROFILE%\\.dlazy\\config.json` on Windows). You can also supply the key per-invocation via the `DLAZY_API_KEY` environment variable.\n\n### Getting Your API Key Manually\n\n1. Sign in or create an account at [dlazy.com](https://dlazy.com)\n2. Go to [dlazy.com/dashboard/organization/api-key](https://dlazy.com/dashboard/organization/api-key)\n3. Copy the key shown in the API Key section\n\n## How It Works\n\nThis skill is a thin client over the dLazy hosted API. When you invoke it:\n\n- **Each `--image_url` / `--video_url` / `--audio_url` accepts EITHER a local file path OR a public URL — the CLI detects which automatically.** No need to upload first or convert anything; just pass whatever you have.\n  - **Local file** (e.g. `./photo.jpg`, `C:\\clip.mp4`): the CLI uploads it to dLazy's media storage (`files.dlazy.com`) and forwards the resulting URL.\n  - **Public URL** (e.g. `https://example.com/a.png`): passed through as-is. The URL must be publicly reachable — links behind login/auth or on a private network can't be fetched by the detection service.\n- The media is analyzed and a structured verdict (AI-generated confidence, deepfake confidence, likely generator) is returned.\n\n## Usage\n\n**CRITICAL INSTRUCTION FOR AGENT**:\nRun `dlazy detect` with exactly ONE of `--image_url`, `--video_url`, or `--audio_url`.\n\n```bash\ndlazy detect -h\n\nOptions:\n  --image_url [image_url]              Image to check (local path or public URL)\n  --video_url [video_url]              Video to check (local path or public URL)\n  --audio_url [audio_url]              Audio to check (local path or public URL)\n  --dry-run                            Print payload + cost estimate without calling API\n  --no-wait                            Return generateId immediately for async tasks\n  --timeout <seconds>                  Max seconds to wait for async completion (default: \"1800\")\n  -h, --help                           display help for command\n```\n\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.\n\n## Output Format\n\n```json\n{\n  \"ok\": true,\n  \"result\": {\n    \"tool\": \"detect\",\n    \"modelId\": \"detect\",\n    \"outputs\": [\n      {\n        \"type\": \"json\",\n        \"id\": \"o_xxxxxxxx\",\n        \"value\": {\n          \"media_type\": \"image\",\n          \"is_ai_generated\": true,\n          \"ai_generated_score\": 0.98,\n          \"not_ai_generated_score\": 0.02,\n          \"is_deepfake\": false,\n          \"deepfake_score\": 0.03,\n          \"top_generator\": \"midjourney\",\n          \"top_generator_score\": 0.91,\n          \"ai_generated_audio_score\": 0.0,\n          \"frames_analyzed\": 1\n        }\n      }\n    ]\n  }\n}\n```\n\nA human-readable summary is also returned in the task's `texts`, e.g. `疑似 AI 生成（AI 置信度 98%，疑似 midjourney）；未检出 deepfake`.\n\n> Async tasks (when `--no-wait` is passed) return `outputs: []` and a `task: { generateId, status }` field instead. Use `dlazy status <generateId> --wait` to poll.\n\n## Examples\n\n```bash\n# Check a local image\ndlazy detect --image_url ./photo.jpg\n\n# Check a video (AI-generation + deepfake)\ndlazy detect --video_url ./clip.mp4\n\n# Check an audio clip (AI voice)\ndlazy detect --audio_url ./voice.mp3\n\n# Check by public URL\ndlazy detect --image_url https://example.com/a.png\n```\n\n## Error Handling\n\n| Code | Error Type                         | Example Message                                                                                                          |\n| ---- | ---------------------------------- | ------------------------------------------------------------------------------------------------------------------------ |\n| 401  | Unauthorized (No API Key)          | `ok: false, code: \"unauthorized\", message: \"API key is missing or invalid\"`                                              |\n| 501  | Missing required parameter         | `Provide one of image_url, video_url, or audio_url`                                                                      |\n| 502  | Local file read error              | `Error: Image file/Video file not found: C:\\path\\to\\your\\file`                                                           |\n| 503  | API request failed (no balance)    | `ok: false, code: \"insufficient_balance\"`                                                                                |\n| 503  | API request failed (rate limited)  | `HTTP status code error (429 too many requests)` — Hive V3 allows 100 requests/day                                       |\n| 504  | Asynchronous task execution failed | `=== Generation Failed ===` / `{Specific error reason returned by backend}`                                              |\n\n> **AGENT CRITICAL INSTRUCTION**:\n>\n> 1. If the result returns `code: \"insufficient_balance\"`, you MUST tell the user 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)\n> 2. If the result returns `code: \"unauthorized\"` or indicates a missing API key, you MUST tell 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 with `dlazy auth set <key>`, then resume the task.\n\n## Tips\n\nVisit https://dlazy.com for more information.\n\nFile v1.0.18:_meta.json\n\n{\n  \"ownerId\": \"kn7c5wgeajfcfvdfb5ceemvdb984cjpd\",\n  \"slug\": \"dlazy-detect\",\n  \"version\": \"1.0.18\",\n  \"publishedAt\": 1790038951152\n}\n\nFile v1.0.18:skill-card.md\n\n## Description:\n\nDetects whether an image, video, or audio file is AI-generated, including visual deepfakes and likely generator attribution, and returns confidence scores for decisioning.\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 and agents use this skill to check image, video, or audio inputs for AI generation, deepfake indicators, and likely generator attribution before acting on or reporting media authenticity.\n\n### Deployment Geography for Use:\n\nGlobal\n\n## Known Risks and Mitigations:\n\nRisk: Local images, videos, or audio may be uploaded to dLazy-hosted media storage and analyzed by remote services.\n\nMitigation: Avoid confidential or private media unless the user understands the provider's retention and privacy terms; prefer public URLs or explicit confirmation before local uploads.\n\nRisk: The dLazy API key may be stored in a local CLI configuration file.\n\nMitigation: Protect the local config file, use per-invocation credentials when appropriate, and remove or rotate the key if the environment is shared or compromised.\n\n## Reference(s):\n\n- [ClawHub skill page](https://clawhub.ai/dlazyai/skills/dlazy-detect)\n- [dLazy CLI homepage](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, json, shell commands, configuration, guidance]\n\n**Output Format:** [JSON detection result plus a human-readable text summary, with Markdown command examples in the skill documentation.]\n\n**Output Parameters:** [1D]\n\n**Other Properties Related to Output:** [Requires exactly one image, video, or audio input; asynchronous mode may return a task id for later polling.]\n\n## Skill Version(s):\n\n1.0.18 (source: server 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.0.18:SKILL-cn.md\n\n---\nname: dlazy-detect\nversion: 1.0.5\ndescription: \"检测图片、视频或音频是否由 AI 生成：包含人脸 deepfake 识别与疑似生成模型归因（Midjourney、Stable Diffusion、Sora 等），返回可用于判定的置信度分数。\"\nmetadata:\n  {\n    'clawdbot':\n      {\n        'emoji': '🔍',\n        'requires': { 'bins': ['npm', 'npx'] },\n        'install': 'npm install -g @dlazy/cli@1.2.3',\n        'installAlternative': 'npx @dlazy/cli@1.2.3',\n        'homepage': 'https://github.com/dlazy-ai/cli',\n        'source': 'https://github.com/dlazy-ai/cli',\n        'author': 'dlazyai',\n        'license': 'see-repo',\n        'npm': 'https://www.npmjs.com/package/@dlazy/cli',\n        'configLocation': '~/.dlazy/config.json',\n        'apiEndpoints': ['api.dlazy.com', 'files.dlazy.com'],\n      },\n    'openclaw': { 'systemPrompt': '当调用此技能时，可以使用 dlazy detect -h 查看帮助信息。' },\n  }\n---\n\n# AI 内容检测 AI Detect\n\n[English](./SKILL.md) · [中文](./SKILL-cn.md)\n\n检测图片、视频或音频是否由 AI 生成：包含人脸 deepfake 识别与疑似生成模型归因（Midjourney、Stable Diffusion、Sora 等），返回可用于判定的置信度分数。\n\n## 触发关键词\n\n- detect\n- ai-detect\n- ai-generated\n- deepfake\n- AI 检测\n- 是不是 AI 生成\n\n## 能检测什么\n\n- **图片 / 视频**：是否 AI 生成（`ai_generated` 分数）、是否含 **deepfake**（换脸）、以及**疑似生成模型**（Midjourney、Stable Diffusion、DALL·E 等）。\n- **音频**（纯音频文件，或视频里的音轨）：音频是否 AI 生成（`ai_generated_audio` 分数）。\n- **不支持文字**——本模型仅支持图片、视频、音频。\n\n> 推荐判定阈值：分数 **≥ 0.9** 视为 AI 生成。技能已按此阈值给出 `is_ai_generated` / `is_deepfake` 布尔结果。\n>\n> 注意：底层服务商（Hive V3 Playground）默认限速 **100 次/天**。\n\n## 身份验证 (Authentication)\n\n所有请求都需要 dLazy API key。**推荐使用** `dlazy login` 完成登录：\n\n```bash\ndlazy login\n```\n\n该命令使用设备码流程（远程终端也可用），登录成功后 **自动把 API key 写入本地 CLI 配置**，无需手动复制粘贴。\n\n### 备选：手动设置 API Key\n\n```bash\ndlazy auth set YOUR_API_KEY\n```\n\nCLI 会把 key 保存在你的用户配置目录（macOS/Linux 上为 `~/.dlazy/config.json`，Windows 上为 `%USERPROFILE%\\.dlazy\\config.json`）。你也可以用 `DLAZY_API_KEY` 环境变量按次传入。\n\n### 手动获取 API Key\n\n1. 登录或在 [dlazy.com](https://dlazy.com) 创建账号\n2. 访问 [dlazy.com/dashboard/organization/api-key](https://dlazy.com/dashboard/organization/api-key)\n3. 复制 API Key 区域显示的密钥\n\n## 工作原理\n\n此技能是 dLazy 托管 API 的轻量封装。调用时：\n\n- **`--image_url` / `--video_url` / `--audio_url` 既可以传本地文件路径，也可以传公开链接（URL）—— CLI 会自动判断是哪种。** 不用先上传、也不用做任何转换，有什么直接传就行。\n  - **本地文件**（如 `./photo.jpg`、`C:\\clip.mp4`）：CLI 会自动上传到 dLazy 媒体存储（`files.dlazy.com`），再把得到的 URL 传给后端。\n  - **公开链接**（如 `https://example.com/a.png`）：原样透传。注意该链接必须**公开可访问**——需要登录/鉴权或在内网的链接，检测服务抓取不到。\n- 媒体会被分析，返回结构化判定结果（AI 生成置信度、deepfake 置信度、疑似生成模型）。\n\n## 使用方法\n\n**CRITICAL INSTRUCTION FOR AGENT**:\n执行 `dlazy detect`，并且只传 `--image_url`、`--video_url`、`--audio_url` 三者之一。\n\n```bash\ndlazy detect -h\n\nOptions:\n  --image_url [image_url]              待检测的图片（本地路径或公开 URL）\n  --video_url [video_url]              待检测的视频（本地路径或公开 URL）\n  --audio_url [audio_url]              待检测的音频（本地路径或公开 URL）\n  --dry-run                            Print payload + cost estimate without calling API\n  --no-wait                            Return generateId immediately for async tasks\n  --timeout <seconds>                  Max seconds to wait for async completion (default: \"1800\")\n  -h, --help                           display help for command\n```\n\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.\n\n## 输出格式\n\n```json\n{\n  \"ok\": true,\n  \"result\": {\n    \"tool\": \"detect\",\n    \"modelId\": \"detect\",\n    \"outputs\": [\n      {\n        \"type\": \"json\",\n        \"id\": \"o_xxxxxxxx\",\n        \"value\": {\n          \"media_type\": \"image\",\n          \"is_ai_generated\": true,\n          \"ai_generated_score\": 0.98,\n          \"not_ai_generated_score\": 0.02,\n          \"is_deepfake\": false,\n          \"deepfake_score\": 0.03,\n          \"top_generator\": \"midjourney\",\n          \"top_generator_score\": 0.91,\n          \"ai_generated_audio_score\": 0.0,\n          \"frames_analyzed\": 1\n        }\n      }\n    ]\n  }\n}\n```\n\n任务的 `texts` 里还会返回一句人类可读的结论，例如 `疑似 AI 生成（AI 置信度 98%，疑似 midjourney）；未检出 deepfake`。\n\n> Async tasks (when `--no-wait` is passed) return `outputs: []` and a `task: { generateId, status }` field instead. Use `dlazy status <generateId> --wait` to poll.\n\n## 命令示例\n\n```bash\n# 检测本地图片\ndlazy detect --image_url ./photo.jpg\n\n# 检测视频（AI 生成 + deepfake）\ndlazy detect --video_url ./clip.mp4\n\n# 检测音频（AI 声音）\ndlazy detect --audio_url ./voice.mp3\n\n# 用公开 URL 检测\ndlazy detect --image_url https://example.com/a.png\n```\n\n## 错误处理\n\n| Code | 错误类型                   | 示例信息                                                                                       |\n| ---- | -------------------------- | ---------------------------------------------------------------------------------------------- |\n| 401  | 未授权 (API Key缺失或无效) | `ok: false, code: \"unauthorized\", message: \"API key is missing or invalid\"`                    |\n| 501  | 缺少必填参数               | `Provide one of image_url, video_url, or audio_url`                                             |\n| 502  | 本地文件读取失败           | `Error: Image file/Video file not found: C:\\path\\to\\your\\file`                                 |\n| 503  | API 请求失败（余额不足）   | `ok: false, code: \"insufficient_balance\"`                                                      |\n| 503  | API 请求失败（触发限速）   | `HTTP status code error (429 too many requests)` —— Hive V3 每天限 100 次                       |\n| 504  | 异步任务执行失败           | `=== Generation Failed ===` / `{后端返回的具体失败原因}`                                        |\n\n> **智能体关键指令**:\n>\n> 1. 如果执行结果返回 `code: \"insufficient_balance\"` 且提示余额不足，您必须明确告知用户当前积分不足，并引导用户前往充值：[https://dlazy.com/dashboard/organization/settings?tab=credits](https://dlazy.com/dashboard/organization/settings?tab=credits)\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>` 保存，然后继续执行任务。\n\n## Tips\n\nVisit https://dlazy.com for more information.\n\nArchive v1.0.17: 4 files, 8754 bytes\n\nFiles: skill-card.md (2434b), SKILL-cn.md (7668b), SKILL.md (8061b), _meta.json (132b)\n\nFile v1.0.17:SKILL.md\n\n---\nname: dlazy-detect\nversion: 1.0.5\ndescription: \"Detect whether an image, video, or audio file is AI-generated — including visual deepfakes and the likely generator model (Midjourney, Stable Diffusion, Sora, etc.). Returns confidence scores you can threshold. 检测图片、视频或音频是否由 AI 生成：包含人脸 deepfake 识别与疑似生成模型归因，返回可用于判定的置信度分数。\"\nmetadata:\n  {\n    'clawdbot':\n      {\n        'emoji': '🔍',\n        'requires': { 'bins': ['npm', 'npx'] },\n        'install': 'npm install -g @dlazy/cli@1.2.3',\n        'installAlternative': 'npx @dlazy/cli@1.2.3',\n        'homepage': 'https://github.com/dlazy-ai/cli',\n        'source': 'https://github.com/dlazy-ai/cli',\n        'author': 'dlazyai',\n        'license': 'see-repo',\n        'npm': 'https://www.npmjs.com/package/@dlazy/cli',\n        'configLocation': '~/.dlazy/config.json',\n        'apiEndpoints': ['api.dlazy.com', 'files.dlazy.com'],\n      },\n    'openclaw': { 'systemPrompt': 'When invoking this skill, use dlazy detect -h for help.' },\n  }\n---\n\n# AI 内容检测 AI Detect\n\n[English](./SKILL.md) · [中文](./SKILL-cn.md)\n\nDetect whether an image, video, or audio file is AI-generated — including visual deepfakes and the likely generator model (Midjourney, Stable Diffusion, Sora, etc.). Returns confidence scores you can threshold.\n\n## Trigger Keywords\n\n- detect\n- ai-detect\n- ai-generated\n- deepfake\n- is this AI\n\n## What It Detects\n\n- **Image / Video**: whether the visual is AI-generated (`ai_generated` score), whether it contains a **deepfake** (face swap), and the **likely generator** (Midjourney, Stable Diffusion, DALL·E, etc.).\n- **Audio** (audio-only files, or the audio track of a video): whether the audio is AI-generated (`ai_generated_audio` score).\n- **Text is NOT supported** by this model — image, video, and audio only.\n\n> Recommended decision threshold: treat as AI-generated when the score is **≥ 0.9**. The skill already applies this to the `is_ai_generated` / `is_deepfake` booleans.\n>\n> Note: the underlying provider (Hive V3 Playground) has a default rate limit of **100 requests/day**.\n\n## Authentication\n\nAll requests require a dLazy API key. The recommended way to authenticate is:\n\n```bash\ndlazy login\n```\n\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.\n\n### Alternative: Set the Key Manually\n\n```bash\ndlazy auth set YOUR_API_KEY\n```\n\nThe CLI saves the key in your user config directory (`~/.dlazy/config.json` on macOS/Linux, `%USERPROFILE%\\.dlazy\\config.json` on Windows). You can also supply the key per-invocation via the `DLAZY_API_KEY` environment variable.\n\n### Getting Your API Key Manually\n\n1. Sign in or create an account at [dlazy.com](https://dlazy.com)\n2. Go to [dlazy.com/dashboard/organization/api-key](https://dlazy.com/dashboard/organization/api-key)\n3. Copy the key shown in the API Key section\n\n## How It Works\n\nThis skill is a thin client over the dLazy hosted API. When you invoke it:\n\n- **Each `--image_url` / `--video_url` / `--audio_url` accepts EITHER a local file path OR a public URL — the CLI detects which automatically.** No need to upload first or convert anything; just pass whatever you have.\n  - **Local file** (e.g. `./photo.jpg`, `C:\\clip.mp4`): the CLI uploads it to dLazy's media storage (`files.dlazy.com`) and forwards the resulting URL.\n  - **Public URL** (e.g. `https://example.com/a.png`): passed through as-is. The URL must be publicly reachable — links behind login/auth or on a private network can't be fetched by the detection service.\n- The media is analyzed and a structured verdict (AI-generated confidence, deepfake confidence, likely generator) is returned.\n\n## Usage\n\n**CRITICAL INSTRUCTION FOR AGENT**:\nRun `dlazy detect` with exactly ONE of `--image_url`, `--video_url`, or `--audio_url`.\n\n```bash\ndlazy detect -h\n\nOptions:\n  --image_url [image_url]              Image to check (local path or public URL)\n  --video_url [video_url]              Video to check (local path or public URL)\n  --audio_url [audio_url]              Audio to check (local path or public URL)\n  --dry-run                            Print payload + cost estimate without calling API\n  --no-wait                            Return generateId immediately for async tasks\n  --timeout <seconds>                  Max seconds to wait for async completion (default: \"1800\")\n  -h, --help                           display help for command\n```\n\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.\n\n## Output Format\n\n```json\n{\n  \"ok\": true,\n  \"result\": {\n    \"tool\": \"detect\",\n    \"modelId\": \"detect\",\n    \"outputs\": [\n      {\n        \"type\": \"json\",\n        \"id\": \"o_xxxxxxxx\",\n        \"value\": {\n          \"media_type\": \"image\",\n          \"is_ai_generated\": true,\n          \"ai_generated_score\": 0.98,\n          \"not_ai_generated_score\": 0.02,\n          \"is_deepfake\": false,\n          \"deepfake_score\": 0.03,\n          \"top_generator\": \"midjourney\",\n          \"top_generator_score\": 0.91,\n          \"ai_generated_audio_score\": 0.0,\n          \"frames_analyzed\": 1\n        }\n      }\n    ]\n  }\n}\n```\n\nA human-readable summary is also returned in the task's `texts`, e.g. `疑似 AI 生成（AI 置信度 98%，疑似 midjourney）；未检出 deepfake`.\n\n> Async tasks (when `--no-wait` is passed) return `outputs: []` and a `task: { generateId, status }` field instead. Use `dlazy status <generateId> --wait` to poll.\n\n## Examples\n\n```bash\n# Check a local image\ndlazy detect --image_url ./photo.jpg\n\n# Check a video (AI-generation + deepfake)\ndlazy detect --video_url ./clip.mp4\n\n# Check an audio clip (AI voice)\ndlazy detect --audio_url ./voice.mp3\n\n# Check by public URL\ndlazy detect --image_url https://example.com/a.png\n```\n\n## Error Handling\n\n| Code | Error Type                         | Example Message                                                                                                          |\n| ---- | ---------------------------------- | ------------------------------------------------------------------------------------------------------------------------ |\n| 401  | Unauthorized (No API Key)          | `ok: false, code: \"unauthorized\", message: \"API key is missing or invalid\"`                                              |\n| 501  | Missing required parameter         | `Provide one of image_url, video_url, or audio_url`                                                                      |\n| 502  | Local file read error              | `Error: Image file/Video file not found: C:\\path\\to\\your\\file`                                                           |\n| 503  | API request failed (no balance)    | `ok: false, code: \"insufficient_balance\"`                                                                                |\n| 503  | API request failed (rate limited)  | `HTTP status code error (429 too many requests)` — Hive V3 allows 100 requests/day                                       |\n| 504  | Asynchronous task execution failed | `=== Generation Failed ===` / `{Specific error reason returned by backend}`                                              |\n\n> **AGENT CRITICAL INSTRUCTION**:\n>\n> 1. If the result returns `code: \"insufficient_balance\"`, you MUST tell the user 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)\n> 2. If the result returns `code: \"unauthorized\"` or indicates a missing API key, you MUST tell 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 with `dlazy auth set <key>`, then resume the task.\n\n## Tips\n\nVisit https://dlazy.com for more information.\n\nFile v1.0.17:_meta.json\n\n{\n  \"ownerId\": \"kn7c5wgeajfcfvdfb5ceemvdb984cjpd\",\n  \"slug\": \"dlazy-detect\",\n  \"version\": \"1.0.17\",\n  \"publishedAt\": 1789866288541\n}\n\nFile v1.0.17:skill-card.md\n\n## Description:\n\nDetect whether an image, video, or audio file is AI-generated, including visual deepfakes and likely generator model attribution, and return confidence scores for thresholding.\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 check images, videos, or audio for AI-generation signals, deepfake indicators, and likely generator attribution through the dLazy hosted detection service.\n\n### Deployment Geography for Use:\n\nGlobal\n\n## Known Risks and Mitigations:\n\nRisk: Selected local media may be uploaded to dLazy media storage and analyzed by dLazy's hosted service.\n\nMitigation: Confirm the exact file path or public URL before invoking detection, especially for private, biometric, confidential, or customer media.\n\nRisk: A dLazy API key may be stored in the local CLI configuration.\n\nMitigation: Use only trusted environments, protect the local configuration file, or provide the key per invocation with DLAZY_API_KEY when persistence is not desired.\n\nRisk: Detection calls can fail because of missing credentials, insufficient balance, unreachable private URLs, or provider rate limits.\n\nMitigation: Check authentication and account balance before use, pass only publicly reachable URLs for remote media, and surface returned error codes clearly to the user.\n\n## Reference(s):\n\n- [ClawHub skill page](https://clawhub.ai/dlazyai/skills/dlazy-detect)\n- [dLazy CLI homepage](https://github.com/dlazy-ai/cli)\n- [@dlazy/cli npm package](https://www.npmjs.com/package/@dlazy/cli)\n- [dLazy](https://dlazy.com)\n\n## Skill Output:\n\n**Output Type(s):** [text, shell commands, configuration, json, guidance]\n\n**Output Format:** [Markdown guidance with shell commands and JSON detection results]\n\n**Output Parameters:** [1D]\n\n**Other Properties Related to Output:** [Detection results may include AI-generation confidence, deepfake confidence, likely generator attribution, audio AI score, frame count, and asynchronous task status.]\n\n## Skill Version(s):\n\n1.0.17 (source: server 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.0.17:SKILL-cn.md\n\n---\nname: dlazy-detect\nversion: 1.0.5\ndescription: \"检测图片、视频或音频是否由 AI 生成：包含人脸 deepfake 识别与疑似生成模型归因（Midjourney、Stable Diffusion、Sora 等），返回可用于判定的置信度分数。\"\nmetadata:\n  {\n    'clawdbot':\n      {\n        'emoji': '🔍',\n        'requires': { 'bins': ['npm', 'npx'] },\n        'install': 'npm install -g @dlazy/cli@1.2.3',\n        'installAlternative': 'npx @dlazy/cli@1.2.3',\n        'homepage': 'https://github.com/dlazy-ai/cli',\n        'source': 'https://github.com/dlazy-ai/cli',\n        'author': 'dlazyai',\n        'license': 'see-repo',\n        'npm': 'https://www.npmjs.com/package/@dlazy/cli',\n        'configLocation': '~/.dlazy/config.json',\n        'apiEndpoints': ['api.dlazy.com', 'files.dlazy.com'],\n      },\n    'openclaw': { 'systemPrompt': '当调用此技能时，可以使用 dlazy detect -h 查看帮助信息。' },\n  }\n---\n\n# AI 内容检测 AI Detect\n\n[English](./SKILL.md) · [中文](./SKILL-cn.md)\n\n检测图片、视频或音频是否由 AI 生成：包含人脸 deepfake 识别与疑似生成模型归因（Midjourney、Stable Diffusion、Sora 等），返回可用于判定的置信度分数。\n\n## 触发关键词\n\n- detect\n- ai-detect\n- ai-generated\n- deepfake\n- AI 检测\n- 是不是 AI 生成\n\n## 能检测什么\n\n- **图片 / 视频**：是否 AI 生成（`ai_generated` 分数）、是否含 **deepfake**（换脸）、以及**疑似生成模型**（Midjourney、Stable Diffusion、DALL·E 等）。\n- **音频**（纯音频文件，或视频里的音轨）：音频是否 AI 生成（`ai_generated_audio` 分数）。\n- **不支持文字**——本模型仅支持图片、视频、音频。\n\n> 推荐判定阈值：分数 **≥ 0.9** 视为 AI 生成。技能已按此阈值给出 `is_ai_generated` / `is_deepfake` 布尔结果。\n>\n> 注意：底层服务商（Hive V3 Playground）默认限速 **100 次/天**。\n\n## 身份验证 (Authentication)\n\n所有请求都需要 dLazy API key。**推荐使用** `dlazy login` 完成登录：\n\n```bash\ndlazy login\n```\n\n该命令使用设备码流程（远程终端也可用），登录成功后 **自动把 API key 写入本地 CLI 配置**，无需手动复制粘贴。\n\n### 备选：手动设置 API Key\n\n```bash\ndlazy auth set YOUR_API_KEY\n```\n\nCLI 会把 key 保存在你的用户配置目录（macOS/Linux 上为 `~/.dlazy/config.json`，Windows 上为 `%USERPROFILE%\\.dlazy\\config.json`）。你也可以用 `DLAZY_API_KEY` 环境变量按次传入。\n\n### 手动获取 API Key\n\n1. 登录或在 [dlazy.com](https://dlazy.com) 创建账号\n2. 访问 [dlazy.com/dashboard/organization/api-key](https://dlazy.com/dashboard/organization/api-key)\n3. 复制 API Key 区域显示的密钥\n\n## 工作原理\n\n此技能是 dLazy 托管 API 的轻量封装。调用时：\n\n- **`--image_url` / `--video_url` / `--audio_url` 既可以传本地文件路径，也可以传公开链接（URL）—— CLI 会自动判断是哪种。** 不用先上传、也不用做任何转换，有什么直接传就行。\n  - **本地文件**（如 `./photo.jpg`、`C:\\clip.mp4`）：CLI 会自动上传到 dLazy 媒体存储（`files.dlazy.com`），再把得到的 URL 传给后端。\n  - **公开链接**（如 `https://example.com/a.png`）：原样透传。注意该链接必须**公开可访问**——需要登录/鉴权或在内网的链接，检测服务抓取不到。\n- 媒体会被分析，返回结构化判定结果（AI 生成置信度、deepfake 置信度、疑似生成模型）。\n\n## 使用方法\n\n**CRITICAL INSTRUCTION FOR AGENT**:\n执行 `dlazy detect`，并且只传 `--image_url`、`--video_url`、`--audio_url` 三者之一。\n\n```bash\ndlazy detect -h\n\nOptions:\n  --image_url [image_url]              待检测的图片（本地路径或公开 URL）\n  --video_url [video_url]              待检测的视频（本地路径或公开 URL）\n  --audio_url [audio_url]              待检测的音频（本地路径或公开 URL）\n  --dry-run                            Print payload + cost estimate without calling API\n  --no-wait                            Return generateId immediately for async tasks\n  --timeout <seconds>                  Max seconds to wait for async completion (default: \"1800\")\n  -h, --help                           display help for command\n```\n\n> Any flag also accepts pipe references — `-` (auto-pick from upstream stdin), `@N` (n-th output), \n\nArchive v1.0.16: 4 files, 8614 bytes\n\nFiles: skill-card.md (2062b), SKILL-cn.md (7668b), SKILL.md (8061b), _meta.json (132b)","readmeExcerpt":"Skill: AI 内容检测 AI Detect Owner: dlazyai Summary: Detect whether an image, video, or audio file is AI-generated — including visual deepfakes and the likely generator model (Midjourney, Stable Diffusion, Sora, etc.). Returns confidence scores you can threshold. 检测图片、视频或音频是否由 AI 生成：包含人脸 deepfake 识别与疑似生成模型归因，返回可用于判定的置信度分数。 Tags: latest:1.0.25 Version history: v1.0.25 | 2026-10-08T01:03:10.528Z | user 例行版本更新 2026-10-08 v1","codeSnippets":[],"executableExamples":[{"language":"bash","snippet":"dlazy login"},{"language":"bash","snippet":"dlazy auth set YOUR_API_KEY"},{"language":"bash","snippet":"dlazy detect -h\n\nOptions:\n  --image_url [image_url]              Image to check (local path or public URL)\n  --video_url [video_url]              Video to check (local path or public URL)\n  --audio_url [audio_url]              Audio to check (local path or public URL)\n  --dry-run                            Print payload + cost estimate without calling API\n  --no-wait                            Return generateId immediately for async tasks\n  --timeout <seconds>                  Max seconds to wait for async completion (default: \"1800\")\n  -h, --help                           display help for command"},{"language":"json","snippet":"{\n  \"ok\": true,\n  \"result\": {\n    \"tool\": \"detect\",\n    \"modelId\": \"detect\",\n    \"outputs\": [\n      {\n        \"type\": \"json\",\n        \"id\": \"o_xxxxxxxx\",\n        \"value\": {\n          \"media_type\": \"image\",\n          \"is_ai_generated\": true,\n          \"ai_generated_score\": 0.98,\n          \"not_ai_generated_score\": 0.02,\n          \"is_deepfake\": false,\n          \"deepfake_score\": 0.03,\n          \"top_generator\": \"midjourney\",\n          \"top_generator_score\": 0.91,\n          \"ai_generated_audio_score\": 0.0,\n          \"frames_analyzed\": 1\n        }\n      }\n    ]\n  }\n}"},{"language":"bash","snippet":"# Check a local image\ndlazy detect --image_url ./photo.jpg\n\n# Check a video (AI-generation + deepfake)\ndlazy detect --video_url ./clip.mp4\n\n# Check an audio clip (AI voice)\ndlazy detect --audio_url ./voice.mp3\n\n# Check by public URL\ndlazy detect --image_url https://example.com/a.png"},{"language":"bash","snippet":"dlazy login"}],"parameters":null,"dependencies":[],"permissions":[],"extractedFiles":[{"path":"SKILL.md","content":"---\nname: dlazy-detect\nversion: 1.0.5\ndescription: \"Detect whether an image, video, or audio file is AI-generated — including visual deepfakes and the likely generator model (Midjourney, Stable Diffusion, Sora, etc.). Returns confidence scores you can threshold. 检测图片、视频或音频是否由 AI 生成：包含人脸 deepfake 识别与疑似生成模型归因，返回可用于判定的置信度分数。\"\nmetadata:\n  {\n    'clawdbot':\n      {\n        'emoji': '🔍',\n        'requires': { 'bins': ['npm', 'npx'] },\n        'install': 'npm install -g @dlazy/cli@1.2.3',\n        'installAlternative': 'npx @dlazy/cli@1.2.3',\n        'homepage': 'https://github.com/dlazy-ai/cli',\n        'source': 'https://github.com/dlazy-ai/cli',\n        'author': 'dlazyai',\n        'license': 'see-repo',\n        'npm': 'https://www.npmjs.com/package/@dlazy/cli',\n        'configLocation': '~/.dlazy/config.json',\n        'apiEndpoints': ['api.dlazy.com', 'files.dlazy.com'],\n      },\n    'openclaw': { 'systemPrompt': 'When invoking this skill, use dlazy detect -h for help.' },\n  }\n---\n\n# AI 内容检测 AI Detect\n\n[English](./SKILL.md) · [中文](./SKILL-cn.md)\n\nDetect whether an image, video, or audio file is AI-generated — including visual deepfakes and the likely generator model (Midjourney, Stable Diffusion, Sora, etc.). Returns confidence scores you can threshold.\n\n## Trigger Keywords\n\n- detect\n- ai-detect\n- ai-generated\n- deepfake\n- is this AI\n\n## What It Detects\n\n- **Image / Video**: whether the visual is AI-generated (`ai_generated` score), whether it contains a **deepfake** (face swap), and the **likely generator** (Midjourney, Stable Diffusion, DALL·E, etc.).\n- **Audio** (audio-only files, or the audio track of a video): whether the audio is AI-generated (`ai_generated_audio` score).\n- **Text is NOT supported** by this model — image, video, and audio only.\n\n> Recommended decision threshold: treat as AI-generated when the score is **≥ 0.9**. The skill already applies this to the `is_ai_generated` / `is_deepfake` booleans.\n>\n> Note: the underlying provider (Hive V3 Playground) has a default rate limit of **100 requests/day**.\n\n## Authentication\n\nAll requests require a dLazy API key. The recommended way to authenticate is:\n\n```bash\ndlazy login\n```\n\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.\n\n### Alternative: Set the Key Manually\n\n```bash\ndlazy auth set YOUR_API_KEY\n```\n\nThe CLI saves the key in your user config directory (`~/.dlazy/config.json` on macOS/Linux, `%USERPROFILE%\\.dlazy\\config.json` on Windows). You can also supply the key per-invocation via the `DLAZY_API_KEY` environment variable.\n\n### Getting Your API Key Manually\n\n1. Sign in or create an account at [dlazy.com](https://dlazy.com)\n2. Go to [dlazy.com/dashboard/organization/api-key](https://dlazy.com/dashboard/organization/api-key)\n3. Copy the key shown in the API Key section\n\n## How It Works\n\nThis skill is a thin client over the dLazy hosted API. When you invoke it:\n\n- **Each `--ima"},{"path":"_meta.json","content":"{\n  \"ownerId\": \"kn7c5wgeajfcfvdfb5ceemvdb984cjpd\",\n  \"slug\": \"dlazy-detect\",\n  \"version\": \"1.0.25\",\n  \"publishedAt\": 1791421390528\n}"},{"path":"skill-card.md","content":"## Description:\n\nChecks images, videos, and audio for signs of AI generation, reporting confidence scores, possible deepfakes, and likely generators.\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\nPeople and teams checking whether an image, video, or audio clip may be AI-generated use this skill to obtain confidence scores, deepfake indicators, and possible generator attribution.\n\n### Deployment Geography for Use:\n\nGlobal\n\n## Known Risks and Mitigations:\n\nRisk: Local images, videos, or audio can be uploaded to dLazy's hosted service without a prominent consent step.\n\nMitigation: Confirm the specific media before analysis; avoid sensitive files unless the service's privacy and retention terms are acceptable.\n\nRisk: The login flow saves an API key in local CLI configuration.\n\nMitigation: Use a per-task API key when a saved credential is not desired, and protect any locally stored key.\n\n## Reference(s):\n\n- [ClawHub skill listing](https://clawhub.ai/dlazyai/skills/dlazy-detect)\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\n## Skill Output:\n\n**Output Type(s):** [Text, Shell commands, Guidance]\n\n**Output Format:** [Markdown with command examples and summarized JSON detection results]\n\n**Output Parameters:** [1D]\n\n**Other Properties Related to Output:** [Results can include confidence scores and likely generator; asynchronous requests return a task ID.]\n\n## Skill Version(s):\n\n1.0.25 (source: release metadata; skill frontmatter lists 1.0.5)\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":"---\nname: dlazy-detect\nversion: 1.0.5\ndescription: \"检测图片、视频或音频是否由 AI 生成：包含人脸 deepfake 识别与疑似生成模型归因（Midjourney、Stable Diffusion、Sora 等），返回可用于判定的置信度分数。\"\nmetadata:\n  {\n    'clawdbot':\n      {\n        'emoji': '🔍',\n        'requires': { 'bins': ['npm', 'npx'] },\n        'install': 'npm install -g @dlazy/cli@1.2.3',\n        'installAlternative': 'npx @dlazy/cli@1.2.3',\n        'homepage': 'https://github.com/dlazy-ai/cli',\n        'source': 'https://github.com/dlazy-ai/cli',\n        'author': 'dlazyai',\n        'license': 'see-repo',\n        'npm': 'https://www.npmjs.com/package/@dlazy/cli',\n        'configLocation': '~/.dlazy/config.json',\n        'apiEndpoints': ['api.dlazy.com', 'files.dlazy.com'],\n      },\n    'openclaw': { 'systemPrompt': '当调用此技能时，可以使用 dlazy detect -h 查看帮助信息。' },\n  }\n---\n\n# AI 内容检测 AI Detect\n\n[English](./SKILL.md) · [中文](./SKILL-cn.md)\n\n检测图片、视频或音频是否由 AI 生成：包含人脸 deepfake 识别与疑似生成模型归因（Midjourney、Stable Diffusion、Sora 等），返回可用于判定的置信度分数。\n\n## 触发关键词\n\n- detect\n- ai-detect\n- ai-generated\n- deepfake\n- AI 检测\n- 是不是 AI 生成\n\n## 能检测什么\n\n- **图片 / 视频**：是否 AI 生成（`ai_generated` 分数）、是否含 **deepfake**（换脸）、以及**疑似生成模型**（Midjourney、Stable Diffusion、DALL·E 等）。\n- **音频**（纯音频文件，或视频里的音轨）：音频是否 AI 生成（`ai_generated_audio` 分数）。\n- **不支持文字**——本模型仅支持图片、视频、音频。\n\n> 推荐判定阈值：分数 **≥ 0.9** 视为 AI 生成。技能已按此阈值给出 `is_ai_generated` / `is_deepfake` 布尔结果。\n>\n> 注意：底层服务商（Hive V3 Playground）默认限速 **100 次/天**。\n\n## 身份验证 (Authentication)\n\n所有请求都需要 dLazy API key。**推荐使用** `dlazy login` 完成登录：\n\n```bash\ndlazy login\n```\n\n该命令使用设备码流程（远程终端也可用），登录成功后 **自动把 API key 写入本地 CLI 配置**，无需手动复制粘贴。\n\n### 备选：手动设置 API Key\n\n```bash\ndlazy auth set YOUR_API_KEY\n```\n\nCLI 会把 key 保存在你的用户配置目录（macOS/Linux 上为 `~/.dlazy/config.json`，Windows 上为 `%USERPROFILE%\\.dlazy\\config.json`）。你也可以用 `DLAZY_API_KEY` 环境变量按次传入。\n\n### 手动获取 API Key\n\n1. 登录或在 [dlazy.com](https://dlazy.com) 创建账号\n2. 访问 [dlazy.com/dashboard/organization/api-key](https://dlazy.com/dashboard/organization/api-key)\n3. 复制 API Key 区域显示的密钥\n\n## 工作原理\n\n此技能是 dLazy 托管 API 的轻量封装。调用时：\n\n- **`--image_url` / `--video_url` / `--audio_url` 既可以传本地文件路径，也可以传公开链接（URL）—— CLI 会自动判断是哪种。** 不用先上传、也不用做任何转换，有什么直接传就行。\n  - **本地文件**（如 `./photo.jpg`、`C:\\clip.mp4`）：CLI 会自动上传到 dLazy 媒体存储（`files.dlazy.com`），再把得到的 URL 传给后端。\n  - **公开链接**（如 `https://example.com/a.png`）：原样透传。注意该链接必须**公开可访问**——需要登录/鉴权或在内网的链接，检测服务抓取不到。\n- 媒体会被分析，返回结构化判定结果（AI 生成置信度、deepfake 置信度、疑似生成模型）。\n\n## 使用方法\n\n**CRITICAL INSTRUCTION FOR AGENT**:\n执行 `dlazy detect`，并且只传 `--image_url`、`--video_url`、`--audio_url` 三者之一。\n\n```bash\ndlazy detect -h\n\nOptions:\n  --image_url [image_url]              待检测的图片（本地路径或公开 URL）\n  --video_url [video_url]              待检测的视频（本地路径或公开 URL）\n  --audio_url [audio_url]              待检测的音频（本地路径或公开 URL）\n  --dry-run                            Print payload + cost estimate without calling API\n  --no-wait                            Return generateId immediately for async tasks\n  --timeout <seconds>                  Max seconds to wait for async completion (default: \"1800\")\n  -h, --help                           display help fo"}],"languages":[],"docsSourceLabel":"CLAWHUB","editorialOverview":null,"editorialQuality":{"score":100,"threshold":65,"status":"thin","wordCount":1305,"uniquenessScore":43,"reasons":["uniqueness-below-45"]}},"media":{"evidence":{"source":"no-media","verified":false,"confidence":"low","updatedAt":"2026-10-10T00:29:31.472Z","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-10T00:29:31.472Z","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-10T07:41:22.146Z","emptyReason":null},"items":[{"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-10-09T19:11:12.944Z","createdAt":"2026-02-25T03:38:16.584Z","downloads":null},{"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":"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"}]}}}