{"slug":"tanod-dev-v1-image-crop-de99d2","title":"imagepeek (Tanod) image crop","host":"tanod.dev","method":"POST","resource":"https://tanod.dev/v1/image/crop","category":"image","description":"imagepeek (Tanod) image crop: to a box or an aspect ratio.","price_listed":0.002,"price_asked":0.002,"state":"answering","state_label":"Answering","checks_7d":1,"answered_7d":1,"latency_ms_median":410,"reported_calls_30d":3,"reported_payers_30d":3,"networks":["eip155:137","eip155:8453"],"badge":"unverified","paid_checks_7d":0,"paid_ok_7d":0,"example_input":{"body":{"aspect":"16:9","url":"https://raw.githubusercontent.com/ianare/exif-samples/master/jpg/gps/DSCN0010.jpg"},"bodyType":"json","method":"POST","type":"http"},"output_schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"aspect":{"anyOf":[{"pattern":"^\\d{1,4}(\\.\\d{1,3})?:\\d{1,4}(\\.\\d{1,3})?$","type":"string"},{"type":"null"}],"default":null,"description":"Instead of a box, e.g. 16:9, with gravity."},"auto_orient":{"default":true,"description":"Apply the EXIF orientation first.","type":"boolean"},"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)."},"gravity":{"default":"center","description":"Aspect mode: the part to keep: center (default), north, south, east, west, northwest, northeast, southwest or southeast.","enum":["center","north","south","east","west","northwest","northeast","southwest","southeast"],"type":"string"},"height":{"anyOf":[{"maximum":32768,"minimum":1,"type":"integer"},{"type":"null"}],"default":null,"description":"Box mode: crop height in pixels (1-32768)."},"image_base64":{"anyOf":[{"maxLength":13333464,"type":"string"},{"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."},"left":{"anyOf":[{"maximum":32768,"minimum":0,"type":"integer"},{"type":"null"}],"default":null,"description":"Box mode: left edge in pixels (give left, top, width and height together, or aspect)."},"quality":{"anyOf":[{"maximum":100,"minimum":1,"type":"integer"},{"type":"null"}],"default":null,"description":"Encoder quality 1-100 (lossy formats)."},"top":{"anyOf":[{"maximum":32768,"minimum":0,"type":"integer"},{"type":"null"}],"default":null,"description":"Box mode: top edge in pixels."},"url":{"anyOf":[{"maxLength":2048,"type":"string"},{"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."},"width":{"anyOf":[{"maximum":32768,"minimum":1,"type":"integer"},{"type":"null"}],"default":null,"description":"Box mode: crop width in pixels (1-32768)."}},"type":"object"},"bodyType":{"enum":["json","form-data","text"],"type":"string"},"method":{"enum":["POST"],"type":"string"},"type":{"const":"http","type":"string"}},"required":["type","method","bodyType","body"],"type":"object"},"output":{"properties":{"example":{"properties":{"box":{"properties":{"height":{"type":"integer"},"left":{"type":"integer"},"top":{"type":"integer"},"width":{"type":"integer"}},"type":"object"},"bytes":{"type":"integer"},"content_type":{"type":"string"},"data_base64":{"type":"string"},"final_url":{"type":"string"},"format":{"type":"string"},"height":{"type":"integer"},"input":{"properties":{"animated":{"type":"boolean"},"bytes":{"type":"integer"},"format":{"type":"string"},"frames":{"type":"integer"},"has_alpha":{"type":"boolean"},"height":{"type":"integer"},"width":{"type":"integer"}},"type":"object"},"notes":{"items":{"type":"string"},"type":"array"},"operation":{"type":"string"},"source":{"type":"object"},"source_url":{"type":"string"},"width":{"type":"integer"}},"required":["operation","input","notes","format","content_type","bytes","width","height","data_base64"],"type":"object"},"type":{"type":"string"}},"required":["type"],"type":"object"}},"required":["input"],"type":"object"},"history":[{"day":"2026-10-10","reachable":true,"status":402,"valid_402":true,"asked_usdc":0.002,"price_match":true,"latency_ms":410,"error":null}],"description_full":"imagepeek (Tanod) image crop: to a box or an aspect ratio.","last_updated":"2026-10-08T21:27:22.408Z","schemes":["exact"]}