rotate
Rotate a character sprite from one view or direction to another. Accepts an image in base64 and parameters for view, direction, and size (16-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.
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) |