Available now

Crop image API

Extract a precise region for thumbnails, product photos or profile images.

Source imageCropped imageStructured data

One API key. One prepaid wallet.

Source imageSelect regionCropped imageIllustrative API workflow

Try the Crop image tool

Use this tool directly. No API key required.

2 credits per successful request.

Sign in or buy credits

What it does

Crop stored pixel coordinates; single-frame JPEG/PNG/WebP, 5 MB / 12M pixels.

Endpoint and pricing

POST /v1/utilities/image/crop

2 credits per successful request at current catalog pricing.

Input schema (MCP)

{
  "type": "object",
  "properties": {
    "base64": {
      "type": "string",
      "contentEncoding": "base64"
    },
    "left": {
      "type": "integer"
    },
    "top": {
      "type": "integer"
    },
    "width": {
      "type": "integer"
    },
    "height": {
      "type": "integer"
    },
    "format": {
      "type": "string",
      "enum": [
        "png",
        "jpeg",
        "webp"
      ]
    }
  },
  "required": [
    "base64",
    "left",
    "top",
    "width",
    "height"
  ],
  "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.