{"uid":"cap_dF8M5_VAuAvMBImhZh-mF","slug":"rengi-forge-sprite-sheet-slicer-9506d637","name":"Rengi Forge Sprite Sheet Slicer","description":"Sprite tools: Cut a sprite sheet into frames by grid or by transparent gaps; frame PNGs plus a ZIP. Full schema: https://rengi.dev/v1/sprite-tools/schema","url":"https://rengi.dev/v1/sprite-tools/slice?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"cols":{"type":"integer","maximum":256,"minimum":1},"mode":{"enum":["grid","auto"],"type":"string","default":"auto"},"rows":{"type":"integer","maximum":256,"minimum":1},"trim":{"type":"boolean","default":false},"image":{"type":"string","description":"Base64 PNG, JPEG or WebP."},"margin":{"type":"integer","default":0,"maximum":512,"minimum":0},"minArea":{"type":"integer","default":4,"minimum":1,"description":"auto mode: ignore islands smaller than this many pixels"},"spacing":{"type":"integer","default":0,"maximum":512,"minimum":0},"imageUrl":{"type":"string","format":"uri"},"cellWidth":{"type":"integer","maximum":4096,"minimum":1},"cellHeight":{"type":"integer","maximum":4096,"minimum":1},"mergeDistance":{"type":"integer","default":1,"maximum":64,"minimum":0,"description":"auto mode: islands closer than this merge into one sprite"}}},"responseSchema":null,"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.05","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"probe","requiresHandshake":false,"reviewCount":0,"rating":{"score":"0.00","successRate":"0.00","reviews":0,"stars":null,"state":"unrated"},"availabilityStatus":"unknown","priceObserved":null,"sessionDeposit":null,"pricing":{"kind":"static","summary":"$0.05/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.05","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.05","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_FzwXwD13oj6Dpqi0OO5Oo","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.05","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Cuts a sprite sheet image into individual frame PNGs by either a fixed grid layout or by detecting transparent gaps between sprites, returning individual frames plus a ZIP archive.","exampleAgentPrompt":"Slice this sprite sheet into individual frames — it's arranged in a 6-column by 4-row grid with 2px spacing between cells. Use the URL https://example.com/hero_sheet.png and trim whitespace from each frame.","exampleUseCases":[{"title":"Extract animation frames from grid sheet","prompt":"I have a character sprite sheet at https://assets.mygame.com/player_run.png that's laid out as 8 columns and 2 rows with no spacing. Can you cut it into individual frame PNGs and give me a ZIP?"},{"title":"Auto-detect sprites from transparent atlas","prompt":"Split this sprite sheet for me — it's a PNG with sprites on a transparent background and I don't know the grid layout, so use auto mode. The base64 image is [data]. Ignore any islands smaller than 10 pixels."},{"title":"Slice tileset with margin and spacing","prompt":"Cut my tileset image into individual tiles — it's a 16-column by 16-row grid with 1px margin around the edges and 2px spacing between each tile. Here's the image URL: https://cdn.mygame.com/terrain_tiles.png."}],"resultDescription":"Returns individual frame PNG images extracted from the sprite sheet plus a ZIP archive containing all frames. Each frame is cropped to the detected or specified cell boundaries, optionally trimmed of transparent edges.","failureModes":["Image too large or exceeds processing limits","Invalid base64 image data or unreachable imageUrl","cols/rows specified but image dimensions not evenly divisible","auto mode finds no sprites (all transparent or no gaps detected)","minArea or mergeDistance settings cause all sprites to be filtered out","Unsupported image format provided","Network timeout fetching remote imageUrl"],"whenToPreferThis":"Use this endpoint when you need to decompose an existing sprite sheet into its constituent frame images, either knowing the grid layout in advance (grid mode with rows/cols/cellWidth/cellHeight) or relying on transparency gaps for automatic detection (auto mode). Prefer this over manual cropping pipelines or client-side canvas slicing when you need a reliable server-side solution that also outputs a convenient ZIP. Pair with the Rengi Forge sprite packer endpoint if you need to re-atlas the frames afterward.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-22T12:39:48.689Z","isFirstParty":false,"canonicalSlug":"rengi-forge-sprite-sheet-slicer-9506d637"}