image.compress
Compress images from a URL or base64 data, outputting optimized bytes with configurable quality and 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). |