sprite_tools_remove_bg
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. 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_remove_bg"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| keep | No | main: only the main subject and what touches it; all: everything that is not background. auto: all for flat backgrounds, main after AI. | auto |
| mode | No | auto: flat key when the border is one color, AI segmentation otherwise. | auto |
| trim | No | ||
| image | No | Base64 PNG, JPEG or WebP. | |
| pivot | No | bottom | |
| padding | No | ||
| imageUrl | No |