An HTTP+MCP image utility that resizes, converts to WebP, and compresses images over a single round-trip - with crop, rotate, grayscale, thumbnails, EXIF stripping and format info.
How to pay
Subscribe
$9.99/month
Predictable monthly cost with included usage. Best for steady, high-volume traffic.
- Unlimited tools within plan limits
- One API key, billed once a month
- Cancel any time
ImageKit — Resize, Convert to WebP & Compress Images
ImageKit is an HTTP API and Model-Context-Protocol (MCP) server for image processing over a single round-trip. Pass it a public image URL and it resizes, converts to WebP, and compresses the result — with crop, rotate, grayscale, thumbnail generation, EXIF stripping, and format/geometry info — no local Sharp or ImageMagick required.
What it does
ImageKit accepts JPEG, PNG, WebP, GIF, BMP, TIFF and ICO source images by public http(s) URL (up to 15 MB and 40 megapixels) and returns the processed image either as raw bytes or as a JSON data URI with dimensions.
Tools
- imagekit_compress — Compress an image for the web. Re-encodes with optimised settings and optional downscaling to shrink file size for websites and email. Defaults to WebP; set
modern=falsefor JPEG (or PNG when the image has transparency). The base64 response includesoriginal_bytesso you can show the savings. EXIF orientation is applied first, so phone photos come out the right way up; JPEG output flattens transparency onto white. - imagekit_convert — Convert an image between formats (JPEG, PNG, WebP, GIF, BMP, TIFF, ICO). Specify
formatto override the output container, or rely onmodern=true/falsefor WebP vs JPEG/PNG. - imagekit_resize — Resize an image to exact
width×height, or provide one dimension to scale proportionally. Supports a configurable fit mode and optional quality setting for lossy output. - imagekit_crop — Crop to a rectangular region given by
x,y,widthandheight. Useful for extracting faces, logos or tiles from larger photos. - imagekit_rotate — Rotate an image by
90,180or270degrees. Handles the canvas reorientation; combine withimagekit_resizeif you also need a target dimension. - imagekit_grayscale — Produce a greyscale version of the source. Outputs in the same container as the source (or the
formatyou specify), useful for document images and accessibility variants. - imagekit_thumbnail — Generate a small preview/thumbnail at a requested
size(treated as the larger dimension, aspect ratio preserved). Ideal for galleries, search results and attachment previews. - imagekit_strip_exif — Return a clean copy of the image with EXIF / XMP / IPTC metadata removed. Useful when publishing user photos and you want to discard location, camera and contact metadata.
- imagekit_info — Inspect an image and report its format, width, height, colour space and other header-level properties without downloading the full file.
Typical workflows
- Asset pipeline:
imagekit_infoto check dimensions,imagekit_resize+imagekit_compressto produce a WebP for the page, andimagekit_thumbnailfor the card preview — all from one source URL. - Document intake:
imagekit_rotateto orient scans,imagekit_grayscale+imagekit_compressto shrink,imagekit_strip_exifto remove metadata before publishing. - Privacy-safe uploads:
imagekit_strip_exifon user-submitted photos, thenimagekit_resizeto a safe dimension andimagekit_compressas WebP for storage and delivery.
Input notes
Every tool takes a public url (http or https) pointing to the source image. The server does not follow redirects and refuses private/internal addresses, so the URL must be directly reachable from the internet. Accepted source formats: JPEG, PNG, WebP, GIF, BMP, TIFF, ICO. Limits are 15 MB and 40 megapixels per source.
For lossy output, quality accepts 1–100 (clamped). When outputting JPEG, transparency is flattened onto white; use format=png or modern=true to preserve an alpha channel.