Skip to content

Quick Start

Find specific moments in your videos instantly. Upload a video, and then search for anything inside it using natural language.

Terminal window
npm install zapdos-js

Get your API key from https://app.zapdoslabs.com:

import { createClient } from "zapdos-js";
const client = createClient({
apiKey: "your-api-key-here",
});

Upload a video file and it gets automatically indexed for search:

// Upload single file
const result = await client.upload("./my-video.mp4", {
onCompleted: ({ object_id }) => {
console.log("Video uploaded:", object_id);
},
job: {
onIndexingCompleted: ({ object_id }) => {
console.log("Video ready for search:", object_id);
},
},
});

Search for specific moments using natural language:

const searchResults = await client.search("when the bug gets fixed");
if (searchResults.data) {
searchResults.data.items.forEach((scene) => {
console.log(
`Found at ${scene.metadata.start_ms}ms in video ${scene.metadata.object_id}`
);
});
}

That’s it! Your video is now searchable by content.