Cloudimage - Documentation

Accounts created before Nov. 1st, 2021

Accounts created before November 1, 2021 have to include /v7/ in the path, like shown below.

//token.cloudimg.io/v7/original_image_url?operations&filters

Accounts created on or after November 1, 2021 do not require /v7/ and documentation have been updated accordingly.
To verify the type of configuration on your Cloudimage account, log in to your Cloudimage admin panel and look at the syntax provided on the Welcome page.

[NOTE] If you are an existing Cloudimage customer and wish to be able to remove the v7 from your URL syntax, please contact our support.

Background removal

The Background removal operation is a separate fee-based service not included in our Standard subscription plan.

Your Sales Representative may consent to a free trial. To activate your trial, please submit a Support ticket.

Background removal automatically detects the foreground object and isolates it by removing the background of an image using advanced AI technology. It can help you create a solid or transparent background for your pictures. This can give your application or website an overall polished look. Moreover, product images with a clear-defined foreground can be indexed better in search engines which rely on AI classification.

bg_remove=1

Please keep in mind that the background removal operation is asynchronous, which means that the first request will return the original image (with a little cache value) while the image is being processed in the background. The status is checked on each consecutive request, and after the operation is complete, the origin image is replaced and the standard max-age settings are set.

Original image

/sample.li/face.png?w=400

Photo alt \#responsive

Removed background (URL sealed)

/sample.li/face.png?bg_remove=1&w=400

Photo alt \#responsive

In the example above, the bg_remove=1 parameter is sealed. We recommend using background removal with URL sealing.

Upon successful processing, the background of the resulting image will be transparent (if the format supports transparency). Alternatively, you can use bg_color=X to define a new background color.

Original image

/sample.li/bag.jpg?w=400

Photo alt \#responsive

Removed background (URL sealed)

/sample.li/bag.jpg?bg_remove=1&w=400&bg_color=687

Photo alt \#responsive

In the example above, the bg_remove=1 parameter is sealed. We recommend using background removal with URL sealing.

Feel free to try the background removal algorithm with your own images on our Ask Filerobot demo page.