rotate
Rotate a single pixel-art character sprite from one view or direction to another. Supports fixed sizes 16, 32, 64, or 128px.
Instructions
Rotate a single character sprite from one view/direction to another. Fixed sizes only: 16, 32, 64, or 128px. For generating all 8 directions at once use generate_8_rotations or create_character_8dir instead.
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": {
"image_size": "<image_size>",
"from_image": "<from_image>"
},
"name": "rotate"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| seed | No | Seed for deterministic generation (default 0) | |
| to_view | No | Camera perspective | |
| from_view | No | Camera perspective | |
| isometric | No | Generate in isometric view (default false) | |
| from_image | Yes | Source image | |
| image_size | Yes | 16x16 to 128x128 | |
| init_image | No | Initialization image | |
| mask_image | No | Mask image | |
| color_image | No | Color palette reference image | |
| view_change | No | Relative view change (alternative to from/to_view) | |
| to_direction | No | Character facing direction | |
| from_direction | No | Character facing direction | |
| direction_change | No | Relative direction change (alternative to from/to_direction) | |
| oblique_projection | No | Use oblique projection (default false) | |
| init_image_strength | No | Initial image influence strength (0-1000, default 300) | |
| image_guidance_scale | No | Source image influence (default 3.0) |