Bria Eraser
Bria Eraser is a specialized AI model designed for high-quality, professional object removal. It excels at cleanly removing unwanted elements from images while maintaining the integrity of the background structure and texture.
Endpoint
Request Headers
| Field | Value |
|---|---|
| API-KEY | <api-key> |
| Content-Type | application/json |
Parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
type | string | Yes | Feature type identifier. Must be IMAGE_OBJECT_REMOVER |
model | string | Yes | AI model identifier. Must be bria/eraser |
promptObject | object | Yes | Configuration object containing parameters |
Prompt Object Parameters
| Parameter | Type | Required | Description | Default |
|---|---|---|---|---|
imageUrl | string | Yes | Path to the source image | - |
maskUrl | string | Yes | Path to the mask image (white=remove, black=keep) | - |
Code Examples
- cURL
- JavaScript
- Python
curl --location 'https://api.1min.ai/api/features' \
--header 'API-KEY: <api-key>' \
--header 'Content-Type: application/json' \
--data '{
"type": "IMAGE_OBJECT_REMOVER",
"model": "bria/eraser",
"promptObject": {
"imageUrl": "development/images/2025_10_27_09_01_12_557_cat.png",
"maskUrl": "development/images/2025_10_27_09_01_51_306_mask.png"
}
}'
fetch('https://api.1min.ai/api/features', {
method: 'POST',
headers: {
'Content-Type': 'application/json',
'API-KEY': 'YOUR_API_KEY'
},
body: JSON.stringify({
type: 'IMAGE_OBJECT_REMOVER',
model: 'bria/eraser',
promptObject: {
imageUrl: 'development/images/2025_10_27_09_01_12_557_cat.png',
maskUrl: 'development/images/2025_10_27_09_01_51_306_mask.png'
}
})
})
import requests
url = "https://api.1min.ai/api/features"
headers = {
"Content-Type": "application/json",
"API-KEY": "YOUR_API_KEY"
}
data = {
"type": "IMAGE_OBJECT_REMOVER",
"model": "bria/eraser",
"promptObject": {
"imageUrl": "development/images/2025_10_27_09_01_12_557_cat.png",
"maskUrl": "development/images/2025_10_27_09_01_51_306_mask.png"
}
}
response = requests.post(url, headers=headers, json=data)
Interactive Playground
API Playground
https://api.1min.ai/api/featuresPath to source image
Path to mask image
Generated cURL Command:
curl -X POST "https://api.1min.ai/api/features" \
-H "API-KEY: <your-api-key>" \
-H "Content-Type: application/json" \
-d '{
"type": "IMAGE_OBJECT_REMOVER",
"model": "bria/eraser",
"promptObject": {
"imageUrl": "development/images/2025_10_27_09_01_12_557_cat.png",
"maskUrl": "development/images/2025_10_27_09_01_51_306_mask.png"
}
}'
Use Cases
Professional Photography
- Product Cleanups: Removing undesired artifacts from product shots.
- Real Estate: Cleaning up interiors or exteriors by removing clutter.
E-commerce
- Catalog Standards: Ensuring clean, uniform backgrounds and product presentation.
Creative Design
- Asset Preparation: Removing objects to create clean base images for further design work.