@efectoapp/mcp-server 0.1.24 → 0.1.27

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -0,0 +1,490 @@
1
+ # Efecto Poster Recipes
2
+
3
+ Complete step-by-step recipes with exact tool calls. Each recipe creates a polished poster from scratch.
4
+
5
+ ---
6
+
7
+ ## Recipe 1: Cyberpunk Event Poster (9:16)
8
+
9
+ Video background with left-aligned futuristic typography, ASCII minimal effect with subtle cyberpunk post-processing. Content pushed to the bottom.
10
+
11
+ ### Tool Calls
12
+
13
+ **1. Create poster**
14
+ ```
15
+ create_poster:
16
+ aspectRatio: "9:16"
17
+ backgroundColor: "#0a0a14"
18
+ ```
19
+
20
+ **2. Set page layout (content at bottom)**
21
+ ```
22
+ set_page_layout:
23
+ justifyContent: "end"
24
+ ```
25
+
26
+ **3. Set video background**
27
+ ```
28
+ set_background:
29
+ type: "video"
30
+ videoUrl: "/assets/manga.mp4"
31
+ ```
32
+
33
+ **4. Add decorative line above text**
34
+ ```
35
+ add_layer:
36
+ type: "line"
37
+ startX: 25, startY: 60, endX: 75, endY: 60
38
+ strokeColor: "#4cc9f0", strokeWidth: 0.002, strokeOpacity: 0.4
39
+ ```
40
+
41
+ **5. Add text group (left-aligned)**
42
+ ```
43
+ add_group:
44
+ x: 50, y: 50, width: 85
45
+ layoutMode: "column"
46
+ alignItems: "center"
47
+ justifyContent: "center"
48
+ gap: 1
49
+ children: [
50
+ {
51
+ type: "text",
52
+ content: "NEON\nDREAMS",
53
+ fontFamily: "Anton",
54
+ fontSize: 120,
55
+ fontWeight: "400",
56
+ color: "#f72585",
57
+ textAlign: "left",
58
+ lineHeight: 0.95,
59
+ letterSpacing: -2
60
+ },
61
+ {
62
+ type: "text",
63
+ content: "A NIGHT OF ELECTRONIC MUSIC",
64
+ fontFamily: "Outfit",
65
+ fontSize: 16,
66
+ fontWeight: "300",
67
+ color: "#4cc9f0",
68
+ textAlign: "left",
69
+ letterSpacing: 6,
70
+ textTransform: "uppercase"
71
+ },
72
+ {
73
+ type: "text",
74
+ content: "MARCH 15, 2026 / WAREHOUSE 9 / 10PM",
75
+ fontFamily: "Outfit",
76
+ fontSize: 12,
77
+ fontWeight: "400",
78
+ color: "#888888",
79
+ textAlign: "left",
80
+ letterSpacing: 3
81
+ }
82
+ ]
83
+ ```
84
+
85
+ **6. Apply ASCII minimal effect**
86
+ ```
87
+ apply_effect:
88
+ effectId: "ascii-minimal"
89
+ cellSize: 6
90
+ color: true
91
+ ```
92
+
93
+ **7. Add post-processing stack (subtle cyberpunk)**
94
+ ```
95
+ add_postprocess: type: "bloom", intensity: 1.8, radius: 0.5, threshold: 0.15
96
+ add_postprocess: type: "chromatic-aberration", strength: 0.005, angle: 45
97
+ add_postprocess: type: "scanlines", count: 350, intensity: 0.3
98
+ ```
99
+
100
+ **8. Render**
101
+ ```
102
+ render_image: format: "png"
103
+ ```
104
+
105
+ **Design notes**: Video background (manga.mp4) gives the ASCII effect dynamic source material. Left-aligned text feels more editorial than centered. The `ascii-minimal` with smaller cellSize (6) creates finer detail than `ascii-standard`. Chromatic aberration at 0.005 is very subtle — just enough color fringing without overwhelming the text. Page `justifyContent: "end"` pushes everything to the bottom third.
106
+
107
+ ---
108
+
109
+ ## Recipe 2: Editorial Magazine Cover (3:4)
110
+
111
+ Stock photo background with dither ink effect for a risograph/printmaking aesthetic. Refined serif typography with tight spacing.
112
+
113
+ ### Tool Calls
114
+
115
+ **1. Create poster**
116
+ ```
117
+ create_poster:
118
+ aspectRatio: "3:4"
119
+ backgroundColor: "#0a0a0a"
120
+ ```
121
+
122
+ **2. Set page layout (content at bottom, tight spacing)**
123
+ ```
124
+ set_page_layout:
125
+ justifyContent: "end"
126
+ gap: 1
127
+ padding: 6
128
+ ```
129
+
130
+ **3. Search for a dark portrait image**
131
+ ```
132
+ search_images:
133
+ query: "portrait fashion"
134
+ orientation: "vertical"
135
+ luminance: "dark"
136
+ type: "photo"
137
+ ```
138
+
139
+ **4. Set image background**
140
+ ```
141
+ set_background:
142
+ type: "image"
143
+ imageUrl: <use URL from search results>
144
+ objectFit: "cover"
145
+ ```
146
+
147
+ **5. Add headline group**
148
+ ```
149
+ add_group:
150
+ x: 50, y: 50, width: 80
151
+ layoutMode: "column"
152
+ alignItems: "center"
153
+ justifyContent: "center"
154
+ gap: 0.1
155
+ children: [
156
+ {
157
+ type: "text",
158
+ content: "The Art of\nSilence",
159
+ fontFamily: "Playfair Display",
160
+ fontSize: 49,
161
+ fontWeight: "800",
162
+ color: "#ffffff",
163
+ textAlign: "left",
164
+ lineHeight: 1.0,
165
+ letterSpacing: -1
166
+ },
167
+ {
168
+ type: "text",
169
+ content: "An intimate portrait series exploring solitude in urban spaces",
170
+ fontFamily: "DM Sans",
171
+ fontSize: 16,
172
+ fontWeight: "300",
173
+ color: "#cccccc",
174
+ textAlign: "left",
175
+ lineHeight: 1.4
176
+ }
177
+ ]
178
+ ```
179
+
180
+ **6. Add magazine title at bottom**
181
+ ```
182
+ add_layer:
183
+ type: "text"
184
+ content: "APERTURE"
185
+ fontFamily: "DM Sans"
186
+ fontSize: 14
187
+ fontWeight: "500"
188
+ color: "#ffffff"
189
+ letterSpacing: 8
190
+ textTransform: "uppercase"
191
+ textAlign: "center"
192
+ x: 50, y: 90
193
+ ```
194
+
195
+ **7. Apply dither effect with ink palette**
196
+ ```
197
+ apply_effect:
198
+ effectId: "dither-floyd-steinberg"
199
+ pixelation: 3
200
+ paletteId: "ink"
201
+ ```
202
+
203
+ Note: No `add_postprocess` calls — dither effects use the built-in palette. Post-processes are ignored for dither.
204
+
205
+ **8. Render**
206
+ ```
207
+ render_image: format: "png"
208
+ ```
209
+
210
+ **Design notes**: The `dither-floyd-steinberg` with `ink` palette transforms the photo into a high-contrast printmaking aesthetic — dark navy (#1a1a2e) and warm cream (#f5f5dc). Smaller headline (49px) feels more refined than oversized text. The APERTURE label at the bottom (not top) creates a footer stamp effect. Tight gap (0.1) and reduced padding (6%) pack the layout.
211
+
212
+ ---
213
+
214
+ ## Recipe 3: Retro Game Art (1:1)
215
+
216
+ Video background with Game Boy dither effect, pixel-style typography, centered layout.
217
+
218
+ ### Tool Calls
219
+
220
+ **1. Create poster**
221
+ ```
222
+ create_poster:
223
+ aspectRatio: "1:1"
224
+ backgroundColor: "#0f380f"
225
+ ```
226
+
227
+ **2. Set page layout (vertically centered)**
228
+ ```
229
+ set_page_layout:
230
+ justifyContent: "center"
231
+ ```
232
+
233
+ **3. Set video background**
234
+ ```
235
+ set_background:
236
+ type: "video"
237
+ videoUrl: "/assets/motorcycle.mp4"
238
+ ```
239
+
240
+ **4. Add centered text group**
241
+ ```
242
+ add_group:
243
+ x: 50, y: 50, width: 80
244
+ layoutMode: "column"
245
+ alignItems: "center"
246
+ justifyContent: "center"
247
+ gap: 4
248
+ children: [
249
+ {
250
+ type: "text",
251
+ content: "GAME\nOVER",
252
+ fontFamily: "Bungee",
253
+ fontSize: 96,
254
+ fontWeight: "400",
255
+ color: "#9bbc0f",
256
+ textAlign: "center",
257
+ lineHeight: 1.0
258
+ },
259
+ {
260
+ type: "text",
261
+ content: "INSERT COIN TO CONTINUE",
262
+ fontFamily: "Space Mono",
263
+ fontSize: 16,
264
+ fontWeight: "400",
265
+ color: "#8bac0f",
266
+ textAlign: "center",
267
+ letterSpacing: 3
268
+ },
269
+ {
270
+ type: "text",
271
+ content: "SCORE: 999,999",
272
+ fontFamily: "Space Mono",
273
+ fontSize: 14,
274
+ fontWeight: "700",
275
+ color: "#306230",
276
+ textAlign: "center"
277
+ }
278
+ ]
279
+ ```
280
+
281
+ **5. Apply dither effect with gameboy palette**
282
+ ```
283
+ apply_effect:
284
+ effectId: "dither-atkinson"
285
+ pixelation: 5
286
+ paletteId: "gameboy"
287
+ bloomEnabled: true
288
+ bloomIntensity: 0.8
289
+ bloomRadius: 30
290
+ ```
291
+
292
+ Note: No `add_postprocess` calls — dither effects use built-in palette and bloom. Post-processes are ignored for dither.
293
+
294
+ **6. Render**
295
+ ```
296
+ render_image: format: "png"
297
+ ```
298
+
299
+ **Design notes**: Using a video background (motorcycle.mp4) instead of a solid color gives the dither effect rich source material to work with — the Atkinson dithering with Game Boy palette transforms the video into a dynamic retro scene. The text overlays in matching green tones blend naturally. `justifyContent: "center"` keeps everything vertically balanced.
300
+
301
+ ---
302
+
303
+ ## Recipe 4: Tech Conference Card (16:9)
304
+
305
+ Navy gradient with a 3D model accent, centered typography, CMYK halftone effect for a print-inspired look.
306
+
307
+ ### Tool Calls
308
+
309
+ **1. Create poster**
310
+ ```
311
+ create_poster:
312
+ aspectRatio: "16:9"
313
+ backgroundColor: "#0f172a"
314
+ ```
315
+
316
+ **2. Set page layout (content at bottom)**
317
+ ```
318
+ set_page_layout:
319
+ justifyContent: "end"
320
+ ```
321
+
322
+ **3. Set gradient background**
323
+ ```
324
+ set_background:
325
+ type: "gradient"
326
+ gradientStyle: "linear"
327
+ gradientAngle: 135
328
+ gradientStartColor: "#0f172a"
329
+ gradientEndColor: "#1e293b"
330
+ ```
331
+
332
+ **4. Add 3D model accent**
333
+ ```
334
+ add_layer:
335
+ type: "3d"
336
+ name: "Duck"
337
+ mediaUrl: "https://threejs.org/examples/models/gltf/duck.glb"
338
+ material: "chrome"
339
+ color: "#4729db"
340
+ width: 50
341
+ height: 50
342
+ ```
343
+
344
+ **5. Add centered text group**
345
+ ```
346
+ add_group:
347
+ x: 50, y: 50, width: 80
348
+ layoutMode: "column"
349
+ alignItems: "center"
350
+ justifyContent: "center"
351
+ gap: 2
352
+ children: [
353
+ {
354
+ type: "text",
355
+ content: "DEV//CONF",
356
+ fontFamily: "Space Grotesk",
357
+ fontSize: 72,
358
+ fontWeight: "700",
359
+ color: "#ffffff",
360
+ textAlign: "center",
361
+ letterSpacing: -2
362
+ },
363
+ {
364
+ type: "text",
365
+ content: "The Future of Web Development",
366
+ fontFamily: "DM Sans",
367
+ fontSize: 24,
368
+ fontWeight: "400",
369
+ color: "#aaaaaa",
370
+ textAlign: "center"
371
+ },
372
+ {
373
+ type: "text",
374
+ content: "JUNE 12-14, 2026 / SAN FRANCISCO",
375
+ fontFamily: "DM Sans",
376
+ fontSize: 14,
377
+ fontWeight: "500",
378
+ color: "#666666",
379
+ textAlign: "center",
380
+ letterSpacing: 3
381
+ }
382
+ ]
383
+ ```
384
+
385
+ **6. Apply CMYK halftone effect with post-processing**
386
+ ```
387
+ apply_effect:
388
+ effectId: "halftone-cmyk"
389
+ dotSize: 0.05
390
+
391
+ add_postprocess: type: "bloom", intensity: 0.8, radius: 0.3, threshold: 0.3
392
+ add_postprocess: type: "vignette", radius: 0.9
393
+ ```
394
+
395
+ **7. Render**
396
+ ```
397
+ render_image: format: "png"
398
+ ```
399
+
400
+ **Design notes**: The navy gradient (#0f172a → #1e293b) creates a deeper, richer background than generic dark blue. The 3D duck model with chrome material and purple tint (#4729db) adds a playful tech mascot feel. CMYK halftone gives the print-quality dot pattern with color separation — more visually interesting than mono halftone. Centered layout is cleaner than the two-column approach for a card format. `justifyContent: "end"` pushes content to the lower portion, leaving the 3D model prominent.
401
+
402
+ ---
403
+
404
+ ## Recipe 5: Artistic Photo Poster (9:16)
405
+
406
+ Stock photo with Kuwahara painterly effect, bold centered text overlay, film-like post-processing. Content anchored to bottom.
407
+
408
+ ### Tool Calls
409
+
410
+ **1. Create poster**
411
+ ```
412
+ create_poster:
413
+ aspectRatio: "9:16"
414
+ backgroundColor: "#0a0a0a"
415
+ ```
416
+
417
+ **2. Set page layout (content at bottom)**
418
+ ```
419
+ set_page_layout:
420
+ justifyContent: "end"
421
+ ```
422
+
423
+ **3. Search for a nature image**
424
+ ```
425
+ search_images:
426
+ query: "mountain landscape dramatic"
427
+ orientation: "vertical"
428
+ luminance: "neutral"
429
+ type: "photo"
430
+ ```
431
+
432
+ **4. Set image background**
433
+ ```
434
+ set_background:
435
+ type: "image"
436
+ imageUrl: <use URL from search results>
437
+ objectFit: "cover"
438
+ ```
439
+
440
+ **5. Add centered text group**
441
+ ```
442
+ add_group:
443
+ x: 50, y: 50, width: 85
444
+ layoutMode: "column"
445
+ alignItems: "center"
446
+ justifyContent: "center"
447
+ gap: 3
448
+ children: [
449
+ {
450
+ type: "text",
451
+ content: "WILD",
452
+ fontFamily: "Bebas Neue",
453
+ fontSize: 140,
454
+ fontWeight: "400",
455
+ color: "#ffffff",
456
+ textAlign: "center",
457
+ letterSpacing: 8
458
+ },
459
+ {
460
+ type: "text",
461
+ content: "nature / adventure / freedom",
462
+ fontFamily: "DM Sans",
463
+ fontSize: 18,
464
+ fontWeight: "300",
465
+ color: "#f0f0f0",
466
+ textAlign: "center",
467
+ letterSpacing: 4
468
+ }
469
+ ]
470
+ ```
471
+
472
+ **6. Apply Kuwahara art effect**
473
+ ```
474
+ apply_effect:
475
+ effectId: "art-kuwahara"
476
+ ```
477
+
478
+ **7. Add film-like post-processing**
479
+ ```
480
+ add_postprocess: type: "vignette", radius: 0.6
481
+ add_postprocess: type: "grain", size: 2.0, speed: 0.3, colorAmount: 0.2
482
+ add_postprocess: type: "brightness-contrast", contrast: 1.15, saturation: 0.85
483
+ ```
484
+
485
+ **8. Render**
486
+ ```
487
+ render_image: format: "png"
488
+ ```
489
+
490
+ **Design notes**: Kuwahara transforms the photo into a painterly artwork while keeping the composition intact. The massive Bebas Neue headline with wide letter spacing floats over the image. Subtitle in near-white (#f0f0f0) has better contrast than dimmer grays. `justifyContent: "end"` anchors text to the lower third, letting the photo breathe above. Desaturated colors + grain gives it a fine-art print quality.