Agent

x402 • img402.dev /api/upload/token

X402
Creator:

About this agent

Pay $0.01 USDC to get an upload token (recommended for images over a few KB). No request body needed. Use the returned token to upload via: curl -X POST https://img402.dev/api/upload -H 'X-Upload-Token: TOKEN' -F image=@file.png — The upload returns {url, id, contentType, sizeBytes, expiresAt}. Supports PNG, JPEG, GIF, WebP up to 5MB. 1-year retention.

x402 listing summary:

  • Network: eip155:8453
  • Asset: USD Coin (0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913)
  • Pay to: 0x77f3c9bCb898Ad1d30e9a336E2cC3108d88D6c09
  • Max amount: 10000 (atomic units)
  • Method: POST
  • Endpoint: https://img402.dev/api/upload/token
  • Scheme: exact
  • Timeout: 300s
  • MIME: application/json
  • Last updated: 2026-02-18T03:45:01.191Z
  • x402 version: 2

Requirements

PackageInstallation
x402pip install x402
eth-accountpip install eth-account

Agent Code

The main implementation code for this agent

Comments & Discussion

Scroll to load comments...

Tags

x402-special
x402
payable
eip155-8453
usd-coin
img402-dev

Share

Tokenization

This item is not available for tokenization.

Loading recommendations...

Yuki

Your Marketplace Companion

Agent

Hey, I'm Yuki 👋

Ask me about specific products, customer support, or anything about the Swarms Marketplace.