1from apify_client import ApifyClient
2
3
4
5client = ApifyClient("<YOUR_API_TOKEN>")
6
7
8run_input = { "prompts": [
9 "Studio product photo of a white ceramic coffee mug on a light oak table, soft morning light, minimal background",
10 "Flat lay of running shoes, a water bottle and earbuds on a pastel blue background, top-down, clean marketing photo",
11 "Modern open-plan office with plants and large windows, people working at laptops, bright natural light, wide angle",
12 "A cozy coffee shop storefront on a city street at dusk, warm lights in the windows, photorealistic",
13 "Minimalist illustration of a rocket launching from a laptop screen, flat vector style, orange and navy colors",
14 ] }
15
16
17run = client.actor("bulkleads/ai-image-generator-flux").call(run_input=run_input)
18
19
20print(f"💾 Check your data here: https://console.apify.com/storage/datasets/{run.default_dataset_id}")
21for item in client.dataset(run.default_dataset_id).iterate_items():
22 print(item)
23
24