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
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "name": "VEO3-Replicate",
3
+ "nodes": [
4
+ {
5
+ "parameters": {},
6
+ "type": "n8n-nodes-base.manualTrigger",
7
+ "typeVersion": 1,
8
+ "position": [
9
+ -700,
10
+ -120
11
+ ],
12
+ "id": "abdb0f59-3e9b-4eb1-939a-61f469885bd3",
13
+ "name": "When clicking ‘Test workflow’"
14
+ },
15
+ {
16
+ "parameters": {
17
+ "model": {
18
+ "__rl": true,
19
+ "value": "gpt-4o",
20
+ "mode": "list",
21
+ "cachedResultName": "gpt-4o"
22
+ },
23
+ "options": {}
24
+ },
25
+ "type": "@n8n/n8n-nodes-langchain.lmChatOpenAi",
26
+ "typeVersion": 1.2,
27
+ "position": [
28
+ -600,
29
+ 60
30
+ ],
31
+ "id": "40f94fd1-1e68-42fa-befa-061a3ee4a603",
32
+ "name": "OpenAI Chat Model",
33
+ "credentials": {
34
+ "openAiApi": {
35
+ "id": "1u2JRbXy4aqbLyDi",
36
+ "name": "OpenAi - Somphopjay"
37
+ }
38
+ }
39
+ },
40
+ {
41
+ "parameters": {
42
+ "method": "POST",
43
+ "url": "https://api.replicate.com/v1/models/google/veo-3/predictions",
44
+ "authentication": "genericCredentialType",
45
+ "genericAuthType": "httpHeaderAuth",
46
+ "sendBody": true,
47
+ "bodyParameters": {
48
+ "parameters": [
49
+ {
50
+ "name": "input.prompt",
51
+ "value": "={{ $json['Prompt'] }}"
52
+ }
53
+ ]
54
+ },
55
+ "options": {}
56
+ },
57
+ "type": "n8n-nodes-base.httpRequest",
58
+ "typeVersion": 4.2,
59
+ "position": [
60
+ 200,
61
+ -120
62
+ ],
63
+ "id": "9f8fa133-c29e-49eb-b7b5-92f85ec4b8e7",
64
+ "name": "Create Video",
65
+ "credentials": {
66
+ "httpHeaderAuth": {
67
+ "id": "5tBIaASI0Y9QtyJb",
68
+ "name": "IMGBB-Header-API v1"
69
+ }
70
+ }
71
+ },
72
+ {
73
+ "parameters": {
74
+ "amount": 30
75
+ },
76
+ "type": "n8n-nodes-base.wait",
77
+ "typeVersion": 1.1,
78
+ "position": [
79
+ 360,
80
+ -120
81
+ ],
82
+ "id": "8247b582-8e7c-40a5-944a-05a7f5376a31",
83
+ "name": "Wait",
84
+ "webhookId": "795b6581-9efc-4610-8dfc-1e4e3d4ba929"
85
+ },
86
+ {
87
+ "parameters": {
88
+ "conditions": {
89
+ "options": {
90
+ "caseSensitive": true,
91
+ "leftValue": "",
92
+ "typeValidation": "strict",
93
+ "version": 2
94
+ },
95
+ "conditions": [
96
+ {
97
+ "id": "4e8f983a-3b1e-4370-9b58-9ffb56dcff4c",
98
+ "leftValue": "={{ $json.status }}",
99
+ "rightValue": "succeeded",
100
+ "operator": {
101
+ "type": "string",
102
+ "operation": "equals",
103
+ "name": "filter.operator.equals"
104
+ }
105
+ }
106
+ ],
107
+ "combinator": "and"
108
+ },
109
+ "options": {}
110
+ },
111
+ "type": "n8n-nodes-base.if",
112
+ "typeVersion": 2.2,
113
+ "position": [
114
+ 620,
115
+ -120
116
+ ],
117
+ "id": "36e1cc2e-41ca-4373-8887-3c5a4e7322e3",
118
+ "name": "If"
119
+ },
120
+ {
121
+ "parameters": {
122
+ "promptType": "define",
123
+ "text": "create prompt wite capybara riding a road-bike",
124
+ "hasOutputParser": true,
125
+ "options": {
126
+ "systemMessage": "You are a AI designed to create a veo 3 text to video prompt to generate a viral social media video based on the theme you are given. The prompt should describe one camera shot that is 8 seconds long. Include that the camera shot is being done on a selfie stick held by the character. There should only be one main character give a random name similar to the example \n\n\nPrompting Tips (from Google’s Guide) To get the best results, try these prompt strategies:\nShot Composition: “Close-up,” “two shot,” “over-the-shoulder”\nLens & Focus: “Macro lens,” “shallow focus,” “wide-angle lens”\nGenre & Style: “Sci-fi,” “romantic comedy,” “action movie”\nCamera Motion: “Zoom shot,” “dolly shot,” “tracking shot,” “pan shot”\nExample Prompt:\nClose up shot (composition) of melting icicles (subject) on a frozen rock wall (context) with cool blue tones (ambiance), zoomed in (camera motion) maintaining close-up detail of water drips (action).\n\nMake sure that the length of your output is nearly 100 word. Have one sentence start with character name says followed by a sentence of dialogue. "
127
+ }
128
+ },
129
+ "type": "@n8n/n8n-nodes-langchain.agent",
130
+ "typeVersion": 1.8,
131
+ "position": [
132
+ -560,
133
+ -120
134
+ ],
135
+ "id": "24536fef-2914-4dbe-97fc-445406a01f58",
136
+ "name": "OpenAI-4o"
137
+ },
138
+ {
139
+ "parameters": {
140
+ "operation": "append",
141
+ "documentId": {
142
+ "__rl": true,
143
+ "value": "1o8Fg2zqlRi4vZmiWWPwXUkoGYbsoSaeiVK4CqMJPqzY",
144
+ "mode": "list",
145
+ "cachedResultName": "Veo3 Video Generation",
146
+ "cachedResultUrl": "https://docs.google.com/spreadsheets/d/1o8Fg2zqlRi4vZmiWWPwXUkoGYbsoSaeiVK4CqMJPqzY/edit?usp=drivesdk"
147
+ },
148
+ "sheetName": {
149
+ "__rl": true,
150
+ "value": "gid=0",
151
+ "mode": "list",
152
+ "cachedResultName": "Sheet1",
153
+ "cachedResultUrl": "https://docs.google.com/spreadsheets/d/1o8Fg2zqlRi4vZmiWWPwXUkoGYbsoSaeiVK4CqMJPqzY/edit#gid=0"
154
+ },
155
+ "columns": {
156
+ "mappingMode": "defineBelow",
157
+ "value": {
158
+ "Status": "todo",
159
+ "Prompt": "={{ $json.output }}"
160
+ },
161
+ "matchingColumns": [],
162
+ "schema": [
163
+ {
164
+ "id": "Prompt",
165
+ "displayName": "Prompt",
166
+ "required": false,
167
+ "defaultMatch": false,
168
+ "display": true,
169
+ "type": "string",
170
+ "canBeUsedToMatch": true
171
+ },
172
+ {
173
+ "id": "Status",
174
+ "displayName": "Status",
175
+ "required": false,
176
+ "defaultMatch": false,
177
+ "display": true,
178
+ "type": "string",
179
+ "canBeUsedToMatch": true
180
+ },
181
+ {
182
+ "id": "URL",
183
+ "displayName": "URL",
184
+ "required": false,
185
+ "defaultMatch": false,
186
+ "display": true,
187
+ "type": "string",
188
+ "canBeUsedToMatch": true
189
+ }
190
+ ],
191
+ "attemptToConvertTypes": false,
192
+ "convertFieldsToString": false
193
+ },
194
+ "options": {}
195
+ },
196
+ "type": "n8n-nodes-base.googleSheets",
197
+ "typeVersion": 4.5,
198
+ "position": [
199
+ -140,
200
+ -120
201
+ ],
202
+ "id": "fcab4128-f5dc-4378-a27b-ae1d7fcfbc49",
203
+ "name": "Keep Prompt"
204
+ },
205
+ {
206
+ "parameters": {
207
+ "documentId": {
208
+ "__rl": true,
209
+ "value": "1o8Fg2zqlRi4vZmiWWPwXUkoGYbsoSaeiVK4CqMJPqzY",
210
+ "mode": "list",
211
+ "cachedResultName": "Veo3 Video Generation",
212
+ "cachedResultUrl": "https://docs.google.com/spreadsheets/d/1o8Fg2zqlRi4vZmiWWPwXUkoGYbsoSaeiVK4CqMJPqzY/edit?usp=drivesdk"
213
+ },
214
+ "sheetName": {
215
+ "__rl": true,
216
+ "value": "gid=0",
217
+ "mode": "list",
218
+ "cachedResultName": "Sheet1",
219
+ "cachedResultUrl": "https://docs.google.com/spreadsheets/d/1o8Fg2zqlRi4vZmiWWPwXUkoGYbsoSaeiVK4CqMJPqzY/edit#gid=0"
220
+ },
221
+ "filtersUI": {
222
+ "values": [
223
+ {
224
+ "lookupColumn": "Status",
225
+ "lookupValue": "todo"
226
+ }
227
+ ]
228
+ },
229
+ "options": {
230
+ "returnFirstMatch": true
231
+ }
232
+ },
233
+ "type": "n8n-nodes-base.googleSheets",
234
+ "typeVersion": 4.5,
235
+ "position": [
236
+ -20,
237
+ -120
238
+ ],
239
+ "id": "ba6560b6-a26e-4bdd-b9ec-24f8db29fc66",
240
+ "name": "Load Prompt to workflow"
241
+ },
242
+ {
243
+ "parameters": {
244
+ "url": "={{ $json.urls.get }}",
245
+ "authentication": "genericCredentialType",
246
+ "genericAuthType": "httpHeaderAuth",
247
+ "options": {}
248
+ },
249
+ "type": "n8n-nodes-base.httpRequest",
250
+ "typeVersion": 4.2,
251
+ "position": [
252
+ 480,
253
+ -120
254
+ ],
255
+ "id": "ec0af760-fc90-4170-83bf-990fceb12754",
256
+ "name": "Verify Status",
257
+ "credentials": {
258
+ "httpHeaderAuth": {
259
+ "id": "5tBIaASI0Y9QtyJb",
260
+ "name": "IMGBB-Header-API v1"
261
+ }
262
+ }
263
+ },
264
+ {
265
+ "parameters": {
266
+ "operation": "update",
267
+ "documentId": {
268
+ "__rl": true,
269
+ "value": "1o8Fg2zqlRi4vZmiWWPwXUkoGYbsoSaeiVK4CqMJPqzY",
270
+ "mode": "list",
271
+ "cachedResultName": "Veo3 Video Generation",
272
+ "cachedResultUrl": "https://docs.google.com/spreadsheets/d/1o8Fg2zqlRi4vZmiWWPwXUkoGYbsoSaeiVK4CqMJPqzY/edit?usp=drivesdk"
273
+ },
274
+ "sheetName": {
275
+ "__rl": true,
276
+ "value": "gid=0",
277
+ "mode": "list",
278
+ "cachedResultName": "Sheet1",
279
+ "cachedResultUrl": "https://docs.google.com/spreadsheets/d/1o8Fg2zqlRi4vZmiWWPwXUkoGYbsoSaeiVK4CqMJPqzY/edit#gid=0"
280
+ },
281
+ "columns": {
282
+ "mappingMode": "defineBelow",
283
+ "value": {
284
+ "row_number": "={{ $('Load Prompt to workflow').item.json.row_number }}",
285
+ "Status": "done",
286
+ "URL": "={{ $json.output }}"
287
+ },
288
+ "matchingColumns": [
289
+ "row_number"
290
+ ],
291
+ "schema": [
292
+ {
293
+ "id": "Prompt ",
294
+ "displayName": "Prompt ",
295
+ "required": false,
296
+ "defaultMatch": false,
297
+ "display": true,
298
+ "type": "string",
299
+ "canBeUsedToMatch": true
300
+ },
301
+ {
302
+ "id": "Status",
303
+ "displayName": "Status",
304
+ "required": false,
305
+ "defaultMatch": false,
306
+ "display": true,
307
+ "type": "string",
308
+ "canBeUsedToMatch": true
309
+ },
310
+ {
311
+ "id": "URL",
312
+ "displayName": "URL",
313
+ "required": false,
314
+ "defaultMatch": false,
315
+ "display": true,
316
+ "type": "string",
317
+ "canBeUsedToMatch": true
318
+ },
319
+ {
320
+ "id": "row_number",
321
+ "displayName": "row_number",
322
+ "required": false,
323
+ "defaultMatch": false,
324
+ "display": true,
325
+ "type": "string",
326
+ "canBeUsedToMatch": true,
327
+ "readOnly": true,
328
+ "removed": false
329
+ }
330
+ ],
331
+ "attemptToConvertTypes": false,
332
+ "convertFieldsToString": false
333
+ },
334
+ "options": {}
335
+ },
336
+ "type": "n8n-nodes-base.googleSheets",
337
+ "typeVersion": 4.5,
338
+ "position": [
339
+ 820,
340
+ -100
341
+ ],
342
+ "id": "e051db4e-60bb-4ea4-9a62-7aec86de9853",
343
+ "name": "Keep VEO3 Video Link"
344
+ }
345
+ ],
346
+ "pinData": {
347
+ "Create Video": [
348
+ {
349
+ "json": {
350
+ "id": "mpk9ymdr0drmc0cq8vv8rqeaw4",
351
+ "model": "google/veo-3",
352
+ "version": "hidden",
353
+ "input": {
354
+ "prompt": "A cinematic shot of Elijah (30 year old male, rugged beard, athletic, dressed in traditional flowing robes) filming a selfie video shot on the rocky slopes of a mountain. Elijah says excitedly, \"I'm calling down fire from heaven to light up the sacrifice!\" Camera quick action pans to the sky as dramatic flames roar and descend, illuminating the scene with a divine glow."
355
+ },
356
+ "logs": "",
357
+ "output": null,
358
+ "data_removed": false,
359
+ "error": null,
360
+ "status": "starting",
361
+ "created_at": "2025-06-06T20:37:43.555Z",
362
+ "urls": {
363
+ "cancel": "https://api.replicate.com/v1/predictions/mpk9ymdr0drmc0cq8vv8rqeaw4/cancel",
364
+ "get": "https://api.replicate.com/v1/predictions/mpk9ymdr0drmc0cq8vv8rqeaw4",
365
+ "stream": "https://stream.replicate.com/v1/files/bcwr-io5krzzja4tiwxpigx7hpu2k4mjji72smukq5pqpzhj5cxb7kkbq",
366
+ "web": "https://replicate.com/p/mpk9ymdr0drmc0cq8vv8rqeaw4"
367
+ }
368
+ }
369
+ }
370
+ ],
371
+ "OpenAI-4o": [
372
+ {
373
+ "json": {
374
+ "output": "A cinematic shot of Elijah (30 year old male, rugged beard, athletic, dressed in traditional flowing robes) filming a selfie video shot on the rocky slopes of a mountain. Elijah says excitedly, \"I'm calling down fire from heaven to light up the sacrifice!\" Camera quick action pans to the sky as dramatic flames roar and descend, illuminating the scene with a divine glow."
375
+ }
376
+ }
377
+ ]
378
+ },
379
+ "connections": {
380
+ "When clicking ‘Test workflow’": {
381
+ "main": [
382
+ [
383
+ {
384
+ "node": "OpenAI-4o",
385
+ "type": "main",
386
+ "index": 0
387
+ }
388
+ ]
389
+ ]
390
+ },
391
+ "OpenAI Chat Model": {
392
+ "ai_languageModel": [
393
+ [
394
+ {
395
+ "node": "OpenAI-4o",
396
+ "type": "ai_languageModel",
397
+ "index": 0
398
+ }
399
+ ]
400
+ ]
401
+ },
402
+ "Create Video": {
403
+ "main": [
404
+ [
405
+ {
406
+ "node": "Wait",
407
+ "type": "main",
408
+ "index": 0
409
+ }
410
+ ]
411
+ ]
412
+ },
413
+ "Wait": {
414
+ "main": [
415
+ [
416
+ {
417
+ "node": "Verify Status",
418
+ "type": "main",
419
+ "index": 0
420
+ }
421
+ ]
422
+ ]
423
+ },
424
+ "If": {
425
+ "main": [
426
+ [
427
+ {
428
+ "node": "Keep VEO3 Video Link",
429
+ "type": "main",
430
+ "index": 0
431
+ }
432
+ ],
433
+ [
434
+ {
435
+ "node": "Wait",
436
+ "type": "main",
437
+ "index": 0
438
+ }
439
+ ]
440
+ ]
441
+ },
442
+ "OpenAI-4o": {
443
+ "main": [
444
+ [
445
+ {
446
+ "node": "Keep Prompt",
447
+ "type": "main",
448
+ "index": 0
449
+ }
450
+ ]
451
+ ]
452
+ },
453
+ "Keep Prompt": {
454
+ "main": [
455
+ [
456
+ {
457
+ "node": "Load Prompt to workflow",
458
+ "type": "main",
459
+ "index": 0
460
+ }
461
+ ]
462
+ ]
463
+ },
464
+ "Load Prompt to workflow": {
465
+ "main": [
466
+ [
467
+ {
468
+ "node": "Create Video",
469
+ "type": "main",
470
+ "index": 0
471
+ }
472
+ ]
473
+ ]
474
+ },
475
+ "Verify Status": {
476
+ "main": [
477
+ [
478
+ {
479
+ "node": "If",
480
+ "type": "main",
481
+ "index": 0
482
+ }
483
+ ]
484
+ ]
485
+ }
486
+ },
487
+ "active": false,
488
+ "settings": {
489
+ "executionOrder": "v1"
490
+ },
491
+ "versionId": "09ecd8e8-5000-48ee-8378-fcdb23dd0c5a",
492
+ "meta": {
493
+ "instanceId": "52186cf1b8efe42bc5d27bbce9c2dedc42f74757c6fd390a78301306ccc29052"
494
+ },
495
+ "id": "CrzncEAdA6ttmAzM",
496
+ "tags": []
497
+ }