Masking
Generate Mask by Prompt
Changed onGenerates a segmentation mask video based on a text prompt.
Response behavior:
- Returns HTTP 202 with request_id and status_url
- The final result (via status endpoint) will contain a mask_url.
Constraints:
- Max Duration: 5 seconds (Truncated if auto_trim=true).
- Max Resolution: 750p.
post/mask_by_prompt
Request
- Base URL: https://engine.prod.bria-api.com/v2/video/segment
- URL: https://engine.prod.bria-api.com/v2/video/segment/mask_by_prompt
- Auth: API key in header api_token
Request body
Response
Accepted
Changes
- warning
deleted the
headerrequest parameterapi_token - info
api tag
Maskingadded - info
api tag
Masking Endpointsremoved
- warning