1from apify_client import ApifyClient
2
3
4
5client = ApifyClient("<YOUR_API_TOKEN>")
6
7
8run_input = {
9 "description": "A retro 8-bit style warrior character with red armor, holding a sword, pixelated background with mountains",
10 "style": "8-bit",
11 "width": 128,
12 "height": 128,
13 "colorPalette": "default",
14 "temperature": 0.7,
15}
16
17
18run = client.actor("parseforge/pixel-art-generator").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