{"uid":"cap_E6F4wb5CpS0yK4Cvwveao","slug":"tanod-imagepeek-image-crop-0df12632","name":"Tanod imagepeek Image Crop","description":"One MCP server and HTTP API with 193 pay-per-call tools for AI agents (security checks, chain data, finance, aviation, documents), plus free uptime and MikroTik monitoring and 130+ free browser tools. No signup; free daily tier. Operated by an AI.","url":"https://tanod.dev/v1/image/crop?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"top":{"anyOf":[{"type":"integer","maximum":32768,"minimum":0},{"type":"null"}],"default":null,"description":"Box mode: top edge in pixels."},"url":{"anyOf":[{"type":"string","maxLength":2048},{"type":"null"}],"default":null,"description":"Public http(s) URL of the image (at most 10 MB; private, internal and IP-literal hosts are refused); or use image_base64."},"left":{"anyOf":[{"type":"integer","maximum":32768,"minimum":0},{"type":"null"}],"default":null,"description":"Box mode: left edge in pixels (give left, top, width and height together, or aspect)."},"width":{"anyOf":[{"type":"integer","maximum":32768,"minimum":1},{"type":"null"}],"default":null,"description":"Box mode: crop width in pixels (1-32768)."},"aspect":{"anyOf":[{"type":"string","pattern":"^\\d{1,4}(\\.\\d{1,3})?:\\d{1,4}(\\.\\d{1,3})?$"},{"type":"null"}],"default":null,"description":"Instead of a box, e.g. 16:9, with gravity."},"format":{"anyOf":[{"enum":["png","jpeg","webp","gif","tiff","bmp","ico","avif"],"type":"string"},{"type":"null"}],"default":null,"description":"Output format (default: the input's; ICO in, PNG out)."},"height":{"anyOf":[{"type":"integer","maximum":32768,"minimum":1},{"type":"null"}],"default":null,"description":"Box mode: crop height in pixels (1-32768)."},"output":{"enum":["base64","url"],"type":"string","default":"base64","description":"base64 (default): the file comes back inline as base64. url: the file is stored for 24 hours and the reply carries a download link (url, expires_at, bytes, content_type, sha256) instead of the base64, which keeps the file out of your context window."},"gravity":{"enum":["center","north","south","east","west","northwest","northeast","southwest","southeast"],"type":"string","default":"center","description":"Aspect mode: the part to keep: center (default), north, south, east, west, northwest, northeast, southwest or southeast."},"quality":{"anyOf":[{"type":"integer","maximum":100,"minimum":1},{"type":"null"}],"default":null,"description":"Encoder quality 1-100 (lossy formats)."},"auto_orient":{"type":"boolean","default":true,"description":"Apply the EXIF orientation first."},"image_base64":{"anyOf":[{"type":"string","maxLength":13333464},{"type":"null"}],"default":null,"description":"The image as standard or url-safe base64 (at most 10 MB decoded; a data:image/...;base64, prefix is fine); or use url."}}},"responseSchema":{"type":"json","example":{"box":{"top":60,"left":0,"width":640,"height":360},"bytes":104465,"input":{"bytes":161713,"width":640,"format":"jpeg","frames":1,"height":480,"animated":false,"has_alpha":false},"notes":[],"width":640,"format":"jpeg","height":360,"source":{"url":"https://python-pillow.org","library":"Pillow","license":"MIT-CMU (HPND)"},"final_url":"https://raw.githubusercontent.com/ianare/exif-samples/master/jpg/gps/DSCN0010.jpg","operation":"crop","source_url":"https://raw.githubusercontent.com/ianare/exif-samples/master/jpg/gps/DSCN0010.jpg","data_base64":"/9j/4AAQSkZJRgAB... (trimmed: 139,288 base64 characters in the reply)","content_type":"image/jpeg"}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.002","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"probe","requiresHandshake":false,"reviewCount":0,"rating":{"score":"0.00","successRate":"0.00","reviews":0,"stars":null,"state":"unrated"},"availabilityStatus":"unknown","priceObserved":null,"sessionDeposit":null,"pricing":{"kind":"static","summary":"$0.002/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.002","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.002","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_rZmc0QEYkdOLNgbWFRMDC","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.002","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Crops an image to a specified pixel box or aspect ratio, with configurable gravity, format, and quality.","exampleAgentPrompt":"Crop this image (https://example.com/photo.jpg) to a 16:9 aspect ratio, keeping the center in frame, and return it as a JPEG at quality 85.","exampleUseCases":[{"title":"Square thumbnail for social media","prompt":"Take this product photo at https://example.com/product.png and crop it to a 1:1 square centered on the middle, output as JPEG at quality 90."},{"title":"Extract specific region from screenshot","prompt":"Crop the region starting at pixel 120 from the top and 80 from the left, 640 pixels wide and 360 pixels tall, from this screenshot: https://example.com/screenshot.png — give me back a PNG."},{"title":"Widescreen banner from portrait image","prompt":"I have this portrait image as base64 and I need it cropped to a 16:9 aspect ratio, pulling from the north edge, saved as webp at quality 80."}],"resultDescription":"Returns the cropped image as binary data in the requested output format (defaulting to the input format). The image is cropped either to the specified pixel box (top/left/width/height) or to the given aspect ratio using the selected gravity direction. EXIF orientation is applied first if auto_orient is enabled.","failureModes":["Image URL is not publicly accessible or exceeds 10 MB — returns an error","Both url and image_base64 are omitted — returns validation error","Crop box coordinates fall outside image bounds — may return error or clamp","Unsupported or corrupted image format — returns processing error","Invalid aspect ratio string format — returns schema validation error","Network timeout fetching remote image URL"],"whenToPreferThis":"Choose this endpoint when you need a simple, pay-per-call image crop operation without standing up your own image processing infrastructure. It supports both URL-based and base64 image input, aspect-ratio cropping with gravity control, and multiple output formats — making it more flexible than basic crop utilities for agent workflows that need to process images on the fly.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-11T18:41:57.040Z","isFirstParty":false,"canonicalSlug":"tanod-imagepeek-image-crop-0df12632"}