# Object Removal > Remove unwanted objects seamlessly from images with high-resolution inpainting up to 1024x1024 pixels, using automatic mask detection for precise edits. ## Overview - **Model ID**: `interior_object_removal` - **Category**: image - **Provider**: modelslab - **Status**: active - **Screenshot**: `https://assets.modelslab.com/generations/a9592c5c-1012-4b10-a29f-8af8249f8164.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/interior/object_removal` - **Method**: POST ### Parameters - **`init_image`** (required): Image from which object will be removed - Type: file - **`object_name`** (required): Object name on the image that needs to be removed - Type: textarea ## Usage Examples ### cURL ```bash curl --request POST \ --url https://modelslab.com/api/v6/interior/object_removal \ --header "Content-Type: application/json" \ --data '{ "key": "YOUR_API_KEY", "model_id": "interior_object_removal", "init_image": "https://assets.modelslab.com/generations/b7a83e73-ba52-44f5-940b-be6535cba2d8.jpg", "object_name": "Remove sofa from the image" }' ``` ### Python ```python import requests response = requests.post( "https://modelslab.com/api/v6/interior/object_removal", headers={ "Content-Type": "application/json" }, json={ "key": "YOUR_API_KEY", "model_id": "interior_object_removal", "init_image": "https://assets.modelslab.com/generations/b7a83e73-ba52-44f5-940b-be6535cba2d8.jpg", "object_name": "Remove sofa from the image" } ) print(response.json()) ``` ### JavaScript ```javascript fetch("https://modelslab.com/api/v6/interior/object_removal", { method: "POST", headers: { "Content-Type": "application/json" }, body: JSON.stringify({ "key": "YOUR_API_KEY", "model_id": "interior_object_removal", "init_image": "https://assets.modelslab.com/generations/b7a83e73-ba52-44f5-940b-be6535cba2d8.jpg", "object_name": "Remove sofa from the image" }) }) .then(response => response.json()) .then(data => console.log(data)); ``` ## Links - [Model Playground](https://modelslab.com/models/interior_object_removal/interior_object_removal) - [API Documentation](https://docs.modelslab.com) - [ModelsLab Platform](https://modelslab.com)