- Get link
- X
- Other Apps
- Get link
- X
- Other Apps
Generate Videos with AI, ElevenLabs, PIAPI, Shotstack/Creatomate & Post to YouTube
Overview
This workflow automates the entire process of generating videos using AI text generation, converting narration with ElevenLabs, assembling scenes with PIAPI and Shotstack or Creatomate, and finally posting the finished video to YouTube with metadata. You can control the full pipeline through an automated system that handles script creation, voice generation, asset rendering, and YouTube upload scheduling.
AI Script & Voice Generation
The workflow begins by generating the video script using an AI text model. The generated script is then sent to ElevenLabs to produce a natural, high-quality voiceover. The resulting audio file is stored for later use in video composition.
Visual Assets & Scene Creation
Images, clips, transitions, and overlays are prepared using AI or uploaded assets. The workflow collects these elements and prepares a detailed scene structure that Shotstack or Creatomate will use to assemble the full video.
Video Rendering with PIAPI + Shotstack/Creatomate
The workflow submits all scenes, audio, timing, and visual assets to PIAPI, Shotstack, or Creatomate to render the final video. Once rendering is complete, the system retrieves the final video file and prepares it for publishing.
YouTube Upload & Metadata Automation
The final step uploads the completed video to YouTube using the YouTube Data API. Titles, descriptions, tags, timestamps, and thumbnails can be generated automatically with AI. The workflow also supports scheduled publishing and automated playlists.
{
"nodes": [
{
"parameters": {
"rule": {
"interval": [
{}
]
}
},
"id": "165f7356-423d-44d8-b57a-d0da1af413cd",
"name": "Schedule Trigger",
"type": "n8n-nodes-base.scheduleTrigger",
"position": [
-1600,
208
],
"typeVersion": 1
},
{
"parameters": {},
"id": "846598b4-11e0-4dcc-82fb-f483a1d5c95f",
"name": "Parse Ideas",
"type": "n8n-nodes-base.code",
"position": [
-1040,
208
],
"typeVersion": 1,
"alwaysOutputData": true
},
{
"parameters": {
"options": {}
},
"id": "91d1dcc3-3c57-4134-8b4a-13d2e9e911d3",
"name": "Generate Script",
"type": "@n8n/n8n-nodes-langchain.agent",
"position": [
-480,
208
],
"typeVersion": 1.9
},
{
"parameters": {
"model": {
"__rl": true,
"mode": "list",
"value": "gpt-4.1-mini"
},
"options": {}
},
"id": "90e7401b-3e1e-49b2-ac37-45d5db80fe3a",
"name": "OpenAI Chat Model1",
"type": "@n8n/n8n-nodes-langchain.lmChatOpenAi",
"position": [
-480,
432
],
"typeVersion": 1.2
},
{
"parameters": {
"model": {
"__rl": true,
"mode": "list",
"value": "gpt-4.1-mini"
},
"options": {}
},
"id": "db9724a1-be68-4119-b072-6343d30c1d89",
"name": "OpenAI Chat Model",
"type": "@n8n/n8n-nodes-langchain.lmChatOpenAi",
"position": [
-1392,
416
],
"typeVersion": 1.2
},
{
"parameters": {
"base": {
"__rl": true,
"mode": "list",
"value": ""
},
"table": {
"__rl": true,
"mode": "list",
"value": ""
},
"options": {}
},
"id": "3520ae81-95db-403d-b388-0fd314c50d17",
"name": "searchAirtable",
"type": "n8n-nodes-base.airtableTool",
"position": [
-1216,
416
],
"typeVersion": 2.1
},
{
"parameters": {
"documentId": {
"__rl": true,
"mode": "list",
"value": ""
},
"sheetName": {
"__rl": true,
"mode": "list",
"value": ""
}
},
"id": "c5dabf47-61a1-4fde-ad16-dc16bfadb4ea",
"name": "Add Ideas",
"type": "n8n-nodes-base.googleSheets",
"position": [
-832,
208
],
"executeOnce": true,
"typeVersion": 4.5,
"alwaysOutputData": true
},
{
"parameters": {
"options": {}
},
"id": "74338f81-a85c-47b0-a191-5fc7fa7d12d9",
"name": "Generate Idea",
"type": "@n8n/n8n-nodes-langchain.agent",
"position": [
-1392,
208
],
"typeVersion": 1.9
},
{
"parameters": {
"base": {
"__rl": true,
"mode": "list",
"value": ""
},
"table": {
"__rl": true,
"mode": "list",
"value": ""
},
"options": {}
},
"id": "651bc693-9fc6-436f-85ce-ddd6ee0ec1ef",
"name": "Store in Airtable",
"type": "n8n-nodes-base.airtable",
"position": [
-656,
208
],
"typeVersion": 2.1
},
{
"parameters": {},
"id": "dbbcbdf5-1bae-40b1-8931-f88b44a7b57b",
"name": "Structured Output Parser",
"type": "@n8n/n8n-nodes-langchain.outputParserStructured",
"position": [
-304,
432
],
"typeVersion": 1.2
},
{
"parameters": {
"documentId": {
"__rl": true,
"mode": "list",
"value": ""
},
"sheetName": {
"__rl": true,
"mode": "list",
"value": ""
}
},
"id": "abbfdccd-daed-482f-8b55-f542383b2740",
"name": "Store Script",
"type": "n8n-nodes-base.googleSheets",
"position": [
-1440,
848
],
"typeVersion": 4.5
},
{
"parameters": {
"base": {
"__rl": true,
"mode": "list",
"value": ""
},
"table": {
"__rl": true,
"mode": "list",
"value": ""
},
"options": {}
},
"id": "dde62f63-cb62-4d61-8858-f676ff607aa0",
"name": "Store Script in Airtable",
"type": "n8n-nodes-base.airtable",
"position": [
-1280,
768
],
"typeVersion": 2.1
},
{
"parameters": {},
"id": "b2215e00-c827-4df4-8306-6cd24789d788",
"name": "Parse Script Output",
"type": "n8n-nodes-base.code",
"position": [
-1600,
848
],
"typeVersion": 2
},
{
"parameters": {
"base": {
"__rl": true,
"mode": "list",
"value": ""
},
"table": {
"__rl": true,
"mode": "list",
"value": ""
},
"options": {}
},
"id": "b4248674-f3e0-4e11-924d-e1fefe071558",
"name": "Update Status Ideas Table",
"type": "n8n-nodes-base.airtable",
"position": [
-960,
848
],
"typeVersion": 2.1
},
{
"parameters": {
"documentId": {
"__rl": true,
"mode": "list",
"value": ""
},
"sheetName": {
"__rl": true,
"mode": "list",
"value": ""
}
},
"id": "e74c3b55-b0f9-4f4c-8344-c85701bb0280",
"name": "Updated Idea to Scripted",
"type": "n8n-nodes-base.googleSheets",
"position": [
-1136,
848
],
"typeVersion": 4.5
},
{
"parameters": {},
"id": "31319d26-ed4d-4277-a5bb-190752c9e02f",
"name": "Extract Scenes",
"type": "n8n-nodes-base.code",
"position": [
-800,
848
],
"typeVersion": 2
},
{
"parameters": {
"options": {}
},
"id": "379bdb6d-9efb-4058-9265-8fe86f083d14",
"name": "Text-to-Image",
"type": "n8n-nodes-base.httpRequest",
"position": [
-112,
672
],
"typeVersion": 4.2
},
{
"parameters": {},
"id": "1742d114-7852-43e1-a89f-d930be013abe",
"name": "Wait for 4 Min",
"type": "n8n-nodes-base.wait",
"position": [
48,
672
],
"webhookId": "2319783c-b9b5-4771-b6c7-1c4f85c5e364",
"typeVersion": 1.1
},
{
"parameters": {
"base": {
"__rl": true,
"mode": "list",
"value": ""
},
"table": {
"__rl": true,
"mode": "list",
"value": ""
},
"options": {}
},
"id": "8bc769a6-b4ca-4f7f-82cc-be4b4615587f",
"name": "Store Image Urls in Airtable",
"type": "n8n-nodes-base.airtable",
"position": [
880,
608
],
"typeVersion": 2.1
},
{
"parameters": {
"options": {}
},
"id": "95bba7b7-3fff-48b9-8885-e9c83430d921",
"name": "Get Images",
"type": "n8n-nodes-base.httpRequest",
"position": [
208,
672
],
"typeVersion": 4.2
},
{
"parameters": {},
"id": "2b7a9abe-17bb-450b-b02f-aa4934178b5c",
"name": "Get ImageUrls",
"type": "n8n-nodes-base.code",
"position": [
-80,
960
],
"typeVersion": 2
},
{
"parameters": {},
"id": "3a71cf13-bf36-4143-bb14-21a685771caa",
"name": "Scene Image Urls",
"type": "n8n-nodes-base.code",
"position": [
80,
960
],
"typeVersion": 2
},
{
"parameters": {},
"id": "893ebd60-1152-41ac-9e4e-00f03ee76d94",
"name": "Extract Narration",
"type": "n8n-nodes-base.code",
"position": [
1056,
672
],
"typeVersion": 2
},
{
"parameters": {
"options": {}
},
"id": "305ad15b-7f77-41f7-ad16-970bc270f1e9",
"name": "Voice Generation",
"type": "n8n-nodes-base.httpRequest",
"position": [
1200,
672
],
"typeVersion": 4.2
},
{
"parameters": {
"driveId": {
"__rl": true,
"mode": "list",
"value": "My Drive"
},
"folderId": {
"__rl": true,
"mode": "list",
"value": "root",
"cachedResultName": "/ (Root folder)"
},
"options": {}
},
"id": "191410e4-7c2e-44f1-8e2c-fe890af4f0d3",
"name": "Store Sound",
"type": "n8n-nodes-base.googleDrive",
"position": [
1568,
672
],
"typeVersion": 3
},
{
"parameters": {},
"id": "76734970-28bb-4dfc-bb4c-77688a4fff2f",
"name": "Wait 2 Min",
"type": "n8n-nodes-base.wait",
"position": [
1376,
672
],
"webhookId": "2fc60693-37f5-445c-ac74-69070cf1349b",
"typeVersion": 1.1
},
{
"parameters": {
"base": {
"__rl": true,
"mode": "list",
"value": ""
},
"table": {
"__rl": true,
"mode": "list",
"value": ""
},
"options": {}
},
"id": "d96626b7-f372-4bca-a0f9-f7704bfe351b",
"name": "Store Voice Urls",
"type": "n8n-nodes-base.airtable",
"position": [
1024,
496
],
"typeVersion": 2.1
},
{
"parameters": {},
"id": "82b99c05-a41c-4855-976f-3edf57aa7803",
"name": "Aggregating Voice Urls",
"type": "n8n-nodes-base.code",
"position": [
688,
496
],
"typeVersion": 2
},
{
"parameters": {
"documentId": {
"__rl": true,
"mode": "list",
"value": ""
},
"sheetName": {
"__rl": true,
"mode": "list",
"value": ""
}
},
"id": "76e39cfe-3fce-4845-abf7-978d5a4016b6",
"name": "Update VoiceUrls",
"type": "n8n-nodes-base.googleSheets",
"position": [
864,
496
],
"typeVersion": 4.5
},
{
"parameters": {
"documentId": {
"__rl": true,
"mode": "list",
"value": ""
},
"sheetName": {
"__rl": true,
"mode": "list",
"value": ""
}
},
"id": "c7045bc0-2218-4877-9f07-3f3ea0728c81",
"name": "Update ImageUrls",
"type": "n8n-nodes-base.googleSheets",
"position": [
688,
672
],
"typeVersion": 4.5,
"alwaysOutputData": true
},
{
"parameters": {},
"id": "2782afc4-05c2-412d-85fb-e5d1acd94426",
"name": "Prepare Video Assets",
"type": "n8n-nodes-base.code",
"position": [
704,
960
],
"typeVersion": 2,
"alwaysOutputData": true
},
{
"parameters": {},
"id": "2fb1d4b6-d640-4b35-93dc-70af88f9e770",
"name": "Wait 5 Min",
"type": "n8n-nodes-base.wait",
"position": [
1264,
960
],
"webhookId": "e34850a6-fc5c-475b-97e8-3a68064ecd4f",
"typeVersion": 1.1
},
{
"parameters": {
"driveId": {
"__rl": true,
"mode": "list",
"value": "My Drive"
},
"folderId": {
"__rl": true,
"mode": "list",
"value": "root",
"cachedResultName": "/ (Root folder)"
},
"options": {}
},
"id": "9358b26e-56ab-468f-9214-1a9db5821910",
"name": "Allow Access",
"type": "n8n-nodes-base.googleDrive",
"position": [
1760,
672
],
"typeVersion": 3
},
{
"parameters": {
"options": {}
},
"id": "316065eb-e999-4643-a08d-8b70c40fc9db",
"name": "ShotStack Render Video",
"type": "n8n-nodes-base.httpRequest",
"position": [
1104,
960
],
"typeVersion": 4.2
},
{
"parameters": {},
"id": "3eeb13d2-9a6c-4394-864d-532d8cc215da",
"name": "Build Shotstack Timeline",
"type": "n8n-nodes-base.code",
"position": [
896,
960
],
"typeVersion": 2
},
{
"parameters": {
"options": {}
},
"id": "2cab90b0-ff05-481f-accf-52ca3e356967",
"name": "Download video",
"type": "n8n-nodes-base.httpRequest",
"position": [
1920,
960
],
"typeVersion": 4.2
},
{
"parameters": {
"driveId": {
"__rl": true,
"mode": "list",
"value": "My Drive"
},
"folderId": {
"__rl": true,
"mode": "list",
"value": "root",
"cachedResultName": "/ (Root folder)"
},
"options": {}
},
"id": "0cc516ff-beb0-41d8-8f82-5636c8bf8e35",
"name": "Store video",
"type": "n8n-nodes-base.googleDrive",
"position": [
2080,
960
],
"typeVersion": 3
},
{
"parameters": {},
"id": "ae297fa7-d809-499f-b373-136b2f2411ec",
"name": "Limit",
"type": "n8n-nodes-base.limit",
"position": [
-1600,
1200
],
"typeVersion": 1
},
{
"parameters": {},
"id": "8cabea67-a81c-4371-a7d1-b99e34724b1c",
"name": "2 Min Wait",
"type": "n8n-nodes-base.wait",
"position": [
-1120,
1200
],
"webhookId": "50f8e100-8e26-4f5a-967e-a55caee1273b",
"typeVersion": 1.1
},
{
"parameters": {
"options": {}
},
"id": "0120ba48-682e-41d8-bee5-bb12a2667f2b",
"name": "Generate Music Prompt",
"type": "@n8n/n8n-nodes-langchain.agent",
"position": [
-624,
848
],
"typeVersion": 1.9
},
{
"parameters": {
"model": {
"__rl": true,
"mode": "list",
"value": "gpt-4.1-mini"
},
"options": {}
},
"id": "a9036eea-4ad9-482f-9608-da87e0510e30",
"name": "OpenAI Chat Model2",
"type": "@n8n/n8n-nodes-langchain.lmChatOpenAi",
"position": [
-656,
1040
],
"typeVersion": 1.2
},
{
"parameters": {
"options": {}
},
"id": "4ef46e42-375f-47be-a51f-7b14092c5cac",
"name": "MusicPrompt",
"type": "n8n-nodes-base.set",
"position": [
-304,
848
],
"typeVersion": 3.4
},
{
"parameters": {
"options": {}
},
"id": "d2cf2d09-4388-401f-87d1-183f2b1ee971",
"name": "Text toMusic",
"type": "n8n-nodes-base.httpRequest",
"position": [
-1280,
1200
],
"typeVersion": 4.2
},
{
"parameters": {
"driveId": {
"__rl": true,
"mode": "list",
"value": "My Drive"
},
"folderId": {
"__rl": true,
"mode": "list",
"value": "root",
"cachedResultName": "/ (Root folder)"
},
"options": {}
},
"id": "0d7556b5-e836-4f2c-a917-eaa1c84d977a",
"name": "Music Store",
"type": "n8n-nodes-base.googleDrive",
"position": [
-944,
1200
],
"typeVersion": 3
},
{
"parameters": {
"driveId": {
"__rl": true,
"mode": "list",
"value": "My Drive"
},
"folderId": {
"__rl": true,
"mode": "list",
"value": "root",
"cachedResultName": "/ (Root folder)"
},
"options": {}
},
"id": "706f3fee-1b5b-4303-802b-c5cfc6eacb08",
"name": "Access to Anyone with Link",
"type": "n8n-nodes-base.googleDrive",
"position": [
-736,
1200
],
"typeVersion": 3
},
{
"parameters": {
"base": {
"__rl": true,
"mode": "list",
"value": ""
},
"table": {
"__rl": true,
"mode": "list",
"value": ""
},
"options": {}
},
"id": "bb805eaf-eb4e-4a39-a40c-45e071981207",
"name": "Store Music Urls",
"type": "n8n-nodes-base.airtable",
"position": [
-304,
1280
],
"typeVersion": 2.1
},
{
"parameters": {},
"id": "22ad2ecb-bf1c-430d-8293-ded2f510ac2a",
"name": "Add Aggregate Music URLs",
"type": "n8n-nodes-base.code",
"position": [
-560,
1200
],
"typeVersion": 2
},
{
"parameters": {},
"id": "1f8aa41d-6313-4551-8cf3-c2619bacc3bd",
"name": "Parse Music Prompts",
"type": "n8n-nodes-base.code",
"position": [
-1440,
1200
],
"typeVersion": 2
},
{
"parameters": {},
"id": "470e2e72-5c9d-4987-84a3-f6281a331b33",
"name": "Merge",
"type": "n8n-nodes-base.merge",
"position": [
448,
960
],
"typeVersion": 3.1
},
{
"parameters": {
"options": {}
},
"id": "df07f38a-0425-45fd-8349-235173c55783",
"name": "Poll Rendered Videos",
"type": "n8n-nodes-base.httpRequest",
"position": [
1408,
960
],
"typeVersion": 4.2
},
{
"parameters": {
"base": {
"__rl": true,
"mode": "list",
"value": ""
},
"table": {
"__rl": true,
"mode": "list",
"value": ""
},
"options": {}
},
"id": "778bffc3-d01d-46b4-9022-a7aaf8ef4dd6",
"name": "Final Video",
"type": "n8n-nodes-base.airtable",
"position": [
1584,
960
],
"typeVersion": 2.1
},
{
"parameters": {},
"id": "c619df55-0f87-4a0c-b403-de7777f30d45",
"name": "Wait for Render",
"type": "n8n-nodes-base.wait",
"position": [
1040,
1936
],
"webhookId": "ed710d73-6a8d-4e29-b338-70ba84bb6de2",
"typeVersion": 1.1
},
{
"parameters": {
"options": {}
},
"id": "bddb121d-e2bf-4579-84da-1d78e831e3b4",
"name": "Get Final Video",
"type": "n8n-nodes-base.httpRequest",
"position": [
1200,
1936
],
"typeVersion": 4.2
},
{
"parameters": {
"rules": {
"values": [
{
"conditions": {
"options": {
"caseSensitive": true,
"leftValue": "",
"typeValidation": "strict"
},
"conditions": [
{
"leftValue": "",
"rightValue": "",
"operator": {
"type": "string",
"operation": "equals"
}
}
],
"combinator": "and"
}
}
]
},
"options": {}
},
"id": "a9ba60f8-0c03-4192-8d0e-da690f1068e9",
"name": "Check Video Status",
"type": "n8n-nodes-base.switch",
"position": [
1360,
1936
],
"typeVersion": 3.2,
"alwaysOutputData": true
},
{
"parameters": {
"options": {}
},
"id": "a7325b6c-12d8-4a43-ad56-12b1fdebe658",
"name": "Video Creatomate",
"type": "n8n-nodes-base.httpRequest",
"position": [
848,
1936
],
"typeVersion": 4.2
},
{
"parameters": {},
"id": "551b7354-70ce-4174-ae23-b2299f20858a",
"name": "Prepare Assets For Creatomate",
"type": "n8n-nodes-base.code",
"position": [
816,
1760
],
"typeVersion": 2,
"alwaysOutputData": true,
"disabled": true
},
{
"parameters": {},
"id": "980d928b-0872-4660-b782-8e35df286a63",
"name": "List Elements",
"type": "n8n-nodes-base.code",
"position": [
976,
1776
],
"typeVersion": 2
},
{
"parameters": {
"options": {}
},
"id": "3fe4a8f0-a92e-4fcc-a4ba-52b047c4f2c8",
"name": "Download Binary",
"type": "n8n-nodes-base.httpRequest",
"position": [
1568,
1920
],
"typeVersion": 4.2
},
{
"parameters": {
"driveId": {
"__rl": true,
"mode": "list",
"value": "My Drive"
},
"folderId": {
"__rl": true,
"mode": "list",
"value": "root",
"cachedResultName": "/ (Root folder)"
},
"options": {}
},
"id": "3fbe058e-ed23-46ee-8cea-31030c0881d5",
"name": "Final Creatomate Video",
"type": "n8n-nodes-base.googleDrive",
"position": [
1744,
1920
],
"typeVersion": 3
},
{
"parameters": {
"options": {}
},
"id": "4af8e7e9-aebb-4399-8ef2-09b6f7d16daf",
"name": "Youtube Video Created",
"type": "n8n-nodes-base.gmail",
"position": [
1920,
1920
],
"webhookId": "b2f823fa-ff6b-4cf2-915e-0b9e66663233",
"typeVersion": 2.1
},
{
"parameters": {
"options": {}
},
"id": "0bb9d2b1-55a2-43a7-9290-4b415d5dc2fc",
"name": "Failed Creation",
"type": "n8n-nodes-base.gmail",
"position": [
1696,
2048
],
"webhookId": "5bc7c656-a0d4-4abb-a0ab-15bbbd9fba0f",
"typeVersion": 2.1
},
{
"parameters": {
"documentId": {
"__rl": true,
"mode": "list",
"value": ""
},
"sheetName": {
"__rl": true,
"mode": "list",
"value": ""
}
},
"id": "c78d105a-9cdc-4b4e-8611-aa3f50bee11a",
"name": "Final Video Update",
"type": "n8n-nodes-base.googleSheets",
"position": [
1760,
960
],
"typeVersion": 4.5,
"alwaysOutputData": true
},
{
"parameters": {
"base": {
"__rl": true,
"mode": "list",
"value": ""
},
"table": {
"__rl": true,
"mode": "list",
"value": ""
},
"options": {}
},
"id": "5fbe3aa3-03d9-4e8f-bc14-4e6bc0646f55",
"name": "Final Video Creatomate",
"type": "n8n-nodes-base.airtable",
"position": [
2064,
1920
],
"typeVersion": 2.1
},
{
"parameters": {
"documentId": {
"__rl": true,
"mode": "list",
"value": ""
},
"sheetName": {
"__rl": true,
"mode": "list",
"value": ""
}
},
"id": "f23f9aee-e312-4c9f-a8e3-fa19f168fc99",
"name": "Creatomate Final Video",
"type": "n8n-nodes-base.googleSheets",
"position": [
2064,
2096
],
"typeVersion": 4.5
},
{
"parameters": {
"documentId": {
"__rl": true,
"mode": "list",
"value": ""
},
"sheetName": {
"__rl": true,
"mode": "list",
"value": ""
}
},
"id": "a0007588-7b62-4af0-92c1-e20b617bd728",
"name": "Music Urls",
"type": "n8n-nodes-base.googleSheets",
"position": [
-304,
1072
],
"typeVersion": 4.5
},
{
"parameters": {
"options": {}
},
"id": "fc548443-d6d8-4fc4-9e4b-1b3254da9769",
"name": "Download Video",
"type": "n8n-nodes-base.httpRequest",
"position": [
736,
272
],
"typeVersion": 4.2
},
{
"parameters": {
"filters": {},
"options": {}
},
"id": "90155c24-3f50-49bf-b8e8-5750a61e777d",
"name": "Post YouTube",
"type": "n8n-nodes-base.youTube",
"position": [
928,
208
],
"typeVersion": 1
},
{
"parameters": {
"base": {
"__rl": true,
"mode": "list",
"value": ""
},
"table": {
"__rl": true,
"mode": "list",
"value": ""
},
"options": {}
},
"id": "f1ba59e1-ff47-4a94-90fc-939f8b121971",
"name": "Search for Latest Ready Video",
"type": "n8n-nodes-base.airtable",
"position": [
256,
208
],
"typeVersion": 2.1
},
{
"parameters": {
"documentId": {
"__rl": true,
"mode": "list",
"value": ""
},
"sheetName": {
"__rl": true,
"mode": "list",
"value": ""
}
},
"id": "9f6a4208-c23c-4950-ab6a-721265a01dfb",
"name": "Update Pepduction Table",
"type": "n8n-nodes-base.googleSheets",
"position": [
736,
80
],
"typeVersion": 4.5
},
{
"parameters": {},
"id": "5c5e5595-0316-410a-a9f8-6bf82d59c801",
"name": "If Ready?",
"type": "n8n-nodes-base.if",
"position": [
464,
208
],
"typeVersion": 1
},
{
"parameters": {
"rule": {
"interval": [
{}
]
}
},
"id": "3b5d7352-955d-4105-8a50-00d269443b62",
"name": "Schedule Trigger1",
"type": "n8n-nodes-base.scheduleTrigger",
"position": [
64,
208
],
"typeVersion": 1
}
],
"connections": {
"Schedule Trigger": {
"main": [
[
{
"node": "Generate Idea",
"type": "main",
"index": 0
}
]
]
},
"Parse Ideas": {
"main": [
[
{
"node": "Add Ideas",
"type": "main",
"index": 0
}
]
]
},
"Generate Script": {
"main": [
[
{
"node": "Parse Script Output",
"type": "main",
"index": 0
}
]
]
},
"OpenAI Chat Model1": {
"ai_languageModel": [
[
{
"node": "Generate Script",
"type": "ai_languageModel",
"index": 0
}
]
]
},
"OpenAI Chat Model": {
"ai_languageModel": [
[
{
"node": "Generate Idea",
"type": "ai_languageModel",
"index": 0
}
]
]
},
"searchAirtable": {
"ai_tool": [
[
{
"node": "Generate Idea",
"type": "ai_tool",
"index": 0
}
]
]
},
"Add Ideas": {
"main": [
[
{
"node": "Store in Airtable",
"type": "main",
"index": 0
}
]
]
},
"Generate Idea": {
"main": [
[
{
"node": "Parse Ideas",
"type": "main",
"index": 0
}
]
]
},
"Store in Airtable": {
"main": [
[
{
"node": "Generate Script",
"type": "main",
"index": 0
}
]
]
},
"Store Script": {
"main": [
[
{
"node": "Store Script in Airtable",
"type": "main",
"index": 0
}
]
]
},
"Store Script in Airtable": {
"main": [
[
{
"node": "Updated Idea to Scripted",
"type": "main",
"index": 0
}
]
]
},
"Parse Script Output": {
"main": [
[
{
"node": "Store Script",
"type": "main",
"index": 0
}
]
]
},
"Update Status Ideas Table": {
"main": [
[
{
"node": "Extract Scenes",
"type": "main",
"index": 0
}
]
]
},
"Updated Idea to Scripted": {
"main": [
[
{
"node": "Update Status Ideas Table",
"type": "main",
"index": 0
}
]
]
},
"Extract Scenes": {
"main": [
[
{
"node": "Generate Music Prompt",
"type": "main",
"index": 0
},
{
"node": "Text-to-Image",
"type": "main",
"index": 0
}
]
]
},
"Text-to-Image": {
"main": [
[
{
"node": "Wait for 4 Min",
"type": "main",
"index": 0
}
]
]
},
"Wait for 4 Min": {
"main": [
[
{
"node": "Get Images",
"type": "main",
"index": 0
}
]
]
},
"Get Images": {
"main": [
[
{
"node": "Get ImageUrls",
"type": "main",
"index": 0
}
]
]
},
"Get ImageUrls": {
"main": [
[
{
"node": "Scene Image Urls",
"type": "main",
"index": 0
}
]
]
},
"Scene Image Urls": {
"main": [
[
{
"node": "Update ImageUrls",
"type": "main",
"index": 0
},
{
"node": "Merge",
"type": "main",
"index": 1
}
]
]
},
"Extract Narration": {
"main": [
[
{
"node": "Voice Generation",
"type": "main",
"index": 0
}
]
]
},
"Voice Generation": {
"main": [
[
{
"node": "Wait 2 Min",
"type": "main",
"index": 0
}
]
]
},
"Store Sound": {
"main": [
[
{
"node": "Allow Access",
"type": "main",
"index": 0
},
{
"node": "Aggregating Voice Urls",
"type": "main",
"index": 0
}
]
]
},
"Wait 2 Min": {
"main": [
[
{
"node": "Store Sound",
"type": "main",
"index": 0
}
]
]
},
"Aggregating Voice Urls": {
"main": [
[
{
"node": "Update VoiceUrls",
"type": "main",
"index": 0
},
{
"node": "Merge",
"type": "main",
"index": 0
}
]
]
},
"Update VoiceUrls": {
"main": [
[
{
"node": "Store Voice Urls",
"type": "main",
"index": 0
}
]
]
},
"Update ImageUrls": {
"main": [
[
{
"node": "Store Image Urls in Airtable",
"type": "main",
"index": 0
},
{
"node": "Extract Narration",
"type": "main",
"index": 0
}
]
]
},
"Prepare Video Assets": {
"main": [
[
{
"node": "Build Shotstack Timeline",
"type": "main",
"index": 0
}
]
]
},
"Wait 5 Min": {
"main": [
[
{
"node": "Poll Rendered Videos",
"type": "main",
"index": 0
}
]
]
},
"ShotStack Render Video": {
"main": [
[
{
"node": "Wait 5 Min",
"type": "main",
"index": 0
}
]
]
},
"Build Shotstack Timeline": {
"main": [
[
{
"node": "ShotStack Render Video",
"type": "main",
"index": 0
}
]
]
},
"Download video": {
"main": [
[
{
"node": "Store video",
"type": "main",
"index": 0
}
]
]
},
"Limit": {
"main": [
[
{
"node": "Parse Music Prompts",
"type": "main",
"index": 0
}
]
]
},
"2 Min Wait": {
"main": [
[
{
"node": "Music Store",
"type": "main",
"index": 0
}
]
]
},
"Generate Music Prompt": {
"main": [
[
{
"node": "MusicPrompt",
"type": "main",
"index": 0
}
]
]
},
"OpenAI Chat Model2": {
"ai_languageModel": [
[
{
"node": "Generate Music Prompt",
"type": "ai_languageModel",
"index": 0
}
]
]
},
"MusicPrompt": {
"main": [
[
{
"node": "Limit",
"type": "main",
"index": 0
}
]
]
},
"Text toMusic": {
"main": [
[
{
"node": "2 Min Wait",
"type": "main",
"index": 0
}
]
]
},
"Music Store": {
"main": [
[
{
"node": "Access to Anyone with Link",
"type": "main",
"index": 0
},
{
"node": "Add Aggregate Music URLs",
"type": "main",
"index": 0
}
]
]
},
"Store Music Urls": {
"main": [
[
{
"node": "Music Urls",
"type": "main",
"index": 0
}
]
]
},
"Add Aggregate Music URLs": {
"main": [
[
{
"node": "Store Music Urls",
"type": "main",
"index": 0
}
]
]
},
"Parse Music Prompts": {
"main": [
[
{
"node": "Text toMusic",
"type": "main",
"index": 0
}
]
]
},
"Merge": {
"main": [
[
{
"node": "Prepare Video Assets",
"type": "main",
"index": 0
}
]
]
},
"Poll Rendered Videos": {
"main": [
[
{
"node": "Final Video",
"type": "main",
"index": 0
}
]
]
},
"Final Video": {
"main": [
[
{
"node": "Final Video Update",
"type": "main",
"index": 0
}
]
]
},
"Wait for Render": {
"main": [
[
{
"node": "Get Final Video",
"type": "main",
"index": 0
}
]
]
},
"Get Final Video": {
"main": [
[
{
"node": "Check Video Status",
"type": "main",
"index": 0
}
]
]
},
"Check Video Status": {
"main": [
[
{
"node": "Download Binary",
"type": "main",
"index": 0
}
]
]
},
"Video Creatomate": {
"main": [
[
{
"node": "Wait for Render",
"type": "main",
"index": 0
}
]
]
},
"Prepare Assets For Creatomate": {
"main": [
[
{
"node": "List Elements",
"type": "main",
"index": 0
}
]
]
},
"List Elements": {
"main": [
[
{
"node": "Video Creatomate",
"type": "main",
"index": 0
}
]
]
},
"Download Binary": {
"main": [
[
{
"node": "Final Creatomate Video",
"type": "main",
"index": 0
}
]
]
},
"Final Creatomate Video": {
"main": [
[
{
"node": "Youtube Video Created",
"type": "main",
"index": 0
}
]
]
},
"Youtube Video Created": {
"main": [
[
{
"node": "Final Video Creatomate",
"type": "main",
"index": 0
}
]
]
},
"Final Video Update": {
"main": [
[
{
"node": "Download video",
"type": "main",
"index": 0
}
]
]
},
"Final Video Creatomate": {
"main": [
[
{
"node": "Creatomate Final Video",
"type": "main",
"index": 0
}
]
]
},
"Music Urls": {
"main": [
[
{
"node": "Text-to-Image",
"type": "main",
"index": 0
}
]
]
},
"Download Video": {
"main": [
[
{
"node": "Post YouTube",
"type": "main",
"index": 0
}
]
]
},
"Search for Latest Ready Video": {
"main": [
[
{
"node": "If Ready?",
"type": "main",
"index": 0
}
]
]
},
"If Ready?": {
"main": [
[
{
"node": "Download Video",
"type": "main",
"index": 0
},
{
"node": "Update Pepduction Table",
"type": "main",
"index": 0
}
]
]
},
"Schedule Trigger1": {
"main": [
[
{
"node": "Search for Latest Ready Video",
"type": "main",
"index": 0
}
]
]
}
},
"pinData": {},
"meta": {
"instanceId": "2274c68041d300ecc6864e1a0304ccbea5c58b6fd7dd807fc67cdc60cf760a8c"
}
}

Comments
Post a Comment