> For the complete documentation index, see [llms.txt](https://documentation.deep-image.ai/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://documentation.deep-image.ai/common-usecases/product-photo-unification.md).

# Product photo unification

To achieve a professional and consistent look for ecommerce product photos, it's important to standardize and center each image within a square format and white background.

By setting the width and height to 2048 pixels, and using a cropping method that isolates the item, each product can be presented uniformly. This setup also includes a padding of 15.72%, ensuring that the product is not squeezed against the edges, thereby providing a clean and balanced visual appearance. Such attention to detail can enhance the overall aesthetic of the online store, making it more appealing to potential customers.

```json
{
  "url": "https://deep-image.ai/api-example.png",
  "width": 2048,
  "height": 2048,
  "fit": {
     "crop": "item"
  },
  "padding": "15.72%",
  "background": {
    "remove": "auto",
    "color": "#FFFFFF"
  }
}
```

<figure><img src="/files/Q9qoRWDFSJ7WP8ZL1Dgj" alt=""><figcaption></figcaption></figure>
