Well, you’ve already gotten a lot of advice about Clip Drop. It seems like it’s just a difficult API to use.
Is there a reason you need to put that in your app vs. using something like https://removebg.com?
I’m going to close this topic since you already started one about Clip Drop. You can add more info there if you need to.