{"slug":"rengi-dev-v1-sprite-tools-remove-bg-98d86d","title":"Sprite tools","host":"rengi.dev","method":"POST","resource":"https://rengi.dev/v1/sprite-tools/remove-bg","category":"other","description":"Sprite tools: Cut a sprite, prop or character out of its background: exact keying for one-color backgrounds (text and holes too), AI segmentation for busy ones; clean edges with no halo, trimmed, with a pivot. AI mode handles one main subject, not text on photos. Full schema: https://rengi.dev/v1/sp","price_listed":0.05,"price_asked":0.05,"state":"answering","state_label":"Answering","checks_7d":1,"answered_7d":1,"latency_ms_median":925,"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":{"imageUrl":"https://rengi.dev/samples/prop-on-white.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":{"image":{"description":"Base64 PNG, JPEG or WebP.","type":"string"},"imageUrl":{"format":"uri","type":"string"},"keep":{"default":"auto","description":"main: only the main subject and what touches it; all: everything that is not background. auto: all for flat backgrounds, main after AI.","enum":["auto","main","all"],"type":"string"},"mode":{"default":"auto","description":"auto: flat key when the border is one color, AI segmentation otherwise.","enum":["auto","flat","ai"],"type":"string"},"padding":{"default":2,"maximum":256,"minimum":0,"type":"integer"},"pivot":{"default":"bottom","enum":["bottom","center"],"type":"string"},"trim":{"default":true,"type":"boolean"}},"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":{"backgroundColor":{"type":["string","null"]},"box":{"additionalProperties":false,"description":"Where the result sits in the source image.","properties":{"h":{"type":"number"},"w":{"type":"number"},"x":{"type":"number"},"y":{"type":"number"}},"required":["x","y","w","h"],"type":"object"},"height":{"type":"number"},"image":{"type":"string"},"mask":{"type":"string"},"mode":{"enum":["flat","ai","existing"],"type":"string"},"pivot":{"additionalProperties":false,"description":"Normalized, Unity convention (0,0 = bottom-left).","properties":{"x":{"type":"number"},"y":{"type":"number"}},"required":["x","y"],"type":"object"},"pivotPx":{"additionalProperties":false,"description":"Pixels from the top-left of the result.","properties":{"x":{"type":"number"},"y":{"type":"number"}},"required":["x","y"],"type":"object"},"preview":{"type":"string"},"warnings":{"items":{"type":"string"},"type":"array"},"width":{"type":"number"}},"required":["image","mask","preview","mode","backgroundColor","width","height","box","pivot","pivotPx","warnings"],"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.05,"price_match":true,"latency_ms":925,"error":null}],"description_full":"Sprite tools: Cut a sprite, prop or character out of its background: exact keying for one-color backgrounds (text and holes too), AI segmentation for busy ones; clean edges with no halo, trimmed, with a pivot. AI mode handles one main subject, not text on photos. Full schema: https://rengi.dev/v1/sprite-tools/schema","last_updated":"2026-10-21T10:23:56.544Z","schemes":["exact"]}