Skip to main content
Get started with AI video intelligence in less than 5 minutes. This guide helps you:
  • Obtain your API key
  • Create a collection
  • Upload a video for indexing
  • Query the video or an entire collection
By the end, you’ll have made your first successful API calls and received AI-driven insights.

Prerequisites

Set your API key:

Create a Collection

A collection is a container for your videos. Let’s create one named My First Collection.
Request
Response

Upload a Video to the Collection

Provide the video’s URL and the collection ID. The AI will index this video so it can be queried later. Note: the URL must point directly at a video file (eg the url ends in a video file extension) Feel free to use this video: https://storage.googleapis.com/tldr-public/static/never_gonna_give_you_up.mp4
Request
Response

Check Video Indexing Progress

Indexing might take a moment. Check the status with the collection ID.
Request
Response

Query Video Collection

Ask questions like “What topics are discussed at 10 minutes?” by providing the media_ids array with a single video’s ID.
Request
Response

Next Steps

Congratulations! Explore our Full API Reference for more endpoint details.