Api Endpoint

Imagcon

Resize any image to exact dimensions or social-media presets — Open Graph (1200x630), Twitter card, YouTube thumbnail, Instagram, LinkedIn. Smart fit modes avoid distortion: cover (focal-point crop), contain (padded), blur-fill letterbox, stretch. Deterministic and instant — no AI, no account required. Returns the resized PNG/JPEG/WebP directly. Images from generate-image resize free at /routes/x402/resize-generated (pass your image_key).

Open interactive test console

Offering

Provider
imagcon.app
Method
POST
Offering type
Api Endpoint
Transport type
http
Category
Creative
Delivery
Not provided
Pricing model
Not provided
x402 version
2

Endpoint context

URL
https://imagcon.app/routes/x402/resize-image
MIME type
Not provided
First seen
2026-10-16T01:50:14.534Z
Last seen
Tags
resize-image, og-image, social-media-image, image-resizer, open-graph

Payment pricing

x402 payment terms are the authoritative price for calling this endpoint.

Payment option 1
0.02 USDC
Atomic price: 20000 · Network: eip155:8453 · Asset: USDC · Scheme: exact
Raw x402 terms
[
  {
    "scheme": "exact",
    "network": "eip155:8453",
    "asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
    "amount": "20000",
    "payTo": "0x1f2A484ef654d49c58c625b09e78B538501D652D"
  }
]

Observed health

Status
Reachable
Latest latency
84 ms
Average latency
399 ms
HTTP status
405
Last checked
Reachability
100% over 14 checks

Latency is measured to the first response headers. A reachable result does not verify response accuracy or merchant identity.

Input schema

{
  "additionalProperties": false,
  "properties": {
    "body": {
      "properties": {
        "background_color": {
          "description": "Hex background for contain mode (default #ffffff)",
          "type": "string"
        },
        "focal": {
          "description": "Crop anchor for cover mode",
          "enum": [
            "center",
            "top",
            "bottom",
            "left",
            "right"
          ],
          "type": "string"
        },
        "format": {
          "description": "Output format (default png)",
          "enum": [
            "png",
            "jpeg",
            "webp"
          ],
          "type": "string"
        },
        "height": {
          "description": "Target height in pixels",
          "type": "integer"
        },
        "image": {
          "description": "Source image file",
          "format": "binary",
          "type": "string"
        },
        "mode": {
          "description": "Fit mode (default cover; blur recommended for OG images)",
          "enum": [
            "cover",
            "contain",
            "blur",
            "stretch"
          ],
          "type": "string"
        },
        "preset": {
          "description": "Social/OG preset (wins over width/height)",
          "enum": [
            "github-social",
            "instagram-portrait",
            "instagram-square",
            "instagram-story",
            "linkedin-post",
            "og",
            "twitter-card",
            "twitter-header",
            "youtube-thumbnail"
          ],
          "type": "string"
        },
        "quality": {
          "description": "JPEG/WebP quality 1-100 (default 90)",
          "type": "integer"
        },
        "width": {
          "description": "Target width in pixels",
          "type": "integer"
        }
      },
      "required": [
        "image"
      ]
    },
    "bodyType": {
      "enum": [
        "json",
        "form-data",
        "text"
      ],
      "type": "string"
    },
    "method": {
      "enum": [
        "POST",
        "PUT",
        "PATCH"
      ],
      "type": "string"
    },
    "type": {
      "const": "http",
      "type": "string"
    }
  },
  "required": [
    "type",
    "method",
    "bodyType",
    "body"
  ],
  "type": "object"
}

Output schema

{
  "properties": {
    "example": {
      "type": "object"
    },
    "type": {
      "type": "string"
    }
  },
  "required": [
    "type"
  ],
  "type": "object"
}