{
  "schemaVersion": "1.0",
  "item": {
    "slug": "draw-images-by-apiyi",
    "name": "Draw Images By Apiyi",
    "source": "tencent",
    "type": "skill",
    "category": "开发工具",
    "sourceUrl": "https://clawhub.ai/mengwuzhi/draw-images-by-apiyi",
    "canonicalUrl": "https://clawhub.ai/mengwuzhi/draw-images-by-apiyi",
    "targetPlatform": "OpenClaw"
  },
  "install": {
    "downloadMode": "redirect",
    "downloadUrl": "/downloads/draw-images-by-apiyi",
    "sourceDownloadUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=draw-images-by-apiyi",
    "sourcePlatform": "tencent",
    "targetPlatform": "OpenClaw",
    "installMethod": "Manual import",
    "extraction": "Extract archive",
    "prerequisites": [
      "OpenClaw"
    ],
    "packageFormat": "ZIP package",
    "includedAssets": [
      "README.md",
      "SKILL.md",
      "scripts/generate_image.py"
    ],
    "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. Then review README.md for any prerequisites, environment setup, or post-install checks. 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. Then review README.md for any prerequisites, environment setup, or post-install checks. 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/draw-images-by-apiyi"
    },
    "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/draw-images-by-apiyi",
    "agentPageUrl": "https://openagent3.xyz/skills/draw-images-by-apiyi/agent",
    "manifestUrl": "https://openagent3.xyz/skills/draw-images-by-apiyi/agent.json",
    "briefUrl": "https://openagent3.xyz/skills/draw-images-by-apiyi/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. Then review README.md for any prerequisites, environment setup, or post-install checks. 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. Then review README.md for any prerequisites, environment setup, or post-install checks. Summarize what changed and any follow-up checks I should run."
      }
    ]
  },
  "documentation": {
    "source": "clawhub",
    "primaryDoc": "SKILL.md",
    "sections": [
      {
        "title": "Draw Images by APIYI",
        "body": "Generate images using APIYI API. Simple and fast."
      },
      {
        "title": "Slash Command (Recommended)",
        "body": "/draw-images-by-apiyi a cute cat wearing sunglasses\n/draw-images-by-apiyi a sunset over mountains -r 2K"
      },
      {
        "title": "Natural Language",
        "body": "Just ask the agent:\n\n\"Draw a cute cat for me\"\n\"Generate an image of a sunset\"\n\"Can you create a picture of a robot?\""
      },
      {
        "title": "Command Line",
        "body": "uv run {baseDir}/scripts/generate_image.py --prompt \"your image description\" --filename \"output.png\""
      },
      {
        "title": "Basic generation",
        "body": "uv run {baseDir}/scripts/generate_image.py -p \"a cute cat wearing sunglasses\" -f cat.png"
      },
      {
        "title": "With resolution",
        "body": "uv run {baseDir}/scripts/generate_image.py -p \"a sunset over mountains\" -f sunset.png -r 2K"
      },
      {
        "title": "With explicit API key",
        "body": "uv run {baseDir}/scripts/generate_image.py -p \"a robot\" -f robot.png --api-key YOUR_API_KEY"
      },
      {
        "title": "API Key",
        "body": "Get your API key from https://apiyi.com/\n\nSet via environment:\n\nexport APIYI_API_KEY=your-key-here\n\nOr configure in ~/.openclaw/openclaw.json:\n\n{\n  skills: {\n    entries: {\n      \"draw-images-by-apiyi\": {\n        enabled: true,\n        env: {\n          \"APIYI_API_KEY\": \"your-key-here\"\n        }\n      }\n    }\n  }\n}"
      },
      {
        "title": "Parameters",
        "body": "ParameterValuesDefaultDescription--prompt, -ptextrequiredImage description--filename, -fpathrequiredOutput filename--resolution, -r1K, 2K, 4K1KOutput resolution--api-key, -kstringenv varOverride environment variable"
      },
      {
        "title": "Output Path",
        "body": "Relative path (e.g., -f out.png) → outputs to current workspace root\nAbsolute path (e.g., -f /tmp/out.png) → uses specified path"
      },
      {
        "title": "Notes",
        "body": "Resolutions: 1K (1024×1024), 2K (2048×2048), 4K (4096×4096)\nThe script prints a MEDIA: line for OpenClaw to auto-attach images\nRequires APIYI_API_KEY environment variable"
      }
    ],
    "body": "Draw Images by APIYI\n\nGenerate images using APIYI API. Simple and fast.\n\nUsage\nSlash Command (Recommended)\n/draw-images-by-apiyi a cute cat wearing sunglasses\n/draw-images-by-apiyi a sunset over mountains -r 2K\n\nNatural Language\n\nJust ask the agent:\n\n\"Draw a cute cat for me\"\n\"Generate an image of a sunset\"\n\"Can you create a picture of a robot?\"\nCommand Line\nuv run {baseDir}/scripts/generate_image.py --prompt \"your image description\" --filename \"output.png\"\n\nExamples\nBasic generation\nuv run {baseDir}/scripts/generate_image.py -p \"a cute cat wearing sunglasses\" -f cat.png\n\nWith resolution\nuv run {baseDir}/scripts/generate_image.py -p \"a sunset over mountains\" -f sunset.png -r 2K\n\nWith explicit API key\nuv run {baseDir}/scripts/generate_image.py -p \"a robot\" -f robot.png --api-key YOUR_API_KEY\n\nAPI Key\n\nGet your API key from https://apiyi.com/\n\nSet via environment:\n\nexport APIYI_API_KEY=your-key-here\n\n\nOr configure in ~/.openclaw/openclaw.json:\n\n{\n  skills: {\n    entries: {\n      \"draw-images-by-apiyi\": {\n        enabled: true,\n        env: {\n          \"APIYI_API_KEY\": \"your-key-here\"\n        }\n      }\n    }\n  }\n}\n\nParameters\nParameter\tValues\tDefault\tDescription\n--prompt, -p\ttext\trequired\tImage description\n--filename, -f\tpath\trequired\tOutput filename\n--resolution, -r\t1K, 2K, 4K\t1K\tOutput resolution\n--api-key, -k\tstring\tenv var\tOverride environment variable\nOutput Path\nRelative path (e.g., -f out.png) → outputs to current workspace root\nAbsolute path (e.g., -f /tmp/out.png) → uses specified path\nNotes\nResolutions: 1K (1024×1024), 2K (2048×2048), 4K (4096×4096)\nThe script prints a MEDIA: line for OpenClaw to auto-attach images\nRequires APIYI_API_KEY environment variable"
  },
  "trust": {
    "sourceLabel": "tencent",
    "provenanceUrl": "https://clawhub.ai/mengwuzhi/draw-images-by-apiyi",
    "publisherUrl": "https://clawhub.ai/mengwuzhi/draw-images-by-apiyi",
    "owner": "mengwuzhi",
    "version": "1.0.0",
    "license": null,
    "verificationStatus": "Indexed source record"
  },
  "links": {
    "detailUrl": "https://openagent3.xyz/skills/draw-images-by-apiyi",
    "downloadUrl": "https://openagent3.xyz/downloads/draw-images-by-apiyi",
    "agentUrl": "https://openagent3.xyz/skills/draw-images-by-apiyi/agent",
    "manifestUrl": "https://openagent3.xyz/skills/draw-images-by-apiyi/agent.json",
    "briefUrl": "https://openagent3.xyz/skills/draw-images-by-apiyi/agent.md"
  }
}