ModelsLab/Object Removal
interior_object_removalRemove unwanted objects seamlessly from images with high-resolution inpainting up to 1024x1024 pixels, using automatic mask detection for precise edits.
API Endpoint URL
Base URL for all API requests to this endpoint.
https://modelslab.com/api/v6/interior/object_removal
API Authentication
Authentication requires a valid API key included in the request. Generate and manage your API keys from your developer dashboard. Include the key in the key parameter for all API requests.
Integration Examples
Production-ready code samples for API integration
{"init_image": "https://assets.modelslab.com/generations/b7a83e73-ba52-44f5-940b-be6535cba2d8.jpg","object_name": "Remove sofa from the image","webhook": null,"base64": false,"key": "YOUR_API_KEY"}
SDKs
Official SDKs
Production-ready SDKs and client libraries for all major programming languages
API Parameters
Technical specifications for API request parameters.
| Field Name | Parameter | Technical Description |
|---|---|---|
| Init Image | init_image | Image from which object will be removed |
| Object Name | object_name | Object name on the image that needs to be removed |
| webhook | webhook | A URL to receive a POST API call once the image generation is complete |
| base64 | base64 | Specifies whether the response should be returned as a base64 string. Defaults to false |