Imageutils Rembg
ae_imageutils_rembg — Remove an image background using WaveSpeed's Bria remove-background. Provide the image URL in request_body.image. The image is processed asynchronously, with outputs available when processing completes. No additional processing options are exposed.
Pricing
| Condition | Charge |
|---|---|
| Each call | 21.6 credits/call |
Each call has a fixed charge of 21.6 credits to asynchronously remove the background from one image.
Provide an image URL. The task runs asynchronously, and its output is available after completion. Only single-image background removal is supported, with no other processing options.
Parameters
Optional parameters use the platform defaults when omitted.
| Parameter | Type | Required | Description | Default |
|---|---|---|---|---|
request_body | object | Yes | No parameter description. | — |
request_body.image | string | Yes | The URL of the image to erase. | — |
Invocation example
Copy the request and explore its response example.
/agent-api/v1/tool/executeX-Api-KeySubmit first, then query with the returned task_id until the task completes.
curl --request POST \
--url 'https://agentearth.ai/agent-api/v1/tool/execute?tool_name=ae_imageutils_rembg' \
--header "X-Api-Key: $AGENTEARTH_API_KEY" \
--header 'Content-Type: application/json' \
--data-raw '{
"params": {
"request_body": {
"image": "https://storage.googleapis.com/falserverless/model_tests/upscale/owl.png"
}
}
}'{
"description": "task accepted; poll the result via query_tool with this task_id",
"query_tool": "ae_get_result",
"status": "created",
"task_id": "5923c0a8-ad1a-4003-9339-c035f3db3c5b"
}This example shows part of the response. Copied content is valid JSON.







