Xpersona
I

image-hosting

CLAWHUB · Unverified

Upload images to img402.dev and get a public URL. Images 1MB or under are free AND permanent — no account, no API key, no payment. Larger images (up to 10MB) are free for 30 days, or permanent for $0.01 USDC via x402. Use when the agent needs a hosted image URL — for sharing in messages, embedding in documents, posting to social platforms, or any context that requires a public link to an image file.

62
Rank
84
Safety
3.8k
Downloads

About

What it does, and when to use it.

Capability contract not published. No trust telemetry is available yet. 3.8K downloads reported by the source. Last updated 10/9/2026.

Avoid when

  • Contract metadata is missing or unavailable for deterministic execution.

Risk flags: missing_or_unavailable_contract, trust_data_unavailable, schema_references_missing

Install and run

Setup complexity: medium.

clawhub skill install s173vfzgqpy371gc5vth021f8d885fzk:image-hosting
  1. Install using `clawhub skill install s173vfzgqpy371gc5vth021f8d885fzk:image-hosting` in an isolated environment before connecting it to live workloads.
  2. No published capability contract is available yet, so validate auth and request/response behavior manually.
  3. Review the upstream CLAWHUB listing at https://clawhub.ai/img402/image-hosting before using production credentials.

Contract: missing

curl -s "https://www.xpersona.co/api/v1/agents/clawhub-img402-image-hosting/snapshot"

Run-check

$0.02 USD

1 measured facts are behind this paywall: success rate and latency, uptime and estimated cost, when not to use it, how to call it, benchmark scores.

Agents pay $0.02 in USDC. A card payment is $0.50, the smallest a card allows.

Documentation

CLAWHUB

30,590 characters of source documentation, loaded on request.

Extracted files

3 files captured from the source.

SKILL.md

---
name: image-hosting
description: >
  Upload images to img402.dev and get a public URL. Images 1MB or under are free
  AND permanent — no account, no API key, no payment. Larger images (up to 10MB)
  are free for 30 days, or permanent for $0.01 USDC via x402. Use when the agent
  needs a hosted image URL — for sharing in messages, embedding in documents,
  posting to social platforms, or any context that requires a public link to an
  image file.
metadata:
  openclaw:
    requires:
      bins:
        - curl
---

# Image Hosting — img402

Upload an image to [img402.dev](https://img402.dev) and get a public URL. No account, no API key, no config.

**Most uploads are free and permanent.** A median agent screenshot is ~100 KB, well under the 1 MB threshold where free hosting never expires. Reach for a paid tier only when the file is genuinely large.

## Pick a tier

| Upload | Price | Retention | Use when |
|--------|-------|-----------|----------|
| ≤ 1 MB | $0 | **Permanent** | Almost everything — screenshots, diagrams, charts |
| 1–10 MB | $0 | 30 days | Large images you only need short-term |
| Up to 10 MB | $0.01 USDC | **Permanent** | Large images that must outlive the month |

\* Paid permanence is service-life retention. If img402 ever shuts down, there's a 90-day on-site notice before takedown. See [Terms § 2A](https://img402.dev/terms).

Size is never the reason to pay — 10 MB uploads are free. You pay only to keep an image over 1 MB alive past 30 days.

## Quick reference

```bash
# Upload (multipart)
curl -s -X POST https://img402.dev/api/free -F image=@/path/to/image.png

# Response — expiresAt is null for images 1MB and under
# {"url":"https://i.img402.dev/aBcDeFgHiJ.png","id":"aBcDeFgHiJ","contentType":"image/png","sizeBytes":182400,"expiresAt":null}
```

## Workflow

1. **Get image**: Use an existing file, or generate/download one.
2. **Upload**:
   ```bash
   curl -s -X POST https://img402.dev/api/free -F image=@/path/to/image.png
   ```
3. **Check `expiresAt`**: `null` means permanent. A timestamp means the file was over 1 MB and will be deleted then.
4. **Use the URL**: The `url` field is a public CDN link. Embed it wherever needed.

If you want a permanent URL and the file is over 1 MB, either shrink it below 1 MB:

```bash
sips -Z 1600 /path/to/image.png                                  # macOS — scale longest edge to 1600px
convert /path/to/image.png -resize 1600x1600 /path/to/image.png  # ImageMagick
```

…or use the paid flow below.

## Constraints

- **Max size**: 10 MB (every tier)
- **Formats**: PNG, JPEG, GIF, WebP
- **Rate limit**: 100,000 free uploads/day globally, 1,000/day per IP
- **No auth required**

## Paid tier

When you need permanence for a file over 1 MB, use the paid flow. Two steps: pay for an upload token via x402, then upload the image with that token.

```bash
# Step 1: Get an upload token (requires x402 payment)
POST https://img402.dev/api/upload/token   # $0.01 USDC → permanent, up to 10MB
# → {"toke

_meta.json

{
  "ownerId": "kn7cv05dzm7wjvve4e5wk4szfs80zf81",
  "slug": "image-hosting",
  "version": "1.2.0",
  "publishedAt": 1785098165116
}

skill-card.md

## Description:

Upload images to img402.dev and return a public URL for sharing, embedding, posting, or other workflows that need a hosted image link.

This skill is ready for commercial/non-commercial use.

## Publisher:

[img402](https://clawhub.ai/user/img402)

### License/Terms of Use:

MIT-0

## Use Case:

Developers, external users, and agents use this skill to upload local image files and return public CDN URLs for messages, documents, social platforms, or other contexts that require a publicly reachable image.

### Deployment Geography for Use:

Global

## Known Risks and Mitigations:

Risk: Uploaded images are public and may be permanent, especially files at or under 1 MB.

Mitigation: Review files before upload and do not upload internal screenshots, personal data, secrets, API keys, regulated data, or other content that should not be public.

Risk: Images over 1 MB may require either temporary retention or a paid x402 flow for permanence.

Mitigation: Confirm the required retention before upload; shrink images below 1 MB for free permanent hosting when appropriate, or use the paid flow only when long-term retention is needed.

## Reference(s):

- [ClawHub Skill Page](https://clawhub.ai/img402/skills/image-hosting)
- [img402](https://img402.dev)
- [Coinbase Payments MCP](https://docs.cdp.coinbase.com/mcp)
- [Paying x402 APIs](https://img402.dev/blog/paying-x402-apis)

## Skill Output:

**Output Type(s):** [Shell commands, API calls, Guidance]

**Output Format:** [Markdown guidance with bash/curl snippets and JSON response examples]

**Output Parameters:** [1D]

**Other Properties Related to Output:** [Requires curl; upload responses include a public URL, content type, size, and expiresAt retention value.]

## Skill Version(s):

1.2.0 (source: server release metadata)

## Ethical Considerations:

Users 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.

Sponsored

Ads related to image-hosting and adjacent AI workflows.