imgix APIs
Rendering API
Object Removal

Object Removal

object-removal-rect

Premium Feature

Object Removal is currently available for imgix customers on our Premium plans. If you’re interested in this feature, please contact our sales team (opens in a new tab) to get more information on this feature.

The object removal parameter allows you to select and remove parts of an image using AI. This allows you to remove unwanted elements from an image on demand.

Original image
sandbox-demo
object-removal-rect=245,1779,1225,608
sandbox-demo

How to Use the Parameter

object-removal-rect accepts four integers which represent the starting coordinates of x and y and the width and height, all separated by commas. Users can define the areas they want to be removed by specifying the x, y, width, and height (x,y,w,h) of a rectangle around the object to be removed, similar to how the rect parameter functions.

Multiple rectangles can be applied by separating them with a semicolon (;).

In addition, we have this step-by-step guide on how to use the object-removal-rect parameter in the Asset Manager.

Questions

Please contact your Account Manager (opens in a new tab) or Support with any questions or feedback.