> 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="https://2652559519-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F3i5YcUkcXyIsWHIhRO2d%2Fuploads%2F7cXltFzZN37GVw0Igm1i%2Fapi-example-width%3D2048_height%3D2048_background_removed%20(1).png?alt=media&amp;token=d4649dcc-e434-4973-a240-e100572ff106" alt=""><figcaption></figcaption></figure>
