Image Processing
by pictomancer.ai in Documents & files
Image processing for AI agents: resize, convert, compress, crop, and web-ready AI-generated images.
https://api.pictomancer.ai/mcp- Tools
- 11
- open to any client
- Uptime
- 98.2%
- last 30 days
- Response time
- 195 ms
- 252 ms slowest 5%
- Last check
- Passed
- 4 h ago, next in 3 h
Reliability
Status and outage history · Atom feed · Watch with other listings
How to connect
Add it to any MCP client that supports remote servers.
{
"mcpServers": {
"image-processing": {
"type": "http",
"url": "https://api.pictomancer.ai/mcp"
}
}
}11 tools
- get_format_info
Get supported formats and options Returns supported output formats and their configurable options. ### Responses: **200**: Successful Response (Success Response) Content-Type: application/json
- estimate_cost
Estimate the price of an operation Returns the exact USD price this API would charge for an operation on an input of the given size, without fetching or processing anything. Free. Use it before paying: send X-Max-Cost-USD on the real request to have the API refuse (412) instead…
- analyze_image
Analyze an image Fetch an image from a URL or base64 and return its metadata: size in bytes, pixel dimensions, source format, and what it costs every supported vision model in tokens. Always free. Dimensions are omitted if the image header cannot be read. Also reports whether…
- resize_image
Resize an image Scale an image by a factor, or fill an exact box. Use 'scale' for uniform scaling, or 'scale_x'/'scale_y' for independent axes (float factors, e.g. 0.5 = half size). Alternatively set 'width'+'height' for fill mode: resize and smart-crop to those exact…
- compress_image
Compress an image Re-encode an image with quality/format options to reduce file size. Supports jpeg, png, webp, tiff, gif. Instead of a q number you can set quality_target (0-1]: the smallest file with SSIM at or above the target, searched on the worker (jpeg, webp, avif; flat…
- convert_image
Convert image format Convert an image to a different format (jpeg, png, webp, tiff, gif, avif). Optionally set quality, strip metadata, enable lossless mode (webp, avif), or tune encoder effort (avif). Instead of a q number you can set quality_target (0-1]: the smallest file…
- crop_image
Crop an image Extract a rectangular region from an image, in one of three mutually exclusive modes. Manual: give the top-left corner (x, y) and dimensions (width, height) in pixels. Smart crop: give 'gravity' (attention, entropy, centre) plus width and height; the window is…
- optimize_for_vision
Resize an image for a vision model Resize an image to the largest size a given vision model still benefits from, and report what it costs that model in tokens before and after. Every provider downscales oversized input before counting tokens, so this alone saves bytes and…
- optimize_generated_image
Optimize an AI-generated image for the web The step after image generation. gpt-image, DALL-E, Flux, Midjourney and Stable Diffusion hand back 2-8 MB PNGs; this returns the same picture as a web-ready webp (default), avif, jpeg or png, metadata stripped, transparency kept on…
- remove_image_background
Remove the background from an image Cut the subject (person, product, animal, object) out of a photo and return it on a transparent background as png (default), webp or avif. Optional q (1-100) for webp/avif. Runs a segmentation model (U2Net) on CPU: expect a few seconds per…
- image_pipeline
Run a multi-step image pipeline Chain multiple operations (resize, compress, convert, crop) in sequence. The image is fetched once, then each operation is applied to the output of the previous one. Max 10 operations per pipeline. ### Responses: **200**: Processed image binary…
Security scan
No findings
We scan names, descriptions and tool definitions for hidden instructions and other prompt-injection patterns.
Recent checks
| When | Result | HTTP | Time |
|---|---|---|---|
| 4 h ago | Passed | 200 | 161 ms |
| 21 h ago | Passed | 200 | 237 ms |
| 2 days ago | Timed out | - | - |
| 4 days ago | Passed | 200 | 438 ms |
| 5 days ago | Passed | 200 | 225 ms |
Show 10 older checks
| 6 days ago | Passed | 200 | 464 ms |
| 6 days ago | Passed | 200 | 226 ms |
| 7 days ago | Passed | 200 | 213 ms |
| 7 days ago | Passed | 200 | 224 ms |
| 8 days ago | Passed | 200 | 185 ms |
| 8 days ago | Passed | 200 | 181 ms |
| 9 days ago | Passed | 200 | 212 ms |
| 9 days ago | Passed | 200 | 224 ms |
| 10 days ago | Passed | 200 | 170 ms |
| 10 days ago | Passed | 200 | 219 ms |