Bria Background Remove
22 credits/call
ae_bria_background_remove
Remove an image background and create a transparent cutout of the foreground subject.
22 credits/call
Pricing
22 credits/call
| Condition | Charge |
|---|---|
| Each call | 22 credits/call |
Parameters
Optional parameters use the platform defaults when omitted.
| Parameter | Type | Required | Description | Default |
|---|---|---|---|---|
request_body | object | Yes | No parameter description. | — |
request_body.image_url | string | Yes | Input Image to erase from | — |
request_body.sync_mode | boolean | No | If `True`, the media will be returned as a data URI and the output data won't be available in the request history. | false |
Invocation example
Copy the request and explore its response example.
POST
/agent-api/v1/tool/executeX-Api-KeySubmit first, then query with the returned task_id until the task completes.
Request coderequest.sh
curl --request POST \
--url 'https://agentearth.ai/agent-api/v1/tool/execute?tool_name=ae_bria_background_remove' \
--header "X-Api-Key: $AGENTEARTH_API_KEY" \
--header 'Content-Type: application/json' \
--data-raw '{
"params": {
"request_body": {
"image_url": "https://v3b.fal.media/files/b/0ab1a81f/-VwxuFcjtirywMUL2MmA-.png",
"sync_mode": false
}
}
}'Response exampleresponse.json
{
"description": "task accepted; poll the result via query_tool with this task_id",
"query_tool": "ae_get_result",
"status": "created",
"task_id": "63f9154b-54b9-4e36-b572-41cefb532327"
}



