{"slug":"rengi-dev-v1-image-tools-responsive-29e937","title":"Image tools","host":"rengi.dev","method":"POST","resource":"https://rengi.dev/v1/image-tools/responsive","category":"image","description":"Image tools: One image in, a responsive set out: every width in AVIF, WebP and a fallback, a ZIP of the files and a ready <picture> element with srcset, sizes, width and height. Never upscales. Full schema: https://rengi.dev/v1/image-tools/schema","price_listed":0.02,"price_asked":0.02,"state":"answering","state_label":"Answering","checks_7d":6,"answered_7d":6,"latency_ms_median":892,"reported_calls_30d":1,"reported_payers_30d":1,"networks":["eip155:8453","solana:5eykt4UsFv8P8NJdTREpY1vzqKqZKvdp"],"badge":"unverified","paid_checks_7d":0,"paid_ok_7d":0,"example_input":{"body":{"alt":"Harbour at dusk","formats":["avif","webp","jpeg"],"imageUrl":"https://rengi.dev/samples/photo.jpg","widths":[480,800,1200]},"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":{"alt":{"default":"","maxLength":300,"type":"string"},"basePath":{"default":"/images/","description":"Path prefix used in the markup for where you will host the files.","maxLength":200,"type":"string"},"formats":{"default":["avif","webp","jpeg"],"description":"Best format first; the last one is the <img> fallback.","items":{"enum":["avif","webp","jpeg","png"],"type":"string"},"maxItems":3,"minItems":1,"type":"array"},"image":{"description":"Image file as base64 (PNG, JPEG, WebP, AVIF, GIF, TIFF or SVG).","type":"string"},"imageUrl":{"description":"Link to the image.","format":"uri","type":"string"},"name":{"default":"image","description":"File name stem.","pattern":"^[a-zA-Z0-9_-]{1,60}$","type":"string"},"quality":{"default":72,"maximum":100,"minimum":1,"type":"integer"},"sizes":{"default":"100vw","description":"The sizes attribute for the markup.","maxLength":200,"type":"string"},"widths":{"default":[480,800,1200,1600,2000],"description":"Widths to produce. Widths above the source are dropped; the source width is added if none fit.","items":{"maximum":4096,"minimum":16,"type":"integer"},"maxItems":8,"minItems":1,"type":"array"}},"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":{"additionalProperties":false,"properties":{"files":{"items":{"additionalProperties":false,"properties":{"bytes":{"type":"number"},"format":{"type":"string"},"height":{"type":"number"},"name":{"type":"string"},"url":{"type":"string"},"width":{"type":"number"}},"required":["name","url","format","width","height","bytes"],"type":"object"},"type":"array"},"html":{"description":"A <picture> element with srcset per format, width/height set to prevent layout shift.","type":"string"},"largestBytes":{"type":"number"},"originalBytes":{"type":"number"},"smallestBytes":{"type":"number"},"zip":{"type":"string"}},"required":["files","html","zip","originalBytes","smallestBytes","largestBytes"],"type":"object"},"type":{"type":"string"}},"required":["type"],"type":"object"}},"required":["input"],"type":"object"},"history":[{"day":"2026-11-26","reachable":true,"status":402,"valid_402":true,"asked_usdc":0.02,"price_match":true,"latency_ms":898,"error":null},{"day":"2026-11-25","reachable":true,"status":402,"valid_402":true,"asked_usdc":0.02,"price_match":true,"latency_ms":887,"error":null},{"day":"2026-11-24","reachable":true,"status":402,"valid_402":true,"asked_usdc":0.02,"price_match":true,"latency_ms":950,"error":null},{"day":"2026-11-23","reachable":true,"status":402,"valid_402":true,"asked_usdc":0.02,"price_match":true,"latency_ms":887,"error":null},{"day":"2026-11-22","reachable":true,"status":402,"valid_402":true,"asked_usdc":0.02,"price_match":true,"latency_ms":887,"error":null},{"day":"2026-11-21","reachable":true,"status":402,"valid_402":true,"asked_usdc":0.02,"price_match":true,"latency_ms":910,"error":null}],"description_full":"Image tools: One image in, a responsive set out: every width in AVIF, WebP and a fallback, a ZIP of the files and a ready <picture> element with srcset, sizes, width and height. Never upscales. Full schema: https://rengi.dev/v1/image-tools/schema","last_updated":"2026-11-21T15:12:13.492Z","schemes":["exact"]}