Product Beautifier API?

Hi,

We would like to use Product Beautifier to enhance our product feeds for Google Merchant Center as well as Facebookand TikTok.

Could you advise which API endpoint(s) and parameters we should use to reproduce the same results we see in the web application? If available, please include example requests/responses or SDK references. Thank you!

Best regards,
Stanisław Bejm

Hi There!

This is only recently now available in the API in Alpha - designed to instantly enhance your product photos with improved lighting, clarity, and presentation!How to use it:

  • Add the parameter beautify.mode to your API call.

  • Use ai.auto for most product types - same results as the Product Beautifier in our web app.

  • Optional: set beautify.seed for deterministic results with the same input.

  • If outputs appear cropped, combine it with uncrop in the same request.

You can test this in our online demo tool that we’ve built for testing purposes only if you’d like.Since this is an alpha release, we’d love your feedback to help shape the final version. Let me know if you have any questions?

Hi,

I have tested the following parameters in the API:

outputSize: 3000x3000
background.color: white
shadow.mode: ai.soft
beautify.mode: ai.auto
uncrop.mode: ai.auto

Unfortunately, the results are far from what I get in the web version. Even after increasing the resolution to 3000x3000, the image quality remains poor.

This is result from API demo tool:

Imgur

This is result from web version of photoroom:

Could you please advise which parameters I should use to achieve the same quality and effect as in the web application?

Best regards,
Stanisław

Hi @stanislawbejm ,

Could you share the original input image used?

Thanks so much!

Allie

Hi @stanislawbejm,

One suggestion for you to test:

two things I would suggest:

  1. testing without uncrop.mode: ai.auto

  2. testing with removeBackground=false if you want to keep the scene generated around the subject

    1. in that case I would recommend not adding a shadow as it’s likely there will already be one

Thank you very much for the tips - the results are much better now.

Currently, my configuration is:
outputSize: 5000x5000
beautify.mode: ai.auto
padding: 0.05
removeBackground: false

However, the biggest remaining issue is that the images are not centered correctly.

If anything sticks out from the product, your AI seems to treat it as an important element and shifts the object’s center.

I’ve attached example images for your reference:

Is there anything that can be done to fix this?

Best regards,
Stanisław

Hi @stanislawbejm, could you share with me the original Input image so I can test this on my end and make a recommendation?

Thank you!

Sure, here’s original input image:

Here’s another one: