Available now

Resize image API

Create smaller images for responsive websites and upload workflows.

Large imageSmaller imageStructured data

One API key. One prepaid wallet.

Large imageResizeSmaller imageIllustrative API workflow

Try the Resize image tool

Use this tool directly. No API key required.

2 credits per successful request.

Sign in or buy credits

What it does

Fit within width and optional height, 1–4096; no enlargement. JPEG/PNG/WebP, 5 MB / 12M pixels.

Endpoint and pricing

POST /v1/utilities/image/resize

2 credits per successful request at current catalog pricing.

Input schema (MCP)

{
  "type": "object",
  "properties": {
    "base64": {
      "type": "string",
      "contentEncoding": "base64"
    },
    "width": {
      "type": "integer"
    },
    "height": {
      "type": "integer"
    },
    "format": {
      "type": "string",
      "enum": [
        "png",
        "jpeg",
        "webp"
      ]
    }
  },
  "required": [
    "base64",
    "width"
  ],
  "additionalProperties": false
}

Output data schema

{
  "type": "object",
  "properties": {
    "base64": {
      "type": "string",
      "contentEncoding": "base64"
    },
    "mime_type": {
      "type": "string"
    },
    "bytes": {
      "type": "integer"
    },
    "width": {
      "type": "integer"
    },
    "height": {
      "type": "integer"
    }
  }
}

REST request formats and response envelopes: OpenAPI specification. Discover free samples through MCP.