8
n8n 中文网amn8n.com

使用Veo 3、Gemini和Creatomate生成并发布专业视频广告

高级

这是一个Content Creation, Miscellaneous, Multimodal AI领域的自动化工作流,包含 66 个节点。主要使用 Jwt, Set, Code, Wait, Merge 等节点。 使用Veo 3、Gemini和Creatomate生成并发布专业视频广告

前置要求
  • 可能需要目标 API 的认证凭证
  • OpenAI API Key
  • Google Gemini API Key
工作流预览
可视化展示节点连接关系,支持缩放和平移
导出工作流
复制以下 JSON 配置到 n8n 导入,即可使用此工作流
{
  "meta": {
    "instanceId": "c66762406062d6f96baac676fbcb1ad043cf6c0875d0fc4a63da087ec2d9f92e",
    "templateCredsSetupCompleted": true
  },
  "nodes": [
    {
      "id": "669471ae-6ff2-46e1-aa70-e1e7c78e79aa",
      "name": "当点击“执行工作流”时",
      "type": "n8n-nodes-base.manualTrigger",
      "position": [
        -432,
        -32
      ],
      "parameters": {},
      "typeVersion": 1
    },
    {
      "id": "47872d64-ffbb-47c7-9fa7-37196760ec09",
      "name": "表单",
      "type": "n8n-nodes-base.set",
      "position": [
        -208,
        -32
      ],
      "parameters": {},
      "typeVersion": 3.4
    },
    {
      "id": "570e3596-5ee6-4ddf-a18c-81848645cb47",
      "name": "转换为文件",
      "type": "n8n-nodes-base.convertToFile",
      "notes": "At this step, the video should be generated and ready to convert to 9:16 aspect ratio",
      "position": [
        2208,
        -32
      ],
      "parameters": {},
      "notesInFlow": false,
      "typeVersion": 1.1
    },
    {
      "id": "21ae0585-be7f-4c4b-8446-32547e1f524b",
      "name": "Switch",
      "type": "n8n-nodes-base.switch",
      "position": [
        1728,
        176
      ],
      "parameters": {},
      "typeVersion": 3.2
    },
    {
      "id": "ccec84e7-e1dd-41b4-81bd-23d9da49cb7a",
      "name": "获取状态",
      "type": "n8n-nodes-base.httpRequest",
      "position": [
        1552,
        192
      ],
      "parameters": {},
      "executeOnce": true,
      "typeVersion": 4.2,
      "alwaysOutputData": false
    },
    {
      "id": "b8e34072-60f9-48c0-ad5a-92f761a37848",
      "name": "等待",
      "type": "n8n-nodes-base.wait",
      "position": [
        1328,
        192
      ],
      "webhookId": "a1f293f4-d123-4b1c-a4e5-8c931cd6b9cf",
      "parameters": {},
      "typeVersion": 1.1
    },
    {
      "id": "1029947c-cbc3-4bd3-b0ac-4c14832d3928",
      "name": "JWT",
      "type": "n8n-nodes-base.jwt",
      "position": [
        1440,
        -32
      ],
      "parameters": {},
      "typeVersion": 1
    },
    {
      "id": "e47d8a0d-9a72-420b-b2c3-d8982656101a",
      "name": "获取令牌",
      "type": "n8n-nodes-base.httpRequest",
      "position": [
        1664,
        -32
      ],
      "parameters": {},
      "typeVersion": 4.2
    },
    {
      "id": "ea0b0882-75b2-4367-867c-797b2e865956",
      "name": "生成视频",
      "type": "n8n-nodes-base.httpRequest",
      "position": [
        1888,
        -32
      ],
      "parameters": {},
      "typeVersion": 4.2
    },
    {
      "id": "ce160ac7-41a3-453f-a11a-0e07ba2dc5ae",
      "name": "广告策划",
      "type": "@n8n/n8n-nodes-langchain.chainLlm",
      "position": [
        448,
        -32
      ],
      "parameters": {},
      "typeVersion": 1.7
    },
    {
      "id": "b2b2347a-68c2-4c0f-9763-db67e1e9c8cc",
      "name": "第1部分",
      "type": "@n8n/n8n-nodes-langchain.chainLlm",
      "position": [
        1120,
        -32
      ],
      "parameters": {},
      "typeVersion": 1.7
    },
    {
      "id": "052c5bff-bd8c-43ec-8460-1e88c8836e5d",
      "name": "第2部分",
      "type": "@n8n/n8n-nodes-langchain.chainLlm",
      "position": [
        256,
        1376
      ],
      "parameters": {},
      "typeVersion": 1.7
    },
    {
      "id": "2d0d396b-95b6-4be2-b515-47679bcc64d5",
      "name": "转换为文件1",
      "type": "n8n-nodes-base.convertToFile",
      "notes": "At this step, the video should be generated and ready to convert to 9:16 aspect ratio",
      "position": [
        1440,
        1408
      ],
      "parameters": {},
      "notesInFlow": false,
      "typeVersion": 1.1
    },
    {
      "id": "5e99b17e-123c-49ce-894b-77ea76ae65cb",
      "name": "切换1",
      "type": "n8n-nodes-base.switch",
      "position": [
        1120,
        1344
      ],
      "parameters": {},
      "typeVersion": 3.2
    },
    {
      "id": "466feb2c-62ad-446f-9ceb-89eb7d3ca645",
      "name": "获取状态1",
      "type": "n8n-nodes-base.httpRequest",
      "position": [
        944,
        1376
      ],
      "parameters": {},
      "executeOnce": true,
      "typeVersion": 4.2,
      "alwaysOutputData": false
    },
    {
      "id": "8fb8d0f5-b77f-45ea-a89c-365908980dc7",
      "name": "等待1",
      "type": "n8n-nodes-base.wait",
      "position": [
        768,
        1376
      ],
      "webhookId": "543e133a-7088-4297-b770-ad1f22ff7086",
      "parameters": {},
      "typeVersion": 1.1
    },
    {
      "id": "b8a29940-a2db-42e4-9c0e-2a64143d75c3",
      "name": "生成视频1",
      "type": "n8n-nodes-base.httpRequest",
      "position": [
        560,
        1376
      ],
      "parameters": {},
      "typeVersion": 4.2
    },
    {
      "id": "128594de-cf8c-4004-a321-352c3c147cd3",
      "name": "结构化输出解析器",
      "type": "@n8n/n8n-nodes-langchain.outputParserStructured",
      "position": [
        544,
        192
      ],
      "parameters": {},
      "typeVersion": 1.3
    },
    {
      "id": "2f0a4b7b-f2b0-4ad5-86b6-41773e28b9e9",
      "name": "开始 Gemini 上传会话",
      "type": "n8n-nodes-base.httpRequest",
      "position": [
        2816,
        -32
      ],
      "parameters": {},
      "typeVersion": 4.2
    },
    {
      "id": "1543617d-f691-4c95-ab57-a497752d5405",
      "name": "上传视频到 Gemini",
      "type": "n8n-nodes-base.httpRequest",
      "position": [
        2752,
        128
      ],
      "parameters": {},
      "typeVersion": 4.2
    },
    {
      "id": "685dcf04-9cba-48a9-a417-b27f0b3a03f6",
      "name": "使用 Gemini 分析视频",
      "type": "n8n-nodes-base.httpRequest",
      "position": [
        3200,
        128
      ],
      "parameters": {},
      "retryOnFail": true,
      "typeVersion": 4.2,
      "waitBetweenTries": 15
    },
    {
      "id": "3fc14b5b-459e-436e-a3c2-8c0143eb24f4",
      "name": "结构化输出解析器1",
      "type": "@n8n/n8n-nodes-langchain.outputParserStructured",
      "position": [
        3968,
        192
      ],
      "parameters": {},
      "typeVersion": 1.3
    },
    {
      "id": "719471ca-9131-490e-83be-6f97389fcd00",
      "name": "Shotstack HTTP 请求体",
      "type": "n8n-nodes-base.code",
      "position": [
        2192,
        1408
      ],
      "parameters": {},
      "executeOnce": true,
      "typeVersion": 2
    },
    {
      "id": "17ed7a06-f834-4532-b985-4a527c92d410",
      "name": "合并 - Creatomate",
      "type": "n8n-nodes-base.httpRequest",
      "position": [
        2416,
        1408
      ],
      "parameters": {},
      "typeVersion": 4.2
    },
    {
      "id": "d4cf6f74-a334-4d0e-b276-06222615d095",
      "name": "下载最终视频",
      "type": "n8n-nodes-base.httpRequest",
      "position": [
        2912,
        1584
      ],
      "parameters": {},
      "typeVersion": 4.2
    },
    {
      "id": "f44c8ce2-e750-43e3-b8cd-ed835e410132",
      "name": "渲染中....",
      "type": "n8n-nodes-base.wait",
      "position": [
        2112,
        1616
      ],
      "webhookId": "579a3f97-098b-41c1-a21f-09444a4b9f1b",
      "parameters": {},
      "typeVersion": 1.1
    },
    {
      "id": "f00c782a-f314-42bb-8262-bba6570e7241",
      "name": "完成?",
      "type": "n8n-nodes-base.httpRequest",
      "position": [
        2304,
        1616
      ],
      "parameters": {},
      "typeVersion": 4.2
    },
    {
      "id": "3dfad719-9ac4-4ffb-ae15-38bbcd1a9523",
      "name": "分支2",
      "type": "n8n-nodes-base.switch",
      "position": [
        2544,
        1600
      ],
      "parameters": {},
      "typeVersion": 3.2
    },
    {
      "id": "ee3fb800-74e6-4b59-86b6-b58e6c2fedae",
      "name": "等待中...",
      "type": "n8n-nodes-base.wait",
      "position": [
        2976,
        128
      ],
      "webhookId": "b227b5b5-a812-477b-b02e-0c0cd8dae58a",
      "parameters": {},
      "typeVersion": 1.1
    },
    {
      "id": "7a6d39ad-f137-44fb-8dad-5090a5d30686",
      "name": "Google Gemini 聊天模型3",
      "type": "@n8n/n8n-nodes-langchain.lmChatGoogleGemini",
      "position": [
        3840,
        192
      ],
      "parameters": {},
      "typeVersion": 1
    },
    {
      "id": "9be0f2ae-8aed-4e90-badb-daa06c7358b3",
      "name": "设置凭据",
      "type": "n8n-nodes-base.set",
      "position": [
        16,
        -32
      ],
      "parameters": {},
      "typeVersion": 3.4
    },
    {
      "id": "14c0550c-118e-4b41-99d0-c194f1163a9a",
      "name": "下载第1部分(二进制)1",
      "type": "n8n-nodes-base.httpRequest",
      "position": [
        3088,
        -32
      ],
      "parameters": {},
      "typeVersion": 4.2
    },
    {
      "id": "47954535-d1a4-4926-8662-fb4721c94a0c",
      "name": "上传视频到 Cloudinary 第2部分",
      "type": "n8n-nodes-base.httpRequest",
      "position": [
        1664,
        1408
      ],
      "parameters": {},
      "typeVersion": 4.2
    },
    {
      "id": "05d0164e-0120-4d78-9b1a-ef50d8173c0c",
      "name": "上传视频到 Cloudinary 第1部分",
      "type": "n8n-nodes-base.httpRequest",
      "position": [
        2432,
        -32
      ],
      "parameters": {},
      "typeVersion": 4.2
    },
    {
      "id": "f887adb5-940d-4a63-9749-9d34f91cc4e5",
      "name": "Google Gemini 聊天模型4",
      "type": "@n8n/n8n-nodes-langchain.lmChatGoogleGemini",
      "position": [
        624,
        400
      ],
      "parameters": {},
      "typeVersion": 1
    },
    {
      "id": "dc87a5a7-c1d0-4a3d-a741-fcfa8418c078",
      "name": "OpenAI 聊天模型",
      "type": "@n8n/n8n-nodes-langchain.lmChatOpenAi",
      "position": [
        416,
        192
      ],
      "parameters": {},
      "typeVersion": 1.2
    },
    {
      "id": "c8dda716-5325-4ca9-9502-8697ff167291",
      "name": "OpenAI 聊天模型1",
      "type": "@n8n/n8n-nodes-langchain.lmChatOpenAi",
      "position": [
        1152,
        240
      ],
      "parameters": {},
      "typeVersion": 1.2
    },
    {
      "id": "6aaaaa62-f7d7-4b89-ab1f-3220e61afe77",
      "name": "OpenAI 聊天模型2",
      "type": "@n8n/n8n-nodes-langchain.lmChatOpenAi",
      "position": [
        288,
        1584
      ],
      "parameters": {},
      "typeVersion": 1.2
    },
    {
      "id": "e048662d-a595-4a91-8eb4-5c124c53362e",
      "name": "Google Gemini聊天模型",
      "type": "@n8n/n8n-nodes-langchain.lmChatGoogleGemini",
      "position": [
        4048,
        400
      ],
      "parameters": {},
      "typeVersion": 1
    },
    {
      "id": "35b5923f-ebb9-4f15-be71-263142a775af",
      "name": "分析第1部分",
      "type": "@n8n/n8n-nodes-langchain.chainLlm",
      "position": [
        3872,
        -32
      ],
      "parameters": {},
      "typeVersion": 1.7
    },
    {
      "id": "1d7292f0-ccf2-4aa7-bcd1-5d95168016dd",
      "name": "合并",
      "type": "n8n-nodes-base.merge",
      "position": [
        3568,
        -32
      ],
      "parameters": {},
      "typeVersion": 3.2
    },
    {
      "id": "19f1d2bd-8f7e-4b86-8876-9bf9535d3246",
      "name": "上传视频到 Postiz",
      "type": "n8n-nodes-base.httpRequest",
      "position": [
        3360,
        1920
      ],
      "parameters": {},
      "typeVersion": 4.2
    },
    {
      "id": "0a706263-dc16-40b7-8b9c-ef201ab45660",
      "name": "获取 Postiz 集成",
      "type": "n8n-nodes-base.httpRequest",
      "position": [
        3728,
        1920
      ],
      "parameters": {},
      "typeVersion": 4.2
    },
    {
      "id": "5d989468-41fd-4d54-8478-cb827c50eb4e",
      "name": "安排 YouTube 发布",
      "type": "n8n-nodes-base.httpRequest",
      "position": [
        4464,
        1904
      ],
      "parameters": {},
      "typeVersion": 4.2
    },
    {
      "id": "f3c71ea3-d5c1-47bc-813f-87186df66035",
      "name": "安排 TikTok 发布",
      "type": "n8n-nodes-base.httpRequest",
      "position": [
        4464,
        1712
      ],
      "parameters": {},
      "typeVersion": 4.2
    },
    {
      "id": "409174f9-fa87-4c9e-8527-245f864be905",
      "name": "安排 Instagram 发布",
      "type": "n8n-nodes-base.httpRequest",
      "position": [
        4464,
        2096
      ],
      "parameters": {},
      "typeVersion": 4.2
    },
    {
      "id": "dbfa4910-832b-46db-a15f-dbf486ad9f38",
      "name": "分支3",
      "type": "n8n-nodes-base.switch",
      "position": [
        4224,
        1920
      ],
      "parameters": {},
      "typeVersion": 3.2
    },
    {
      "id": "fdd15086-9b2c-46c5-ab4f-7d2918a223b4",
      "name": "撰写社交媒体内容",
      "type": "@n8n/n8n-nodes-langchain.chainLlm",
      "position": [
        3536,
        2080
      ],
      "parameters": {},
      "typeVersion": 1.7
    },
    {
      "id": "7e0b9c43-7a6a-4291-84a0-377a6ddb4e2e",
      "name": "OpenAI 聊天模型3",
      "type": "@n8n/n8n-nodes-langchain.lmChatOpenAi",
      "position": [
        3504,
        2304
      ],
      "parameters": {},
      "typeVersion": 1.2
    },
    {
      "id": "16bf6db2-478b-43dd-bc6e-b34f7a36a005",
      "name": "结构化输出解析器2",
      "type": "@n8n/n8n-nodes-langchain.outputParserStructured",
      "position": [
        3632,
        2304
      ],
      "parameters": {},
      "typeVersion": 1.3
    },
    {
      "id": "a95928cc-7e3b-49dd-9757-ead4d07957ab",
      "name": "OpenAI 聊天模型4",
      "type": "@n8n/n8n-nodes-langchain.lmChatOpenAi",
      "position": [
        3712,
        2512
      ],
      "parameters": {},
      "typeVersion": 1.2
    },
    {
      "id": "a618fa0a-ae45-4a04-adda-ecdab63326cb",
      "name": "合并1",
      "type": "n8n-nodes-base.merge",
      "position": [
        4000,
        1952
      ],
      "parameters": {},
      "typeVersion": 3.2
    },
    {
      "id": "17734d44-554d-4dfa-aba7-aa66c4444e0e",
      "name": "安排 Facebook 发布",
      "type": "n8n-nodes-base.httpRequest",
      "position": [
        4464,
        2288
      ],
      "parameters": {},
      "typeVersion": 4.2
    },
    {
      "id": "4dcca10f-f3ad-4029-bb2e-04254e5f59ee",
      "name": "便签",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -560,
        -800
      ],
      "parameters": {
        "content": ""
      },
      "typeVersion": 1
    },
    {
      "id": "af77f6c0-021e-44f3-9a87-029bd6c92797",
      "name": "便签1",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        240,
        -800
      ],
      "parameters": {
        "content": ""
      },
      "typeVersion": 1
    },
    {
      "id": "13c066dd-36bf-4e5a-a04f-54d095266fe5",
      "name": "便签2",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        992,
        -800
      ],
      "parameters": {
        "content": ""
      },
      "typeVersion": 1
    },
    {
      "id": "610225ef-bad3-4017-afe5-8a5797aa41dc",
      "name": "便签3",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        2112,
        -800
      ],
      "parameters": {
        "content": ""
      },
      "typeVersion": 1
    },
    {
      "id": "e725bcda-3a4a-4f6c-93fe-2ad7c1210c3d",
      "name": "便签4",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        2624,
        -800
      ],
      "parameters": {
        "content": ""
      },
      "typeVersion": 1
    },
    {
      "id": "f5b2a2c9-2b52-491c-8209-501e72aad936",
      "name": "便签5",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -64,
        720
      ],
      "parameters": {
        "content": ""
      },
      "typeVersion": 1
    },
    {
      "id": "22bc07a1-847c-493e-86ba-bf5697f871fd",
      "name": "便签6",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        1360,
        720
      ],
      "parameters": {
        "content": ""
      },
      "typeVersion": 1
    },
    {
      "id": "44448f74-fc51-4392-8fed-8b47224a95da",
      "name": "便签7",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        1920,
        720
      ],
      "parameters": {
        "content": ""
      },
      "typeVersion": 1
    },
    {
      "id": "84c5b697-8cf9-4c13-840b-aff638745f23",
      "name": "便签8",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        2848,
        720
      ],
      "parameters": {
        "content": ""
      },
      "typeVersion": 1
    },
    {
      "id": "cc29e7d7-79be-4887-8d14-4a6fae958c2b",
      "name": "便签9",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        3216,
        720
      ],
      "parameters": {
        "content": ""
      },
      "typeVersion": 1
    },
    {
      "id": "f67c1798-da42-4450-b7b1-ada6bf9f7d48",
      "name": "便签10",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        4752,
        -800
      ],
      "parameters": {
        "content": ""
      },
      "typeVersion": 1
    },
    {
      "id": "aa5c8b6f-2609-42fe-9c61-0fbeede30b36",
      "name": "便利贴11",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -1408,
        -800
      ],
      "parameters": {
        "content": ""
      },
      "typeVersion": 1
    },
    {
      "id": "f54fc54d-4dd7-4d27-8902-9d6c6e8c8d35",
      "name": "便利贴12",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        4752,
        1984
      ],
      "parameters": {
        "content": ""
      },
      "typeVersion": 1
    }
  ],
  "pinData": {},
  "connections": {
    "JWT": {
      "main": [
        [
          {
            "node": "GET TOKEN",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Form": {
      "main": [
        [
          {
            "node": "Set Credintenails",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Wait": {
      "main": [
        [
          {
            "node": "Fetch Status",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Merge": {
      "main": [
        [
          {
            "node": "Analyze part 1",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Wait1": {
      "main": [
        [
          {
            "node": "Fetch Status1",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "done?": {
      "main": [
        [
          {
            "node": "Switch2",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Merge1": {
      "main": [
        [
          {
            "node": "Switch3",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Part_1": {
      "main": [
        [
          {
            "node": "JWT",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Part_2": {
      "main": [
        [
          {
            "node": "Generate Video1",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Switch": {
      "main": [
        [
          {
            "node": "Convert to File",
            "type": "main",
            "index": 0
          }
        ],
        [
          {
            "node": "Part_1",
            "type": "main",
            "index": 0
          }
        ],
        [
          {
            "node": "Wait",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Switch1": {
      "main": [
        [
          {
            "node": "Convert to File1",
            "type": "main",
            "index": 0
          }
        ],
        [
          {
            "node": "Part_2",
            "type": "main",
            "index": 0
          }
        ],
        [
          {
            "node": "Part_2",
            "type": "main",
            "index": 0
          }
        ],
        [
          {
            "node": "Wait1",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Switch2": {
      "main": [
        [
          {
            "node": "Download final video",
            "type": "main",
            "index": 0
          }
        ],
        [
          {
            "node": "Shotstack HTTP Body",
            "type": "main",
            "index": 0
          }
        ],
        [
          {
            "node": "Rendering....",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Switch3": {
      "main": [
        [
          {
            "node": "Schedule TikTok",
            "type": "main",
            "index": 0
          }
        ],
        [
          {
            "node": "Schedule YouTube",
            "type": "main",
            "index": 0
          }
        ],
        [
          {
            "node": "Schedule Instagram",
            "type": "main",
            "index": 0
          }
        ],
        [
          {
            "node": "Schedule Facebook",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "GET TOKEN": {
      "main": [
        [
          {
            "node": "Generate Video",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Waiting...": {
      "main": [
        [
          {
            "node": "Analyze Video with Gemini",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Fetch Status": {
      "main": [
        [
          {
            "node": "Switch",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Fetch Status1": {
      "main": [
        [
          {
            "node": "Switch1",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Rendering....": {
      "main": [
        [
          {
            "node": "done?",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Analyze part 1": {
      "main": [
        [
          {
            "node": "Part_2",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Generate Video": {
      "main": [
        [
          {
            "node": "Wait",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Convert to File": {
      "main": [
        [
          {
            "node": "Post video Cloudinary Part1",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Generate Video1": {
      "main": [
        [
          {
            "node": "Wait1",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Planning the ad": {
      "main": [
        [
          {
            "node": "Merge",
            "type": "main",
            "index": 1
          },
          {
            "node": "Write content for social media",
            "type": "main",
            "index": 0
          },
          {
            "node": "Part_1",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Convert to File1": {
      "main": [
        [
          {
            "node": "Post video Cloudinary Part 2",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "OpenAI Chat Model": {
      "ai_languageModel": [
        [
          {
            "node": "Planning the ad",
            "type": "ai_languageModel",
            "index": 0
          }
        ]
      ]
    },
    "Set Credintenails": {
      "main": [
        [
          {
            "node": "Planning the ad",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Merge - Creatomate": {
      "main": [
        [
          {
            "node": "Rendering....",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "OpenAI Chat Model1": {
      "ai_languageModel": [
        [
          {
            "node": "Part_1",
            "type": "ai_languageModel",
            "index": 0
          }
        ]
      ]
    },
    "OpenAI Chat Model2": {
      "ai_languageModel": [
        [
          {
            "node": "Part_2",
            "type": "ai_languageModel",
            "index": 0
          }
        ]
      ]
    },
    "OpenAI Chat Model3": {
      "ai_languageModel": [
        [
          {
            "node": "Write content for social media",
            "type": "ai_languageModel",
            "index": 0
          }
        ]
      ]
    },
    "OpenAI Chat Model4": {
      "ai_languageModel": [
        [
          {
            "node": "Structured Output Parser2",
            "type": "ai_languageModel",
            "index": 0
          }
        ]
      ]
    },
    "Shotstack HTTP Body": {
      "main": [
        [
          {
            "node": "Merge - Creatomate",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Download final video": {
      "main": [
        [
          {
            "node": "Upload video to Postiz",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Upload Video to Gemini": {
      "main": [
        [
          {
            "node": "Waiting...",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Upload video to Postiz": {
      "main": [
        [
          {
            "node": "Get Postiz integrations",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Get Postiz integrations": {
      "main": [
        [
          {
            "node": "Merge1",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Google Gemini Chat Model": {
      "ai_languageModel": [
        [
          {
            "node": "Structured Output Parser1",
            "type": "ai_languageModel",
            "index": 0
          }
        ]
      ]
    },
    "Structured Output Parser": {
      "ai_outputParser": [
        [
          {
            "node": "Planning the ad",
            "type": "ai_outputParser",
            "index": 0
          }
        ]
      ]
    },
    "Analyze Video with Gemini": {
      "main": [
        [
          {
            "node": "Merge",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Google Gemini Chat Model3": {
      "ai_languageModel": [
        [
          {
            "node": "Analyze part 1",
            "type": "ai_languageModel",
            "index": 0
          }
        ]
      ]
    },
    "Google Gemini Chat Model4": {
      "ai_languageModel": [
        [
          {
            "node": "Structured Output Parser",
            "type": "ai_languageModel",
            "index": 0
          }
        ]
      ]
    },
    "Structured Output Parser1": {
      "ai_outputParser": [
        [
          {
            "node": "Analyze part 1",
            "type": "ai_outputParser",
            "index": 0
          }
        ]
      ]
    },
    "Structured Output Parser2": {
      "ai_outputParser": [
        [
          {
            "node": "Write content for social media",
            "type": "ai_outputParser",
            "index": 0
          }
        ]
      ]
    },
    "Begin Gemini Upload Session": {
      "main": [
        [
          {
            "node": "Downloading Part 1 (Binary)1",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Post video Cloudinary Part1": {
      "main": [
        [
          {
            "node": "Begin Gemini Upload Session",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Downloading Part 1 (Binary)1": {
      "main": [
        [
          {
            "node": "Upload Video to Gemini",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Post video Cloudinary Part 2": {
      "main": [
        [
          {
            "node": "Shotstack HTTP Body",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Write content for social media": {
      "main": [
        [
          {
            "node": "Merge1",
            "type": "main",
            "index": 1
          }
        ]
      ]
    },
    "When clicking ‘Execute workflow’": {
      "main": [
        [
          {
            "node": "Form",
            "type": "main",
            "index": 0
          }
        ]
      ]
    }
  }
}
常见问题

如何使用这个工作流?

复制上方的 JSON 配置代码,在您的 n8n 实例中创建新工作流并选择「从 JSON 导入」,粘贴配置后根据需要修改凭证设置即可。

这个工作流适合什么场景?

高级 - 内容创作, 杂项, 多模态 AI

需要付费吗?

本工作流完全免费,您可以直接导入使用。但请注意,工作流中使用的第三方服务(如 OpenAI API)可能需要您自行付费。

工作流信息
难度等级
高级
节点数量66
分类3
节点类型14
难度说明

适合高级用户,包含 16+ 个节点的复杂工作流

作者
LukaszB

LukaszB

@lukaszb

AI Automation Expert | Web & Mobile App Integrator With 2+ years of experience, I build smart automations, web & mobile app workflows, and scalable platforms using tools like n8n, Make, and more. I help businesses reduce operational costs, save time, and scale faster with AI-powered solutions. For business enquiries, send me an email at kontakt@lumizone.pl

外部链接
在 n8n.io 查看

分享此工作流