⚡ NEW: Flux Klein 9B — Faster inference, stunning quality · Try Now
curl --request POST \
--url https://modelslab.com/api/v6/interior/object_removal \
--header 'Content-Type: application/json' \
--data '
{
"key": "<string>",
"init_image": "<string>",
"object_name": "<string>",
"base64": false,
"webhook": "<string>",
"track_id": 123
}
'{
"status": "success",
"generationTime": 123,
"id": 123,
"output": [
"<string>"
],
"proxy_links": [
"<string>"
],
"meta": {}
}Remove objects from images using AI-powered object removal.
curl --request POST \
--url https://modelslab.com/api/v6/interior/object_removal \
--header 'Content-Type: application/json' \
--data '
{
"key": "<string>",
"init_image": "<string>",
"object_name": "<string>",
"base64": false,
"webhook": "<string>",
"track_id": 123
}
'{
"status": "success",
"generationTime": 123,
"id": 123,
"output": [
"<string>"
],
"proxy_links": [
"<string>"
],
"meta": {}
}Documentation Index
Fetch the complete documentation index at: https://docs.modelslab.com/llms.txt
Use this file to discover all available pages before exploring further.
POST request to below endpoint and pass the required parameters in the request body.
--request POST 'https://modelslab.com/api/v6/interior/object_removal' \
{
"key":"",
"init_image": "https://i.pinimg.com/1200x/3f/5e/e3/3f5ee397f73d2ba20952d20698616fd3.jpg",
"object_name":"remove sofa from the image",
"base64": false,
"webhook": null,
"track_id": null
}
Your API Key used for authenticating your request
Image from which object will be removed
Object name on the image that needs to be removed
Specifies whether the response should be returned as a base64 string. Defaults to false
A URL to receive a POST API call once the image generation is complete
An ID returned in the API response, used to identify the webhook request
Object removal response
success Time taken to generate the result in seconds
Unique identifier for the generation request
Array of URLs to the generated images
Array of proxy URLs for the generated images
Metadata about the generation process and parameters used
Was this page helpful?