upload_image
Save an existing image as a new Voidless asset so editing, rotation, and sprite animation tools can process it; optionally remove its background during import.
Instructions
Save an image the user already has (drawn, bought or made in another tool) as a new image asset in their Voidless library, so edit_image, rotate_sprite and animate_sprite can work on it. To clean up a messy sprite or a video on the way in use clean_up_sprite; for a 3D model, upload_3d_model. Free, but each call saves another copy. Pictures that are not a square of 32, 48, 64, 96, 128, 192, 256 or 384, 512, 768 or 1024 px are centred on the smallest that holds them with transparent padding (scaled down to 1024 if larger); returns the asset ID and says so.
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": "upload_image"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url | No | Public http(s) link to the image. Preferred: a long base64 string is easy to garble. Give url or image, not both | |
| type | No | What the picture is (default 'character'), with the same meanings as generate_image's type | character |
| image | No | Base64 image instead of url (a data: prefix is stripped automatically). Give url or image, not both | |
| remove_bg | No | Remove the background on upload (default false). Set true for a sprite on a solid background |