1from apify_client import ApifyClient
2
3
4
5client = ApifyClient("<YOUR_API_TOKEN>")
6
7
8run_input = {
9 "video": "https://api.apify.com/v2/key-value-stores/TQ3xIj3pxw3eDt6l4/records/sample-video.mp4",
10 "prompt": "Summarize this video in 5 bullets. For each bullet, include a rough timestamp (e.g. 0:42) and quote any spoken line that matters.",
11 "skipDestination": True,
12}
13
14
15run = client.actor("grizzlygriff/video-llm-analyzer").call(run_input=run_input)
16
17
18print("💾 Check your data here: https://console.apify.com/storage/datasets/" + run["defaultDatasetId"])
19for item in client.dataset(run["defaultDatasetId"]).iterate_items():
20 print(item)
21
22