Remove.bg compatibility
The Remove Background API offers a built-in compatibility with the API of Remove.bg.
This means that any code that calls the API of Remove.bg, like this one:
Can easily be updated to instead call the Remove Background API, just by changing:
The URL to
https://sdk.photoroom.com/v1/segment
The API Key to a Photoroom API Key
As you can see, beside these two changes the rest of the code didn't need to be modified, because the name of the arguments and the format of the result both stay the same.
Last updated