image.compress
Reduce image file size by compressing from URL or base64 input, returning compressed bytes in base64 format.
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). |