AI Shadow malfunction

We’ve implemented AI Shadow in our PHOTTR app, it’s been delivering consistent results for a long time. Since last week, something changed and we’re receiving terrible results pretty often, literally losing paying users. We’re already testing alternative services to replace Photoroom as we cannot operate our app with the current output results.

See examples below - both called API with ‘shadow.mode=ai.soft’. First result is what we were getting consistently in the past, the second one is what we’re often getting now.

Please, investigate and explain.

Cheers,
Honza
Phottr CEO

Hi @panvojtek,

Thank you very much for reaching out and flagging this. We are currently looking into this for you.

Could you please share what parameters were used to make this call so I can reproduce and investigate on my end?

The added context with images were very helpful, appreciate you adding those - if you have any other examples of results that failed, that would be great.

Best,
Photoroom

Hi, thank you for looking into it. I will share the parameters with you as soon as I get them from devs.

Meanwhile, few more examples of failed shadows.

Good👇

Bad👇

Bad👇

Bad👇

Bad👇

Here’s the command with parameters and problematic image:

curl -X GET \
  'https://image-api.photoroom.com/v2/edit?background.color=FFFFFFFF&referenceBox=subjectBox&padding=0.15&shadow.mode=ai.soft&export.format=jpg&imageUrl=https%3A%2F%2Flh3.googleusercontent.com%2FIMNk5d87_VjXhWuBIhnBECTzt2GXf7C3DMUkJr7IyHP9AUu3ApT3rOLyaSoBQ_o-32D76QWGW7pDDyN8UbmL1bN6LGiU9ruhDaJ_sVUT%3Ds0' \
  -H "x-api-key: sandbox_$API_KEY" --output edited_image.jpg

And two more images👇

This one generates almost no shadow:


This one generates harsh shadow:

Thanks for providing such great examples. Our team is currently working to resolve this. Speak soon!

1 Like

Thank you, appreciated!

Hi @panvojtek , this should now be resolved for you. Could you let me know if you find otherwise?

Best,

1 Like

Brilliant, thank you! We will test it and I will let you know the results.

1 Like