How to set the margins of Product beautifier results
By default, the AI places each product itself in a Product beautifier result, so the space between the product and the edges of the image can vary from one image to the next. On an e-commerce grid, that shows as products that look slightly bigger or smaller than their neighbors. Product beautifier margins lets you fix that space once for your whole organization, for each product category, so every new result of a category keeps the same margin.
Where to find it
Section titled “Where to find it”Go to Configuration › Preferences, open the Generation tab, and scroll to Product beautifier margins, under Default aspect ratios.
If you don’t see the section, margins are not available on your account yet. Ask us through Talk to a human.
How to set it
Section titled “How to set it”First pick a Category: Upper body, Lower body, Full body, Shoes, Headwear, Bags or Accessories (glasses and other small items). Each category keeps its own margins, and the preview shows a product of that category. Then pick one of the two modes under How margins are set:
- Automatic (the default): the AI places each product itself, as it always has. Margins can vary from one image to the next.
- Custom: every new result keeps the margin you choose. Drag the Margin slider between 2.5% and 25%, in steps of 0.5%. The first time you switch to Custom, it starts at 7.5%.
To use a different margin on the sides and at top and bottom, turn on Set horizontal and vertical margins separately. Two sliders then replace the single one: Horizontal margin (left and right) and Vertical margin (top and bottom), each from 2.5% to 25%. Turning the switch off again goes back to a single margin, equal to the horizontal one.
By default the product is centered. Turn on Align products to the bottom to rest it on the bottom margin instead: the product keeps the same size, its lower edge sits at the vertical margin from the bottom of the image, and the extra space goes above it. Shoes, bags or caps of different heights then all stand on the same line across your catalog. Tall products (trousers, dresses) already touch the top and bottom margins, so they do not move.
The setting is saved as soon as you release a slider, change the mode or flip the switch. It applies to your whole organization.
To use the same margins everywhere, set them on one category and click Apply to all categories: every other category takes them too. You can still change a category on its own afterwards.
Which category a product takes
Section titled “Which category a product takes”- In the Shoes, Headwear, Bags and Glasses flavors of the Product beautifier, every product takes that category (glasses take Accessories).
- In the clothing flavor, each product takes the category Veeton recognized for it: tops and jackets take Upper body, trousers and skirts Lower body, dresses and jumpsuits Full body. A bag, a pair of shoes or glasses beautified as clothing takes its own category. A product Veeton has not recognized yet takes Upper body.
For one generation only
Section titled “For one generation only”In the Product beautifier, the Margin row under Format starts on your organization’s setting for the selected products’ category. When the selected products belong to categories with different margins (a shirt and trousers, say), the row shows By category: each product keeps its own category’s margins. Change it there to use one margin for every product of that generation only: Automatic, or Custom with its Margin slider. Pick By category again to go back to each category’s margins. Turn on Set horizontal and vertical margins separately to get a Horizontal margin and a Vertical margin slider instead. The sample products under the sliders preview the margin in the format selected for that generation, one per category among the selected products: a polo shirt for upper body, trousers for lower body, a dress for full body, a sneaker for shoes, a cap for headwear, a bag for bags and glasses for accessories. Your setting in Preferences stays as it is.
If the selected background does not take custom margins (a colored or textured one, see below), a warning icon replaces the margin on the Margin row: hover it, or open the row, to read why. That generation keeps the margins the AI chose.
What the margin measures
Section titled “What the margin measures”The margins are percentages of the image: the horizontal margin of its width, the vertical margin of its height. They mark out the area the product may fill. The product keeps its proportions, is made as large as that area allows, and is centered, so it touches the margins in one direction and gets more space in the other:
- Tall products (trousers, dresses) touch the top and bottom, so the vertical margin sets their size. At 7.5%, trousers span 85% of the image’s height with 7.5% above and below.
- Wide products (a T-shirt with its sleeves spread, sneakers, caps) touch the sides, so the horizontal margin sets their size. At 7.5%, a sneaker spans 85% of the image’s width with 7.5% on each side.
With separate margins, you can for instance give tall products more room at top and bottom without making wide products smaller.
The preview under the slider shows the margin on a sample product of the selected category in your default ratio for the Product beautifier. To change that ratio, use Default aspect ratios on the same tab.
Which results it applies to
Section titled “Which results it applies to”- New results only. Results you already have keep their current margins. To bring an older result in line, beautify the product again.
- Every way you launch the Product beautifier: from the app and through the API, for clothing, shoes, headwear, bags and glasses.
- Under the brim (headwear): only the horizontal margin applies. This close-up keeps its own framing from top to bottom, so the vertical margin does not change it.
- Backgrounds it applies to: Transparent and Transparent with shadow (the margin is measured on the product, its shadow is kept under it), and white, grey and beige plain colors: White, Off white, Platinum, Light silver, Light Beige, and your own custom colors when they are a light white, grey or beige. On these, the generated image is kept as the AI drew it, soft shadow under the product included, and its background is set to the exact color you chose. If the AI drew something other than a clean backdrop behind the product (a room, a floor, a photo), that result keeps the margins the AI chose.
- Backgrounds it does not apply to: Floor backgrounds, whose texture cannot be extended without a visible seam, and every other color: the Pastel backgrounds, Sandstorm, Black olive, Hot pink, Firebrick, Egyptian blue, Vivid lime green, and your own custom colors that are tinted, dark or vivid. Results on these backgrounds keep the margins the AI chose, even when a custom margin is set.
- Edit with AI: an edited result is generated again by the AI, which places the product itself, so the edit may not keep the custom margin.
If a result could not be adjusted (rarely, when the product cannot be separated cleanly from its background), it is delivered as the AI framed it rather than failing.