1from apify_client import ApifyClient
2
3
4
5client = ApifyClient("<YOUR_API_TOKEN>")
6
7
8run_input = {
9 "brand": {
10 "name": "ExampleStudio",
11 "background": "#101827",
12 "text": "#F8FAFC",
13 "accent": "#FBBF24",
14 },
15 "carousels": [{
16 "id": "weekly-tip",
17 "caption": "Approved demo copy. Review before posting.",
18 "slides": [
19 {
20 "title": "๋ฐ๋ณต ์ ์์ ์๋ํํ์ธ์",
21 "body": """์น์ธํ ๊ธ์ ๋ธ๋๋ ์นด๋๋ด์ค๋ก ๋ง๋ญ๋๋ค.
22ํ๊ธ ๋ฌธ์ฅ์ ๊ทธ๋๋ก ์ ์งํฉ๋๋ค.""",
23 },
24 {
25 "title": "๋ธ๋๋ ๊ท์น์ ํ ๋ฒ๋ง",
26 "body": """์์๊ณผ ๊ธ๊ผด ๊ท์น์ ๊ฐ์ ๋ฌถ์์ ์ ์ฉํฉ๋๋ค.
27์นด๋๋ง๋ค ๋ค์ ๋์์ธํ์ง ์์ต๋๋ค.""",
28 },
29 {
30 "title": "๊ฒํ ํ ์ง์ ๊ฒ์ํ์ธ์",
31 "body": """PNG์ ์บก์
์ ZIP์ผ๋ก ๋ฐ์ต๋๋ค.
32์๋ ๊ฒ์๋ ๋ด์ฉ ์์ฑ์ ์ํํ์ง ์์ต๋๋ค.""",
33 },
34 ],
35 }],
36}
37
38
39run = client.actor("bread-kim/brand-carousel-batch-renderer").call(run_input=run_input)
40
41
42print(f"๐พ Check your data here: https://console.apify.com/storage/datasets/{run.default_dataset_id}")
43for item in client.dataset(run.default_dataset_id).iterate_items():
44 print(item)
45
46