Pixelcut Background Removal
20 credits/call
ae_pixelcut_background_removal
Remove the background from a JPEG or PNG image and choose an RGBA, alpha-mask, or ZIP output.
20 credits/call
Pricing
20 credits/call
| Condition | Charge |
|---|---|
| Each call | 20 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 (JPEG or PNG) | — |
request_body.sync_mode | boolean | No | When true, return result as a data URL instead of uploading to storage | true |
request_body.output_format | enum (rgba | alpha | zip) | No | Output format | rgba |
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_pixelcut_background_removal' \
--header "X-Api-Key: $AGENTEARTH_API_KEY" \
--header 'Content-Type: application/json' \
--data-raw '{
"params": {
"request_body": {
"image_url": "https://agentearth.ai/fileserver/file/d1156cbc-13b5-429d-892b-2fb67e1e3d53.png",
"output_format": "rgba",
"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": "aab0b7ea-a01a-41da-8edd-5e7cbdfe800b"
}





