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
Cookie removed from image
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 (;).

Questions

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