Object tracking

Follow an object through a video (a mask video) — estimate

Price the request without executing it. Same body as POST /v1/ai/track-object.

post/v1/ai/track-object/estimate

Request

  • Base URL: https://apihub.co.il
  • URL: https://apihub.co.il/v1/ai/track-object/estimate
  • Auth: HTTP bearer

Request body

output'mask' | 'overlay'

mask (the default) = a black-and-white video of the same length, white where the object is — for effects that follow it · overlay = the object highlighted over the video (a preview)

promptstring required

What to follow, in a few words: "the bottle", "the red car" — several things with commas: "person, dog"

video_urlstring uri required

The video (up to 60 s)

duration_secondsnumber

The video's length if you know it (only for the estimate)

detection_thresholdnumber

How sure the model must be to follow something (lower finds more, less precisely; try 0.3 when nothing is found)

Response

Estimate

operationstring
estimated_creditsnumber
credits_to_reservenumber
estimated_usageobject
notestring nullable
sufficientboolean

Changes

No recorded changes to this operation across all 2 revisions of this API.