VEED Video Background Removal
18.00 credits/30 frames
ae_veed_video_background_removal
Remove a video’s background and isolate the main subject with transparency, with optional edge refinement.
18.00 credits/30 frames
Pricing
18.00 credits/30 frames
| Call Example | Example Charge |
|---|---|
| 8-second video at 24 FPS, edge refinement off | 126.00 credits |
| The same video with edge refinement on | 180.00 credits |
The base rate is 18.00 credits per 30 frames. Edge refinement increases the processing quantity used to calculate the charge.
These examples use the same tested video. Other videos are charged by their actual processing quantity.
Parameters
Optional parameters use the platform defaults when omitted.
| Parameter | Type | Required | Description | Default |
|---|---|---|---|---|
request_body | object | Yes | No parameter description. | — |
request_body.video_url | string | Yes | No parameter description. | — |
request_body.output_codec | enum (vp9 | h264) | No | Single VP9 video with alpha channel or two videos (rgb and alpha) in H264 format. H264 is recommended for better RGB quality. | vp9 |
request_body.subject_is_person | boolean | No | Set to False if the subject is not a person. | true |
request_body.refine_foreground_edges | boolean | No | Improves the quality of the extracted object's edges. | true |
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_veed_video_background_removal' \
--header "X-Api-Key: $AGENTEARTH_API_KEY" \
--header 'Content-Type: application/json' \
--data-raw '{
"params": {
"request_body": {
"output_codec": "h264",
"refine_foreground_edges": false,
"subject_is_person": true,
"video_url": "https://agentearth.ai/fileserver/file/2fd1ea4c-9d4f-4346-97f3-5943d7a85698.mp4"
}
}
}'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": "7883405c-acdd-4aa6-a326-bc3088150cce"
}





