crop_image_to_square
Crop any image to a 1:1 square using center crop, then resize to 1024x1024 and export as high-res WebP.
Instructions
Crop image to 1:1 square using center crop. Uses the shorter edge as crop size, then scales to 1024x1024. Fast, lossless operation without AI. Outputs high-res WebP.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| input_path | Yes | Local file path or URL to the image to crop (e.g., '/path/to/image.jpg' or 'https://example.com/image.jpg') |