Generate sprite
generate_spriteGenerate one or more pixel-art sprites from a text prompt with custom width, height, and variants; each result is saved as a PNG preview in a unique output directory.
Instructions
Generate one or more pixel-art sprites from a prompt. Width and height are 1..512 pixels. Each result is saved in a unique output directory and returned as a PNG preview.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"prompt": "<prompt>"
},
"name": "generate_sprite"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| seed | No | ||
| width | No | ||
| height | No | ||
| prompt | Yes | ||
| palette | No | ||
| variants | No | ||
| background | No | auto | |
| output_dir | No |