{
  "schemaVersion": "1.0",
  "item": {
    "slug": "civitai-api-art",
    "name": "Civitai Generation API",
    "source": "tencent",
    "type": "skill",
    "category": "开发工具",
    "sourceUrl": "https://clawhub.ai/shinnpuru/civitai-api-art",
    "canonicalUrl": "https://clawhub.ai/shinnpuru/civitai-api-art",
    "targetPlatform": "OpenClaw"
  },
  "install": {
    "downloadMode": "redirect",
    "downloadUrl": "/downloads/civitai-api-art",
    "sourceDownloadUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=civitai-api-art",
    "sourcePlatform": "tencent",
    "targetPlatform": "OpenClaw",
    "installMethod": "Manual import",
    "extraction": "Extract archive",
    "prerequisites": [
      "OpenClaw"
    ],
    "packageFormat": "ZIP package",
    "includedAssets": [
      "SKILL.md",
      "scripts/get_illust.js"
    ],
    "primaryDoc": "SKILL.md",
    "quickSetup": [
      "Download the package from Yavira.",
      "Extract the archive and review SKILL.md first.",
      "Import or place the package into your OpenClaw setup."
    ],
    "agentAssist": {
      "summary": "Hand the extracted package to your coding agent with a concrete install brief instead of figuring it out manually.",
      "steps": [
        "Download the package from Yavira.",
        "Extract it into a folder your agent can access.",
        "Paste one of the prompts below and point your agent at the extracted folder."
      ],
      "prompts": [
        {
          "label": "New install",
          "body": "I downloaded a skill package from Yavira. Read SKILL.md from the extracted folder and install it by following the included instructions. Tell me what you changed and call out any manual steps you could not complete."
        },
        {
          "label": "Upgrade existing",
          "body": "I downloaded an updated skill package from Yavira. Read SKILL.md from the extracted folder, compare it with my current installation, and upgrade it while preserving any custom configuration unless the package docs explicitly say otherwise. Summarize what changed and any follow-up checks I should run."
        }
      ]
    },
    "sourceHealth": {
      "source": "tencent",
      "status": "healthy",
      "reason": "direct_download_ok",
      "recommendedAction": "download",
      "checkedAt": "2026-04-30T16:55:25.780Z",
      "expiresAt": "2026-05-07T16:55:25.780Z",
      "httpStatus": 200,
      "finalUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=network",
      "contentType": "application/zip",
      "probeMethod": "head",
      "details": {
        "probeUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=network",
        "contentDisposition": "attachment; filename=\"network-1.0.0.zip\"",
        "redirectLocation": null,
        "bodySnippet": null
      },
      "scope": "source",
      "summary": "Source download looks usable.",
      "detail": "Yavira can redirect you to the upstream package for this source.",
      "primaryActionLabel": "Download for OpenClaw",
      "primaryActionHref": "/downloads/civitai-api-art"
    },
    "validation": {
      "installChecklist": [
        "Use the Yavira download entry.",
        "Review SKILL.md after the package is downloaded.",
        "Confirm the extracted package contains the expected setup assets."
      ],
      "postInstallChecks": [
        "Confirm the extracted package includes the expected docs or setup files.",
        "Validate the skill or prompts are available in your target agent workspace.",
        "Capture any manual follow-up steps the agent could not complete."
      ]
    },
    "downloadPageUrl": "https://openagent3.xyz/downloads/civitai-api-art",
    "agentPageUrl": "https://openagent3.xyz/skills/civitai-api-art/agent",
    "manifestUrl": "https://openagent3.xyz/skills/civitai-api-art/agent.json",
    "briefUrl": "https://openagent3.xyz/skills/civitai-api-art/agent.md"
  },
  "agentAssist": {
    "summary": "Hand the extracted package to your coding agent with a concrete install brief instead of figuring it out manually.",
    "steps": [
      "Download the package from Yavira.",
      "Extract it into a folder your agent can access.",
      "Paste one of the prompts below and point your agent at the extracted folder."
    ],
    "prompts": [
      {
        "label": "New install",
        "body": "I downloaded a skill package from Yavira. Read SKILL.md from the extracted folder and install it by following the included instructions. Tell me what you changed and call out any manual steps you could not complete."
      },
      {
        "label": "Upgrade existing",
        "body": "I downloaded an updated skill package from Yavira. Read SKILL.md from the extracted folder, compare it with my current installation, and upgrade it while preserving any custom configuration unless the package docs explicitly say otherwise. Summarize what changed and any follow-up checks I should run."
      }
    ]
  },
  "documentation": {
    "source": "clawhub",
    "primaryDoc": "SKILL.md",
    "sections": [
      {
        "title": "CivitAI AI Art Generation",
        "body": "Generate AI artwork using CivitAI's official JavaScript SDK."
      },
      {
        "title": "Prerequisites",
        "body": "Node.js 18+ environment\nCivitAI API access token (stored in environment variable CIVITAI_API_TOKEN)\ncivitai npm package installed"
      },
      {
        "title": "Installation",
        "body": "npm install civitai"
      },
      {
        "title": "Usage",
        "body": "node scripts/get_illust.js [options]"
      },
      {
        "title": "Options",
        "body": "OptionDescriptionDefault--promptMain generation prompt (required)---negativeNegative prompt\"bad quality,worst quality,worst detail,sketch,censor\"--widthImage width832--heightImage height1216--seedRandom seedrandom--stepsSampling steps20--cfg-scaleCFG scale5--modelModel URN identifier\"urn:air:sdxl:checkpoint:civitai:827184@2514310\"--samplerSampler algorithm\"Euler a\"--clip-skipCLIP skip layers2--outputOutput file path\"./output.png\"--loraLoRA network URN with optional strength (format: urn,strength)-"
      },
      {
        "title": "Example Usage",
        "body": "# 基础生成\nnode scripts/get_illust.js --prompt \"1girl, red hair, blue eyes, maid outfit, smile\" --output maid.png\n\n# 高级设置\nnode scripts/get_illust.js \\\n  --prompt \"1girl, long silver hair, purple eyes, magical girl, cityscape at night\" \\\n  --negative \"lowres, bad anatomy, bad hands, text, error, missing fingers, extra digit, fewer digits, cropped, worst quality, low quality, normal quality, jpeg artifacts, signature, watermark, username, blurry, bad feet\" \\\n  --width 1024 \\\n  --height 1536 \\\n  --steps 28 \\\n  --cfg-scale 6 \\\n  --seed 42 \\\n  --output magical_girl.png\n\n# 使用不同模型\nnode scripts/get_illust.js \\\n  --prompt \"fantasy landscape, floating islands, waterfalls\" \\\n  --model \"urn:air:sdxl:checkpoint:civitai:101055@128641\" \\\n  --output landscape.png\n\n# 使用 LoRA\nnode scripts/get_illust.js \\\n  --prompt \"1girl, red hair, blue eyes, maid outfit, smile\" \\\n  --lora \"urn:air:sdxl:lora:civitai:162141@182559,0.8\" \\\n  --output maid_with_lora.png\n\n# 使用多个 LoRA\nnode scripts/get_illust.js \\\n  --prompt \"1girl, cat ears, cute smile, IncrsAhri, multiple tails\" \\\n  --lora \"urn:air:sd1:lora:civitai:162141@182559,1.0\" \\\n  --lora \"urn:air:sd1:lora:civitai:176425@198856,0.6\" \\\n  --output multi_lora.png"
      },
      {
        "title": "Markdown 链接示例",
        "body": "生成图片后，使用 markdown 格式包裹链接：\n\n[生成的图片](https://blobs-temp.s3.us-west-004.backblazeb2.com/...)"
      },
      {
        "title": "Scheduler Options",
        "body": "Available sampler values:\n\nSampler NameEnum ValueEuler aEULER_AEulerEULERLMSLMSHeunHEUNDPM2DPM2DPM2 aDPM2_ADPM++ 2S aDPM2_SADPM++ 2MDPM2_MDPM++ SDEDPM_SDEDPM fastDPM_FASTDPM adaptiveDPM_ADAPTIVELMS KarrasLMS_KARRASDPM2 KarrasDPM2_KARRASDPM2 a KarrasDPM2_A_KARRASDPM++ 2S a KarrasDPM2_SA_KARRASDPM++ 2M KarrasDPM2_M_KARRASDPM++ SDE KarrasDPM_SDE_KARRASDDIMDDIMPLMSPLMSUniPCUNIPCLCMLCMDDPMDDPMDEISDEIS"
      },
      {
        "title": "Notes",
        "body": "Requires Node.js 18+ for native fetch support\nStore API tokens securely using environment variables\nGenerated images are subject to CivitAI's terms of service\nSome models may require specific permissions or subscriptions\nThe script always waits for job completion by default"
      }
    ],
    "body": "CivitAI AI Art Generation\n\nGenerate AI artwork using CivitAI's official JavaScript SDK.\n\nPrerequisites\nNode.js 18+ environment\nCivitAI API access token (stored in environment variable CIVITAI_API_TOKEN)\ncivitai npm package installed\nInstallation\nnpm install civitai\n\nUsage\nnode scripts/get_illust.js [options]\n\nOptions\nOption\tDescription\tDefault\n--prompt\tMain generation prompt (required)\t-\n--negative\tNegative prompt\t\"bad quality,worst quality,worst detail,sketch,censor\"\n--width\tImage width\t832\n--height\tImage height\t1216\n--seed\tRandom seed\trandom\n--steps\tSampling steps\t20\n--cfg-scale\tCFG scale\t5\n--model\tModel URN identifier\t\"urn:air:sdxl:checkpoint:civitai:827184@2514310\"\n--sampler\tSampler algorithm\t\"Euler a\"\n--clip-skip\tCLIP skip layers\t2\n--output\tOutput file path\t\"./output.png\"\n--lora\tLoRA network URN with optional strength (format: urn,strength)\t-\nExample Usage\n# 基础生成\nnode scripts/get_illust.js --prompt \"1girl, red hair, blue eyes, maid outfit, smile\" --output maid.png\n\n# 高级设置\nnode scripts/get_illust.js \\\n  --prompt \"1girl, long silver hair, purple eyes, magical girl, cityscape at night\" \\\n  --negative \"lowres, bad anatomy, bad hands, text, error, missing fingers, extra digit, fewer digits, cropped, worst quality, low quality, normal quality, jpeg artifacts, signature, watermark, username, blurry, bad feet\" \\\n  --width 1024 \\\n  --height 1536 \\\n  --steps 28 \\\n  --cfg-scale 6 \\\n  --seed 42 \\\n  --output magical_girl.png\n\n# 使用不同模型\nnode scripts/get_illust.js \\\n  --prompt \"fantasy landscape, floating islands, waterfalls\" \\\n  --model \"urn:air:sdxl:checkpoint:civitai:101055@128641\" \\\n  --output landscape.png\n\n# 使用 LoRA\nnode scripts/get_illust.js \\\n  --prompt \"1girl, red hair, blue eyes, maid outfit, smile\" \\\n  --lora \"urn:air:sdxl:lora:civitai:162141@182559,0.8\" \\\n  --output maid_with_lora.png\n\n# 使用多个 LoRA\nnode scripts/get_illust.js \\\n  --prompt \"1girl, cat ears, cute smile, IncrsAhri, multiple tails\" \\\n  --lora \"urn:air:sd1:lora:civitai:162141@182559,1.0\" \\\n  --lora \"urn:air:sd1:lora:civitai:176425@198856,0.6\" \\\n  --output multi_lora.png\n\nMarkdown 链接示例\n\n生成图片后，使用 markdown 格式包裹链接：\n\n[生成的图片](https://blobs-temp.s3.us-west-004.backblazeb2.com/...)\n\nScheduler Options\n\nAvailable sampler values:\n\nSampler Name\tEnum Value\nEuler a\tEULER_A\nEuler\tEULER\nLMS\tLMS\nHeun\tHEUN\nDPM2\tDPM2\nDPM2 a\tDPM2_A\nDPM++ 2S a\tDPM2_SA\nDPM++ 2M\tDPM2_M\nDPM++ SDE\tDPM_SDE\nDPM fast\tDPM_FAST\nDPM adaptive\tDPM_ADAPTIVE\nLMS Karras\tLMS_KARRAS\nDPM2 Karras\tDPM2_KARRAS\nDPM2 a Karras\tDPM2_A_KARRAS\nDPM++ 2S a Karras\tDPM2_SA_KARRAS\nDPM++ 2M Karras\tDPM2_M_KARRAS\nDPM++ SDE Karras\tDPM_SDE_KARRAS\nDDIM\tDDIM\nPLMS\tPLMS\nUniPC\tUNIPC\nLCM\tLCM\nDDPM\tDDPM\nDEIS\tDEIS\nNotes\nRequires Node.js 18+ for native fetch support\nStore API tokens securely using environment variables\nGenerated images are subject to CivitAI's terms of service\nSome models may require specific permissions or subscriptions\nThe script always waits for job completion by default"
  },
  "trust": {
    "sourceLabel": "tencent",
    "provenanceUrl": "https://clawhub.ai/shinnpuru/civitai-api-art",
    "publisherUrl": "https://clawhub.ai/shinnpuru/civitai-api-art",
    "owner": "shinnpuru",
    "version": "1.0.0",
    "license": null,
    "verificationStatus": "Indexed source record"
  },
  "links": {
    "detailUrl": "https://openagent3.xyz/skills/civitai-api-art",
    "downloadUrl": "https://openagent3.xyz/downloads/civitai-api-art",
    "agentUrl": "https://openagent3.xyz/skills/civitai-api-art/agent",
    "manifestUrl": "https://openagent3.xyz/skills/civitai-api-art/agent.json",
    "briefUrl": "https://openagent3.xyz/skills/civitai-api-art/agent.md"
  }
}