-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathMAKE - ig_content_generator_blueprint.json
More file actions
114 lines (114 loc) · 2.94 KB
/
MAKE - ig_content_generator_blueprint.json
File metadata and controls
114 lines (114 loc) · 2.94 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
{
"metadata": {
"version": 1,
"scenario": {
"name": "IG Content Factory",
"description": "Generate Instagram carousel content and images automatically"
}
},
"modules": [
{
"id": 1,
"module": "webhooks:customWebhook",
"version": 1,
"parameters": {
"name": "topic_webhook"
},
"mapper": {},
"metadata": {
"designer": { "x": 0, "y": 0 }
}
},
{
"id": 2,
"module": "tools:setVariable",
"version": 1,
"mapper": {
"name": "prompt",
"value": "You are a professional Instagram strategist. Create an engaging 7-slide Instagram carousel about: {{1.topic}}. Include ig_caption, carousel slides, stories, and csv output."
},
"metadata": {
"designer": { "x": 300, "y": 0 }
}
},
{
"id": 3,
"module": "http:request",
"version": 1,
"parameters": {
"url": "https://api.openai.com/v1/chat/completions",
"method": "POST",
"headers": [
{
"name": "Authorization",
"value": "Bearer YOUR_OPENAI_API_KEY"
},
{
"name": "Content-Type",
"value": "application/json"
}
]
},
"mapper": {
"body": "{\n \"model\": \"gpt-4o-mini\",\n \"messages\": [\n {\"role\":\"system\",\"content\":\"You generate Instagram carousel content in JSON.\"},\n {\"role\":\"user\",\"content\":\"{{2.value}}\"}\n ]\n}"
},
"metadata": {
"designer": { "x": 600, "y": 0 }
}
},
{
"id": 4,
"module": "tools:parseJSON",
"version": 1,
"mapper": {
"json": "{{3.body}}"
},
"metadata": {
"designer": { "x": 900, "y": 0 }
}
},
{
"id": 5,
"module": "tools:iterator",
"version": 1,
"mapper": {
"array": "{{4.carousel}}"
},
"metadata": {
"designer": { "x": 1200, "y": 0 }
}
},
{
"id": 6,
"module": "http:request",
"version": 1,
"parameters": {
"url": "https://api.bannerbear.com/v2/images",
"method": "POST",
"headers": [
{
"name": "Authorization",
"value": "Bearer YOUR_IMAGE_API_KEY"
},
{
"name": "Content-Type",
"value": "application/json"
}
]
},
"mapper": {
"body": "{\n \"template\": \"YOUR_TEMPLATE_ID\",\n \"modifications\": [\n {\"name\":\"title\",\"text\":\"{{5.title}}\"},\n {\"name\":\"content\",\"text\":\"{{5.content}}\"}\n ]\n}"
},
"metadata": {
"designer": { "x": 1500, "y": 0 }
}
}
],
"connections": [
{ "from": 1, "to": 2 },
{ "from": 2, "to": 3 },
{ "from": 3, "to": 4 },
{ "from": 4, "to": 5 },
{ "from": 5, "to": 6 }
]
}