Imageutils Rembg

21.6 credits/call
ae_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.

ImageSegmentation
21.6 credits/call

Pricing

21.6 credits/call
ConditionCharge
Each call21.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.

ParameterTypeRequiredDescriptionDefault
request_bodyobjectYesNo parameter description.—
request_body.imagestringYesThe URL of the image to erase.—

Invocation example

Copy the request and explore its response example.

POST/agent-api/v1/tool/executeX-Api-Key

Submit 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_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"
    }
  }
}'
Response exampleresponse.json
JSONPartial content
{
  "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.