1from apify_client import ApifyClient
2
3
4
5client = ApifyClient("<YOUR_API_TOKEN>")
6
7
8run_input = {
9 "title": "Why short videos win",
10 "hook": "Most people scroll past your posts in under two seconds.",
11 "body": "Short vertical videos stop the scroll because they show a face, a clear idea and movement in the first moments. You do not need a camera, a studio or an editor to make them every day. Write the idea once as a hook, a body and a call to action, and let an AI persona present it for you, with captions and b-roll that match what you say.",
12 "cta": "Follow for one practical tip like this every day.",
13 "providers": ["youtube"],
14 "voiceId": "chatterbox:kokoro_af_heart",
15}
16
17
18run = client.actor("made_by_ryan/post-engineer-video").call(run_input=run_input)
19
20
21print(f"💾 Check your data here: https://console.apify.com/storage/datasets/{run.default_dataset_id}")
22for item in client.dataset(run.default_dataset_id).iterate_items():
23 print(item)
24
25