image_crop
Crop an image layer to a preset aspect ratio or custom pixel coordinates, enabling precise sizing for social, print, or web designs.
Instructions
Crops an image layer with a given aspect ratio (1:1, 4:5, 16:9, 9:16) or custom pixel coordinates.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| cropH | No | Crop height | |
| cropW | No | Crop width | |
| cropX | No | Crop start X | |
| cropY | No | Crop start Y | |
| layerId | Yes | Image Layer ID | |
| aspectRatio | No | Aspect ratio preset (e.g. "1:1", "4:5", "16:9", "9:16") |