1from apify_client import ApifyClient
2
3
4
5client = ApifyClient("<YOUR_API_TOKEN>")
6
7
8run_input = {
9 "apiKey": "YOUR_GAMMA_API_KEY",
10 "inputText": "Create a pitch deck for an AI-powered healthcare startup focusing on early disease detection using machine learning",
11 "format": "presentation",
12 "language": "en",
13 "numCards": 10,
14 "themeName": "",
15}
16
17
18run = client.actor("futurizerush/rushslides-ai-via-gamma").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