Skip to main content

Get Video Face Image Url Route

GET 

/v2/videos/{video_id}/faces/{face_id}/image-url

Get a short-lived URL for a face's image.

The returned url serves the stored image of one detected face, ready to use as an image source. It is short-lived: request a new one when expires_at passes or when a request made with it is refused, and do not store or share it. A face's image field in the video details is a stored reference, not guaranteed to be readable; this endpoint is how to show it.

Access Control: the same as the video details. The owner and admins can always get a face image URL. While a video is shared, or is a sample, anyone can, so sharing a video lets anyone with its link see its faces.

Errors:

  • 401: not authorized to access this video
  • 404: video or face not found
  • 409 media_not_stored: the face has no stored image (for example, a face added manually, or one whose image is not ready yet), or its image could not be looked up just now; retrying may succeed
  • 503 media_storage_unavailable: the URL could not be issued; try again shortly

Request​

Responses​

Successful Response