Đây là một workflow hoàn chỉnh trên N8n, giúp bạn tạo video POV hoàn toàn tự động, từ lên ý tưởng, sản xuất nội dung đến đăng tải.

Lưu ý quan trọng:

  • Chi phí mỗi video chất lượng cao khi đăng tải khoảng 3 USD.
  • Bạn có thể tinh chỉnh prompts để đạt chất lượng mong muốn.
  • ElevenLabs giới hạn text prompts ở 450 ký tự, nếu vượt quá, workflow có thể bị lỗi và không chạy. Khi cần điều chỉnh, bạn nên kiểm tra kỹ để tránh phải khởi động lại, gây phát sinh chi phí.

👉 Workflow này giúp bạn tiết kiệm thời gian và tối ưu quá trình sản xuất video tự động hiệu quả!

Prompts để lấy ý tưởng video content


Give me {5} ideas for {famous people in Egypt history}

-----------------------------
## Role & Context:

Your output is always in a table format

You are an AI designed to generate viral POV video ideas in a structured table format. Your output should always be follow by this structure.

Columns

Id - Starts at 1 and increase by 1
idea - POV: {engaging scenario based on request, should be less than 13 words}. 
Caption - {short, viral - friendly caption}
production - always "For Production"
environment_prompt - {max 20 words scene descriptor}
publishing - always {pending}

### Guidelines
- id starts at 1 and increments by 1 for each row.
- idea:{ must start with "POV:" and describe an immersive, engaging, and potentially viral scenario. Idea should be based on the user’s theme or prompt }
- caption should be a short, eye-catching text optimized for virality.
- production is always set to "for production".
- environment_prompt is a concise, max 20-word description of the scene, time period, etc. This must always define the socio-economic context or the environment context, for example clarify whether the person whose POV we’re seeing is rich or poor.
- publishing is always "pending".

### Example Output:


| id | idea | caption | production | environment_prompt | publishing |
|----|------|---------|------------|--------------------|------------|
| 1  | POV: you wake up as a coal miner in Pennsylvania 1905 | POV caption | for production |  |
| 2  | POV: you realize you're the last person on Earth | The world is empty... |  |  |
| 3  | POV: you wake up in a medieval dungeon | Can you escape? | for production | Dark, stone walls, chains |

- Ensure **hyper-realistic detail** in descriptions (**pending**).
- **Example settings:** Post-apocalyptic abandoned city (**pending**).
- **Atmosphere & props:** Stone walls, chains (**pending**).

File excel:

API code để dán vào – tạo template video ở Creatomate.com

{
  "output_format": "mp4",
  "width": 1080,
  "height": 1920,
  "elements": [
    {
      "id": "80bbfec1-5564-443d-aa69-247eb0e5b808",
      "name": "Audio-1",
      "type": "audio",
      "track": 1,
      "time": 0,
      "source": "c994e134-998d-4755-9ce0-9f128c5ba3a2",
      "trim_duration": 5,
      "dynamic": true
    },
    {
      "id": "1eb98f6c-f45b-4219-9499-5df04064b2da",
      "name": "Audio-2",
      "type": "audio",
      "track": 1,
      "source": "c994e134-998d-4755-9ce0-9f128c5ba3a2",
      "trim_duration": 5,
      "dynamic": true
    },
    {
      "id": "ff903ae1-99e5-444d-b545-46f1b140ecba",
      "name": "Audio-3",
      "type": "audio",
      "track": 1,
      "source": "c994e134-998d-4755-9ce0-9f128c5ba3a2",
      "trim_duration": 5,
      "dynamic": true
    },
    {
      "id": "51834b3b-9622-449a-af43-70c6b3c0a803",
      "name": "Audio-4",
      "type": "audio",
      "track": 1,
      "source": "c994e134-998d-4755-9ce0-9f128c5ba3a2",
      "trim_duration": 5,
      "dynamic": true
    },
    {
      "id": "ebc36804-cdff-4a95-af46-21054296904a",
      "name": "Audio-5",
      "type": "audio",
      "track": 1,
      "source": "c994e134-998d-4755-9ce0-9f128c5ba3a2",
      "trim_duration": 5,
      "dynamic": true
    },
    {
      "id": "2cf9a19a-7cf1-4c6b-ba8a-048fe2167b58",
      "name": "Video-1",
      "type": "video",
      "track": 2,
      "time": 0,
      "duration": 5,
      "dynamic": true
    },
    {
      "id": "2c7da1e6-c090-4a31-b5a0-a4537e9dea5a",
      "name": "Video-2",
      "type": "video",
      "track": 2,
      "duration": 5,
      "source": "23b9827b-8424-4db7-8be0-dc17abdec21a",
      "clip": true,
      "dynamic": true
    },
    {
      "id": "87e27d0a-394f-4083-8cab-081049799f3b",
      "name": "Video-3",
      "type": "video",
      "track": 2,
      "duration": 5,
      "source": "23b9827b-8424-4db7-8be0-dc17abdec21a",
      "dynamic": true
    },
    {
      "id": "4bdc8871-a23d-4bab-86fa-0b104914da6b",
      "name": "Video-4",
      "type": "video",
      "track": 2,
      "duration": 5,
      "source": "23b9827b-8424-4db7-8be0-dc17abdec21a",
      "dynamic": true
    },
    {
      "id": "418ba636-f98e-4b48-a811-8b1c4d8312c4",
      "name": "Video-5",
      "type": "video",
      "track": 2,
      "duration": 5,
      "source": "23b9827b-8424-4db7-8be0-dc17abdec21a",
      "dynamic": true
    },
    {
      "id": "764ba14a-e91c-4018-95b8-70696d7bc11a",
      "name": "Text-1",
      "type": "text",
      "track": 3,
      "time": 0,
      "duration": 5,
      "x": "2.7527%",
      "y": "17.1734%",
      "width": "94.4945%",
      "height": "7.8041%",
      "x_anchor": "0%",
      "y_anchor": "0%",
      "x_alignment": "50%",
      "y_alignment": "50%",
      "text": "Going to the coal mine while getting bread",
      "font_family": "Oswald",
      "font_weight": "700",
      "font_size": "7 vmin",
      "background_color": "#1d1d1d",
      "fill_color": "#ffffff",
      "dynamic": true
    },
    {
      "id": "052c6152-4f35-4765-88ea-814fbfab8051",
      "name": "Text-2",
      "type": "text",
      "track": 3,
      "duration": 5,
      "x": "2.7527%",
      "y": "17.1734%",
      "width": "94.4945%",
      "height": "7.8041%",
      "x_anchor": "0%",
      "y_anchor": "0%",
      "x_alignment": "50%",
      "y_alignment": "50%",
      "text": "Going to the coal mine while getting bread",
      "font_family": "Oswald",
      "font_weight": "700",
      "font_size": "7 vmin",
      "background_color": "#1d1d1d",
      "fill_color": "#ffffff",
      "dynamic": true
    },
    {
      "id": "bc536091-0406-4077-abd4-7d9b1f897cdc",
      "name": "Text-3",
      "type": "text",
      "track": 3,
      "duration": 5,
      "x": "2.7527%",
      "y": "17.1734%",
      "width": "94.4945%",
      "height": "7.8041%",
      "x_anchor": "0%",
      "y_anchor": "0%",
      "x_alignment": "50%",
      "y_alignment": "50%",
      "text": "Going to the coal mine while getting bread",
      "font_family": "Oswald",
      "font_weight": "700",
      "font_size": "7 vmin",
      "background_color": "#1d1d1d",
      "fill_color": "#ffffff",
      "dynamic": true
    },
    {
      "id": "30fcb02f-d1f8-44f2-9b4e-2cfd0dd17847",
      "name": "Text-4",
      "type": "text",
      "track": 3,
      "duration": 5,
      "x": "2.7527%",
      "y": "17.1734%",
      "width": "94.4945%",
      "height": "7.8041%",
      "x_anchor": "0%",
      "y_anchor": "0%",
      "x_alignment": "50%",
      "y_alignment": "50%",
      "text": "Going to the coal mine while getting bread",
      "font_family": "Oswald",
      "font_weight": "700",
      "font_size": "7 vmin",
      "background_color": "#1d1d1d",
      "fill_color": "#ffffff",
      "dynamic": true
    },
    {
      "id": "d8ce5681-68b3-497c-82ac-3dada62bb589",
      "name": "Text-5",
      "type": "text",
      "track": 3,
      "duration": 5,
      "x": "2.7527%",
      "y": "17.1734%",
      "width": "94.4945%",
      "height": "7.8041%",
      "x_anchor": "0%",
      "y_anchor": "0%",
      "x_alignment": "50%",
      "y_alignment": "50%",
      "text": "Going to the coal mine while getting bread",
      "font_family": "Oswald",
      "font_weight": "700",
      "font_size": "7 vmin",
      "background_color": "#1d1d1d",
      "fill_color": "#ffffff",
      "dynamic": true
    }
  ]
}

Code Json trong n8n:

{
  "name": "POV youtube Automation",
  "nodes": [
    {
      "parameters": {
        "rule": {
          "interval": [
            {
              "field": "hours"
            }
          ]
        }
      },
      "type": "n8n-nodes-base.scheduleTrigger",
      "typeVersion": 1.2,
      "position": [
        -500,
        0
      ],
      "id": "362d7351-6359-46ec-a4fc-67271c9e60f7",
      "name": "Schedule Trigger"
    },
    {
      "parameters": {
        "documentId": {
          "__rl": true,
          "value": "1uWQ_j7qhnf609d2g7-pIUETEeCb4PogkjxaXP-AuoRU",
          "mode": "list",
          "cachedResultName": "POV Faceless Video Automation - AI Agent n8n",
          "cachedResultUrl": "https://docs.google.com/spreadsheets/d/1uWQ_j7qhnf609d2g7-pIUETEeCb4PogkjxaXP-AuoRU/edit?usp=drivesdk"
        },
        "sheetName": {
          "__rl": true,
          "value": "gid=0",
          "mode": "list",
          "cachedResultName": "Sheet1",
          "cachedResultUrl": "https://docs.google.com/spreadsheets/d/1uWQ_j7qhnf609d2g7-pIUETEeCb4PogkjxaXP-AuoRU/edit#gid=0"
        },
        "filtersUI": {
          "values": [
            {
              "lookupColumn": "Production",
              "lookupValue": "for production"
            }
          ]
        },
        "options": {
          "returnFirstMatch": true
        }
      },
      "type": "n8n-nodes-base.googleSheets",
      "typeVersion": 4.5,
      "position": [
        -280,
        0
      ],
      "id": "4ea250cd-714c-4785-9c26-1dda14b535f0",
      "name": "Google Sheets",
      "credentials": {
        "googleSheetsOAuth2Api": {
          "id": "UYEqODSlaBmtVIi4",
          "name": "Product email"
        }
      }
    },
    {
      "parameters": {
        "promptType": "define",
        "text": "={{ $json.Idea }}",
        "hasOutputParser": true,
        "messages": {
          "messageValues": [
            {
              "message": "=\n## Role & Context:\n\nYou are an advanced **prompt-generation AI** specializing in crafting **highly detailed and hyper-realistic POV (point of view) image prompt ideas**. Your task is to:\n\n-  **Generate concise, action-driven, immersive prompt ideas** that follow a **sequential narrative**, depicting a **\"day in the life\" experience** based on a given video topic.\n\n## Output Rules:\n- **Never include double quotes** in any output.\n- **Skip waking up from bed** – do not include this action.\n- **Do not include actions related to wearing clothing**.\n- **Do not include actions related to using feet**.\n- **Prioritize more sensational and unique scenes** for a given scenario rather than common daily actions.\n- The first output should be \"POV: You are a....\".\n- The next outputs after the first, must follow a logical sequence, covering a full day in life.\n\n## Guidelines for Output Generation:\n1. First-person perspective – Every output must make the viewer feel **fully immersed in the experience**.\n2. Use action-based verbs, such as: [**Gripping, running, reaching, holding, walking toward, stumbling, climbing, lifting, turning, stepping into**.]\n3. Use immersive keywords, such as: [**POV, GoPro-style, first-person view, point of view**.]\n4. Keep all outputs between 5 to 10 words long.\n5. All scenes must be hyper-realistic, high-quality, and cinematic, evoking **strong visual and emotional impact**.\n6. Never use double quotes in any output.\n7. All scenes must by hyper-realistic, high quality, and cinematic, evoking strong visual and emotional impact.\n8. Each set of prompts must follow a logical sequence, covering **a full day in the life** from morning to night, ensuring **narrative continuity**.\n9. Avoid introspection or vague descriptions – Focus on **physical actions and interactions** to build a **cohesive, immersive story**.\n---\n\n## **Example Prompts**\n\n### **Topic: A Peasant’s Day in Medieval Europe**\n- Pushing open a wooden cottage door  \n- Scooping water from a village well  \n- Kneeling to tie worn leather shoes  \n- Walking through a bustling market square  \n- Handing a silver coin to a merchant  \n- Carrying a sack of wheat up a hill  \n- Placing a candle by the bedside  \n\n### **Topic: A Cyberpunk Mercenary’s Routine**\n- Waking up to flickering neon ceiling lights  \n- Pushing aside tangled wires on a desk  \n- Scanning a wrist implant for mission updates  \n- Loading a plasma pistol in a dim alley  \n- Stepping onto a hover bike in the rain  \n- Swiping a keycard through a vault scanner  \n- Ducking behind cover as drones patrol ahead  \n- Hacking a neon-lit terminal with gloved fingers  \n- Collapsing onto a metal cot in exhaustion  \n\n### **Topic: A Soldier’s Day in World War I**\n- Wiping dirt from a battered helmet  \n- Climbing out of a damp trench at dawn  \n- Holding a rusted rifle with trembling hands  \n- Walking through thick fog past barbed wire  \n- Rushing toward an enemy bunker under fire  \n- Reloading behind sandbags as shells explode  \n- Bandaging a soldier’s wound with torn cloth  \n- Lighting a cigarette under a moonlit sky  \n- Resting against a wooden crate in the trenches  \n\nEach generated sequence tells a **visual story**, pulling the viewer into a **cohesive first-person experience from start to finish.**"
            }
          ]
        }
      },
      "type": "@n8n/n8n-nodes-langchain.chainLlm",
      "typeVersion": 1.5,
      "position": [
        -60,
        0
      ],
      "id": "37c3c89d-2ae6-448c-b0e5-9df52b66bb04",
      "name": "Basic LLM Chain"
    },
    {
      "parameters": {
        "model": {
          "__rl": true,
          "value": "gpt-4o-2024-11-20",
          "mode": "list",
          "cachedResultName": "gpt-4o-2024-11-20"
        },
        "options": {}
      },
      "type": "@n8n/n8n-nodes-langchain.lmChatOpenAi",
      "typeVersion": 1.2,
      "position": [
        -160,
        240
      ],
      "id": "d03c40dd-1d5b-4592-99a6-33cb83a1bc5e",
      "name": "OpenAI Chat Model",
      "credentials": {
        "openAiApi": {
          "id": "dcbTc0WvOYgvb32D",
          "name": "OpenAi account"
        }
      }
    },
    {
      "parameters": {
        "options": {
          "numberOfItems": 5
        }
      },
      "type": "@n8n/n8n-nodes-langchain.outputParserItemList",
      "typeVersion": 1,
      "position": [
        160,
        220
      ],
      "id": "64837eb6-d416-484a-9ec1-f39eea785003",
      "name": "Item List Output Parser"
    },
    {
      "parameters": {
        "content": "## Video Ideas & Brief\n",
        "height": 500,
        "width": 880
      },
      "type": "n8n-nodes-base.stickyNote",
      "typeVersion": 1,
      "position": [
        -540,
        -100
      ],
      "id": "cd18be57-0245-485b-a0b9-81cf4de14146",
      "name": "Sticky Note"
    },
    {
      "parameters": {
        "modelId": {
          "__rl": true,
          "value": "o3-mini-2025-01-31",
          "mode": "list",
          "cachedResultName": "O3-MINI-2025-01-31"
        },
        "messages": {
          "values": [
            {
              "content": "=## Role & Context\n\nYou are an advanced prompt-generation AI specializing in expanding short POV (point-of-view) image prompt ideas into detailed, hyper-realistic prompts optimized for image-generation models like Flux and MidJourney.  \n\nYour task is to take a brief input and transform it into a rich, cinematic, immersive prompt that strictly adheres to a first-person perspective, making the viewer feel as if they are physically present in the scene.\n\nThis is the Short prompt input to expand upon: [ {{ $json.response.text }}  ]\n \n\nEvery prompt must use this to describe the environment of the image:  [{{ $('Google Sheets').item.json.Environment_Prompt }} ]\n\n---\n\n## Prompt Structure\nEvery prompt must have two sections:\n\n1. Foreground:  Show and describe the **hands, limbs, or feet of the viewer**. You also must start with: **\"First person view POV GoPro shot of [relevant limb]...\"**\n\n2. Background: Describe the **scenery and environment**. You also must start with:  \"In the background, [describe scenery]\"\n\n---\n\n## Most Important Guidelines \n- Every image must be a **first-person perspective shot** – The viewer must feel like they are **experiencing the moment themselves**, not just observing it.\n- A visible limb (hands or feet) must always be present and actively engaged in the environment, for examples: gripping, reaching, pushing, lifting, or interacting in a natural way.\n- The framing must be dynamic and interactive, mimicking real-world human vision to ensure motion, depth & immersion similar to a GoPro or head-mounted camera shot.\n- Must limited to 450 characters\n\n### **Other Key Guidelines**\n- Full-body awareness: The prompt should subtly remind the viewer that they have a physical presence by mentioning sensations like: Weight shifting, Breath fogging in the cold, Fingers trembling from adrenaline\n- Sensory depth: The prompt should engage multiple senses to heighten realism (Sight, touch, temperature, sound, and even smell).\n- World interaction: The hands or feet should not just be present but actively interacting with the scene (examples: Clutching, adjusting, stepping forward, brushing against surfaces.)\n- Keep prompts under 450 characters in a single cinematic sentence, no extra formatting, explanations, or unnecessary output.\n\n---\n\n## **Example Prompts**\n### **Input:** Climbing a fire escape over neon streets  \n**Output:** *POV of gloved hands straining to pull up against the slick, rusted fire escape ladder, neon lights dancing in the puddles below, cold rain sliding down trembling fingers, distant sirens wailing as my breath fogs the damp air, a rooftop edge just within reach.*\n\n### **Input:** Reaching for a coffee in a bustling café  \n**Output:** *POV of my outstretched hand wrapping around a steaming mug, heat radiating through the ceramic, the barista’s tattooed arm extending the cup towards me, the chatter of morning rush echoing off tiled walls, sunlight catching floating dust as the rich aroma of espresso fills my breath.*\n\n### **Input:** Waking up in a medieval tavern  \n**Output:** *POV of my rough, calloused hands rubbing heavy eyes, the flickering candlelight warping shadows on wooden beams, my fingers tracing the sweat-soaked grooves of a tankard, the thick scent of ale and smoke clinging to the air, muffled laughter and the distant pluck of a lute stirring my senses awake.*\n"
            }
          ]
        },
        "options": {}
      },
      "type": "@n8n/n8n-nodes-langchain.openAi",
      "typeVersion": 1.8,
      "position": [
        540,
        -560
      ],
      "id": "84d8b61f-5279-4635-aa13-6af824e795f9",
      "name": "OpenAI",
      "credentials": {
        "openAiApi": {
          "id": "dcbTc0WvOYgvb32D",
          "name": "OpenAi account"
        }
      }
    },
    {
      "parameters": {
        "amount": 15
      },
      "type": "n8n-nodes-base.wait",
      "typeVersion": 1.1,
      "position": [
        760,
        -300
      ],
      "id": "f33c840b-c4ce-425b-82ef-3a1cd3c2a120",
      "name": "Wait",
      "webhookId": "e8a2b29e-7051-479d-a2dc-a7368be4de9a"
    },
    {
      "parameters": {
        "method": "POST",
        "url": "https://queue.fal.run/fal-ai/flux/dev",
        "sendHeaders": true,
        "headerParameters": {
          "parameters": [
            {
              "name": "Authorization",
              "value": "Key d5127c54-eddc-4a60-b7d8-028d9b8fc55d:c04784de32af5056ef84c12f15a506cd"
            }
          ]
        },
        "sendBody": true,
        "contentType": "raw",
        "rawContentType": "application/json",
        "body": "={\n     \"prompt\": \"{{ $json.message.content }}\",\n\"imagesize\":{\n\"width\": 540, \n\"height\": 960}\n   }",
        "options": {}
      },
      "type": "n8n-nodes-base.httpRequest",
      "typeVersion": 4.2,
      "position": [
        540,
        -300
      ],
      "id": "67d29dbb-a3b4-4f11-8a03-2103e8a45cc3",
      "name": "Tạo image qua Flux"
    },
    {
      "parameters": {
        "url": "=https://queue.fal.run/fal-ai/flux/requests/{{ $json.request_id }}",
        "sendHeaders": true,
        "headerParameters": {
          "parameters": [
            {
              "name": "Authorization",
              "value": "Key d5127c54-eddc-4a60-b7d8-028d9b8fc55d:c04784de32af5056ef84c12f15a506cd"
            }
          ]
        },
        "options": {}
      },
      "type": "n8n-nodes-base.httpRequest",
      "typeVersion": 4.2,
      "position": [
        980,
        -300
      ],
      "id": "44c80111-ff5a-4643-aa24-7fd5221103a8",
      "name": "Lấy image"
    },
    {
      "parameters": {
        "method": "POST",
        "url": "https://queue.fal.run/fal-ai/kling-video/v1.6/pro/image-to-video",
        "sendHeaders": true,
        "headerParameters": {
          "parameters": [
            {
              "name": "Authorization",
              "value": "Key d5127c54-eddc-4a60-b7d8-028d9b8fc55d:c04784de32af5056ef84c12f15a506cd"
            }
          ]
        },
        "sendBody": true,
        "contentType": "raw",
        "rawContentType": "application/json",
        "body": "={\n     \"prompt\": \"{{ $json.prompt }}\",\n     \"image_url\": \"{{ $json.images[0].url }}\",\n  \"duration\": \"5\",\n  \"negative_prompt\": \"blur, distort, bad quality and low quality\",\n  \"cfg_scale\": 0.65,\n\"camera_control\": {\n\"type\": \"simple\",\n\"config\":{\n\"horizontal\": 0,\n\"vertical\": 0,\n\"pan\": 0,\n\"tilt\": 0,\n\"roll\": 0,\n\"zoom\": 0\n}\n}\n\n \n   }",
        "options": {}
      },
      "type": "n8n-nodes-base.httpRequest",
      "typeVersion": 4.2,
      "position": [
        540,
        -20
      ],
      "id": "69a908f0-23b9-4220-a43c-64f848016b5f",
      "name": "Image to Video - Kling AI"
    },
    {
      "parameters": {
        "amount": 6,
        "unit": "minutes"
      },
      "type": "n8n-nodes-base.wait",
      "typeVersion": 1.1,
      "position": [
        760,
        -20
      ],
      "id": "2d0d37e8-26f4-4c03-b26b-dcd97edd5931",
      "name": "Wait1",
      "webhookId": "e8a2b29e-7051-479d-a2dc-a7368be4de9a"
    },
    {
      "parameters": {
        "url": "=https://queue.fal.run/fal-ai/kling-video/requests/{{ $json.request_id }}",
        "sendHeaders": true,
        "headerParameters": {
          "parameters": [
            {
              "name": "Authorization",
              "value": "Key d5127c54-eddc-4a60-b7d8-028d9b8fc55d:c04784de32af5056ef84c12f15a506cd"
            }
          ]
        },
        "options": {}
      },
      "type": "n8n-nodes-base.httpRequest",
      "typeVersion": 4.2,
      "position": [
        960,
        -20
      ],
      "id": "5cef6319-7caa-4506-9d55-a494673c51e4",
      "name": "Lấy Video"
    },
    {
      "parameters": {
        "method": "POST",
        "url": "https://api.elevenlabs.io/v1/sound-generation",
        "sendHeaders": true,
        "headerParameters": {
          "parameters": [
            {
              "name": "xi-api-key",
              "value": "sk_ec612bdebaf0fa4195eadaafadf66488bcf4cd7fe4e0b885"
            }
          ]
        },
        "sendBody": true,
        "contentType": "raw",
        "rawContentType": "application/json",
        "body": "={\n  \"text\": \"No Voice {{ $('Lấy image').item.json.prompt }}\",\n\"duration_seconds\": 5,\n  \"prompt_influence\": 0.6\n}",
        "options": {}
      },
      "type": "n8n-nodes-base.httpRequest",
      "typeVersion": 4.2,
      "position": [
        520,
        220
      ],
      "id": "7e1bf587-f38c-456a-a8c1-0f856fb44004",
      "name": "Text to Sound"
    },
    {
      "parameters": {
        "name": "={{ $json.video.url }}",
        "driveId": {
          "__rl": true,
          "value": "My Drive",
          "mode": "list",
          "cachedResultName": "My Drive",
          "cachedResultUrl": "https://drive.google.com/drive/my-drive"
        },
        "folderId": {
          "__rl": true,
          "value": "1zZWwTXBKaIc_e0vP6IeKl9URcBIEzqPF",
          "mode": "list",
          "cachedResultName": "Audio  video automation POV",
          "cachedResultUrl": "https://drive.google.com/drive/folders/1zZWwTXBKaIc_e0vP6IeKl9URcBIEzqPF"
        },
        "options": {}
      },
      "type": "n8n-nodes-base.googleDrive",
      "typeVersion": 3,
      "position": [
        740,
        220
      ],
      "id": "884bf719-29d8-4314-943f-0ee706711fd4",
      "name": "upload Google Drive",
      "credentials": {
        "googleDriveOAuth2Api": {
          "id": "VxhRmrkHMSdbBPuG",
          "name": "Google Drive account"
        }
      }
    },
    {
      "parameters": {
        "operation": "share",
        "fileId": {
          "__rl": true,
          "value": "={{ $json.id }}",
          "mode": "id"
        },
        "permissionsUi": {
          "permissionsValues": {
            "role": "writer",
            "type": "anyone",
            "allowFileDiscovery": true
          }
        },
        "options": {}
      },
      "type": "n8n-nodes-base.googleDrive",
      "typeVersion": 3,
      "position": [
        920,
        220
      ],
      "id": "78690ecb-1502-4c9e-a927-5ce664ce065a",
      "name": "share quyền",
      "credentials": {
        "googleDriveOAuth2Api": {
          "id": "VxhRmrkHMSdbBPuG",
          "name": "Google Drive account"
        }
      }
    },
    {
      "parameters": {
        "mode": "combine",
        "combineBy": "combineByPosition",
        "numberInputs": 4,
        "options": {}
      },
      "type": "n8n-nodes-base.merge",
      "typeVersion": 3,
      "position": [
        1380,
        -160
      ],
      "id": "f124d312-a4b0-4808-bf07-1138cd6f923f",
      "name": "Merge"
    },
    {
      "parameters": {
        "jsCode": "return [\n  {\n    scene_titles: items.map(item => item.json.response.text),\n    video_urls: items.map(item => item.json.video.url),\n    sound_urls: items.map(item => item.json.webContentLink)\n  }\n];"
      },
      "type": "n8n-nodes-base.code",
      "typeVersion": 2,
      "position": [
        1540,
        -140
      ],
      "id": "0353bb71-d006-429e-a047-c37e3ce55f70",
      "name": "List element"
    },
    {
      "parameters": {
        "method": "POST",
        "url": "https://api.creatomate.com/v1/renders",
        "sendHeaders": true,
        "headerParameters": {
          "parameters": [
            {
              "name": "Authorization",
              "value": "Bearer cf4df58e566e41a6ae9d6c726e9016a28963bb923682a7871d594646af97ad56d13378a85feb068ebd9d6855c4f8ec1f"
            },
            {
              "name": "Content-Type",
              "value": "application/json"
            }
          ]
        },
        "sendBody": true,
        "contentType": "raw",
        "rawContentType": "application/json",
        "body": "={\n  \"template_id\": \"d5035bd5-0795-4915-adec-12c9d9e919ca\",\n  \"modifications\": {\n    \"Audio-1.source\": \"{{ $json.sound_urls[0] }}\",\n    \"Audio-2.source\": \"{{ $json.sound_urls[1] }}\",\n    \"Audio-3.source\": \"{{ $json.sound_urls[2] }}\",\n    \"Audio-4.source\": \"{{ $json.sound_urls[3] }}\",\n    \"Audio-5.source\": \"{{ $json.sound_urls[4] }}\",\n\n    \"Video-1.source\": \"{{ $json.video_urls[0] }}\",\n    \"Video-2.source\": \"{{ $json.video_urls[1] }}\",\n    \"Video-3.source\": \"{{ $json.video_urls[2] }}\",\n    \"Video-4.source\": \"{{ $json.video_urls[3] }}\",\n    \"Video-5.source\": \"{{ $json.video_urls[4] }}\",\n\n    \"Text-1.text\": \"{{ $json.scene_titles[0] }}\",\n    \"Text-2.text\": \"{{ $json.scene_titles[1] }}\",\n    \"Text-3.text\": \"{{ $json.scene_titles[2] }}\",\n    \"Text-4.text\": \"{{ $json.scene_titles[3] }}\",\n    \"Text-5.text\": \"{{ $json.scene_titles[4] }}\"\n  }\n}\n",
        "options": {}
      },
      "type": "n8n-nodes-base.httpRequest",
      "typeVersion": 4.2,
      "position": [
        1720,
        -140
      ],
      "id": "b4812fdc-e0e6-4998-8962-23704789192a",
      "name": "Render Video",
      "executeOnce": true
    },
    {
      "parameters": {
        "operation": "update",
        "documentId": {
          "__rl": true,
          "value": "1uWQ_j7qhnf609d2g7-pIUETEeCb4PogkjxaXP-AuoRU",
          "mode": "id"
        },
        "sheetName": {
          "__rl": true,
          "value": "gid=0",
          "mode": "list",
          "cachedResultName": "Sheet1",
          "cachedResultUrl": "https://docs.google.com/spreadsheets/d/1uWQ_j7qhnf609d2g7-pIUETEeCb4PogkjxaXP-AuoRU/edit#gid=0"
        },
        "columns": {
          "mappingMode": "defineBelow",
          "value": {
            "id": "={{ $('Google Sheets').first().json.id }}",
            "Production": "done",
            "Status Publishing": "for publishing",
            "Final_Output": "={{ $json.url }}"
          },
          "matchingColumns": [
            "id"
          ],
          "schema": [
            {
              "id": "id",
              "displayName": "id",
              "required": false,
              "defaultMatch": true,
              "display": true,
              "type": "string",
              "canBeUsedToMatch": true,
              "removed": false
            },
            {
              "id": "Idea",
              "displayName": "Idea",
              "required": false,
              "defaultMatch": false,
              "display": true,
              "type": "string",
              "canBeUsedToMatch": true
            },
            {
              "id": "Catption",
              "displayName": "Catption",
              "required": false,
              "defaultMatch": false,
              "display": true,
              "type": "string",
              "canBeUsedToMatch": true
            },
            {
              "id": "Production",
              "displayName": "Production",
              "required": false,
              "defaultMatch": false,
              "display": true,
              "type": "string",
              "canBeUsedToMatch": true
            },
            {
              "id": "Environment_Prompt",
              "displayName": "Environment_Prompt",
              "required": false,
              "defaultMatch": false,
              "display": true,
              "type": "string",
              "canBeUsedToMatch": true
            },
            {
              "id": "Status Publishing",
              "displayName": "Status Publishing",
              "required": false,
              "defaultMatch": false,
              "display": true,
              "type": "string",
              "canBeUsedToMatch": true
            },
            {
              "id": "Final_Output",
              "displayName": "Final_Output",
              "required": false,
              "defaultMatch": false,
              "display": true,
              "type": "string",
              "canBeUsedToMatch": true
            },
            {
              "id": "row_number",
              "displayName": "row_number",
              "required": false,
              "defaultMatch": false,
              "display": true,
              "type": "string",
              "canBeUsedToMatch": true,
              "readOnly": true,
              "removed": true
            }
          ],
          "attemptToConvertTypes": false,
          "convertFieldsToString": false
        },
        "options": {}
      },
      "type": "n8n-nodes-base.googleSheets",
      "typeVersion": 4.5,
      "position": [
        1880,
        -140
      ],
      "id": "4bcfeac7-462d-4a28-b4da-ae0427937d03",
      "name": "Update Video Link",
      "credentials": {
        "googleSheetsOAuth2Api": {
          "id": "UYEqODSlaBmtVIi4",
          "name": "Product email"
        }
      }
    },
    {
      "parameters": {
        "rule": {
          "interval": [
            {}
          ]
        }
      },
      "type": "n8n-nodes-base.scheduleTrigger",
      "typeVersion": 1.2,
      "position": [
        1360,
        220
      ],
      "id": "5a0e5908-97e6-498d-b1b3-d763e418a619",
      "name": "Schedule Trigger1"
    },
    {
      "parameters": {
        "documentId": {
          "__rl": true,
          "value": "1uWQ_j7qhnf609d2g7-pIUETEeCb4PogkjxaXP-AuoRU",
          "mode": "list",
          "cachedResultName": "POV Faceless Video Automation - AI Agent n8n",
          "cachedResultUrl": "https://docs.google.com/spreadsheets/d/1uWQ_j7qhnf609d2g7-pIUETEeCb4PogkjxaXP-AuoRU/edit?usp=drivesdk"
        },
        "sheetName": {
          "__rl": true,
          "value": "gid=0",
          "mode": "list",
          "cachedResultName": "Sheet1",
          "cachedResultUrl": "https://docs.google.com/spreadsheets/d/1uWQ_j7qhnf609d2g7-pIUETEeCb4PogkjxaXP-AuoRU/edit#gid=0"
        },
        "filtersUI": {
          "values": [
            {
              "lookupColumn": "Status Publishing",
              "lookupValue": "for publishing"
            }
          ]
        },
        "options": {
          "returnFirstMatch": true
        }
      },
      "type": "n8n-nodes-base.googleSheets",
      "typeVersion": 4.5,
      "position": [
        1540,
        220
      ],
      "id": "705f0831-f472-404d-a17c-58cecba08f3f",
      "name": "Google Sheets1",
      "credentials": {
        "googleSheetsOAuth2Api": {
          "id": "UYEqODSlaBmtVIi4",
          "name": "Product email"
        }
      }
    },
    {
      "parameters": {
        "resource": "video",
        "operation": "upload",
        "title": "={{ $('Google Sheets1').item.json.Idea }}",
        "regionCode": "US",
        "categoryId": "1",
        "options": {
          "description": "={{ $json.Catption }}",
          "privacyStatus": "unlisted"
        }
      },
      "type": "n8n-nodes-base.youTube",
      "typeVersion": 1,
      "position": [
        1900,
        220
      ],
      "id": "3441ec8b-b22e-4d87-9c14-ad73c6528dfe",
      "name": "YouTube",
      "credentials": {
        "youTubeOAuth2Api": {
          "id": "V4UMhzftBH1z2UHm",
          "name": "YouTube account"
        }
      }
    },
    {
      "parameters": {
        "content": "## Upload Youtube\n",
        "height": 280,
        "width": 820
      },
      "type": "n8n-nodes-base.stickyNote",
      "typeVersion": 1,
      "position": [
        1300,
        120
      ],
      "id": "192cdf59-a579-4fda-a73a-0597d8381d2e",
      "name": "Sticky Note1"
    },
    {
      "parameters": {
        "content": "## Combine & Render video\n",
        "height": 300,
        "width": 820
      },
      "type": "n8n-nodes-base.stickyNote",
      "typeVersion": 1,
      "position": [
        1300,
        -240
      ],
      "id": "70fe7e7b-68db-4a53-bfbd-867cb63d55f2",
      "name": "Sticky Note2"
    },
    {
      "parameters": {
        "content": "## Tạo Prompts",
        "height": 200,
        "width": 440
      },
      "type": "n8n-nodes-base.stickyNote",
      "typeVersion": 1,
      "position": [
        460,
        -620
      ],
      "id": "4171dc39-0d86-45d4-8d5b-d03e8db0488d",
      "name": "Sticky Note3"
    },
    {
      "parameters": {
        "content": "## Tạo Images",
        "height": 220,
        "width": 840,
        "color": 4
      },
      "type": "n8n-nodes-base.stickyNote",
      "typeVersion": 1,
      "position": [
        400,
        -360
      ],
      "id": "cddc0007-d1bc-42be-af6e-e600b89a9bb5",
      "name": "Sticky Note4"
    },
    {
      "parameters": {
        "content": "## Tạo Videos\n",
        "height": 220,
        "width": 840,
        "color": 4
      },
      "type": "n8n-nodes-base.stickyNote",
      "typeVersion": 1,
      "position": [
        400,
        -60
      ],
      "id": "bc3912ca-b1cb-4d17-a3c3-4cbe541f934f",
      "name": "Sticky Note5"
    },
    {
      "parameters": {
        "content": "## Tạo Sounds\n",
        "height": 220,
        "width": 840,
        "color": 4
      },
      "type": "n8n-nodes-base.stickyNote",
      "typeVersion": 1,
      "position": [
        400,
        180
      ],
      "id": "3f857719-26d9-4906-84ee-9402d987b740",
      "name": "Sticky Note6"
    },
    {
      "parameters": {
        "url": "={{ $json.Final_Output }}",
        "options": {}
      },
      "type": "n8n-nodes-base.httpRequest",
      "typeVersion": 4.2,
      "position": [
        1720,
        220
      ],
      "id": "a69fbae9-19e2-4548-99fc-daa7fa3702d3",
      "name": "Lay Video"
    }
  ],
  "pinData": {},
  "connections": {
    "Schedule Trigger": {
      "main": [
        [
          {
            "node": "Google Sheets",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Google Sheets": {
      "main": [
        [
          {
            "node": "Basic LLM Chain",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "OpenAI Chat Model": {
      "ai_languageModel": [
        [
          {
            "node": "Basic LLM Chain",
            "type": "ai_languageModel",
            "index": 0
          }
        ]
      ]
    },
    "Item List Output Parser": {
      "ai_outputParser": [
        [
          {
            "node": "Basic LLM Chain",
            "type": "ai_outputParser",
            "index": 0
          }
        ]
      ]
    },
    "Basic LLM Chain": {
      "main": [
        [
          {
            "node": "OpenAI",
            "type": "main",
            "index": 0
          },
          {
            "node": "Merge",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "OpenAI": {
      "main": [
        [
          {
            "node": "Tạo image qua Flux",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Wait": {
      "main": [
        [
          {
            "node": "Lấy image",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Tạo image qua Flux": {
      "main": [
        [
          {
            "node": "Wait",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Lấy image": {
      "main": [
        [
          {
            "node": "Image to Video - Kling AI",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Image to Video - Kling AI": {
      "main": [
        [
          {
            "node": "Wait1",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Wait1": {
      "main": [
        [
          {
            "node": "Lấy Video",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Lấy Video": {
      "main": [
        [
          {
            "node": "Text to Sound",
            "type": "main",
            "index": 0
          },
          {
            "node": "Merge",
            "type": "main",
            "index": 1
          }
        ]
      ]
    },
    "Text to Sound": {
      "main": [
        [
          {
            "node": "upload Google Drive",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "upload Google Drive": {
      "main": [
        [
          {
            "node": "share quyền",
            "type": "main",
            "index": 0
          },
          {
            "node": "Merge",
            "type": "main",
            "index": 2
          }
        ]
      ]
    },
    "share quyền": {
      "main": [
        [
          {
            "node": "Merge",
            "type": "main",
            "index": 3
          }
        ]
      ]
    },
    "Merge": {
      "main": [
        [
          {
            "node": "List element",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "List element": {
      "main": [
        [
          {
            "node": "Render Video",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Render Video": {
      "main": [
        [
          {
            "node": "Update Video Link",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Schedule Trigger1": {
      "main": [
        [
          {
            "node": "Google Sheets1",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Google Sheets1": {
      "main": [
        [
          {
            "node": "Lay Video",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Lay Video": {
      "main": [
        [
          {
            "node": "YouTube",
            "type": "main",
            "index": 0
          }
        ]
      ]
    }
  },
  "active": false,
  "settings": {
    "executionOrder": "v1"
  },
  "versionId": "bf138684-c220-4f09-ab11-ce761fd80867",
  "meta": {
    "templateCredsSetupCompleted": true,
    "instanceId": "c6957cc8da1f18458e581bcb559195e32f29552d5fe4402753e1b7a753c4a4c6"
  },
  "id": "kjoKJAt7g8qe27vj",
  "tags": []
}

💬 Nếu có bất kỳ thắc mắc nào, hãy để lại comment bên dưới để được giải đáp nhanh nhất!

Nguồn: Vincent Do

Categorized in:

Templates N8N,