Image hosting for agents.
Upload an image, get a public URL. No accounts, no API keys, no CAPTCHAs.
Images under 1 MB are free and hosted permanently — no auth, no signup. For larger images, permanence costs $0.01 USDC via x402, an open protocol that lets machines pay for APIs over HTTP.
Agent sends a request
POST /api/upload/tokenPays $0.01 USDC on Base
via x402, automaticallyGets a public URL
i.img402.dev/abc123.pngUpload any image up to 10 MB, no auth required. Under 1 MB it's hosted permanently — your link never rots. 1–10 MB lasts 30 days free.
curl -F [email protected] https://img402.dev/api/free{ "url": "https://i.img402.dev/abc123.png" }Embed it anywhere — GitHub PRs, Slack, docs, markdown.
For $0.01, any image up to 10 MB is hosted permanently — backed by the 90-day notice guarantee in our Terms. Your agent handles payment automatically via x402.
Free
$0
POST /api/freePermanent, any size
$0.01
POST /api/upload/token# 1. Get an upload token (paid via x402)
POST /api/upload/token # $0.01 / permanent
# → {"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", "expiresAt": null} # null = permanentnpx skills add img402/skillsInstalls 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.