product_shot
Turn a product photo into a marketplace-ready listing image in one call. The server finds the product, cuts it out, frames it at the marketplace's size and shape, puts it on a background, adds a soft ground shadow, gives it digital-first color (screens and a white page make products look muted) and exports a JPEG (a PNG when the background is transparent). It takes a checkpoint first and puts the image back if anything fails or no product is found. The image must have a single layer. Marketplaces: amazon (2000x2000; main image: pure white background, product at least 85% of the frame.) etsy_square (2000x2000; Etsy recommends listing photos at least 2000 px on the short side.) etsy_landscape (2700x2025; Etsy recommends listing photos at least 2000 px on the short side.) shopify (2048x2048; square product images up to 2048 x 2048 px zoom well in most themes.) ebay (1600x1600; eBay recommends at least 1600 px on the longest side for zoom.) background: white (default), transparent (a PNG with no background), a color like #f3e9dc, gradient (top to bottom, from gradient_top, default white, to gradient_bottom, default a 15% darker shade of the top), or upload: (another photo as the background); amazon allows only white. backdrop: flat (default) or studio (a soft darker falloff, 15% darker at the corners, white or color backgrounds only). shadow: on by default (off for amazon). color: digital (default) or true (no color change), color_strength 0-100 (eased automatically for a product whose colors are already strong, so they don't clip). fill: the product's share of the frame's limiting side, 0.5-0.95, default 0.85.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| fill | No | The product's share of the frame's limiting side. | |
| color | No | digital: a little more contrast and color for screens. true: no color change. | digital |
| image | Yes | Image id, as returned by open_photo. | |
| shadow | No | Soft ground shadow. Default: on (off for amazon). | |
| backdrop | No | studio adds a soft darker falloff toward the corners. | flat |
| background | No | white, transparent, gradient, #rrggbb, or upload:<id>. | white |
| marketplace | Yes | Which marketplace. | |
| gradient_top | No | background gradient only: the top color, #rrggbb. Default white. | |
| color_strength | No | How much digital color at most, 0 to 100. A product whose colors are already strong gets less, and the result says so. | |
| gradient_bottom | No | background gradient only: the bottom color, #rrggbb. Default a 15% darker shade of the top. |