Quickstart
Quickstart
This guide walks you through uploading a video, waiting for it to index, and running your first search — using nothing but curl.
You’ll need an API key before you start. Get one at app.pureframe.ai/settings/api-keys.
Step 1 — Upload a video
Send a multipart/form-data request with your video file. The response returns immediately with a job_id — indexing happens in the background.
Save the video_id — you’ll use it to search later.
Step 2 — Wait for indexing
Poll the job endpoint until status is done. This typically takes 1–3 minutes for a 10-minute video.
In production, use exponential backoff — poll at 5s, 10s, 20s intervals rather than a tight loop.
Step 3 — Search
Send a text query. PureFrame searches across visual content, speech, and audio simultaneously.
Each result gives you:
timestamp_start/timestamp_end— where in the video the moment occursscore— relevance score from 0 to 1text_content— transcribed speech in the clip (if any)thumbnail_url— presigned URL to the matched framethumbnail_base64— base64 JPEG for direct use with vision models
Step 4 — Search with an image
You can also search using a reference image — PureFrame finds visually similar moments.