sprite_tools_slice
Cut a sprite sheet into frames by grid or by transparent gaps; frame PNGs plus a ZIP. Price: $0.05 USDC via x402, charged only on success. Part of Sprite tools: 2D sprite jobs for games: cut sprites out of their background (exact for one-color backgrounds, AI for busy ones), turn animation videos into aligned sprite sheets, make normal maps for 2D lights, build 47-tile autotile sets with Tiled, Godot and Unity rules, slice a sheet into frames, pack frames into an atlas with TexturePacker and Unity metadata, and turn upscaled or AI-generated pixel art into real pixel art on its true grid with a limited palette..
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "sprite_tools_slice"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| cols | No | ||
| mode | No | auto | |
| rows | No | ||
| trim | No | ||
| image | No | Base64 PNG, JPEG or WebP. | |
| margin | No | ||
| minArea | No | auto mode: ignore islands smaller than this many pixels | |
| spacing | No | ||
| imageUrl | No | ||
| cellWidth | No | ||
| cellHeight | No | ||
| mergeDistance | No | auto mode: islands closer than this merge into one sprite |