Index or Embed Videos
Generate embedding for video
Generates embeddings for video in the same latent space as text, so that it is possible to perform text-to-video searches by embedding the text and comparing it to the video embeddings. Embedding results can be retrieved from get media endpoint The videos url must be http(s) url to raw video files (e.g. mp4, mov, avi); Youtube web pages or cloud storage services URIs would not work.
POST
Authorizations
Bearer authentication header of the form Bearer <token>
, where <token>
is your auth token.
Body
application/json
List of videos to add. Maximum 10 media can be added per request
Example:
{
"external_id": "video_1",
"title": "My Video1",
"url": "https//example.com/video1.mp4"
}
Response
200
application/json
Successful Response
Was this page helpful?