Image Resize & Convert
image_resizeResize, crop-fit and convert images (PNG, JPEG, WebP, AVIF, GIF, TIFF, SVG input) to webp, png, jpeg or avif. Auto-rotates by EXIF. Use to shrink screenshots before sending them to a vision model, create thumbnails, or convert formats. Params: image_base64 or image_url (one required), width, height (max 4096), fit (inside default | cover | contain | fill), format (webp default), quality (1-100, default 80). Price: $0.0045 USDC per call, paid inside this MCP call via x402 (USDC on Base, Solana, Polygon or Arbitrum). x402 MCP clients such as @x402/mcp pay automatically. Free sample: call with the example input {"image_url":"https://agentsvc.io/sample.png","width":130,"format":"webp"}.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| fit | No | inside | |
| width | No | ||
| format | No | webp | |
| height | No | ||
| quality | No | ||
| image_url | No | Public URL of the image (max 15 MB) | |
| image_base64 | No | Base64 image data (data: URI prefix allowed) |