Recraft - Background Remover
Remove backgrounds from images using Recraft's professional AI technology. This model is designed for high-quality background removal while preserving the fine details of the subject.
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 BACKGROUND_REMOVER |
model | string | Yes | AI model identifier. Must be recraft |
promptObject | object | Yes | Configuration object containing parameters |
Prompt Object Parameters
| Parameter | Type | Required | Description | Default |
|---|---|---|---|---|
imageUrl | string | Yes | Path to the image for background removal | - |
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": "BACKGROUND_REMOVER",
"model": "recraft",
"promptObject": {
"imageUrl": "images/2026_01_07_09_33_18_380_room.png"
}
}'
const body = JSON.stringify({
type: 'BACKGROUND_REMOVER',
model: 'recraft',
promptObject: {
imageUrl: 'images/2026_01_07_09_33_18_380_room.png'
}
});
fetch('https://api.1min.ai/api/features', {
method: 'POST',
headers: {
'API-KEY': 'YOUR_API_KEY',
'Content-Type': 'application/json'
},
body: body
})
import requests
url = "https://api.1min.ai/api/features"
headers = {
"API-KEY": "YOUR_API_KEY",
"Content-Type": "application/json"
}
payload = {
"type": "BACKGROUND_REMOVER",
"model": "recraft",
"promptObject": {
"imageUrl": "images/2026_01_07_09_33_18_380_room.png"
}
}
response = requests.post(url, headers=headers, json=payload)
Interactive Playground
API Playground
https://api.1min.ai/api/featuresPath to the image file for background removal
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": "BACKGROUND_REMOVER",
"model": "recraft",
"promptObject": {
"imageUrl": "images/2026_01_07_09_33_18_380_room.png"
}
}'
Response Format
{
"aiRecord": {
"uuid": "r1e2c3r4-a5f6-7890-abcd-ef1234567890",
"userId": "user-12345",
"teamId": "team-67890",
"teamUser": {
"teamId": "team-67890",
"userId": "user-12345",
"userName": "John Doe",
"userAvatar": "https://example.com/avatar.jpg",
"status": "ACTIVE",
"role": "ADMIN",
"creditLimit": 100000000,
"usedCredit": 50000,
"createdAt": "2025-01-01T00:00:00.000Z",
"createdBy": "SYSTEM",
"updatedAt": "2026-01-02T13:13:31.000Z",
"updatedBy": "SYSTEM"
},
"model": "recraft",
"type": "BACKGROUND_REMOVER",
"metadata": null,
"rating": null,
"feedback": null,
"conversationId": null,
"status": "SUCCESS",
"createdAt": "2026-01-02T13:13:31.000Z",
"aiRecordDetail": {
"promptObject": {
"imageUrl": "images/2026_01_07_09_33_18_380_room.png"
},
"resultObject": [
"images/2026_01_07_09_33_18_380_room.png"
],
"responseObject": {}
},
"additionalData": null,
"temporaryUrl": "https://s3.us-east-1.amazonaws.com/asset.1min.ai/images/2026_01_02_13_13_31_002_removed_background.png?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Content-Sha256=UNSIGNED-PAYLOAD&X-Amz-Credential=EXAMPLE_CREDENTIAL&X-Amz-Date=20260102T131331Z&X-Amz-Expires=604800&X-Amz-Signature=example_signature&X-Amz-SignedHeaders=host&x-id=GetObject"
}
}
Use Cases
Product Photography
- E-commerce: Create clean product images for Amazon, Shopify, or other marketplaces.
- Catalogs: Stand out with consistent, background-free product shots.
Graphic Design
- Collages: Easily extract subjects for creative digital art and collages.
- Portfolios: Clean up portraits for professional use on LinkedIn or portfolios.
Social Media
- Stickers: Create custom stickers and emojis from personal photos.
- Thumbnails: Improve YouTube thumbnails by placing subjects on vibrant backgrounds.