{"uid":"cap_x2EQwVCC-ARVSZZV47u6o","slug":"rengi-forge-sprite-atlas-packer-04c6245a","name":"Rengi Forge Sprite Atlas Packer","description":"Sprite tools: Pack frames into one atlas (MaxRects) with padding and edge extrusion; TexturePacker JSON and Unity JSON. Full schema: https://rengi.dev/v1/sprite-tools/schema","url":"https://rengi.dev/v1/sprite-tools/pack?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"trim":{"type":"boolean","default":true},"frames":{"type":"array","items":{"type":"object","required":["name"],"properties":{"name":{"type":"string","maxLength":120,"minLength":1},"image":{"type":"string"},"imageUrl":{"type":"string","format":"uri"}},"additionalProperties":false},"maxItems":2048,"minItems":1},"extrude":{"type":"integer","default":1,"maximum":8,"minimum":0},"maxSize":{"type":"integer","default":2048,"maximum":8192,"minimum":64},"padding":{"type":"integer","default":2,"maximum":32,"minimum":0},"powerOfTwo":{"type":"boolean","default":false}}},"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_Abhnn4Rj6l0gHYp_onXla","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":"Packs multiple sprite frames into a single texture atlas using MaxRects bin packing, with configurable padding, edge extrusion, and export in TexturePacker JSON or Unity JSON format.","exampleAgentPrompt":"Pack these 48 sprite frames into a single texture atlas with 2px padding and 1px edge extrusion, max size 2048, and give me the TexturePacker JSON — here are the image URLs: [list].","exampleUseCases":[{"title":"Unity game sprite sheet export","prompt":"I have 32 animation frames for my Unity character — can you pack them into a single atlas with 4px padding and 2px extrusion, max 2048x2048, and output Unity JSON so I can import it directly?"},{"title":"Mobile game atlas optimization","prompt":"Pack these 120 UI and character sprite frames into the smallest possible atlas (power-of-two, max 4096, 2px padding) and give me a TexturePacker JSON I can load in my mobile game engine."},{"title":"Indie game asset pipeline automation","prompt":"I've got 16 frames from different spritesheets — names and image URLs attached. Combine them into one atlas PNG with 1px extrude and no trimming, and output the TexturePacker JSON format."}],"resultDescription":"Returns a packed texture atlas image (PNG) alongside a structured JSON metadata file (TexturePacker JSON or Unity JSON) describing each frame's name, position, size, rotation, and trim data within the atlas. The atlas is generated using MaxRects bin packing to minimize wasted space.","failureModes":["Frame count exceeds 2048 limit — request rejected","Individual image URL unreachable or returns non-image content — packing fails","Requested maxSize too small to fit all frames — packing error returned","Invalid frame name (empty or over 120 characters) — validation error","extrude value out of 0–8 range or padding over 32 — schema validation failure","Mixed image formats or corrupt image data — processing error"],"whenToPreferThis":"Choose this endpoint when you need to combine multiple sprite frames into a single GPU-friendly texture atlas for use in Unity, Godot, or any engine that supports TexturePacker JSON. It is specifically suited for game asset pipelines requiring MaxRects packing, configurable padding/extrusion to prevent bleeding, and direct engine-compatible JSON output. Prefer it over generic image stitching tools when you need game-engine metadata alongside the atlas image.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-22T12:40:43.410Z","isFirstParty":false,"canonicalSlug":"rengi-forge-sprite-atlas-packer-04c6245a"}