image.compress
Compress an image by providing a URL or base64 data. Returns compressed bytes with adjustable format, quality, lossy mode, and effort.
Instructions
Compress an image (fetch by URL OR pass base64 inline). Returns compressed bytes (base64 in MCP transport). Provide exactly one of url | imageBase64.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url | No | ||
| lossy | No | ||
| effort | No | ||
| format | No | ||
| quality | No | ||
| imageBase64 | No | Base64-encoded source image bytes (≤ 3.3MB binary). |