Find empty bands at the edges
composition_checkDetects the empty edge band left by generated art, reports how much of the frame it covers, and returns a crop that removes it; save the cropped image with output_path.
Instructions
Measures an image for the empty band generated art often leaves at an edge (a plain sky or flat strip meant for text that never came) and returns how much of the frame it takes, plus a crop that removes it. Pass output_path to save the cropped version. Run it on a draft before compositing and on the final file before shipping.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| overwrite | No | ||
| input_path | Yes | ||
| output_path | No | If set and a band is found, the cropped image is saved here | |
| planned_edges | No | Edges you left calm on purpose for text you'll set there | |
| target_aspect | No | Keep this shape when cropping, e.g. "4:5" for a LinkedIn feed post |