Created
May 6, 2026 19:11
-
-
Save carismaxinfo-oss/ea8d1519c6539a067d5685f2b3798e7b to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| { | |
| "name": "Liminal Archives - Horror Ambience", | |
| "nodes": [ | |
| { | |
| "parameters": { | |
| "fieldToSplitOut": "Scenes", | |
| "options": {} | |
| }, | |
| "type": "n8n-nodes-base.splitOut", | |
| "typeVersion": 1, | |
| "position": [ | |
| 1408, | |
| 0 | |
| ], | |
| "id": "76844f51-fb29-4fd0-b1a5-7c4795857496", | |
| "name": "Split Out" | |
| }, | |
| { | |
| "parameters": { | |
| "amount": 15 | |
| }, | |
| "type": "n8n-nodes-base.wait", | |
| "typeVersion": 1.1, | |
| "position": [ | |
| 992, | |
| 832 | |
| ], | |
| "id": "77b112e8-cf03-4d42-9971-fbf409e244be", | |
| "name": "Wait", | |
| "webhookId": "1c287ef5-3375-47a4-b15a-135582b1ffc8" | |
| }, | |
| { | |
| "parameters": { | |
| "rules": { | |
| "values": [ | |
| { | |
| "conditions": { | |
| "options": { | |
| "caseSensitive": true, | |
| "leftValue": "", | |
| "typeValidation": "strict", | |
| "version": 2 | |
| }, | |
| "conditions": [ | |
| { | |
| "leftValue": "={{ $json.data.successFlag }}", | |
| "rightValue": 1, | |
| "operator": { | |
| "type": "number", | |
| "operation": "equals" | |
| }, | |
| "id": "957f40c4-00b8-4caa-9bd7-065dcaf2cb49" | |
| } | |
| ], | |
| "combinator": "and" | |
| }, | |
| "renameOutput": true, | |
| "outputKey": "success" | |
| }, | |
| { | |
| "conditions": { | |
| "options": { | |
| "caseSensitive": true, | |
| "leftValue": "", | |
| "typeValidation": "strict", | |
| "version": 2 | |
| }, | |
| "conditions": [ | |
| { | |
| "id": "52ad92ea-901f-4af8-a462-84b045dd2803", | |
| "leftValue": "={{ $json.data.successFlag }}", | |
| "rightValue": 0, | |
| "operator": { | |
| "type": "number", | |
| "operation": "equals" | |
| } | |
| } | |
| ], | |
| "combinator": "and" | |
| }, | |
| "renameOutput": true, | |
| "outputKey": "in progress" | |
| } | |
| ] | |
| }, | |
| "options": {} | |
| }, | |
| "type": "n8n-nodes-base.switch", | |
| "typeVersion": 3.2, | |
| "position": [ | |
| 1440, | |
| 832 | |
| ], | |
| "id": "b4f46857-475d-4fc7-a286-f08add21f5a7", | |
| "name": "Switch" | |
| }, | |
| { | |
| "parameters": { | |
| "rule": { | |
| "interval": [ | |
| {} | |
| ] | |
| } | |
| }, | |
| "type": "n8n-nodes-base.scheduleTrigger", | |
| "typeVersion": 1.3, | |
| "position": [ | |
| 320, | |
| 832 | |
| ], | |
| "id": "c28d3967-8967-4669-8f60-c9a22dab1a96", | |
| "name": "VIDEOS" | |
| }, | |
| { | |
| "parameters": { | |
| "rule": { | |
| "interval": [ | |
| {} | |
| ] | |
| } | |
| }, | |
| "type": "n8n-nodes-base.scheduleTrigger", | |
| "typeVersion": 1.3, | |
| "position": [ | |
| 320, | |
| 208 | |
| ], | |
| "id": "bc46e5e7-5b95-4b56-b461-a2e94c865a65", | |
| "name": "PROMPTS" | |
| }, | |
| { | |
| "parameters": { | |
| "operation": "search", | |
| "base": { | |
| "__rl": true, | |
| "value": "app7WZvGP1pqriF4f", | |
| "mode": "id" | |
| }, | |
| "table": { | |
| "__rl": true, | |
| "value": "Project", | |
| "mode": "id" | |
| }, | |
| "filterByFormula": "{Status} = \"Create\"", | |
| "returnAll": false, | |
| "limit": 1, | |
| "options": {} | |
| }, | |
| "type": "n8n-nodes-base.airtable", | |
| "typeVersion": 2.1, | |
| "position": [ | |
| 544, | |
| 208 | |
| ], | |
| "id": "d7a12ba6-8263-44fe-bcee-0b5ee225d7e5", | |
| "name": "Get Project", | |
| "credentials": { | |
| "airtableTokenApi": { | |
| "id": "d7EmQ3RtDqmAw7o5", | |
| "name": "Mi Airtable Yael videos animados" | |
| } | |
| } | |
| }, | |
| { | |
| "parameters": { | |
| "operation": "search", | |
| "base": { | |
| "__rl": true, | |
| "value": "app7WZvGP1pqriF4f", | |
| "mode": "id" | |
| }, | |
| "table": { | |
| "__rl": true, | |
| "value": "Project", | |
| "mode": "id" | |
| }, | |
| "filterByFormula": "{Status} = \"Create\"", | |
| "returnAll": false, | |
| "limit": 1, | |
| "options": {} | |
| }, | |
| "type": "n8n-nodes-base.airtable", | |
| "typeVersion": 2.1, | |
| "position": [ | |
| 464, | |
| 528 | |
| ], | |
| "id": "d2a91198-0cde-4843-bb97-8ea31e9d9935", | |
| "name": "Get Project1", | |
| "credentials": { | |
| "airtableTokenApi": { | |
| "id": "d7EmQ3RtDqmAw7o5", | |
| "name": "Mi Airtable Yael videos animados" | |
| } | |
| } | |
| }, | |
| { | |
| "parameters": { | |
| "operation": "search", | |
| "base": { | |
| "__rl": true, | |
| "value": "app7WZvGP1pqriF4f", | |
| "mode": "id" | |
| }, | |
| "table": { | |
| "__rl": true, | |
| "value": "tblipThhapetdSJdm", | |
| "mode": "list", | |
| "cachedResultName": "Scenes", | |
| "cachedResultUrl": "https://airtable.com/appa4RuITklGSXcuC/tblipThhapetdSJdm" | |
| }, | |
| "filterByFormula": "=({project name} = \"{{ $json['Project Name'] }}\")\n", | |
| "options": {}, | |
| "sort": { | |
| "property": [ | |
| { | |
| "field": "scene" | |
| } | |
| ] | |
| } | |
| }, | |
| "type": "n8n-nodes-base.airtable", | |
| "typeVersion": 2.1, | |
| "position": [ | |
| 608, | |
| 528 | |
| ], | |
| "id": "df64575a-28de-4912-9817-eb9941cac825", | |
| "name": "Get Scenes", | |
| "credentials": { | |
| "airtableTokenApi": { | |
| "id": "d7EmQ3RtDqmAw7o5", | |
| "name": "Mi Airtable Yael videos animados" | |
| } | |
| } | |
| }, | |
| { | |
| "parameters": { | |
| "operation": "upsert", | |
| "base": { | |
| "__rl": true, | |
| "value": "app7WZvGP1pqriF4f", | |
| "mode": "id" | |
| }, | |
| "table": { | |
| "__rl": true, | |
| "value": "Scenes", | |
| "mode": "id" | |
| }, | |
| "columns": { | |
| "mappingMode": "defineBelow", | |
| "value": { | |
| "start_image": "= [ { \"url\": \"{{ $('Start frame 🍌').item.json.data.outputs[0] }}\" } ]", | |
| "end_image": "= [ { \"url\": \"{{ $('End frame 🍌').item.json.data.outputs[0] }}\" } ]", | |
| "id": "={{ $('Get Scenes').item.json.id }}", | |
| "image done": true | |
| }, | |
| "matchingColumns": [ | |
| "id" | |
| ], | |
| "schema": [ | |
| { | |
| "id": "id", | |
| "displayName": "id", | |
| "required": false, | |
| "defaultMatch": true, | |
| "display": true, | |
| "type": "string", | |
| "readOnly": true, | |
| "removed": false | |
| }, | |
| { | |
| "id": "execution_id", | |
| "displayName": "execution_id", | |
| "required": false, | |
| "defaultMatch": false, | |
| "canBeUsedToMatch": true, | |
| "display": true, | |
| "type": "number", | |
| "readOnly": false, | |
| "removed": true | |
| }, | |
| { | |
| "id": "Project Name", | |
| "displayName": "Project Name", | |
| "required": false, | |
| "defaultMatch": false, | |
| "canBeUsedToMatch": true, | |
| "display": true, | |
| "type": "string", | |
| "readOnly": false, | |
| "removed": true | |
| }, | |
| { | |
| "id": "scene", | |
| "displayName": "scene", | |
| "required": false, | |
| "defaultMatch": false, | |
| "canBeUsedToMatch": true, | |
| "display": true, | |
| "type": "string", | |
| "readOnly": false, | |
| "removed": true | |
| }, | |
| { | |
| "id": "start_image_prompt", | |
| "displayName": "start_image_prompt", | |
| "required": false, | |
| "defaultMatch": false, | |
| "canBeUsedToMatch": true, | |
| "display": true, | |
| "type": "string", | |
| "readOnly": false, | |
| "removed": true | |
| }, | |
| { | |
| "id": "end_image_prompt", | |
| "displayName": "end_image_prompt", | |
| "required": false, | |
| "defaultMatch": false, | |
| "canBeUsedToMatch": true, | |
| "display": true, | |
| "type": "string", | |
| "readOnly": false, | |
| "removed": true | |
| }, | |
| { | |
| "id": "prompt done", | |
| "displayName": "prompt done", | |
| "required": false, | |
| "defaultMatch": false, | |
| "canBeUsedToMatch": true, | |
| "display": true, | |
| "type": "boolean", | |
| "readOnly": false, | |
| "removed": true | |
| }, | |
| { | |
| "id": "start_image", | |
| "displayName": "start_image", | |
| "required": false, | |
| "defaultMatch": false, | |
| "canBeUsedToMatch": true, | |
| "display": true, | |
| "type": "array", | |
| "readOnly": false, | |
| "removed": false | |
| }, | |
| { | |
| "id": "end_image", | |
| "displayName": "end_image", | |
| "required": false, | |
| "defaultMatch": false, | |
| "canBeUsedToMatch": true, | |
| "display": true, | |
| "type": "array", | |
| "readOnly": false, | |
| "removed": false | |
| }, | |
| { | |
| "id": "image done", | |
| "displayName": "image done", | |
| "required": false, | |
| "defaultMatch": false, | |
| "canBeUsedToMatch": true, | |
| "display": true, | |
| "type": "boolean", | |
| "readOnly": false, | |
| "removed": false | |
| }, | |
| { | |
| "id": "transition_prompt", | |
| "displayName": "transition_prompt", | |
| "required": false, | |
| "defaultMatch": false, | |
| "canBeUsedToMatch": true, | |
| "display": true, | |
| "type": "string", | |
| "readOnly": false, | |
| "removed": true | |
| }, | |
| { | |
| "id": "scene_video", | |
| "displayName": "scene_video", | |
| "required": false, | |
| "defaultMatch": false, | |
| "canBeUsedToMatch": true, | |
| "display": true, | |
| "type": "array", | |
| "readOnly": false, | |
| "removed": true | |
| }, | |
| { | |
| "id": "video done", | |
| "displayName": "video done", | |
| "required": false, | |
| "defaultMatch": false, | |
| "canBeUsedToMatch": true, | |
| "display": true, | |
| "type": "boolean", | |
| "readOnly": false, | |
| "removed": true | |
| } | |
| ], | |
| "attemptToConvertTypes": false, | |
| "convertFieldsToString": false | |
| }, | |
| "options": {} | |
| }, | |
| "type": "n8n-nodes-base.airtable", | |
| "typeVersion": 2.1, | |
| "position": [ | |
| 1744, | |
| 528 | |
| ], | |
| "id": "cd905cf8-8d74-4106-b6bc-a9ba97c09d4c", | |
| "name": "Log Images", | |
| "credentials": { | |
| "airtableTokenApi": { | |
| "id": "d7EmQ3RtDqmAw7o5", | |
| "name": "Mi Airtable Yael videos animados" | |
| } | |
| } | |
| }, | |
| { | |
| "parameters": { | |
| "method": "POST", | |
| "url": "https://api.kie.ai/api/v1/veo/generate", | |
| "authentication": "predefinedCredentialType", | |
| "nodeCredentialType": "httpBearerAuth", | |
| "sendBody": true, | |
| "contentType": "raw", | |
| "rawContentType": "application/json", | |
| "body": "= {\n \"prompt\": {{ JSON.stringify($json.transition_prompt) }}\n\n,\n\n \"model\": \"veo3_fast\",\n \"aspectRatio\": \"16:9\",\n \"enableTranslation\": false,\n\n \"generationType\": \"FIRST_AND_LAST_FRAMES_2_VIDEO\",\n \"imageUrls\": [\"{{ $json.start_image[0].url }}\",\"{{ $json.end_image[0].url }}\"]\n\n}", | |
| "options": { | |
| "batching": { | |
| "batch": { | |
| "batchSize": 1, | |
| "batchInterval": 3000 | |
| } | |
| } | |
| } | |
| }, | |
| "type": "n8n-nodes-base.httpRequest", | |
| "typeVersion": 4.2, | |
| "position": [ | |
| 768, | |
| 832 | |
| ], | |
| "id": "ccc4006f-ad6a-4ac7-b4f2-27497c1053c9", | |
| "name": "Create Video 🔻", | |
| "credentials": { | |
| "httpBearerAuth": { | |
| "id": "ebYtrOXvHCxweNfa", | |
| "name": "Bearer Auth account 3" | |
| } | |
| } | |
| }, | |
| { | |
| "parameters": { | |
| "url": "https://api.kie.ai/api/v1/veo/record-info", | |
| "authentication": "predefinedCredentialType", | |
| "nodeCredentialType": "httpBearerAuth", | |
| "sendQuery": true, | |
| "queryParameters": { | |
| "parameters": [ | |
| { | |
| "name": "taskId", | |
| "value": "={{ $('Create Video 🔻').item.json.data.taskId }}" | |
| } | |
| ] | |
| }, | |
| "options": {} | |
| }, | |
| "type": "n8n-nodes-base.httpRequest", | |
| "typeVersion": 4.2, | |
| "position": [ | |
| 1216, | |
| 832 | |
| ], | |
| "id": "4250e8ee-bff7-45c3-a538-dc20cdcb434c", | |
| "name": "Get Video 🔻", | |
| "alwaysOutputData": false, | |
| "retryOnFail": false, | |
| "waitBetweenTries": 5000, | |
| "credentials": { | |
| "httpBearerAuth": { | |
| "id": "ebYtrOXvHCxweNfa", | |
| "name": "Bearer Auth account 3" | |
| }, | |
| "httpHeaderAuth": { | |
| "id": "Wm524uP3jW5cTqr4", | |
| "name": "Header Auth account" | |
| } | |
| }, | |
| "onError": "continueRegularOutput" | |
| }, | |
| { | |
| "parameters": { | |
| "method": "POST", | |
| "url": "https://api.wavespeed.ai/api/v3/google/nano-banana-pro/edit", | |
| "authentication": "genericCredentialType", | |
| "genericAuthType": "httpBearerAuth", | |
| "sendBody": true, | |
| "specifyBody": "json", | |
| "jsonBody": "={\n \"aspect_ratio\": \"16:9\",\n \"enable_base64_output\": false,\n \"enable_sync_mode\": true,\n \n \"output_format\": \"png\",\n \"prompt\": {{ JSON.stringify($json.start_image_prompt) }},\n \"resolution\": \"1k\",\n \"images\": [\"{{ $('Get Project1').item.json['Core Image'][0].url }}\", \"{{ $('Get Project1').item.json['Core Elements'][0].url }}\"]\n\n}", | |
| "options": { | |
| "batching": { | |
| "batch": { | |
| "batchSize": 1, | |
| "batchInterval": 2000 | |
| } | |
| }, | |
| "timeout": 180000 | |
| } | |
| }, | |
| "type": "n8n-nodes-base.httpRequest", | |
| "typeVersion": 4.2, | |
| "position": [ | |
| 992, | |
| 528 | |
| ], | |
| "id": "0dafb6fc-28bc-4bf7-b7c2-56d02e8c73cd", | |
| "name": "Start frame 🍌", | |
| "credentials": { | |
| "httpBearerAuth": { | |
| "id": "nY3MM5Pbmr4HfJbF", | |
| "name": "Bearer Auth account 2" | |
| } | |
| } | |
| }, | |
| { | |
| "parameters": { | |
| "method": "POST", | |
| "url": "https://api.wavespeed.ai/api/v3/google/nano-banana-pro/edit", | |
| "authentication": "genericCredentialType", | |
| "genericAuthType": "httpBearerAuth", | |
| "sendBody": true, | |
| "specifyBody": "json", | |
| "jsonBody": "=\n\n{\n \"aspect_ratio\": \"16:9\",\n \"enable_base64_output\": false,\n \"enable_sync_mode\": true,\n \n \"output_format\": \"png\",\n \"prompt\": {{ JSON.stringify($('Get Scenes').item.json.end_image_prompt) }},\n \"resolution\": \"1k\",\n \"images\": [\"{{ $json.data.outputs[0] }}\"]\n\n\n}", | |
| "options": { | |
| "batching": { | |
| "batch": { | |
| "batchSize": 1 | |
| } | |
| }, | |
| "timeout": 180000 | |
| } | |
| }, | |
| "type": "n8n-nodes-base.httpRequest", | |
| "typeVersion": 4.2, | |
| "position": [ | |
| 1152, | |
| 528 | |
| ], | |
| "id": "1a2349a2-4039-48d5-9566-6a34b0c1d641", | |
| "name": "End frame 🍌", | |
| "credentials": { | |
| "httpBearerAuth": { | |
| "id": "nY3MM5Pbmr4HfJbF", | |
| "name": "Bearer Auth account 2" | |
| } | |
| } | |
| }, | |
| { | |
| "parameters": { | |
| "content": "# PROMPTS", | |
| "width": 2096, | |
| "color": 7 | |
| }, | |
| "type": "n8n-nodes-base.stickyNote", | |
| "typeVersion": 1, | |
| "position": [ | |
| 0, | |
| 192 | |
| ], | |
| "id": "2d7e4418-69c6-4545-90bd-cd1ebec1f97b", | |
| "name": "Sticky Note" | |
| }, | |
| { | |
| "parameters": { | |
| "content": "# IMAGENES", | |
| "width": 2576, | |
| "color": 4 | |
| }, | |
| "type": "n8n-nodes-base.stickyNote", | |
| "typeVersion": 1, | |
| "position": [ | |
| 0, | |
| 512 | |
| ], | |
| "id": "2dabeb2e-cbbd-45cb-bad1-bc8c24f70c56", | |
| "name": "Sticky Note1" | |
| }, | |
| { | |
| "parameters": { | |
| "content": "# VIDEOS\n", | |
| "width": 2112, | |
| "color": 3 | |
| }, | |
| "type": "n8n-nodes-base.stickyNote", | |
| "typeVersion": 1, | |
| "position": [ | |
| 0, | |
| 816 | |
| ], | |
| "id": "fc2cf489-b5a9-41f4-9d75-d46a08d5f553", | |
| "name": "Sticky Note2" | |
| }, | |
| { | |
| "parameters": { | |
| "content": "# MUSICA", | |
| "width": 2128, | |
| "color": 6 | |
| }, | |
| "type": "n8n-nodes-base.stickyNote", | |
| "typeVersion": 1, | |
| "position": [ | |
| -16, | |
| 1120 | |
| ], | |
| "id": "2ca2b7ca-f380-457f-b643-524c9651313d", | |
| "name": "Sticky Note3" | |
| }, | |
| { | |
| "parameters": { | |
| "operation": "upsert", | |
| "base": { | |
| "__rl": true, | |
| "value": "app7WZvGP1pqriF4f", | |
| "mode": "id" | |
| }, | |
| "table": { | |
| "__rl": true, | |
| "value": "Project", | |
| "mode": "id" | |
| }, | |
| "columns": { | |
| "mappingMode": "defineBelow", | |
| "value": { | |
| "Project Name": "={{ $('Get Project').item.json['Project Name'] }}", | |
| "music prompt": "={{ $('AI Agent').item.json.output.music_style_prompt }}", | |
| "music letra": "={{ $('AI Agent').item.json.output.lyrics }}", | |
| "titulo_youtube": "={{ $('AI Agent').item.json.output.titulo_youtube_a }}", | |
| "descripcion_youtube": "={{ $('AI Agent').item.json.output.descripcion_youtube }}", | |
| "prompt_thumbnail": "={{ $('AI Agent').item.json.output.prompt_thumbnail }}" | |
| }, | |
| "matchingColumns": [ | |
| "Project Name" | |
| ], | |
| "schema": [ | |
| { | |
| "id": "id", | |
| "displayName": "id", | |
| "required": false, | |
| "defaultMatch": true, | |
| "display": true, | |
| "type": "string", | |
| "readOnly": true, | |
| "removed": true | |
| }, | |
| { | |
| "id": "Project Name", | |
| "displayName": "Project Name", | |
| "required": false, | |
| "defaultMatch": false, | |
| "canBeUsedToMatch": true, | |
| "display": true, | |
| "type": "string", | |
| "readOnly": false, | |
| "removed": false | |
| }, | |
| { | |
| "id": "Status", | |
| "displayName": "Status", | |
| "required": false, | |
| "defaultMatch": false, | |
| "canBeUsedToMatch": true, | |
| "display": true, | |
| "type": "options", | |
| "options": [ | |
| { | |
| "name": "Create", | |
| "value": "Create" | |
| }, | |
| { | |
| "name": "Done", | |
| "value": "Done" | |
| }, | |
| { | |
| "name": "Skip", | |
| "value": "Skip" | |
| } | |
| ], | |
| "readOnly": false, | |
| "removed": true | |
| }, | |
| { | |
| "id": "Core Image", | |
| "displayName": "Core Image", | |
| "required": false, | |
| "defaultMatch": false, | |
| "canBeUsedToMatch": true, | |
| "display": true, | |
| "type": "array", | |
| "readOnly": false, | |
| "removed": true | |
| }, | |
| { | |
| "id": "Core Elements", | |
| "displayName": "Core Elements", | |
| "required": false, | |
| "defaultMatch": false, | |
| "canBeUsedToMatch": true, | |
| "display": true, | |
| "type": "array", | |
| "readOnly": false, | |
| "removed": true | |
| }, | |
| { | |
| "id": "Creative Direction", | |
| "displayName": "Creative Direction", | |
| "required": false, | |
| "defaultMatch": false, | |
| "canBeUsedToMatch": true, | |
| "display": true, | |
| "type": "string", | |
| "readOnly": false, | |
| "removed": true | |
| }, | |
| { | |
| "id": "music prompt", | |
| "displayName": "music prompt", | |
| "required": false, | |
| "defaultMatch": false, | |
| "canBeUsedToMatch": true, | |
| "display": true, | |
| "type": "string", | |
| "readOnly": false, | |
| "removed": false | |
| }, | |
| { | |
| "id": "music letra", | |
| "displayName": "music letra", | |
| "required": false, | |
| "defaultMatch": false, | |
| "canBeUsedToMatch": true, | |
| "display": true, | |
| "type": "string", | |
| "readOnly": false, | |
| "removed": false | |
| }, | |
| { | |
| "id": "music file 1", | |
| "displayName": "music file 1", | |
| "required": false, | |
| "defaultMatch": false, | |
| "canBeUsedToMatch": true, | |
| "display": true, | |
| "type": "array", | |
| "readOnly": false, | |
| "removed": false | |
| }, | |
| { | |
| "id": "music file 2", | |
| "displayName": "music file 2", | |
| "required": false, | |
| "defaultMatch": false, | |
| "canBeUsedToMatch": true, | |
| "display": true, | |
| "type": "array", | |
| "readOnly": false, | |
| "removed": false | |
| }, | |
| { | |
| "id": "thumbnail", | |
| "displayName": "thumbnail", | |
| "required": false, | |
| "defaultMatch": false, | |
| "canBeUsedToMatch": true, | |
| "display": true, | |
| "type": "array", | |
| "readOnly": false, | |
| "removed": false | |
| }, | |
| { | |
| "id": "titulo_youtube", | |
| "displayName": "titulo_youtube", | |
| "required": false, | |
| "defaultMatch": false, | |
| "canBeUsedToMatch": true, | |
| "display": true, | |
| "type": "string", | |
| "readOnly": false, | |
| "removed": false | |
| }, | |
| { | |
| "id": "prompt_thumbnail", | |
| "displayName": "prompt_thumbnail", | |
| "required": false, | |
| "defaultMatch": false, | |
| "canBeUsedToMatch": true, | |
| "display": true, | |
| "type": "string", | |
| "readOnly": false, | |
| "removed": false | |
| }, | |
| { | |
| "id": "descripcion_youtube", | |
| "displayName": "descripcion_youtube", | |
| "required": false, | |
| "defaultMatch": false, | |
| "canBeUsedToMatch": true, | |
| "display": true, | |
| "type": "string", | |
| "readOnly": false, | |
| "removed": false | |
| } | |
| ], | |
| "attemptToConvertTypes": false, | |
| "convertFieldsToString": false | |
| }, | |
| "options": {} | |
| }, | |
| "type": "n8n-nodes-base.airtable", | |
| "typeVersion": 2.1, | |
| "position": [ | |
| 1792, | |
| 208 | |
| ], | |
| "id": "5126fabb-504b-44b1-bbb4-ce45b377b800", | |
| "name": "Log Audio Prompts", | |
| "executeOnce": true, | |
| "credentials": { | |
| "airtableTokenApi": { | |
| "id": "d7EmQ3RtDqmAw7o5", | |
| "name": "Mi Airtable Yael videos animados" | |
| } | |
| } | |
| }, | |
| { | |
| "parameters": { | |
| "operation": "create", | |
| "base": { | |
| "__rl": true, | |
| "value": "app7WZvGP1pqriF4f", | |
| "mode": "id" | |
| }, | |
| "table": { | |
| "__rl": true, | |
| "value": "Scenes", | |
| "mode": "id" | |
| }, | |
| "columns": { | |
| "mappingMode": "defineBelow", | |
| "value": { | |
| "execution_id": "={{ $execution.id }}", | |
| "scene": "={{ \"Scene \" + $json.scene + \" - \" + $json.scene_title }}", | |
| "start_image_prompt": "={{ $json.starting_image_prompt }}", | |
| "end_image_prompt": "={{ $json.ending_image_prompt }}", | |
| "Project Name": "={{ $json.project_title }}", | |
| "transition_prompt": "={{ $json.transition_prompt }}" | |
| }, | |
| "matchingColumns": [ | |
| "scene" | |
| ], | |
| "schema": [ | |
| { | |
| "id": "id", | |
| "displayName": "id", | |
| "required": false, | |
| "defaultMatch": true, | |
| "display": true, | |
| "type": "string", | |
| "readOnly": true, | |
| "removed": true | |
| }, | |
| { | |
| "id": "execution_id", | |
| "displayName": "execution_id", | |
| "required": false, | |
| "defaultMatch": false, | |
| "canBeUsedToMatch": true, | |
| "display": true, | |
| "type": "number", | |
| "readOnly": false, | |
| "removed": false | |
| }, | |
| { | |
| "id": "Project Name", | |
| "displayName": "Project Name", | |
| "required": false, | |
| "defaultMatch": false, | |
| "canBeUsedToMatch": true, | |
| "display": true, | |
| "type": "string", | |
| "readOnly": false, | |
| "removed": false | |
| }, | |
| { | |
| "id": "scene", | |
| "displayName": "scene", | |
| "required": false, | |
| "defaultMatch": false, | |
| "canBeUsedToMatch": true, | |
| "display": true, | |
| "type": "string", | |
| "readOnly": false, | |
| "removed": false | |
| }, | |
| { | |
| "id": "scene_number", | |
| "displayName": "scene_number", | |
| "required": false, | |
| "defaultMatch": false, | |
| "canBeUsedToMatch": true, | |
| "display": true, | |
| "type": "number", | |
| "readOnly": false, | |
| "removed": true | |
| }, | |
| { | |
| "id": "start_image_prompt", | |
| "displayName": "start_image_prompt", | |
| "required": false, | |
| "defaultMatch": false, | |
| "canBeUsedToMatch": true, | |
| "display": true, | |
| "type": "string", | |
| "readOnly": false, | |
| "removed": false | |
| }, | |
| { | |
| "id": "end_image_prompt", | |
| "displayName": "end_image_prompt", | |
| "required": false, | |
| "defaultMatch": false, | |
| "canBeUsedToMatch": true, | |
| "display": true, | |
| "type": "string", | |
| "readOnly": false, | |
| "removed": false | |
| }, | |
| { | |
| "id": "transition_prompt", | |
| "displayName": "transition_prompt", | |
| "required": false, | |
| "defaultMatch": false, | |
| "canBeUsedToMatch": true, | |
| "display": true, | |
| "type": "string", | |
| "readOnly": false, | |
| "removed": false | |
| }, | |
| { | |
| "id": "prompt done", | |
| "displayName": "prompt done", | |
| "required": false, | |
| "defaultMatch": false, | |
| "canBeUsedToMatch": true, | |
| "display": true, | |
| "type": "boolean", | |
| "readOnly": false, | |
| "removed": true | |
| }, | |
| { | |
| "id": "start_image", | |
| "displayName": "start_image", | |
| "required": false, | |
| "defaultMatch": false, | |
| "canBeUsedToMatch": true, | |
| "display": true, | |
| "type": "array", | |
| "readOnly": false, | |
| "removed": true | |
| }, | |
| { | |
| "id": "end_image", | |
| "displayName": "end_image", | |
| "required": false, | |
| "defaultMatch": false, | |
| "canBeUsedToMatch": true, | |
| "display": true, | |
| "type": "array", | |
| "readOnly": false, | |
| "removed": true | |
| }, | |
| { | |
| "id": "image done", | |
| "displayName": "image done", | |
| "required": false, | |
| "defaultMatch": false, | |
| "canBeUsedToMatch": true, | |
| "display": true, | |
| "type": "boolean", | |
| "readOnly": false, | |
| "removed": true | |
| }, | |
| { | |
| "id": "scene_video", | |
| "displayName": "scene_video", | |
| "required": false, | |
| "defaultMatch": false, | |
| "canBeUsedToMatch": true, | |
| "display": true, | |
| "type": "array", | |
| "readOnly": false, | |
| "removed": true | |
| }, | |
| { | |
| "id": "video done", | |
| "displayName": "video done", | |
| "required": false, | |
| "defaultMatch": false, | |
| "canBeUsedToMatch": true, | |
| "display": true, | |
| "type": "boolean", | |
| "readOnly": false, | |
| "removed": true | |
| } | |
| ], | |
| "attemptToConvertTypes": false, | |
| "convertFieldsToString": false | |
| }, | |
| "options": { | |
| "typecast": true | |
| } | |
| }, | |
| "type": "n8n-nodes-base.airtable", | |
| "typeVersion": 2.1, | |
| "position": [ | |
| 1600, | |
| 208 | |
| ], | |
| "id": "5e291a03-e031-41d7-b154-eb85f14c8948", | |
| "name": "Log Visual Prompts", | |
| "credentials": { | |
| "airtableTokenApi": { | |
| "id": "d7EmQ3RtDqmAw7o5", | |
| "name": "Mi Airtable Yael videos animados" | |
| } | |
| } | |
| }, | |
| { | |
| "parameters": { | |
| "operation": "search", | |
| "base": { | |
| "__rl": true, | |
| "value": "app7WZvGP1pqriF4f", | |
| "mode": "id" | |
| }, | |
| "table": { | |
| "__rl": true, | |
| "value": "Project", | |
| "mode": "id" | |
| }, | |
| "filterByFormula": "{Status} = \"Create\"", | |
| "returnAll": false, | |
| "limit": 1, | |
| "options": {} | |
| }, | |
| "type": "n8n-nodes-base.airtable", | |
| "typeVersion": 2.1, | |
| "position": [ | |
| 544, | |
| 1120 | |
| ], | |
| "id": "36244490-3159-4c71-896c-3c439fdea47a", | |
| "name": "Get Project2", | |
| "credentials": { | |
| "airtableTokenApi": { | |
| "id": "d7EmQ3RtDqmAw7o5", | |
| "name": "Mi Airtable Yael videos animados" | |
| } | |
| } | |
| }, | |
| { | |
| "parameters": { | |
| "operation": "upsert", | |
| "base": { | |
| "__rl": true, | |
| "value": "app7WZvGP1pqriF4f", | |
| "mode": "id" | |
| }, | |
| "table": { | |
| "__rl": true, | |
| "value": "Scenes", | |
| "mode": "id" | |
| }, | |
| "columns": { | |
| "mappingMode": "defineBelow", | |
| "value": { | |
| "scene_video": "= [ { \"url\": \"{{ $json.data.response.resultUrls[0] }}\" } ]", | |
| "video done": true, | |
| "id": "={{ $('Get Scenes1').item.json.id }}" | |
| }, | |
| "matchingColumns": [ | |
| "id" | |
| ], | |
| "schema": [ | |
| { | |
| "id": "id", | |
| "displayName": "id", | |
| "required": false, | |
| "defaultMatch": true, | |
| "display": true, | |
| "type": "string", | |
| "readOnly": true, | |
| "removed": false | |
| }, | |
| { | |
| "id": "execution_id", | |
| "displayName": "execution_id", | |
| "required": false, | |
| "defaultMatch": false, | |
| "canBeUsedToMatch": true, | |
| "display": true, | |
| "type": "number", | |
| "readOnly": false, | |
| "removed": true | |
| }, | |
| { | |
| "id": "Project Name", | |
| "displayName": "Project Name", | |
| "required": false, | |
| "defaultMatch": false, | |
| "canBeUsedToMatch": true, | |
| "display": true, | |
| "type": "string", | |
| "readOnly": false, | |
| "removed": false | |
| }, | |
| { | |
| "id": "scene", | |
| "displayName": "scene", | |
| "required": false, | |
| "defaultMatch": false, | |
| "canBeUsedToMatch": true, | |
| "display": true, | |
| "type": "string", | |
| "readOnly": false, | |
| "removed": true | |
| }, | |
| { | |
| "id": "start_image_prompt", | |
| "displayName": "start_image_prompt", | |
| "required": false, | |
| "defaultMatch": false, | |
| "canBeUsedToMatch": true, | |
| "display": true, | |
| "type": "string", | |
| "readOnly": false, | |
| "removed": true | |
| }, | |
| { | |
| "id": "end_image_prompt", | |
| "displayName": "end_image_prompt", | |
| "required": false, | |
| "defaultMatch": false, | |
| "canBeUsedToMatch": true, | |
| "display": true, | |
| "type": "string", | |
| "readOnly": false, | |
| "removed": true | |
| }, | |
| { | |
| "id": "transition_prompt", | |
| "displayName": "transition_prompt", | |
| "required": false, | |
| "defaultMatch": false, | |
| "canBeUsedToMatch": true, | |
| "display": true, | |
| "type": "string", | |
| "readOnly": false, | |
| "removed": true | |
| }, | |
| { | |
| "id": "prompt done", | |
| "displayName": "prompt done", | |
| "required": false, | |
| "defaultMatch": false, | |
| "canBeUsedToMatch": true, | |
| "display": true, | |
| "type": "boolean", | |
| "readOnly": false, | |
| "removed": true | |
| }, | |
| { | |
| "id": "start_image", | |
| "displayName": "start_image", | |
| "required": false, | |
| "defaultMatch": false, | |
| "canBeUsedToMatch": true, | |
| "display": true, | |
| "type": "array", | |
| "readOnly": false, | |
| "removed": true | |
| }, | |
| { | |
| "id": "end_image", | |
| "displayName": "end_image", | |
| "required": false, | |
| "defaultMatch": false, | |
| "canBeUsedToMatch": true, | |
| "display": true, | |
| "type": "array", | |
| "readOnly": false, | |
| "removed": true | |
| }, | |
| { | |
| "id": "image done", | |
| "displayName": "image done", | |
| "required": false, | |
| "defaultMatch": false, | |
| "canBeUsedToMatch": true, | |
| "display": true, | |
| "type": "boolean", | |
| "readOnly": false, | |
| "removed": true | |
| }, | |
| { | |
| "id": "scene_video", | |
| "displayName": "scene_video", | |
| "required": false, | |
| "defaultMatch": false, | |
| "canBeUsedToMatch": true, | |
| "display": true, | |
| "type": "array", | |
| "readOnly": false, | |
| "removed": false | |
| }, | |
| { | |
| "id": "video done", | |
| "displayName": "video done", | |
| "required": false, | |
| "defaultMatch": false, | |
| "canBeUsedToMatch": true, | |
| "display": true, | |
| "type": "boolean", | |
| "readOnly": false, | |
| "removed": false | |
| } | |
| ], | |
| "attemptToConvertTypes": false, | |
| "convertFieldsToString": false | |
| }, | |
| "options": {} | |
| }, | |
| "type": "n8n-nodes-base.airtable", | |
| "typeVersion": 2.1, | |
| "position": [ | |
| 1728, | |
| 816 | |
| ], | |
| "id": "9bf8b56a-2abe-4ef4-81f4-78ffb978ffd4", | |
| "name": "Log Videos", | |
| "credentials": { | |
| "airtableTokenApi": { | |
| "id": "d7EmQ3RtDqmAw7o5", | |
| "name": "Mi Airtable Yael videos animados" | |
| } | |
| } | |
| }, | |
| { | |
| "parameters": { | |
| "operation": "search", | |
| "base": { | |
| "__rl": true, | |
| "value": "app7WZvGP1pqriF4f", | |
| "mode": "id" | |
| }, | |
| "table": { | |
| "__rl": true, | |
| "value": "Scenes", | |
| "mode": "id" | |
| }, | |
| "filterByFormula": "=AND({image done} = 1, {video done} = 0)", | |
| "options": {}, | |
| "sort": { | |
| "property": [ | |
| { | |
| "field": "scene" | |
| } | |
| ] | |
| } | |
| }, | |
| "type": "n8n-nodes-base.airtable", | |
| "typeVersion": 2.1, | |
| "position": [ | |
| 544, | |
| 832 | |
| ], | |
| "id": "d11114cb-99f8-4850-8c4d-1090cdf025fa", | |
| "name": "Get Scenes1", | |
| "credentials": { | |
| "airtableTokenApi": { | |
| "id": "d7EmQ3RtDqmAw7o5", | |
| "name": "Mi Airtable Yael videos animados" | |
| } | |
| } | |
| }, | |
| { | |
| "parameters": { | |
| "method": "POST", | |
| "url": "https://api.kie.ai/api/v1/generate", | |
| "authentication": "genericCredentialType", | |
| "genericAuthType": "httpBearerAuth", | |
| "sendBody": true, | |
| "specifyBody": "json", | |
| "jsonBody": "={\n \"model\": \"V5\",\n \"customMode\": true,\n \"instrumental\": false,\n \"callBackUrl\": \"https://api.example.com/callback\",\n \"title\": \"Cancion Frutas\",\n \"style\": {{ JSON.stringify($json['music prompt']) }},\n \"prompt\": {{ JSON.stringify($json['music letra']) }}\n}", | |
| "options": {} | |
| }, | |
| "type": "n8n-nodes-base.httpRequest", | |
| "typeVersion": 4.2, | |
| "position": [ | |
| 768, | |
| 1120 | |
| ], | |
| "id": "0b9cd99b-7ac2-4435-983c-cdf4f4784f3c", | |
| "name": "Create Songs", | |
| "credentials": { | |
| "httpBearerAuth": { | |
| "id": "ebYtrOXvHCxweNfa", | |
| "name": "Bearer Auth account 3" | |
| } | |
| } | |
| }, | |
| { | |
| "parameters": { | |
| "url": "https://api.kie.ai/api/v1/generate/record-info", | |
| "authentication": "genericCredentialType", | |
| "genericAuthType": "httpBearerAuth", | |
| "sendQuery": true, | |
| "queryParameters": { | |
| "parameters": [ | |
| { | |
| "name": "taskId", | |
| "value": "={{ $('Create Songs').item.json.data.taskId }}" | |
| } | |
| ] | |
| }, | |
| "options": {} | |
| }, | |
| "type": "n8n-nodes-base.httpRequest", | |
| "typeVersion": 4.2, | |
| "position": [ | |
| 1216, | |
| 1120 | |
| ], | |
| "id": "9a1f5c24-64d4-4981-9fb7-07becb4c4625", | |
| "name": "Get Songs", | |
| "alwaysOutputData": false, | |
| "retryOnFail": false, | |
| "waitBetweenTries": 5000, | |
| "credentials": { | |
| "httpBearerAuth": { | |
| "id": "ebYtrOXvHCxweNfa", | |
| "name": "Bearer Auth account 3" | |
| } | |
| } | |
| }, | |
| { | |
| "parameters": { | |
| "amount": 10 | |
| }, | |
| "type": "n8n-nodes-base.wait", | |
| "typeVersion": 1.1, | |
| "position": [ | |
| 992, | |
| 1120 | |
| ], | |
| "id": "b9cf7ab0-8362-40e4-93dc-285eebac5c87", | |
| "name": "Wait1", | |
| "webhookId": "67057e4c-be87-4359-a9ec-54fd13d99747" | |
| }, | |
| { | |
| "parameters": { | |
| "rules": { | |
| "values": [ | |
| { | |
| "conditions": { | |
| "options": { | |
| "caseSensitive": true, | |
| "leftValue": "", | |
| "typeValidation": "strict", | |
| "version": 2 | |
| }, | |
| "conditions": [ | |
| { | |
| "leftValue": "={{ $json.data.status }}", | |
| "rightValue": "SUCCESS", | |
| "operator": { | |
| "type": "string", | |
| "operation": "equals" | |
| }, | |
| "id": "bf05a398-eb00-4e25-8de6-3ae7d10e69dd" | |
| } | |
| ], | |
| "combinator": "and" | |
| }, | |
| "renameOutput": true, | |
| "outputKey": "success" | |
| }, | |
| { | |
| "conditions": { | |
| "options": { | |
| "caseSensitive": true, | |
| "leftValue": "", | |
| "typeValidation": "strict", | |
| "version": 2 | |
| }, | |
| "conditions": [ | |
| { | |
| "id": "4686d0f8-4428-4d81-9c40-c9d56b69ab02", | |
| "leftValue": "={{ $json.data.status }}", | |
| "rightValue": "=(ING|_SUCCESS)", | |
| "operator": { | |
| "type": "string", | |
| "operation": "regex" | |
| } | |
| } | |
| ], | |
| "combinator": "and" | |
| }, | |
| "renameOutput": true, | |
| "outputKey": "in progress" | |
| } | |
| ] | |
| }, | |
| "options": {} | |
| }, | |
| "type": "n8n-nodes-base.switch", | |
| "typeVersion": 3.2, | |
| "position": [ | |
| 1440, | |
| 1120 | |
| ], | |
| "id": "807752d3-0bb5-4e61-b7ef-8e85df219887", | |
| "name": "Switch1" | |
| }, | |
| { | |
| "parameters": { | |
| "operation": "upsert", | |
| "base": { | |
| "__rl": true, | |
| "value": "app7WZvGP1pqriF4f", | |
| "mode": "id" | |
| }, | |
| "table": { | |
| "__rl": true, | |
| "value": "Project", | |
| "mode": "id" | |
| }, | |
| "columns": { | |
| "mappingMode": "defineBelow", | |
| "value": { | |
| "Project Name": "={{ $('Get Project2').item.json['Project Name'] }}", | |
| "music file 1": "=[\n {\n \"url\": \"{{ $('Get Songs').item.json.data.response.sunoData[0].audioUrl }}\"\n }\n]\n", | |
| "music file 2": "=[\n {\n \"url\": \"{{ $('Get Songs').item.json.data.response.sunoData[1].audioUrl }}\"\n }\n]\n" | |
| }, | |
| "matchingColumns": [ | |
| "Project Name" | |
| ], | |
| "schema": [ | |
| { | |
| "id": "id", | |
| "displayName": "id", | |
| "required": false, | |
| "defaultMatch": true, | |
| "display": true, | |
| "type": "string", | |
| "readOnly": true, | |
| "removed": true | |
| }, | |
| { | |
| "id": "Project Name", | |
| "displayName": "Project Name", | |
| "required": false, | |
| "defaultMatch": false, | |
| "canBeUsedToMatch": true, | |
| "display": true, | |
| "type": "string", | |
| "readOnly": false, | |
| "removed": false | |
| }, | |
| { | |
| "id": "Status", | |
| "displayName": "Status", | |
| "required": false, | |
| "defaultMatch": false, | |
| "canBeUsedToMatch": true, | |
| "display": true, | |
| "type": "options", | |
| "options": [ | |
| { | |
| "name": "Create", | |
| "value": "Create" | |
| }, | |
| { | |
| "name": "Done", | |
| "value": "Done" | |
| } | |
| ], | |
| "readOnly": false, | |
| "removed": true | |
| }, | |
| { | |
| "id": "Core Image", | |
| "displayName": "Core Image", | |
| "required": false, | |
| "defaultMatch": false, | |
| "canBeUsedToMatch": true, | |
| "display": true, | |
| "type": "array", | |
| "readOnly": false, | |
| "removed": true | |
| }, | |
| { | |
| "id": "Core Elements", | |
| "displayName": "Core Elements", | |
| "required": false, | |
| "defaultMatch": false, | |
| "canBeUsedToMatch": true, | |
| "display": true, | |
| "type": "array", | |
| "readOnly": false, | |
| "removed": true | |
| }, | |
| { | |
| "id": "Creative Direction", | |
| "displayName": "Creative Direction", | |
| "required": false, | |
| "defaultMatch": false, | |
| "canBeUsedToMatch": true, | |
| "display": true, | |
| "type": "string", | |
| "readOnly": false, | |
| "removed": true | |
| }, | |
| { | |
| "id": "music prompt", | |
| "displayName": "music prompt", | |
| "required": false, | |
| "defaultMatch": false, | |
| "canBeUsedToMatch": true, | |
| "display": true, | |
| "type": "string", | |
| "readOnly": false, | |
| "removed": true | |
| }, | |
| { | |
| "id": "script", | |
| "displayName": "script", | |
| "required": false, | |
| "defaultMatch": false, | |
| "canBeUsedToMatch": true, | |
| "display": true, | |
| "type": "string", | |
| "readOnly": false, | |
| "removed": true | |
| }, | |
| { | |
| "id": "music file 1", | |
| "displayName": "music file 1", | |
| "required": false, | |
| "defaultMatch": false, | |
| "canBeUsedToMatch": true, | |
| "display": true, | |
| "type": "array", | |
| "readOnly": false, | |
| "removed": false | |
| }, | |
| { | |
| "id": "music file 2", | |
| "displayName": "music file 2", | |
| "required": false, | |
| "defaultMatch": false, | |
| "canBeUsedToMatch": true, | |
| "display": true, | |
| "type": "array", | |
| "readOnly": false, | |
| "removed": false | |
| }, | |
| { | |
| "id": "voiceover file", | |
| "displayName": "voiceover file", | |
| "required": false, | |
| "defaultMatch": false, | |
| "canBeUsedToMatch": true, | |
| "display": true, | |
| "type": "array", | |
| "readOnly": false, | |
| "removed": true | |
| } | |
| ], | |
| "attemptToConvertTypes": false, | |
| "convertFieldsToString": false | |
| }, | |
| "options": {} | |
| }, | |
| "type": "n8n-nodes-base.airtable", | |
| "typeVersion": 2.1, | |
| "position": [ | |
| 1712, | |
| 1104 | |
| ], | |
| "id": "27422c25-7d5c-4598-a2f6-51efc8882c8e", | |
| "name": "Log Audio", | |
| "executeOnce": true, | |
| "credentials": { | |
| "airtableTokenApi": { | |
| "id": "d7EmQ3RtDqmAw7o5", | |
| "name": "Mi Airtable Yael videos animados" | |
| } | |
| } | |
| }, | |
| { | |
| "parameters": {}, | |
| "type": "@n8n/n8n-nodes-langchain.toolThink", | |
| "typeVersion": 1.1, | |
| "position": [ | |
| 1120, | |
| 96 | |
| ], | |
| "id": "7fb8d19b-df8e-4d9b-9d60-eecce115e0d0", | |
| "name": "Think" | |
| }, | |
| { | |
| "parameters": { | |
| "content": "# Liminal Archives - Horror Ambience\n", | |
| "height": 176, | |
| "width": 448, | |
| "color": 7 | |
| }, | |
| "type": "n8n-nodes-base.stickyNote", | |
| "typeVersion": 1, | |
| "position": [ | |
| 0, | |
| 0 | |
| ], | |
| "id": "38563c41-8c71-4d69-b105-a7a5d2e355cf", | |
| "name": "Sticky Note8" | |
| }, | |
| { | |
| "parameters": { | |
| "promptType": "define", | |
| "text": "=\nThe user's creative direction:\n{{ $('Get Project').item.json['Creative Direction'] }}\n\n\n***\n\n\nThe user's elements board:\n{{ $json.output[0].content[0].text }}", | |
| "options": { | |
| "systemMessage": "=IMPORTANT: Output ONLY raw JSON. Do not use markdown code blocks, no ```json, no ```. Just the pure JSON object starting with { and ending with }.\n \nYou are a creative director for a horror/liminal space ambient YouTube channel called \"Liminal Archives\". \n\nGenerate a complete horror ambient video concept in JSON format with EXACTLY these fields:\n\n{\n \"title\": \"YouTube title with SEO keywords (include duration like '3 Hours', 'Dark Ambient', etc.)\",\n \"lyrics\": \"Describe the ambient soundscape in detail - what sounds are heard throughout the video, the atmosphere, the feeling. Write it as a narrative description.\",\n \"music_style_prompt\": \"English prompt for music generation. Dark ambient, drone, atmospheric. Include BPM, Hz frequencies, instruments, mood.\",\n \"scenes\": [\n {\n \"scene\": 1,\n \"scene_title\": \"Scene title\",\n \"starting_image_prompt\": \"Detailed image generation prompt in English for the opening frame\",\n \"ending_image_prompt\": \"Detailed image generation prompt in English for the closing frame\",\n \"transition_prompt\": \"How the camera moves between start and end frame\"\n }\n ]\n}\n\nGenerate exactly 8 scenes. All image prompts must be in English. Style: liminal space, photorealistic, eerie, 1990s aesthetic." | |
| } | |
| }, | |
| "type": "@n8n/n8n-nodes-langchain.agent", | |
| "typeVersion": 3, | |
| "position": [ | |
| 1056, | |
| 208 | |
| ], | |
| "id": "728f8011-9bcd-4c7e-ae7d-b3844e874471", | |
| "name": "AI Agent" | |
| }, | |
| { | |
| "parameters": { | |
| "rule": { | |
| "interval": [ | |
| {} | |
| ] | |
| } | |
| }, | |
| "type": "n8n-nodes-base.scheduleTrigger", | |
| "typeVersion": 1.3, | |
| "position": [ | |
| 320, | |
| 528 | |
| ], | |
| "id": "ac4e5ae1-4fa8-4ce1-9127-9742e892117c", | |
| "name": "IMAGENES" | |
| }, | |
| { | |
| "parameters": { | |
| "rule": { | |
| "interval": [ | |
| {} | |
| ] | |
| } | |
| }, | |
| "type": "n8n-nodes-base.scheduleTrigger", | |
| "typeVersion": 1.3, | |
| "position": [ | |
| 320, | |
| 1120 | |
| ], | |
| "id": "17a4711f-775c-439e-adac-04caf3c1f02f", | |
| "name": "MUSICA" | |
| }, | |
| { | |
| "parameters": { | |
| "content": "## OUTPUT", | |
| "height": 1360, | |
| "width": 246, | |
| "color": 7 | |
| }, | |
| "type": "n8n-nodes-base.stickyNote", | |
| "typeVersion": 1, | |
| "position": [ | |
| 1664, | |
| 16 | |
| ], | |
| "id": "fef275d1-a8e2-4836-8030-04616824b614", | |
| "name": "Sticky Note5" | |
| }, | |
| { | |
| "parameters": { | |
| "content": "## INPUT", | |
| "height": 1392, | |
| "color": 7 | |
| }, | |
| "type": "n8n-nodes-base.stickyNote", | |
| "typeVersion": 1, | |
| "position": [ | |
| 480, | |
| 0 | |
| ], | |
| "id": "bf210c9f-c901-43d5-af57-dee9eb7d38aa", | |
| "name": "Sticky Note4" | |
| }, | |
| { | |
| "parameters": { | |
| "conditions": { | |
| "options": { | |
| "caseSensitive": true, | |
| "leftValue": "", | |
| "typeValidation": "strict", | |
| "version": 3 | |
| }, | |
| "conditions": [ | |
| { | |
| "id": "e14f10cf-5e64-48ee-9d51-05382ed115d8", | |
| "leftValue": "={{ $json['image done'] }}", | |
| "rightValue": true, | |
| "operator": { | |
| "type": "boolean", | |
| "operation": "notEquals" | |
| } | |
| } | |
| ], | |
| "combinator": "and" | |
| }, | |
| "options": {} | |
| }, | |
| "type": "n8n-nodes-base.filter", | |
| "typeVersion": 2.3, | |
| "position": [ | |
| 800, | |
| 528 | |
| ], | |
| "id": "14263b96-5257-49d2-9c7e-6207d6a6fd71", | |
| "name": "Filter" | |
| }, | |
| { | |
| "parameters": { | |
| "operation": "search", | |
| "base": { | |
| "__rl": true, | |
| "value": "app7WZvGP1pqriF4f", | |
| "mode": "id" | |
| }, | |
| "table": { | |
| "__rl": true, | |
| "value": "Project", | |
| "mode": "id" | |
| }, | |
| "filterByFormula": "{Status} = \"Create\"", | |
| "returnAll": false, | |
| "limit": 1, | |
| "options": {} | |
| }, | |
| "type": "n8n-nodes-base.airtable", | |
| "typeVersion": 2.1, | |
| "position": [ | |
| 1968, | |
| 528 | |
| ], | |
| "id": "1916acb7-48a2-4f00-a791-287208f793cb", | |
| "name": "Get Project4", | |
| "credentials": { | |
| "airtableTokenApi": { | |
| "id": "d7EmQ3RtDqmAw7o5", | |
| "name": "Mi Airtable Yael videos animados" | |
| } | |
| } | |
| }, | |
| { | |
| "parameters": { | |
| "operation": "upsert", | |
| "base": { | |
| "__rl": true, | |
| "value": "app7WZvGP1pqriF4f", | |
| "mode": "id" | |
| }, | |
| "table": { | |
| "__rl": true, | |
| "value": "tblYiND5DkrZhIlLq", | |
| "mode": "list", | |
| "cachedResultName": "Project", | |
| "cachedResultUrl": "https://airtable.com/app7WZvGP1pqriF4f/tblYiND5DkrZhIlLq" | |
| }, | |
| "columns": { | |
| "mappingMode": "defineBelow", | |
| "value": {}, | |
| "matchingColumns": [ | |
| "id" | |
| ], | |
| "schema": [ | |
| { | |
| "id": "id", | |
| "displayName": "id", | |
| "required": false, | |
| "defaultMatch": true, | |
| "display": true, | |
| "type": "string", | |
| "readOnly": true, | |
| "removed": false | |
| }, | |
| { | |
| "id": "Project Name", | |
| "displayName": "Project Name", | |
| "required": false, | |
| "defaultMatch": false, | |
| "canBeUsedToMatch": true, | |
| "display": true, | |
| "type": "string", | |
| "readOnly": false, | |
| "removed": false | |
| }, | |
| { | |
| "id": "Status", | |
| "displayName": "Status", | |
| "required": false, | |
| "defaultMatch": false, | |
| "canBeUsedToMatch": true, | |
| "display": true, | |
| "type": "options", | |
| "options": [ | |
| { | |
| "name": "Create", | |
| "value": "Create" | |
| }, | |
| { | |
| "name": "Done", | |
| "value": "Done" | |
| }, | |
| { | |
| "name": "Skip", | |
| "value": "Skip" | |
| } | |
| ], | |
| "readOnly": false, | |
| "removed": false | |
| }, | |
| { | |
| "id": "Core Image", | |
| "displayName": "Core Image", | |
| "required": false, | |
| "defaultMatch": false, | |
| "canBeUsedToMatch": true, | |
| "display": true, | |
| "type": "array", | |
| "readOnly": false, | |
| "removed": false | |
| }, | |
| { | |
| "id": "Core Elements", | |
| "displayName": "Core Elements", | |
| "required": false, | |
| "defaultMatch": false, | |
| "canBeUsedToMatch": true, | |
| "display": true, | |
| "type": "array", | |
| "readOnly": false, | |
| "removed": false | |
| }, | |
| { | |
| "id": "Creative Direction", | |
| "displayName": "Creative Direction", | |
| "required": false, | |
| "defaultMatch": false, | |
| "canBeUsedToMatch": true, | |
| "display": true, | |
| "type": "string", | |
| "readOnly": false, | |
| "removed": false | |
| }, | |
| { | |
| "id": "music prompt", | |
| "displayName": "music prompt", | |
| "required": false, | |
| "defaultMatch": false, | |
| "canBeUsedToMatch": true, | |
| "display": true, | |
| "type": "string", | |
| "readOnly": false, | |
| "removed": false | |
| }, | |
| { | |
| "id": "music letra", | |
| "displayName": "music letra", | |
| "required": false, | |
| "defaultMatch": false, | |
| "canBeUsedToMatch": true, | |
| "display": true, | |
| "type": "string", | |
| "readOnly": false, | |
| "removed": false | |
| }, | |
| { | |
| "id": "titulo_youtube", | |
| "displayName": "titulo_youtube", | |
| "required": false, | |
| "defaultMatch": false, | |
| "canBeUsedToMatch": true, | |
| "display": true, | |
| "type": "string", | |
| "readOnly": false, | |
| "removed": false | |
| }, | |
| { | |
| "id": "prompt_thumbnail", | |
| "displayName": "prompt_thumbnail", | |
| "required": false, | |
| "defaultMatch": false, | |
| "canBeUsedToMatch": true, | |
| "display": true, | |
| "type": "string", | |
| "readOnly": false, | |
| "removed": false | |
| }, | |
| { | |
| "id": "descripcion_youtube", | |
| "displayName": "descripcion_youtube", | |
| "required": false, | |
| "defaultMatch": false, | |
| "canBeUsedToMatch": true, | |
| "display": true, | |
| "type": "string", | |
| "readOnly": false, | |
| "removed": false | |
| }, | |
| { | |
| "id": "music file 1", | |
| "displayName": "music file 1", | |
| "required": false, | |
| "defaultMatch": false, | |
| "canBeUsedToMatch": true, | |
| "display": true, | |
| "type": "array", | |
| "readOnly": false, | |
| "removed": false | |
| }, | |
| { | |
| "id": "music file 2", | |
| "displayName": "music file 2", | |
| "required": false, | |
| "defaultMatch": false, | |
| "canBeUsedToMatch": true, | |
| "display": true, | |
| "type": "array", | |
| "readOnly": false, | |
| "removed": false | |
| }, | |
| { | |
| "id": "thumbnail", | |
| "displayName": "thumbnail", | |
| "required": false, | |
| "defaultMatch": false, | |
| "canBeUsedToMatch": true, | |
| "display": true, | |
| "type": "array", | |
| "readOnly": false, | |
| "removed": false | |
| } | |
| ], | |
| "attemptToConvertTypes": false, | |
| "convertFieldsToString": false | |
| }, | |
| "options": {} | |
| }, | |
| "type": "n8n-nodes-base.airtable", | |
| "typeVersion": 2.1, | |
| "position": [ | |
| 2416, | |
| 528 | |
| ], | |
| "id": "0d8e6264-ccd1-490f-b9e5-e261ebd35f67", | |
| "name": "Log Images1", | |
| "credentials": { | |
| "airtableTokenApi": { | |
| "id": "d7EmQ3RtDqmAw7o5", | |
| "name": "Mi Airtable Yael videos animados" | |
| } | |
| } | |
| }, | |
| { | |
| "parameters": { | |
| "content": " ## YOUTUBE\n", | |
| "height": 304, | |
| "width": 656, | |
| "color": 6 | |
| }, | |
| "type": "n8n-nodes-base.stickyNote", | |
| "typeVersion": 1, | |
| "position": [ | |
| 1920, | |
| 432 | |
| ], | |
| "id": "c85cece5-fc0d-4c97-b3cf-d18a5153e15f", | |
| "name": "Sticky Note9" | |
| }, | |
| { | |
| "parameters": { | |
| "method": "POST", | |
| "url": "https://api.wavespeed.ai/api/v3/google/nano-banana-pro/edit", | |
| "authentication": "genericCredentialType", | |
| "genericAuthType": "httpBearerAuth", | |
| "sendBody": true, | |
| "specifyBody": "json", | |
| "jsonBody": "={\n \"aspect_ratio\": \"16:9\",\n \"enable_base64_output\": false,\n \"enable_sync_mode\": true,\n \"output_format\": \"png\",\n \"prompt\": \"{{$json.prompt_thumbnail.replace(/\\\"/g, '\\\\\\\"')}}\",\n \"resolution\": \"2k\",\n \"images\": [\n \"{{$json['Core Elements'][0].url}}\",\n \"{{$json['Core Image'][0].url}}\"\n ]\n}\n", | |
| "options": { | |
| "batching": { | |
| "batch": { | |
| "batchSize": 1, | |
| "batchInterval": 2000 | |
| } | |
| } | |
| } | |
| }, | |
| "type": "n8n-nodes-base.httpRequest", | |
| "typeVersion": 4.2, | |
| "position": [ | |
| 2192, | |
| 528 | |
| ], | |
| "id": "986d2f43-270b-4b7f-91af-c5674aed0d96", | |
| "name": "Generador Thumbnail", | |
| "credentials": { | |
| "httpBearerAuth": { | |
| "id": "nY3MM5Pbmr4HfJbF", | |
| "name": "Bearer Auth account 2" | |
| } | |
| } | |
| }, | |
| { | |
| "parameters": { | |
| "resource": "image", | |
| "operation": "analyze", | |
| "modelId": { | |
| "__rl": true, | |
| "value": "models/gemini-3-pro-preview", | |
| "mode": "list", | |
| "cachedResultName": "models/gemini-3-pro-preview" | |
| }, | |
| "text": "Please look at this image and describe it in detail. What is shown in the character section, the setting section? Explain what you see in each part detailed so the image can be fully translated into text.", | |
| "imageUrls": "={{ $json['Core Image'][0].url }}", | |
| "options": {} | |
| }, | |
| "type": "@n8n/n8n-nodes-langchain.googleGemini", | |
| "typeVersion": 1.1, | |
| "position": [ | |
| 800, | |
| 208 | |
| ], | |
| "id": "5b445494-ee1f-4c9e-a43c-e607b2e250df", | |
| "name": "Analyze an image", | |
| "credentials": { | |
| "googlePalmApi": { | |
| "id": "dxQAeCDz3u6ejtGe", | |
| "name": "Google Gemini(PaLM) Api account" | |
| } | |
| } | |
| }, | |
| { | |
| "parameters": { | |
| "model": "google/gemini-2.0-flash-001", | |
| "options": {} | |
| }, | |
| "type": "@n8n/n8n-nodes-langchain.lmChatOpenRouter", | |
| "typeVersion": 1, | |
| "position": [ | |
| 976, | |
| 96 | |
| ], | |
| "id": "a2a58925-3b8b-47dd-870c-4964eaf51bc1", | |
| "name": "Model", | |
| "credentials": { | |
| "openRouterApi": { | |
| "id": "REVNA08pZPxrF9A9", | |
| "name": "OpenRouter account" | |
| } | |
| } | |
| }, | |
| { | |
| "parameters": { | |
| "jsCode": "const text = $input.first().json.output;\nconst cleaned = text.replace(/```json\\n?/g, '').replace(/```\\n?/g, '').trim();\nconst data = JSON.parse(cleaned);\n\nreturn data.scenes.map(scene => ({ \n json: { \n ...scene, \n project_title: data.title,\n music_style_prompt: data.music_style_prompt,\n lyrics: data.lyrics\n } \n}));" | |
| }, | |
| "type": "n8n-nodes-base.code", | |
| "typeVersion": 2, | |
| "position": [ | |
| 1408, | |
| 208 | |
| ], | |
| "id": "61c0742e-0220-48c6-843e-905b70cd41d7", | |
| "name": "Code in JavaScript" | |
| } | |
| ], | |
| "pinData": {}, | |
| "connections": { | |
| "Split Out": { | |
| "main": [ | |
| [] | |
| ] | |
| }, | |
| "Wait": { | |
| "main": [ | |
| [ | |
| { | |
| "node": "Get Video 🔻", | |
| "type": "main", | |
| "index": 0 | |
| } | |
| ] | |
| ] | |
| }, | |
| "Switch": { | |
| "main": [ | |
| [ | |
| { | |
| "node": "Log Videos", | |
| "type": "main", | |
| "index": 0 | |
| } | |
| ], | |
| [ | |
| { | |
| "node": "Wait", | |
| "type": "main", | |
| "index": 0 | |
| } | |
| ] | |
| ] | |
| }, | |
| "VIDEOS": { | |
| "main": [ | |
| [ | |
| { | |
| "node": "Get Scenes1", | |
| "type": "main", | |
| "index": 0 | |
| } | |
| ] | |
| ] | |
| }, | |
| "PROMPTS": { | |
| "main": [ | |
| [ | |
| { | |
| "node": "Get Project", | |
| "type": "main", | |
| "index": 0 | |
| } | |
| ] | |
| ] | |
| }, | |
| "Get Project1": { | |
| "main": [ | |
| [ | |
| { | |
| "node": "Get Scenes", | |
| "type": "main", | |
| "index": 0 | |
| } | |
| ] | |
| ] | |
| }, | |
| "Get Scenes": { | |
| "main": [ | |
| [ | |
| { | |
| "node": "Filter", | |
| "type": "main", | |
| "index": 0 | |
| } | |
| ] | |
| ] | |
| }, | |
| "Get Project": { | |
| "main": [ | |
| [ | |
| { | |
| "node": "Analyze an image", | |
| "type": "main", | |
| "index": 0 | |
| } | |
| ] | |
| ] | |
| }, | |
| "Create Video 🔻": { | |
| "main": [ | |
| [ | |
| { | |
| "node": "Wait", | |
| "type": "main", | |
| "index": 0 | |
| } | |
| ] | |
| ] | |
| }, | |
| "Get Video 🔻": { | |
| "main": [ | |
| [ | |
| { | |
| "node": "Switch", | |
| "type": "main", | |
| "index": 0 | |
| } | |
| ] | |
| ] | |
| }, | |
| "Start frame 🍌": { | |
| "main": [ | |
| [ | |
| { | |
| "node": "End frame 🍌", | |
| "type": "main", | |
| "index": 0 | |
| } | |
| ] | |
| ] | |
| }, | |
| "End frame 🍌": { | |
| "main": [ | |
| [ | |
| { | |
| "node": "Log Images", | |
| "type": "main", | |
| "index": 0 | |
| } | |
| ] | |
| ] | |
| }, | |
| "Log Visual Prompts": { | |
| "main": [ | |
| [ | |
| { | |
| "node": "Log Audio Prompts", | |
| "type": "main", | |
| "index": 0 | |
| } | |
| ] | |
| ] | |
| }, | |
| "Get Scenes1": { | |
| "main": [ | |
| [ | |
| { | |
| "node": "Create Video 🔻", | |
| "type": "main", | |
| "index": 0 | |
| } | |
| ] | |
| ] | |
| }, | |
| "Create Songs": { | |
| "main": [ | |
| [ | |
| { | |
| "node": "Wait1", | |
| "type": "main", | |
| "index": 0 | |
| } | |
| ] | |
| ] | |
| }, | |
| "Get Songs": { | |
| "main": [ | |
| [ | |
| { | |
| "node": "Switch1", | |
| "type": "main", | |
| "index": 0 | |
| } | |
| ] | |
| ] | |
| }, | |
| "Wait1": { | |
| "main": [ | |
| [ | |
| { | |
| "node": "Get Songs", | |
| "type": "main", | |
| "index": 0 | |
| } | |
| ] | |
| ] | |
| }, | |
| "Switch1": { | |
| "main": [ | |
| [ | |
| { | |
| "node": "Log Audio", | |
| "type": "main", | |
| "index": 0 | |
| } | |
| ], | |
| [ | |
| { | |
| "node": "Wait1", | |
| "type": "main", | |
| "index": 0 | |
| } | |
| ] | |
| ] | |
| }, | |
| "Get Project2": { | |
| "main": [ | |
| [ | |
| { | |
| "node": "Create Songs", | |
| "type": "main", | |
| "index": 0 | |
| } | |
| ] | |
| ] | |
| }, | |
| "Think": { | |
| "ai_tool": [ | |
| [ | |
| { | |
| "node": "AI Agent", | |
| "type": "ai_tool", | |
| "index": 0 | |
| } | |
| ] | |
| ] | |
| }, | |
| "AI Agent": { | |
| "main": [ | |
| [ | |
| { | |
| "node": "Code in JavaScript", | |
| "type": "main", | |
| "index": 0 | |
| } | |
| ] | |
| ] | |
| }, | |
| "IMAGENES": { | |
| "main": [ | |
| [ | |
| { | |
| "node": "Get Project1", | |
| "type": "main", | |
| "index": 0 | |
| } | |
| ] | |
| ] | |
| }, | |
| "MUSICA": { | |
| "main": [ | |
| [ | |
| { | |
| "node": "Get Project2", | |
| "type": "main", | |
| "index": 0 | |
| } | |
| ] | |
| ] | |
| }, | |
| "Filter": { | |
| "main": [ | |
| [ | |
| { | |
| "node": "Start frame 🍌", | |
| "type": "main", | |
| "index": 0 | |
| } | |
| ] | |
| ] | |
| }, | |
| "Log Images": { | |
| "main": [ | |
| [ | |
| { | |
| "node": "Get Project4", | |
| "type": "main", | |
| "index": 0 | |
| } | |
| ] | |
| ] | |
| }, | |
| "Get Project4": { | |
| "main": [ | |
| [ | |
| { | |
| "node": "Generador Thumbnail", | |
| "type": "main", | |
| "index": 0 | |
| } | |
| ] | |
| ] | |
| }, | |
| "Generador Thumbnail": { | |
| "main": [ | |
| [ | |
| { | |
| "node": "Log Images1", | |
| "type": "main", | |
| "index": 0 | |
| } | |
| ] | |
| ] | |
| }, | |
| "Analyze an image": { | |
| "main": [ | |
| [ | |
| { | |
| "node": "AI Agent", | |
| "type": "main", | |
| "index": 0 | |
| } | |
| ] | |
| ] | |
| }, | |
| "Model": { | |
| "ai_languageModel": [ | |
| [ | |
| { | |
| "node": "AI Agent", | |
| "type": "ai_languageModel", | |
| "index": 0 | |
| } | |
| ] | |
| ] | |
| }, | |
| "Code in JavaScript": { | |
| "main": [ | |
| [ | |
| { | |
| "node": "Log Visual Prompts", | |
| "type": "main", | |
| "index": 0 | |
| } | |
| ] | |
| ] | |
| } | |
| }, | |
| "active": true, | |
| "settings": { | |
| "executionOrder": "v1", | |
| "binaryMode": "separate", | |
| "availableInMCP": false | |
| }, | |
| "versionId": "f9b92ac1-8d2e-49c0-ac9d-08b9c51bef31", | |
| "meta": { | |
| "templateCredsSetupCompleted": true, | |
| "instanceId": "f20d63e261b09e705f1634edce7ab9b9dc303014324f78f6af3a41ef58bc5531" | |
| }, | |
| "id": "LGVybMkMgcs4P95J", | |
| "tags": [] | |
| } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment