{"slug":"agentsvc-io-api-v1-proxy-image-resize-9942a6","title":"Resize, crop-fit and convert images (PNG, JPEG, WebP, AVIF, GIF, TIFF, SVG input","host":"agentsvc.io","method":"POST","resource":"https://agentsvc.io/api/v1/proxy/image-resize","category":"image","description":"Resize, crop-fit and convert images (PNG, JPEG, WebP, AVIF, GIF, TIFF, SVG input) to webp, png, jpeg or avif. Auto-rotates by EXIF. Use to shrink screenshots before sending them to a vision model, create thumbnails, or convert formats. Params: image_base64 or image_url (one required), width, height ","price_listed":0.0045,"price_asked":null,"state":"effects","state_label":"Not tested: has real-world effects","checks_7d":0,"answered_7d":0,"latency_ms_median":null,"reported_calls_30d":10,"reported_payers_30d":3,"networks":["eip155:137","eip155:42161","eip155:8453","solana:5eykt4UsFv8P8NJdTREpY1vzqKqZKvdp"],"badge":"unverified","paid_checks_7d":0,"paid_ok_7d":0,"example_input":{"body":{"format":"webp","image_url":"https://agentsvc.io/sample.png","width":130},"bodyType":"json","method":"POST","type":"http"},"output_schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"properties":{"fit":{"default":"inside","enum":["inside","cover","contain","fill"],"type":"string"},"format":{"default":"webp","enum":["webp","png","jpeg","avif"],"type":"string"},"height":{"maximum":4096,"type":"integer"},"image_base64":{"description":"Base64 image data (data: URI prefix allowed)","type":"string"},"image_url":{"description":"Public URL of the image (max 15 MB)","format":"uri","type":"string"},"quality":{"default":80,"maximum":100,"minimum":1,"type":"integer"},"width":{"maximum":4096,"type":"integer"}},"required":[]},"bodyType":{"enum":["json","form-data","text"],"type":"string"},"method":{"enum":["POST","PUT","PATCH"],"type":"string"},"type":{"const":"http","type":"string"}},"required":["type","method","bodyType","body"],"type":"object"},"output":{"properties":{"example":{"properties":{"data":{"properties":{"format":{"type":"string"},"height":{"type":"integer"},"image_base64":{"type":"string"},"original":{"properties":{"format":{"type":"string"},"height":{"type":"integer"},"size_bytes":{"type":"integer"},"width":{"type":"integer"}},"type":"object"},"size_bytes":{"type":"integer"},"width":{"type":"integer"}},"required":["image_base64","format","width","height","size_bytes","original"],"type":"object"},"success":{"type":"boolean"}},"required":["success","data"],"type":"object"},"type":{"type":"string"}},"required":["type"],"type":"object"}},"required":["input"],"type":"object"},"history":[],"description_full":"Resize, crop-fit and convert images (PNG, JPEG, WebP, AVIF, GIF, TIFF, SVG input) to webp, png, jpeg or avif. Auto-rotates by EXIF. Use to shrink screenshots before sending them to a vision model, create thumbnails, or convert formats. Params: image_base64 or image_url (one required), width, height (max 4096), fit (inside default | cover | contain | fill), format (webp default), quality (1-100, default 80).","last_updated":"2026-10-10T09:08:18.588Z","schemes":["exact"]}