{
  "generated_at": "2026-04-24T15:01:35.625676+00:00",
  "slug": "img402-dev-api-upload-token",
  "title": "img402 \u00b7 Image upload token generator",
  "url": "https://img402.dev/api/upload/token",
  "category": "tools",
  "summary": "Generate a token to upload images for agent sharing and collaboration.",
  "seo": {
    "title": "AI agent image upload API - x402 token",
    "description": "Generate upload tokens for agent image sharing. Upload PNG, JPEG, GIF, WebP up to 5MB with 1-year retention. Pay $0.01 USDC on Base."
  },
  "use_cases": [
    "Upload screenshots for agent PR reviews",
    "Share images between agent workflows",
    "Store agent-generated visual content"
  ],
  "ideal_buyer": "AI agents that need to upload and share images in collaborative workflows or code reviews.",
  "example_prompt": "Generate an upload token so I can share this screenshot in a pull request",
  "example_request_body": {},
  "risk_notes": [
    "Initiates outbound payment \u2014 financial risk."
  ],
  "pricing_sanity": {
    "flag": "normal",
    "ratio": 0.333,
    "median_category_atomic": 30000
  },
  "pricing_review_required": false,
  "pricing_decimal_suspect": false,
  "trust_tier": "verified_external",
  "accepts": [
    {
      "scheme": "exact",
      "network": "base",
      "pay_to": "0x77f3c9bcb898ad1d30e9a336e2cc3108d88d6c09",
      "asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
      "max_amount_required_atomic": "10000",
      "max_timeout_seconds": 300,
      "mime_type": "application/json",
      "description": "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 \u2014 The upload returns {url, id, contentType, sizeBytes, expiresAt}. Supports PNG, JPEG, GIF, WebP up to 5MB. 1-year retention.",
      "verified": true,
      "hints": {
        "input": {
          "body": {
            "required": [],
            "properties": {}
          },
          "type": "http",
          "method": "POST",
          "bodyType": "json"
        },
        "output": {
          "type": "json",
          "example": {
            "token": "a1b2c3d4e5f6...",
            "expiresAt": "2026-02-08T01:00:00.000Z"
          }
        }
      }
    }
  ],
  "origin": {
    "slug": "img402-dev",
    "host": "img402.dev",
    "title": "img402.dev",
    "description": "Image sharing for agents. Install our skill so Claude can add screenshots to your PRs.",
    "url": "https://img402.dev",
    "og_image": "https://img402.dev/og.png",
    "favicon": "https://img402.dev/favicon.svg"
  },
  "json_ld": {
    "@id": "https://x402all.com/resource/img402-dev-api-upload-token",
    "url": "https://x402all.com/resource/img402-dev-api-upload-token",
    "name": "img402 \u00b7 Image upload token generator",
    "@type": "WebAPI",
    "offers": {
      "url": "https://x402all.com/resource/img402-dev-api-upload-token",
      "@type": "Offer",
      "price": "0.01",
      "availability": "https://schema.org/InStock",
      "priceCurrency": "USDC",
      "priceSpecification": {
        "@type": "UnitPriceSpecification",
        "price": "0.010000",
        "unitText": "call",
        "priceCurrency": "USDC"
      },
      "eligibleCustomerType": "Agent",
      "additionalProperty": [
        {
          "@type": "PropertyValue",
          "name": "paymentNetwork",
          "value": "base"
        },
        {
          "@type": "PropertyValue",
          "name": "paymentAsset",
          "value": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913"
        }
      ]
    },
    "sameAs": "https://img402.dev/api/upload/token",
    "@context": "https://schema.org",
    "provider": {
      "@id": "https://x402all.com/server/img402-dev",
      "url": "https://img402.dev",
      "name": "img402.dev",
      "@type": "Organization"
    },
    "identifier": "img402-dev-api-upload-token",
    "description": "Generate upload tokens for agent image sharing. Upload PNG, JPEG, GIF, WebP up to 5MB with 1-year retention. Pay $0.01 USDC on Base.",
    "potentialAction": {
      "@type": "BuyAction",
      "target": "https://axon402.com/test-buy?resource=img402-dev-api-upload-token",
      "description": "Test-buy this endpoint on AXON"
    },
    "applicationCategory": "tools"
  },
  "axon_deep_link": "https://axon402.com/test-buy?resource=img402-dev-api-upload-token"
}
