{"slug":"rengi-dev-v1-image-tools-svg-to-png-4cec31","title":"Image tools","host":"rengi.dev","method":"POST","resource":"https://rengi.dev/v1/image-tools/svg-to-png","category":"image","description":"Image tools: Rasterize an SVG to crisp PNG or WebP at any set of sizes, with optional background and padding. For favicons, app icons, social images and engines that do not read SVG. Full schema: https://rengi.dev/v1/image-tools/schema","price_listed":0.01,"price_asked":0.01,"state":"answering","state_label":"Answering","checks_7d":6,"answered_7d":6,"latency_ms_median":920,"reported_calls_30d":2,"reported_payers_30d":2,"networks":["eip155:8453","solana:5eykt4UsFv8P8NJdTREpY1vzqKqZKvdp"],"badge":"unverified","paid_checks_7d":0,"paid_ok_7d":0,"example_input":{"body":{"sizes":[64,256,1024],"svgUrl":"https://rengi.dev/samples/logo.svg"},"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":{"background":{"description":"Fill behind the drawing; transparent when omitted.","pattern":"^#?[0-9a-fA-F]{6}$","type":"string"},"format":{"default":"png","enum":["png","webp"],"type":"string"},"padding":{"default":0,"description":"Empty margin as a share of the output size (0.1 = 10% on every side).","maximum":0.4,"minimum":0,"type":"number"},"sizes":{"default":[512],"description":"Output widths in pixels; height follows the SVG's aspect ratio.","items":{"maximum":4096,"minimum":8,"type":"integer"},"maxItems":10,"minItems":1,"type":"array"},"svg":{"description":"SVG markup as text.","maxLength":2000000,"type":"string"},"svgUrl":{"format":"uri","type":"string"}},"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"},"height":{"type":"number"},"url":{"type":"string"},"width":{"type":"number"}},"required":["url","width","height","bytes"],"type":"object"},"type":"array"},"viewBox":{"additionalProperties":false,"properties":{"height":{"type":"number"},"width":{"type":"number"}},"required":["width","height"],"type":"object"}},"required":["files","viewBox"],"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.01,"price_match":true,"latency_ms":948,"error":null},{"day":"2026-11-25","reachable":true,"status":402,"valid_402":true,"asked_usdc":0.01,"price_match":true,"latency_ms":874,"error":null},{"day":"2026-11-24","reachable":true,"status":402,"valid_402":true,"asked_usdc":0.01,"price_match":true,"latency_ms":957,"error":null},{"day":"2026-11-23","reachable":true,"status":402,"valid_402":true,"asked_usdc":0.01,"price_match":true,"latency_ms":888,"error":null},{"day":"2026-11-22","reachable":true,"status":402,"valid_402":true,"asked_usdc":0.01,"price_match":true,"latency_ms":892,"error":null},{"day":"2026-11-21","reachable":true,"status":402,"valid_402":true,"asked_usdc":0.01,"price_match":true,"latency_ms":1219,"error":null}],"description_full":"Image tools: Rasterize an SVG to crisp PNG or WebP at any set of sizes, with optional background and padding. For favicons, app icons, social images and engines that do not read SVG. Full schema: https://rengi.dev/v1/image-tools/schema","last_updated":"2026-11-26T11:19:44.809Z","schemes":["exact"]}