← Back to Models
bria/background/remove
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
Input Image to erase from
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/background/remove",
"fal_endpoint": "fal-ai/bria/background/remove",
"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"
]
},
"fal": {
"input_transforms": [
{
"type": "rename",
"from": "image",
"to": "image_url"
}
]
},
"inputSchema": {
"type": "object",
"title": "Input",
"required": [
"image_url"
],
"properties": {
"image_url": {
"type": "string",
"title": "Image URL",
"format": "uri",
"description": "Input Image to erase from"
},
"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": "array",
"title": "Output",
"description": "Array of output objects. Each object contains url, object_key, content_type, etc.",
"items": {
"type": "object",
"properties": {
"url": {
"type": "string",
"format": "uri"
},
"object_key": {
"type": "string"
},
"content_type": {
"type": "string"
}
}
}
}
}