{"slug":"tanod-dev-v1-image-resize-798b73","title":"imagepeek (Tanod) image resize","host":"tanod.dev","method":"POST","resource":"https://tanod.dev/v1/image/resize","category":"image","description":"imagepeek (Tanod) image resize: an image resized (inside, contain, cover or fill).","price_listed":0.002,"price_asked":0.002,"state":"answering","state_label":"Answering","checks_7d":1,"answered_7d":1,"latency_ms_median":216,"reported_calls_30d":2,"reported_payers_30d":2,"networks":["eip155:137","eip155:8453"],"badge":"unverified","paid_checks_7d":0,"paid_ok_7d":0,"example_input":{"body":{"url":"https://tanod.dev/icon.png","width":64},"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":{"auto_orient":{"default":true,"description":"Apply the EXIF orientation first.","type":"boolean"},"background":{"anyOf":[{"pattern":"^(#?[0-9a-fA-F]{6}([0-9a-fA-F]{2})?|transparent)$","type":"string"},{"type":"null"}],"default":null,"description":"contain padding colour (default transparent / white)."},"fit":{"default":"inside","description":"With width and height: inside (default; fit within, keep aspect), contain (fit within, padded to the exact box), cover (fill the box, centre crop) or fill (stretch).","enum":["inside","contain","cover","fill"],"type":"string"},"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":[{"maximum":32768,"minimum":1,"type":"integer"},{"type":"null"}],"default":null,"description":"Target 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."},"lossless":{"default":false,"description":"webp output: lossless encoding (default false).","type":"boolean"},"optimize":{"default":false,"description":"png output: maximum (slower) compression (default false).","type":"boolean"},"progressive":{"default":false,"description":"jpeg output: progressive encoding (default false).","type":"boolean"},"quality":{"anyOf":[{"maximum":100,"minimum":1,"type":"integer"},{"type":"null"}],"default":null,"description":"Encoder quality 1-100 (lossy formats)."},"resample":{"default":"lanczos","description":"Resampling filter: nearest, box, bilinear, hamming, bicubic or lanczos (default).","enum":["nearest","box","bilinear","hamming","bicubic","lanczos"],"type":"string"},"scale":{"anyOf":[{"exclusiveMinimum":0,"maximum":10,"type":"number"},{"type":"null"}],"default":null,"description":"Instead of width/height."},"upscale":{"default":false,"description":"Allow output larger than the input.","type":"boolean"},"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":"Target width in pixels (1-32768); give width, height, both, or scale."}},"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":{"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"},"upscale_prevented":{"type":"boolean"},"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":216,"error":null}],"description_full":"imagepeek (Tanod) image resize: an image resized (inside, contain, cover or fill).","last_updated":"2026-10-08T21:31:33.595Z","schemes":["exact"]}