Appearance
Background Remove API
API Endpoint
API Endpoint:
https://api-us.idphotoapp.com(US region)https://api-eu.idphotoapp.com(EU region)- (Other regions' deployment are available per request)
Remove Background
JSON
POST /v2/removeBackgroundDescription: Background removal with slower processing but higher quality.
JSON
POST /v2/removeBackgroundFastDescription: Fast background removal with quicker processing.
Request:
JSON
{
"apiKey": "string", // Your API Key
"apiSecret": "string", // Your API Secret
"imageBase64": "string", // Image data in Base64 format (must include the "data:image/jpeg;base64," prefix)
"outputFormat": "string", // [OPTIONAL] Output image format, available values: JPEG/PNG, default is JPEG
}Response:
JSON
{
"output": "string" // Image data with background removed in Base64 format
}