img402

image-hosting

開発v1.2.0
作者:img402更新日 2026-07-26全 5 バージョン · 最新版の公開日 2026-07-26@clawhub_img402/image-hosting
スクリプトツール

AlphaMoatによると、2026-09時点でimage-hostingのダウンロード数は3,774、スター数は7で、AIスキル全体5,078件中2,812位、開発では577件中365位です。

インストール数
105
ダウンロード数
3774
スター数
7
総合順位
#2,812
全体の上位 56% · 開発の上位 64%
プラットフォームインストール数ダウンロード数スター数コメント
ClawHub ↗10537747-
SkillHub ↗10334437—

プラットフォームごとに集計方法と集計時点が異なります。

このスキルでできること

無料・有料のアップロード手順を区別し、保持期間はファイルサイズとプランによって異なると説明しています。URLを知る人は誰でも画像にアクセスできるため、社内画面、個人情報、秘密情報はアップロードしないでください。公開してよいファイルかを事前に確認します。

資料公開日 2026-10-29

できること

  • 文書やメッセージで公開共有する画像をホストする。
  • アップロード前にサイズ、保持期間、公開アクセス制限を確認する。

使う場面

  • 文書やSNS投稿に埋め込む画像URLが必要なとき。
  • 画像に機密情報が含まれる場合や公開可否が未確認の場合は使わない。

プロンプト例

スキルのドキュメントをもとに生成した例であり、実際の実行結果ではありません。

アップロード後に画像へ誰がアクセスできるかと、公開アクセス上の制限を説明してください。
アップロード前に、認証情報、個人情報、社内画面が画像に含まれていないか確認してください。

月次の推移

ダウンロード数3774
1777285039222026-03 · ダウンロード数 19252026-05 · ダウンロード数 24362026-06 · ダウンロード数 27522026-07 · ダウンロード数 32442026-08 · ダウンロード数 35572026-09 · ダウンロード数 377426-0326-09
スター数7
6772026-03 · スター数 62026-05 · スター数 62026-06 · スター数 72026-07 · スター数 72026-08 · スター数 72026-09 · スター数 726-0326-09

2026-09 から集計方法を変更し、同名スキルを作者ごとに分けて集計し、全スキルを対象にしました。破線は変更前の月で、変更後のデータとは直接比較せず、変更をまたぐ増減も計算していません。

月ダウンロード数前月比スター数
2026-093774—7
2026-083557+9.6%7
2026-073244+17.9%7
2026-062752+13.0%7
2026-052436—6
2026-031925—6

SKILL.md 原文

作者が公開した元のファイルをテキストのまま表示しています。AlphaMoat による編集や審査はしていません。リンクはクリックできません。コマンドは内容を確認してから実行してください。取得日 2026-10-23。

4.4 KB・ClawHub v1.2.0
---
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:
すべて表示(全 100 行)
  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
# → {"token": "a1b2c3...", "expiresAt": "..."}

# Step 2: Upload with the token
curl -s -X POST https://img402.dev/api/upload \
  -H "X-Upload-Token: a1b2c3..." \
  -F image=@/path/to/image.png
# → {"url":"...", "id":"...", "contentType":"...", "sizeBytes":..., "expiresAt":null}
```

The `expiresAt` in step 1 is the token's expiry (10 minutes), not the image's. The uploaded image's `expiresAt` is `null` — permanent.

`POST /api/upload/token/permanent` still exists at $1.00 USDC. It's a legacy alias that does exactly what the $0.01 route now does; don't use it for new work.

x402 payment is handled by an x402-capable client (the [Payments MCP tool](https://docs.cdp.coinbase.com/mcp), `@x402/client`, or any other). The client handles the 402 challenge, signs the on-chain payment, and retries automatically. See https://img402.dev/blog/paying-x402-apis for details.

## Retention is fixed at upload

The `expiresAt` you get back is the commitment for that image. Later pricing changes apply to new uploads only — an image already uploaded keeps the retention it was given, and img402 won't silently extend it.

## Public access

**Uploaded images are reachable by anyone with the URL — there is no auth on serving.** Do not upload screenshots of internal systems, personal information, secrets, API keys, or anything else that shouldn't be public. Since most uploads are now permanent, treat every upload as public and irreversible: to remove an image, email [email protected].

開発の人気スキル

データ月:2026-09 · ダウンロード数、スター数、インストール数は公開スキルレジストリ(ClawHub、SkillHub)から月単位で集計しています。詳しくはデータの方法論をご覧ください。