check_listing
Check whether a photo is ready to list on a marketplace, without changing it. Renders the composite and measures: pixel size and aspect ratio against the marketplace's, how much of the border is pure white (required for amazon, reported for the others), how much of the frame the product fills (about 85% is the guidance) and whether it touches the frame edge. Each check returns rule, pass, measured, required and fix (the call that fixes it, usually product_shot with that marketplace). Marketplaces: amazon (2000x2000), etsy_square (2000x2000), etsy_landscape (2700x2025), shopify (2048x2048), ebay (1600x1600).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| image | Yes | Image id, as returned by open_photo. | |
| marketplace | Yes | Which marketplace to check against. |