{
  "generated_at": "2026-04-24T15:01:35.625676+00:00",
  "slug": "nanoapi-org-image-resize",
  "title": "NanoAPI \u00b7 Image Resize",
  "url": "https://nanoapi.org/image/resize",
  "category": "media",
  "summary": "Resize images to specified dimensions with multiple format support.",
  "seo": {
    "title": "Image Resizing API | PNG JPEG WebP AVIF | x402",
    "description": "Resize images via x402 micropayment. Supports PNG, JPEG, WebP, AVIF up to 10MB. Specify target width and height up to 4096px. 0.01 USDC per call. Base and Solana."
  },
  "use_cases": [
    "Generate responsive image variants for web delivery",
    "Create thumbnails from uploaded user images",
    "Standardize image dimensions for ML training pipelines",
    "Convert and resize images for mobile app assets"
  ],
  "ideal_buyer": "Web developers, ML pipelines, and mobile apps needing on-demand image resizing without managing image processing infrastructure.",
  "example_prompt": "Resize this product image to 800x600 pixels for the catalog listing.",
  "example_request_body": {
    "image": "base64-encoded-image-data-or-file",
    "width": 800,
    "height": 600
  },
  "risk_notes": [],
  "pricing_sanity": {
    "flag": "cheap",
    "ratio": 0.125,
    "median_category_atomic": 80000
  },
  "pricing_review_required": false,
  "pricing_decimal_suspect": false,
  "trust_tier": "indexed_external",
  "accepts": [
    {
      "scheme": "exact",
      "network": "solana",
      "pay_to": "EDA777JRvxbahjFS5x2wmXFR4VZiwTGU7dFA24Zpgp8Q",
      "asset": "EPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyTDt1v",
      "max_amount_required_atomic": "10000",
      "max_timeout_seconds": 300,
      "verified": false,
      "hints": {
        "input": {
          "body": {
            "required": [
              "image",
              "width",
              "height"
            ],
            "properties": {
              "image": {
                "type": "string",
                "format": "binary",
                "description": "Image file (PNG, JPEG, WebP, AVIF, max 10MB)"
              },
              "width": {
                "type": "integer",
                "maximum": 4096,
                "minimum": 1,
                "description": "Target width in pixels"
              },
              "height": {
                "type": "integer",
                "maximum": 4096,
                "minimum": 1,
                "description": "Target height in pixels"
              }
            }
          },
          "type": "http",
          "method": "POST",
          "bodyType": "form-data"
        },
        "output": {
          "type": "json",
          "example": "<binary PNG data \u00e2\u0080\u0094 resized image at target dimensions>"
        }
      }
    },
    {
      "scheme": "exact",
      "network": "base",
      "pay_to": "0xc9d8b70e8d66838aed62919acee5cf3364d54f7d",
      "asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
      "max_amount_required_atomic": "10000",
      "max_timeout_seconds": 300,
      "verified": false,
      "hints": {
        "input": {
          "body": {
            "required": [
              "image",
              "width",
              "height"
            ],
            "properties": {
              "image": {
                "type": "string",
                "format": "binary",
                "description": "Image file (PNG, JPEG, WebP, AVIF, max 10MB)"
              },
              "width": {
                "type": "integer",
                "maximum": 4096,
                "minimum": 1,
                "description": "Target width in pixels"
              },
              "height": {
                "type": "integer",
                "maximum": 4096,
                "minimum": 1,
                "description": "Target height in pixels"
              }
            }
          },
          "type": "http",
          "method": "POST",
          "bodyType": "form-data"
        },
        "output": {
          "type": "json",
          "example": "<binary PNG data \u00e2\u0080\u0094 resized image at target dimensions>"
        }
      }
    }
  ],
  "origin": {
    "slug": "nanoapi-org",
    "host": "nanoapi.org",
    "title": "NanoAPI \u2014 Pay-per-use APIs for AI agents (image processing + Solana data)",
    "description": "Pay-per-use APIs for AI agents: image processing and Solana data endpoints. $0.001-$0.01 USDC per call on Base or Solana via x402 protocol. No signup or API keys required.",
    "url": "https://nanoapi.org",
    "favicon": "https://nanoapi.org/favicon.png"
  },
  "json_ld": {
    "@id": "https://x402all.com/resource/nanoapi-org-image-resize",
    "url": "https://x402all.com/resource/nanoapi-org-image-resize",
    "name": "NanoAPI \u00b7 Image Resize",
    "@type": "WebAPI",
    "offers": [
      {
        "url": "https://x402all.com/resource/nanoapi-org-image-resize",
        "@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": "solana"
          },
          {
            "@type": "PropertyValue",
            "name": "paymentAsset",
            "value": "EPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyTDt1v"
          }
        ]
      },
      {
        "url": "https://x402all.com/resource/nanoapi-org-image-resize",
        "@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://nanoapi.org/image/resize",
    "@context": "https://schema.org",
    "provider": {
      "@id": "https://x402all.com/server/nanoapi-org",
      "url": "https://nanoapi.org",
      "name": "NanoAPI \u2014 Pay-per-use APIs for AI agents (image processing + Solana data)",
      "@type": "Organization"
    },
    "identifier": "nanoapi-org-image-resize",
    "description": "Resize images via x402 micropayment. Supports PNG, JPEG, WebP, AVIF up to 10MB. Specify target width and height up to 4096px. 0.01 USDC per call. Base and Solana.",
    "potentialAction": {
      "@type": "BuyAction",
      "target": "https://axon402.com/test-buy?resource=nanoapi-org-image-resize",
      "description": "Test-buy this endpoint on AXON"
    },
    "applicationCategory": "media"
  },
  "axon_deep_link": "https://axon402.com/test-buy?resource=nanoapi-org-image-resize"
}
