Setup
1
Create an API key
First create an API key using the instructions in API keys
2
3
Create an index
Next, create an index. For this tutorial, we will use an index with the name ‘test_index’
Indexing videos from instagram
Finding food
A typical social media video for a restaurant includes B-roll of food interspersed with various promotional content including text. We don’t care about those things because we’re hungry. We only want the find the parts that have food in them. So for our first query, we’ll just search for ‘food’.
Finding specific food
Now suppose we have a craving for a specific kind of food, let’s say some noodles, we can search for that instead.


What we don’t want
Sometimes, these videos have text on them or contain footage of people talking. We can remove those by adding a negative query. This is simple to do with the AskVideos query spec. Simply provide a comma separated list with ’-’ in front of the negative queries e.g.
Building an app
With these building blocks, we can build a simple but powerful application to tag items in videos!