expand_image_to_square
Convert any image to a 1:1 square by filling border areas with AI-matched background, preserving original content and perspective. Outputs a 1024x1024 WebP.
Instructions
Convert any aspect ratio to 1:1 square by intelligently filling border areas while preserving original content pixel-perfect. AI matches background style (solid/gradient/textured/environmental), continues lighting and perspective with seamless blending. Outputs 1024x1024 WebP with AI review.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| input_path | Yes | Local file path or URL to the image to expand (e.g., '/path/to/image.jpg' or 'https://example.com/image.jpg') |