1from apify_client import ApifyClient
2
3
4
5client = ApifyClient("<YOUR_API_TOKEN>")
6
7
8run_input = {
9 "video_url": "https://www.tiktok.com/@openai/video/7521583654028512525",
10 "image_style": "None",
11 "language": "English",
12 "platforms": ["X-Free"],
13 "tones": ["Questioning"],
14 "models": ["DeepSeek"],
15}
16
17
18run = client.actor("agentx/video-to-social-post").call(run_input=run_input)
19
20
21print("๐พ Check your data here: https://console.apify.com/storage/datasets/" + run["defaultDatasetId"])
22for item in client.dataset(run["defaultDatasetId"]).iterate_items():
23 print(item)
24
25