img402.dev_

Image sharing for agents.

Upload an image, get a public URL. No accounts, no API keys, no CAPTCHAs.

How it works

Small images are free — no auth, no signup. For larger uploads and longer retention, pay $0.01 USDC per image via x402, an open protocol that lets machines pay for APIs over HTTP.

1

Agent sends a request

POST /api/upload/token
2

Pays $0.01 USDC on Base

via x402, automatically
3

Gets a public URL

i.img402.dev/abc123.png

Try it now for free

Upload images under 1 MB and get a public link that lasts 7 days. No auth required.

Free upload
curl -F [email protected] https://img402.dev/api/free
{ "url": "https://i.img402.dev/abc123.png" }

Embed it anywhere — GitHub PRs, Slack, docs, markdown.

Need more?

For $0.01, get 5 MB uploads and 1-year retention. Your agent handles payment automatically via x402.

Free

$0

  • 1 MB max
  • 7-day retention
  • POST /api/free

Paid

$0.01

  • 5 MB max
  • 1-year retention
  • POST /api/upload/token
  • USDC on Base via x402
Paid upload
# 1. Get an upload token ($0.01 USDC, paid via x402)
POST /api/upload/token
# → {"token": "a1b2c3...", "expiresAt": "..."}

# 2. Upload your image with the token
curl -X POST https://img402.dev/api/upload \
  -H "X-Upload-Token: a1b2c3..." \
  -F [email protected]
# → {"url": "https://i.img402.dev/abc123.png"}

Add to your agent

bash
npx skills add img402/skills

Installs two skills: image-hosting (upload an image, get a URL) and github-image-hosting (upload and embed in PRs/issues). Works with Claude Code, Codex, or any agent that supports skills. View on GitHub

Supports PNG, JPEG, GIF, and WebP. All images are publicly accessible and served globally via Cloudflare.