RMBG is a service that uses advanced artificial intelligence to quickly and easily remove the background from any image in just a few seconds with a single mouse click. Additionally, you can choose between a transparent background (PNG) or a white background.
With automated RMBG, you save a lot - time that you would spend manually editing images - or also extra money that hiring a professional graphic designer would cost you.
Let RMBG take care of background removal so you can focus on what matters - selling your products.
That's the most important thing.RMBG will help you create a professional and attractive presentation of your products for your e-shop.
Customers will be thrilled with the quality and detail. And what is more than a satisfied customer.The service is currently available only for clients with a BINARGON® e-shop
curl -H "Content-Type: application/json" https://datasqueezer.com/nexus/createTask -d '{ "token": "__API_TOKEN__", "service": "removebg", "data": "__IMAGE_DATA__" ,"serviceParams": { "mimeType": "__MIME_TYPE__" }}'
NAME DESCRIPTION REQUIRED PARAMETER __IMAGE_DATA__ Image file data in base64
yes __MIME_TYPE__ MIME type
yes
import requests
import jsonendpoint = 'https://datasqueezer.com/nexus/createTask'
data = {
'token': '__API_TOKEN__',
'service': 'removebg',
'data': '__IMAGE_DATA__',
'serviceParams':
{
'mimeType':'__MIME_TYPE__'
}
}response = requests.post(endpoint, data=json.dumps(data))
| NAME | DESCRIPTION | REQUIRED PARAMETER |
| __IMAGE_DATA__ | Image file data in base64 | yes |
| __MIME_TYPE__ | MIME type | yes |
$curlHandle=curl_init("https://datasqueezer.com/nexus/createTask");
$data=[
'token'=>'__API_TOKEN__',
'service'=>'removebg',
'data'=>'__IMAGE_DATA__',
'serviceParams'=>[
'mimeType'=>'__MIME_TYPE__']
];curl_setopt($curlHandle, CURLOPT_CUSTOMREQUEST, "POST");
curl_setopt($curlHandle, CURLOPT_POSTFIELDS, json_encode($data));
curl_setopt($curlHandle, CURLOPT_RETURNTRANSFER, true);
curl_setopt($curlHandle, CURLOPT_FOLLOWLOCATION, true);$response=curl_exec($curlHandle);
$error_msg=curl_error($curlHandle);
curl_close($curlHandle);
| NAME | DESCRIPTION | REQUIRED PARAMETER |
| __IMAGE_DATA__ | Image file data in base64 | yes |
| __MIME_TYPE__ | MIME type | yes |