# Object Remover > Seamlessly remove unwanted objects from photos with advanced AI-powered detection, content-aware fill, shadow reconstruction, and high-resolution support for flawless, natural edits. ## Overview - **Model ID**: `object-remover` - **Category**: image - **Provider**: modelslab - **Status**: active - **Screenshot**: `https://assets.modelslab.com/generations/0410b121-fdfb-473d-a4ff-b7ef5c4ac59b.webp` ## API Information This model can be used via our HTTP API. See the API documentation and usage examples below. ### Endpoint - **URL**: `https://modelslab.com/api/v6/image_editing/object_removal` - **Method**: POST ### Parameters - **`init_image`** (required): Init Image - Type: file - **`mask_image`** (required): mask image - Type: file ## Usage Examples ### cURL ```bash curl --request POST \ --url https://modelslab.com/api/v6/image_editing/object_removal \ --header "Content-Type: application/json" \ --data '{ "key": "YOUR_API_KEY", "model_id": "object-remover", "init_image": "https://assets.modelslab.com/generations/6a06794f-734e-48f0-b5f8-1f79a2439f75", "mask_image": "https://assets.modelslab.com/generations/c518e86b-4630-4c32-a03c-62e856af6423" }' ``` ### Python ```python import requests response = requests.post( "https://modelslab.com/api/v6/image_editing/object_removal", headers={ "Content-Type": "application/json" }, json={ "key": "YOUR_API_KEY", "model_id": "object-remover", "init_image": "https://assets.modelslab.com/generations/6a06794f-734e-48f0-b5f8-1f79a2439f75", "mask_image": "https://assets.modelslab.com/generations/c518e86b-4630-4c32-a03c-62e856af6423" } ) print(response.json()) ``` ### JavaScript ```javascript fetch("https://modelslab.com/api/v6/image_editing/object_removal", { method: "POST", headers: { "Content-Type": "application/json" }, body: JSON.stringify({ "key": "YOUR_API_KEY", "model_id": "object-remover", "init_image": "https://assets.modelslab.com/generations/6a06794f-734e-48f0-b5f8-1f79a2439f75", "mask_image": "https://assets.modelslab.com/generations/c518e86b-4630-4c32-a03c-62e856af6423" }) }) .then(response => response.json()) .then(data => console.log(data)); ``` ## Links - [Model Playground](https://modelslab.com/models/object-remover/object-remover) - [API Documentation](https://docs.modelslab.com) - [ModelsLab Platform](https://modelslab.com)