image.compress
Compress images from URL or base64 input to reduce file size. Supports lossy, quality, format, and effort settings for optimized output.
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). |