{"slug":"rengi-dev-v1-sprite-tools-pixelate-bdc1e9","title":"Sprite tools","host":"rengi.dev","method":"POST","resource":"https://rengi.dev/v1/sprite-tools/pixelate","category":"other","description":"Sprite tools: Clean pixel art: find the true pixel grid, downscale to it, snap to a palette, hard alpha. Full schema: https://rengi.dev/v1/sprite-tools/schema","price_listed":0.1,"price_asked":0.1,"state":"answering","state_label":"Answering","checks_7d":1,"answered_7d":1,"latency_ms_median":932,"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":{"colors":16,"imageUrl":"https://rengi.dev/samples/ai-knight.png"},"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":{"alphaThreshold":{"default":128,"maximum":255,"minimum":1,"type":"integer"},"colors":{"default":16,"maximum":64,"minimum":2,"type":"integer"},"image":{"description":"Base64 PNG, JPEG or WebP.","type":"string"},"imageUrl":{"format":"uri","type":"string"},"palette":{"description":"Hex colors to snap to.","items":{"type":"string"},"maxItems":256,"minItems":2,"type":"array"},"scale":{"description":"Size of one art pixel in image pixels; detected when omitted.","maximum":64,"minimum":1,"type":"integer"}},"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":{"height":{"type":"number"},"image":{"type":"string"},"offset":{"additionalProperties":false,"properties":{"x":{"type":"number"},"y":{"type":"number"}},"required":["x","y"],"type":"object"},"palette":{"items":{"type":"string"},"type":"array"},"preview":{"type":"string"},"scale":{"type":"number"},"scaleDetected":{"type":"boolean"},"width":{"type":"number"}},"required":["image","preview","width","height","scale","scaleDetected","offset","palette"],"type":"object"},"type":{"type":"string"}},"required":["type"],"type":"object"}},"required":["input"],"type":"object"},"history":[{"day":"2026-10-21","reachable":true,"status":402,"valid_402":true,"asked_usdc":0.1,"price_match":true,"latency_ms":932,"error":null}],"description_full":"Sprite tools: Clean pixel art: find the true pixel grid, downscale to it, snap to a palette, hard alpha. Full schema: https://rengi.dev/v1/sprite-tools/schema","last_updated":"2026-10-21T10:23:55.021Z","schemes":["exact"]}