# 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>


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://documentation.deep-image.ai/common-usecases/product-photo-unification.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
