| Type | Supported Formats | Supported Types | |
|---|---|---|---|
| Library Template | png jpg jpeg webp pdf | base64 url binary |
Automate this template using integrations
You can generate Background Removal renders using Rest API and Orshot SDKs
await fetch("https://api.orshot.com/v1/generate/images", {
method: "POST",
headers: {
"Content-Type": "application/json",
Authorization: "Bearer <ORSHOT_API_KEY>",
},
body: JSON.stringify({
"templateId": "image-background-removal-api",
"response": {
"format": "png",
"type": "base64"
"scale": 1
},
"modifications": {
"inputImage": "https://cdn.orshot.com/templates/placeholders/perfume.jpeg"
}
}),
});You can customize the template using following modifications
| Key | Description | Type |
|---|---|---|
| inputImage | Link to the image | url |