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-11-26
7 of 7checks answered this week
657 msmedian answer time
$0.003listed price per call
$0.003price 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://image.kagurazaka.dev/v1/resize

CategoryImage and media
Provider hostimage.kagurazaka.dev
Networkseip155:8453
Payment schemesexact
Self-reported calls, 30 days32 from 8 payers (the provider's figure, not ours)

Our checks, last 30 days

DayResultHTTPAskedTime
2026-11-26 valid payment request 402$0.003 663 ms
2026-11-25 valid payment request 402$0.003 666 ms
2026-11-24 valid payment request 402$0.003 657 ms
2026-11-23 valid payment request 402$0.003 628 ms
2026-11-22 valid payment request 402$0.003 636 ms
2026-11-21 valid payment request 402$0.003 723 ms
2026-11-20 valid payment request 402$0.003 652 ms
2026-11-19 valid payment request 402$0.003 667 ms
2026-11-18 valid payment request 402$0.003 696 ms
2026-11-17 valid payment request 402$0.003 659 ms
2026-11-16 valid payment request 402$0.003 620 ms
2026-11-15 valid payment request 402$0.003 668 ms
2026-11-14 valid payment request 402$0.003 646 ms
2026-11-13 valid payment request 402$0.003 626 ms
2026-11-12 valid payment request 402$0.003 620 ms
2026-11-11 valid payment request 402$0.003 631 ms
2026-11-10 valid payment request 402$0.003 667 ms
2026-11-09 valid payment request 402$0.003 658 ms
2026-11-08 valid payment request 402$0.003 667 ms
2026-11-07 valid payment request 402$0.003 651 ms
2026-11-06 valid payment request 402$0.002 804 ms
2026-11-05 valid payment request 402$0.002 709 ms
2026-11-04 valid payment request 402$0.002 714 ms
2026-11-03 valid payment request 402$0.002 619 ms
2026-11-02 valid payment request 402$0.002 634 ms
2026-11-01 valid payment request 402$0.002 621 ms
2026-10-31 valid payment request 402$0.002 616 ms
2026-10-29 valid payment request 402$0.002 767 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