# Send Draw Images By Apiyi to your agent
Hand the extracted package to your coding agent with a concrete install brief instead of figuring it out manually.
## Fast path
- 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.
## Suggested prompts
### New install

```text
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.
```
### Upgrade existing

```text
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.
```
## Machine-readable fields
```json
{
  "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": {
    "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",
    "packageFormat": "ZIP package",
    "primaryDoc": "SKILL.md",
    "includedAssets": [
      "README.md",
      "SKILL.md",
      "scripts/generate_image.py"
    ],
    "downloadMode": "redirect",
    "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."
      ]
    }
  },
  "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"
  }
}
```
## Documentation

### Draw Images by APIYI

Generate images using APIYI API. Simple and fast.

### Slash Command (Recommended)

/draw-images-by-apiyi a cute cat wearing sunglasses
/draw-images-by-apiyi a sunset over mountains -r 2K

### Natural Language

Just ask the agent:

"Draw a cute cat for me"
"Generate an image of a sunset"
"Can you create a picture of a robot?"

### Command Line

uv run {baseDir}/scripts/generate_image.py --prompt "your image description" --filename "output.png"

### Basic generation

uv run {baseDir}/scripts/generate_image.py -p "a cute cat wearing sunglasses" -f cat.png

### With resolution

uv run {baseDir}/scripts/generate_image.py -p "a sunset over mountains" -f sunset.png -r 2K

### With explicit API key

uv run {baseDir}/scripts/generate_image.py -p "a robot" -f robot.png --api-key YOUR_API_KEY

### API Key

Get your API key from https://apiyi.com/

Set via environment:

export APIYI_API_KEY=your-key-here

Or configure in ~/.openclaw/openclaw.json:

{
  skills: {
    entries: {
      "draw-images-by-apiyi": {
        enabled: true,
        env: {
          "APIYI_API_KEY": "your-key-here"
        }
      }
    }
  }
}

### Parameters

ParameterValuesDefaultDescription--prompt, -ptextrequiredImage description--filename, -fpathrequiredOutput filename--resolution, -r1K, 2K, 4K1KOutput resolution--api-key, -kstringenv varOverride environment variable

### Output Path

Relative path (e.g., -f out.png) → outputs to current workspace root
Absolute path (e.g., -f /tmp/out.png) → uses specified path

### Notes

Resolutions: 1K (1024×1024), 2K (2048×2048), 4K (4096×4096)
The script prints a MEDIA: line for OpenClaw to auto-attach images
Requires APIYI_API_KEY environment variable
## Trust
- Source: tencent
- Verification: Indexed source record
- Publisher: mengwuzhi
- Version: 1.0.0
## Source health
- Status: healthy
- Source download looks usable.
- Yavira can redirect you to the upstream package for this source.
- Health scope: source
- Reason: direct_download_ok
- Checked at: 2026-04-30T16:55:25.780Z
- Expires at: 2026-05-07T16:55:25.780Z
- Recommended action: Download for OpenClaw
## Links
- [Detail page](https://openagent3.xyz/skills/draw-images-by-apiyi)
- [Send to Agent page](https://openagent3.xyz/skills/draw-images-by-apiyi/agent)
- [JSON manifest](https://openagent3.xyz/skills/draw-images-by-apiyi/agent.json)
- [Markdown brief](https://openagent3.xyz/skills/draw-images-by-apiyi/agent.md)
- [Download page](https://openagent3.xyz/downloads/draw-images-by-apiyi)