Find empty bands at the edges
composition_checkDetects empty bands left by generated art at image edges, reports how much of the frame they take, and returns a crop that removes them so drafts and finals ship without dead space.
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 |