Models

Loading...

VEED Video Background Removal API

Remove a video's background and return transparent WebM.

Endpoint

POST https://api.hedra.com/v3/models/veed-video-background-removal

Example request

curl -X POST "https://api.hedra.com/v3/models/veed-video-background-removal" \
  -H "Authorization: Key $HEDRA_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"input": {"prompt": "a cinematic shot of a city at dusk"}}'

Parameters

num_outputsinteger

Number of outputs generated per job. Only 1 is supported.

source_videorequired

Video whose background should be made transparent. At most 120s and at most 524.2 MB.

subject_is_personboolean

Optimize segmentation for a person rather than an object.