← Back to Models
bria/remove-background
Remove background from images with content moderation and alpha preservation options
utility
image-processing
Pricing
Base:
1 credits per request
Adjustments:
Example Pricing:
Base request:
2 credits
Range:
1 -
1 credits
Input Parameters
Image URL
required
string
Image URL
Preserve Partial Alpha
boolean
Controls whether partially transparent areas from the input image are retained in the output after background removal, if the input includes an alpha channel. When true: Partially transparent pixels preserve their original alpha values in the output. When false: All non-background areas in the output are rendered fully opaque. Has no effect if the input image does not include an alpha channel.
Default: 1
Content Moderation
boolean
Enable content moderation
Default:
Directives
Advanced Keys:
Hidden Keys:
Raw JSON
{
"identifier": "bria/remove-background",
"type": "utility",
"category": "image-processing",
"description": "Remove background from images with content moderation and alpha preservation options",
"pricing": {
"version": 1,
"base": {
"unit": "request",
"credits": 1
},
"adjustments": [],
"display": {
"min_credits": 1,
"max_credits": 1
}
},
"directives": {
"advancedKeys": [],
"hiddenKeys": [],
"imageKeys": [
"image_url"
]
},
"inputSchema": {
"type": "object",
"title": "Input",
"required": [
"image_url"
],
"properties": {
"image_url": {
"type": "string",
"title": "Image URL",
"format": "uri",
"description": "Image URL",
"nullable": true
},
"preserve_partial_alpha": {
"type": "boolean",
"title": "Preserve Partial Alpha",
"default": true,
"description": "Controls whether partially transparent areas from the input image are retained in the output after background removal, if the input includes an alpha channel. When true: Partially transparent pixels preserve their original alpha values in the output. When false: All non-background areas in the output are rendered fully opaque. Has no effect if the input image does not include an alpha channel."
},
"content_moderation": {
"type": "boolean",
"title": "Content Moderation",
"default": false,
"description": "Enable content moderation"
}
}
},
"outputSchema": {
"type": "string",
"title": "Output",
"format": "uri"
}
}