Retrieve a thumbnail

To use this feature, you must enable thumbnail generation for the index to which the video has been uploaded. For details, see the Create an index section.

Path parameters

index_idstringRequired
The unique identifier of the index to which the video has been uploaded.
video_idstringRequired
The unique identifier of the video from which you want to retrieve a thumbnail.

Headers

x-api-keystringRequired

Query parameters

timedoubleOptional
Specifies the time, in seconds, at which the platform must retrieve the thumbnail. If you don't specify this parameter, the platform retrieves a thumbnail from the middle of the video.

Response

A thumbnail has successfully been retrieved.
thumbnailstring or null
A string representing the URL of the thumbnail. Note that the URL expires in one hour.

Errors