Quickstart
Quickstart
Search
Agent Vision
Prerequisites
You’ll need an API key. Get one at console.pureframe.ai/settings/api-keys.
All examples use curl. Swap in your own key where you see pf_key_....
Step 1 — Create a collection
Every video must belong to a collection. Create one first:
Save the id — you’ll use it in the next step.
Step 2 — Upload a video
Save the job_id.
Step 3 — Wait for indexing
Poll until status is done. A 10-minute video typically takes 1–3 minutes.
In production, use exponential backoff — poll at 5s, 10s, 20s intervals rather than a tight loop.
Step 4 — Search
Send a text query. Pureframe searches visual content and speech simultaneously.
Each result gives you:
Step 5 — Search with an image
You can also search using a reference image to find visually similar moments:
Or supply a public image URL: