Food background removal API uses advanced AI to detect and isolate food items, removing the background to highlight the food, perfect for culinary showcases and e-commerce.
https://www.ailabapi.com/api/cutout/general/food-background-removalPOSTmultipart/form-dataJPEG JPG BMP PNG| Field | Required | Type | Description |
|---|---|---|---|
ailabapi-api-key | YES | string | Application API KEY. Get API KEY |
| Field | Required | Type | Scope | Description |
|---|---|---|---|---|
image | YES | file | ||
return_form | NO | string | mask, whiteBK | Specifies the form of the returned image. If not set, the four-channel PNG map is returned. mask`: Returns a single channel mask.` whiteBK: Return to white background image. |
| Field | Type | Description |
|---|---|---|
data | object | The content of the result data returned. |
+image_url | string | Resulting image URL address. |
API Key for authentication
Success
The response is of type object.