Search…
Background
The background section contains all background properties, such as removing the background and setting the color.

Background removal

Remove image background. This operation offers both fully automated mode and advanced manual options.
Possible values:
Value
Type
Description
true
boolean
Removes image background.
false
boolean
Default. Keeps the background of the original image intact.
Remove
JSON Request
1
"operations": {
2
"background": {
3
"remove": true
4
}
5
}
Copied!

Background color

The image background. You can set transparent background or any color.
Possible values
Value
Type
Description
transparent
string
To set transparent background the image format should support an alpha channel ( PNG or WEBP) otherwise the background will be white.
color
string
Set the color of the background. Default is white color.
JSON Request
Transparent
Color
1
"operations": {
2
"background": {
3
"remove": true,
4
"color": "transparent"
5
}
6
}
Copied!
1
"operations": {
2
"background": {
3
"remove": true,
4
"color": "#C5C6FF"
5
}
6
}
Copied!
Copy link
Edit on GitHub