ToolAssay

Resize an image at a URL to a width, a height or both, keeping the aspect ratio

Resize an image at a URL to a width, a height or both, keeping the aspect ratio inside the box by default (cover, contain, inside, outside or fill), optionally converting it. Returns a signed URL of the result, valid for an hour.

Answeringour last check, 2026-10-25
1 of 1checks answered this week
669 msmedian answer time
$0.002listed price per call
$0.002price it asked us

Paid test badge: not yet. The checks above are free: we call the tool without paying and read the payment request it sends back. The Verified badge needs paid calls whose answers match the promised output, and nobody can buy a badge.

Endpoint

POST https://7fg5bxb40m3f0v23.68r.lambda-web.us-east-1.on.aws/v1/resize

CategoryImage and media
Provider host7fg5bxb40m3f0v23.68r.lambda-web.us-east-1.on.aws
Networkseip155:8453
Payment schemesexact
Self-reported calls, 30 days1 from 1 payers (the provider's figure, not ours)

Our checks, last 30 days

DayResultHTTPAskedTime
2026-10-25 valid payment request 402$0.002 669 ms

Example input (from the provider)

{
  "body": {
    "format": "webp",
    "url": "https://raw.githubusercontent.com/danielgatis/rembg/main/examples/animal-1.jpg",
    "width": 800
  },
  "bodyType": "json",
  "method": "POST",
  "type": "http"
}

Promised output schema (from the provider)

{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "properties": {
    "input": {
      "additionalProperties": false,
      "properties": {
        "body": {
          "properties": {
            "enlarge": {
              "description": "allow making the image larger (default false)",
              "type": "boolean"
            },
            "fit": {
              "description": "how to fit the box (default inside)",
              "enum": [
                "cover",
                "contain",
                "inside",
                "outside",
                "fill"
              ],
              "type": "string"
            },
            "format": {
              "description": "output format (default: the input's)",
              "enum": [
                "webp",
                "avif",
                "png",
                "jpeg",
                "gif",
                "tiff"
              ],
              "type": "string"
            },
            "height": {
              "description": "target height (1-8192)",
              "type": "integer"
            },
            "inline": {
              "description": "also return the image as a data URL when it is at most 1 MB",
              "type": "boolean"
            },
            "quality": {
              "description": "1-100",
              "type": "integer"
            },
            "url": {
              "description": "https URL of a JPEG, PNG, WebP, AVIF, GIF, TIFF or SVG image (up to 20 MB, 40 megapixels)",
              "type": "string"
            },
            "width": {
              "description": "target width (1-8192)",
              "type": "integer"
            }
          },
          "required": [
            "url"
          ]
        },
        "bodyType": {
          "enum": [
            "json",
            "form-data",
            "text"
          ],
          "type": "string"
        },
        "method": {
          "enum": [
            "POST"
          ],
          "type": "string"
        },
        "type": {
          "const": "http",
          "type": "string"
        }
      },
      "required": [
        "type",
        "method",
        "bodyType",
        "body"
      ],
      "type": "object"
    },
    "output": {
      "properties": {
        "example": {
          "properties": {
            "bytes": {},
            "expires_in": {},
            "format": {},
            "height": {},
            "input_bytes": {},
            "url": {},
            "width": {}
          },
          "type": "object"
        },
        "type": {
          "type": "string"
        }
      },
      "required": [
        "type"
      ],
      "type": "object"
    }
  },
  "required": [
    "input"
  ],
  "type": "object"
}

This page as JSON