Skip to main content

Stable Image - Background Remover

Remove backgrounds from images using Stable Image background removal technology.

Endpoint

Request Headers

FieldValueRequired
API-KEY<api-key>Yes
Content-Typeapplication/jsonYes

Request Body

The request must include the following parameters:

ParameterTypeRequiredDescription
typestringYesFeature type identifier. Must be BACKGROUND_REMOVER
modelstringYesAI model identifier. Must be stable-image
promptObjectobjectYesFeature-specific parameters

Prompt Object Parameters

ParameterTypeRequiredDescription
imageUrlstringYesPath to the image

Example Request

fetch('https://api.1min.ai/api/features', {
method: 'POST',
headers: {
'Content-Type': 'application/json',
'API-KEY': 'YOUR_API_KEY'
},
body: JSON.stringify({
type: 'BACKGROUND_REMOVER',
model: 'stable-image',
promptObject: {
imageUrl: 'development/images/2025_02_16_14_21_09_329_images.jpeg'
}
})
})

Response

Success Response (200)

The API returns an empty object {} upon successful processing.

{}