We use essential cookies to make our site work. With your consent, we may also use non-essential cookies to improve user experience and analyze website traffic…

FLUX.2 is live! High-fidelity image generation made simple.

Bria logo

Bria/

video_mask_by_prompt

$0.14

/ second

Identify and segment objects across video frames using a text prompt. The easiest way to create a mask to modify your videos.

Partner
Public
Bria/video_mask_by_prompt cover image

HTTP/cURL API

You can use cURL or any other http client to run inferences:

curl -X POST \
    -d '{"video": "https://example.com/video.mp4", "prompt": "the woman in white"}'  \
    -H "Authorization: bearer $DEEPINFRA_TOKEN"  \
    -H 'Content-Type: application/json'  \
    'https://api.deepinfra.com/v1/inference/Bria/video_mask_by_prompt'
copy

which will give you back something similar to:

{
  "status": "COMPLETED",
  "video_url": null,
  "mask_url": null,
  "request_id": null,
  "inference_status": {
    "status": "unknown",
    "runtime_ms": 0,
    "cost": 0.0,
    "tokens_generated": 0,
    "tokens_input": 0
  }
}

copy

Input fields

Input Schema

Output Schema