8
n8n 中文网amn8n.com

AI驱动的YouTube短视频自动化:使用OpenAI和ElevenLabs创建与发布

高级

这是一个Design, AI, Marketing领域的自动化工作流,包含 76 个节点。主要使用 If, Set, Wait, Merge, YouTube 等节点,结合人工智能技术实现智能自动化。 AI驱动的YouTube Shorts创建器(OpenAI脚本与ElevenLabs语音)

前置要求
  • Telegram Bot Token
  • 可能需要目标 API 的认证凭证
  • OpenAI API Key
工作流预览
可视化展示节点连接关系,支持缩放和平移
导出工作流
复制以下 JSON 配置到 n8n 导入,即可使用此工作流
{
  "id": "Kq4o4tyxTr9gTnC9",
  "meta": {
    "instanceId": "b2c6727f02106e7324192d5dfa251f5dd42759bfd0d7e1602a3ab09f0fcd3b61",
    "templateCredsSetupCompleted": true
  },
  "name": "AI驱动的YouTube短视频自动化:使用OpenAI和ElevenLabs创建与发布",
  "tags": [
    {
      "id": "BWx2NDzRFhBsHTKb",
      "name": "AI",
      "createdAt": "2025-03-14T18:23:58.150Z",
      "updatedAt": "2025-03-14T18:23:58.150Z"
    },
    {
      "id": "wKmj0lewEas67M0s",
      "name": "Marketing",
      "createdAt": "2025-02-19T00:27:35.090Z",
      "updatedAt": "2025-02-19T00:27:35.090Z"
    }
  ],
  "nodes": [
    {
      "id": "54bc0252-2e09-4d64-b109-b335492cf8c9",
      "name": "创意生成器 🧠",
      "type": "@n8n/n8n-nodes-langchain.openAi",
      "position": [
        3220,
        -340
      ],
      "parameters": {},
      "typeVersion": 1.7
    },
    {
      "id": "27cd155f-b505-4c57-a424-67580515f2d5",
      "name": "分块脚本",
      "type": "n8n-nodes-base.httpRequest",
      "position": [
        4060,
        -400
      ],
      "parameters": {},
      "typeVersion": 4.2
    },
    {
      "id": "8bbe3ada-50bb-4dcf-a4fc-d2d0f0a547a8",
      "name": "图片提示器 📷",
      "type": "@n8n/n8n-nodes-langchain.openAi",
      "position": [
        920,
        600
      ],
      "parameters": {},
      "typeVersion": 1.7
    },
    {
      "id": "87f87cc7-a5b2-42b5-a736-7546e72a9795",
      "name": "拆分输出",
      "type": "n8n-nodes-base.splitOut",
      "position": [
        4300,
        -220
      ],
      "parameters": {},
      "typeVersion": 1
    },
    {
      "id": "4a6aed32-8cbd-4a03-a39b-7626a7db389f",
      "name": "获取最终视频",
      "type": "n8n-nodes-base.httpRequest",
      "position": [
        4240,
        600
      ],
      "parameters": {},
      "typeVersion": 4.2
    },
    {
      "id": "242dac8b-333b-41fe-b073-51f449c37fa9",
      "name": "设置JSON变量",
      "type": "n8n-nodes-base.set",
      "position": [
        3580,
        600
      ],
      "parameters": {},
      "typeVersion": 3.4
    },
    {
      "id": "b3bc7e66-3113-49a6-8628-e53b9991119a",
      "name": "上传到Cloudinary",
      "type": "n8n-nodes-base.httpRequest",
      "position": [
        4060,
        -200
      ],
      "parameters": {},
      "typeVersion": 4.2
    },
    {
      "id": "a3d92c95-5462-49c3-a1c1-df5ffca4c2ff",
      "name": "OpenAI聊天模型",
      "type": "@n8n/n8n-nodes-langchain.lmChatOpenAi",
      "position": [
        1200,
        -260
      ],
      "parameters": {},
      "typeVersion": 1.2
    },
    {
      "id": "e794782b-4acf-4e10-9514-84be4e77110d",
      "name": "输入变量",
      "type": "n8n-nodes-base.set",
      "position": [
        2760,
        -480
      ],
      "parameters": {},
      "typeVersion": 3.4
    },
    {
      "id": "c71845f7-0e34-451f-b2ca-ef728503d1a5",
      "name": "合并视频变量",
      "type": "n8n-nodes-base.merge",
      "position": [
        4620,
        620
      ],
      "parameters": {},
      "typeVersion": 3
    },
    {
      "id": "d577b7b8-da74-4e94-b7f7-a83d2544f287",
      "name": "便签",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        520,
        -580
      ],
      "parameters": {
        "content": ""
      },
      "typeVersion": 1
    },
    {
      "id": "dd264420-d6e0-41a8-ae47-c872dc0ebf19",
      "name": "Telegram触发器",
      "type": "n8n-nodes-base.telegramTrigger",
      "position": [
        580,
        -520
      ],
      "webhookId": "b10acf13-4ead-4bd0-997a-be0b8756d00e",
      "parameters": {},
      "typeVersion": 1.1
    },
    {
      "id": "a994fd4a-2a5e-4ac2-bedb-b55e34e6fd2a",
      "name": "便签1",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        1620,
        -640
      ],
      "parameters": {
        "content": ""
      },
      "typeVersion": 1
    },
    {
      "id": "5e6d73c5-e7d8-4bb2-9b8f-1ec3485d5e0d",
      "name": "便签2",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        1140,
        -320
      ],
      "parameters": {
        "content": ""
      },
      "typeVersion": 1
    },
    {
      "id": "51a59321-f1ae-4ec6-8a31-2ad85eef72cb",
      "name": "便签3",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        3200,
        -420
      ],
      "parameters": {
        "content": ""
      },
      "typeVersion": 1
    },
    {
      "id": "1e322dd5-e4fc-4dae-aede-547c433214a4",
      "name": "便签7",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        900,
        520
      ],
      "parameters": {
        "content": ""
      },
      "typeVersion": 1
    },
    {
      "id": "2e07c78c-484d-4919-8a32-eea0520d9b09",
      "name": "便签16",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        4820,
        560
      ],
      "parameters": {
        "content": ""
      },
      "typeVersion": 1
    },
    {
      "id": "d43e5269-44be-4a45-acc8-9592f68d8b5d",
      "name": "便签19",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        5720,
        440
      ],
      "parameters": {
        "content": ""
      },
      "typeVersion": 1
    },
    {
      "id": "03cc42f4-98be-4e8b-b2fc-c26b6b2cc79c",
      "name": "便签21",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        5960,
        440
      ],
      "parameters": {
        "content": ""
      },
      "typeVersion": 1
    },
    {
      "id": "e793f7fc-3a05-4cef-a73d-7ac960fee1a0",
      "name": "便签25",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -160,
        -1060
      ],
      "parameters": {
        "content": ""
      },
      "typeVersion": 1
    },
    {
      "id": "11b1c21c-ecee-47df-be90-e20c7c94406b",
      "name": "便签26",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -160,
        -860
      ],
      "parameters": {
        "content": ""
      },
      "typeVersion": 1
    },
    {
      "id": "3ff1a006-d4df-4842-ae7c-caca9616f277",
      "name": "便签17",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        5280,
        720
      ],
      "parameters": {
        "content": ""
      },
      "typeVersion": 1
    },
    {
      "id": "0eef54da-125a-40cd-bdb8-144a3f68f9c8",
      "name": "便签27",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        5560,
        40
      ],
      "parameters": {
        "content": ""
      },
      "typeVersion": 1
    },
    {
      "id": "5ed08eac-6621-4a11-80c3-d31a1faab677",
      "name": "便签31",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -160,
        -360
      ],
      "parameters": {
        "content": ""
      },
      "typeVersion": 1
    },
    {
      "id": "f0ea4142-5643-4ccb-8a17-72a296b800e7",
      "name": "便签32",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        3620,
        -780
      ],
      "parameters": {
        "content": ""
      },
      "typeVersion": 1
    },
    {
      "id": "281d2198-ad26-4d38-bcd6-5c0092e17855",
      "name": "便签29",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -160,
        -580
      ],
      "parameters": {
        "content": ""
      },
      "typeVersion": 1
    },
    {
      "id": "a0cc2ef7-6786-48c6-b09a-8059b1d3deff",
      "name": "便签24",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        900,
        200
      ],
      "parameters": {
        "content": ""
      },
      "typeVersion": 1
    },
    {
      "id": "e15acf94-1d4c-4d5a-8e19-a8216aa43802",
      "name": "便签33",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        1220,
        200
      ],
      "parameters": {
        "content": ""
      },
      "typeVersion": 1
    },
    {
      "id": "c2fdd24b-0d0c-41ea-a98a-c760fc5b2efe",
      "name": "便签34",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        1860,
        200
      ],
      "parameters": {
        "content": ""
      },
      "typeVersion": 1
    },
    {
      "id": "2bb96727-cb86-4596-9c1f-7c25240f8edc",
      "name": "便签35",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        3700,
        440
      ],
      "parameters": {
        "content": ""
      },
      "typeVersion": 1
    },
    {
      "id": "874fbb13-c1a4-4c9f-8a1d-a30ff2dd8000",
      "name": "设置API密钥",
      "type": "n8n-nodes-base.set",
      "notes": "SET BEFORE STARTING",
      "position": [
        2340,
        -380
      ],
      "parameters": {},
      "notesInFlow": true,
      "typeVersion": 3.4
    },
    {
      "id": "eddc83ef-d265-440b-a5fb-3a8492d51838",
      "name": "便签5",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        500,
        -1060
      ],
      "parameters": {
        "content": ""
      },
      "typeVersion": 1
    },
    {
      "id": "e63a1938-c1e5-4922-93a6-46892c8328ed",
      "name": "便签6",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        3100,
        -1060
      ],
      "parameters": {
        "content": ""
      },
      "typeVersion": 1
    },
    {
      "id": "0ab389df-7203-4a94-8d39-508be1e2f9a5",
      "name": "便签8",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        500,
        -40
      ],
      "parameters": {
        "content": ""
      },
      "typeVersion": 1
    },
    {
      "id": "52a54070-5389-4ad4-aabf-b3b980f883fb",
      "name": "便签9",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        3100,
        -40
      ],
      "parameters": {
        "content": ""
      },
      "typeVersion": 1
    },
    {
      "id": "8c32fe7f-713b-490b-bcea-e3c04b8f0532",
      "name": "便签10",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        4480,
        -40
      ],
      "parameters": {
        "content": ""
      },
      "typeVersion": 1
    },
    {
      "id": "79d37b9f-c776-480d-a902-bf409dfcda90",
      "name": "便签11",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        2040,
        -440
      ],
      "parameters": {
        "content": ""
      },
      "typeVersion": 1
    },
    {
      "id": "ab5d0959-4d07-431e-a97e-3818d42b8762",
      "name": "便签12",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        2700,
        -320
      ],
      "parameters": {
        "content": ""
      },
      "typeVersion": 1
    },
    {
      "id": "6a926b91-b146-4111-9864-fe5fe9e2dcde",
      "name": "便签36",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        3140,
        -780
      ],
      "parameters": {
        "content": ""
      },
      "typeVersion": 1
    },
    {
      "id": "69a5ab38-6b08-4aa4-b09f-5a8df6cbbc06",
      "name": "便签37",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -820,
        -40
      ],
      "parameters": {
        "content": ""
      },
      "typeVersion": 1
    },
    {
      "id": "bfdbaadb-378d-4333-a4dc-77409416518e",
      "name": "如果无视频创意",
      "type": "n8n-nodes-base.if",
      "position": [
        1460,
        -500
      ],
      "parameters": {},
      "typeVersion": 2.2
    },
    {
      "id": "46b617c7-c442-41e7-89bb-d2ad9a4a952b",
      "name": "如果收到用户消息",
      "type": "n8n-nodes-base.if",
      "position": [
        800,
        -520
      ],
      "parameters": {},
      "typeVersion": 2.2
    },
    {
      "id": "bb439785-ad7a-4eea-a3f5-7b9c43daf3fa",
      "name": "Telegram:批准创意",
      "type": "n8n-nodes-base.telegram",
      "position": [
        1680,
        -360
      ],
      "webhookId": "db1005a2-9656-4d82-b2b1-75c43ef22f94",
      "parameters": {},
      "typeVersion": 1.2
    },
    {
      "id": "083f4e7b-c413-44b4-be4c-312b16a50bb6",
      "name": "Telegram:对话式回复",
      "type": "n8n-nodes-base.telegram",
      "position": [
        1680,
        -580
      ],
      "webhookId": "a64bcf56-4b38-43f3-bd83-7e03820ccd41",
      "parameters": {},
      "typeVersion": 1.2
    },
    {
      "id": "d6d3f514-eb33-48b9-9f59-0289271ea3ca",
      "name": "结构化模型输出",
      "type": "@n8n/n8n-nodes-langchain.outputParserStructured",
      "position": [
        1500,
        -260
      ],
      "parameters": {},
      "typeVersion": 1.2
    },
    {
      "id": "dbc3cc57-a749-4c5d-a23e-9dcf6e0fe1e0",
      "name": "跟踪对话记忆",
      "type": "@n8n/n8n-nodes-langchain.memoryBufferWindow",
      "position": [
        1360,
        -260
      ],
      "parameters": {},
      "typeVersion": 1.3
    },
    {
      "id": "d6a0d169-a688-4e23-9556-e5e3b494b213",
      "name": "创意被拒绝",
      "type": "n8n-nodes-base.set",
      "position": [
        920,
        -320
      ],
      "parameters": {},
      "typeVersion": 3.4
    },
    {
      "id": "df76a617-08f1-441f-bf64-8e8109291410",
      "name": "Telegram:处理已开始",
      "type": "n8n-nodes-base.telegram",
      "position": [
        2100,
        -380
      ],
      "webhookId": "38ead703-280d-4883-b2d4-29b7bfc0cda5",
      "parameters": {},
      "typeVersion": 1.2
    },
    {
      "id": "346cadaf-fd6a-4d7b-a590-5f9ecca478ee",
      "name": "如果所有API密钥已设置",
      "type": "n8n-nodes-base.if",
      "position": [
        2540,
        -360
      ],
      "parameters": {},
      "typeVersion": 2.2
    },
    {
      "id": "86ca7938-bf02-4969-9202-d3d8abe03693",
      "name": "Telegram:API密钥缺失",
      "type": "n8n-nodes-base.telegram",
      "position": [
        2760,
        -260
      ],
      "webhookId": "db16deb8-3208-4508-9682-7cf494d27691",
      "parameters": {},
      "typeVersion": 1.2
    },
    {
      "id": "59395bf9-5d55-4075-ad99-7a6315ee1a0e",
      "name": "讨论创意 💡",
      "type": "@n8n/n8n-nodes-langchain.agent",
      "position": [
        1100,
        -500
      ],
      "parameters": {},
      "typeVersion": 1.7
    },
    {
      "id": "7aae508d-a7b7-485a-81e4-1b38c69f1f20",
      "name": "缺失API密钥",
      "type": "n8n-nodes-base.stopAndError",
      "position": [
        2940,
        -240
      ],
      "parameters": {},
      "typeVersion": 1
    },
    {
      "id": "61cbabe0-1c7c-415c-8209-c8110465afb2",
      "name": "脚本",
      "type": "n8n-nodes-base.set",
      "position": [
        3580,
        -340
      ],
      "parameters": {},
      "typeVersion": 3.4
    },
    {
      "id": "3582171f-da82-4b59-b99e-b08185b282e7",
      "name": "将脚本转换为音频",
      "type": "n8n-nodes-base.httpRequest",
      "position": [
        3780,
        -340
      ],
      "parameters": {},
      "typeVersion": 4.2
    },
    {
      "id": "c58401a3-4221-46a5-8385-8b206c863f9a",
      "name": "生成图片",
      "type": "n8n-nodes-base.wait",
      "position": [
        1480,
        600
      ],
      "webhookId": "a197d75d-36f0-4cc8-94d0-db4faca59d02",
      "parameters": {},
      "typeVersion": 1.1
    },
    {
      "id": "39635cbb-4a4f-48d6-930d-ca3f4571b2ff",
      "name": "生成视频",
      "type": "n8n-nodes-base.wait",
      "position": [
        2140,
        600
      ],
      "webhookId": "e6cc5f02-35af-442c-a7a9-e8d0d588e50a",
      "parameters": {},
      "typeVersion": 1.1
    },
    {
      "id": "c6a87258-2a2a-4cfa-8015-92264dac6e07",
      "name": "请求图片",
      "type": "n8n-nodes-base.httpRequest",
      "position": [
        1280,
        600
      ],
      "parameters": {},
      "typeVersion": 4.2
    },
    {
      "id": "19eccce4-c57d-4d82-ab88-67baeaf5d866",
      "name": "获取图片",
      "type": "n8n-nodes-base.httpRequest",
      "position": [
        1700,
        600
      ],
      "parameters": {},
      "typeVersion": 4.2
    },
    {
      "id": "0398e3c4-e85c-43dd-8d3a-c66a36fbace1",
      "name": "请求视频",
      "type": "n8n-nodes-base.httpRequest",
      "position": [
        1920,
        600
      ],
      "parameters": {},
      "typeVersion": 4.2
    },
    {
      "id": "f5a64e4c-a574-4be5-9d70-2ebe41f02f36",
      "name": "获取视频",
      "type": "n8n-nodes-base.httpRequest",
      "position": [
        2360,
        600
      ],
      "parameters": {},
      "typeVersion": 4.2
    },
    {
      "id": "e030de72-0591-4aad-b6a8-29387edf0717",
      "name": "聚合提示词",
      "type": "n8n-nodes-base.aggregate",
      "position": [
        1200,
        840
      ],
      "parameters": {},
      "typeVersion": 1
    },
    {
      "id": "272a14f5-72d2-42a6-9374-ea2ad86eda39",
      "name": "聚合视频",
      "type": "n8n-nodes-base.aggregate",
      "position": [
        2580,
        600
      ],
      "parameters": {},
      "typeVersion": 1
    },
    {
      "id": "75c301ae-66c7-4948-80c0-0c719781cfec",
      "name": "生成渲染JSON",
      "type": "n8n-nodes-base.httpRequest",
      "position": [
        3360,
        600
      ],
      "parameters": {},
      "typeVersion": 4.2
    },
    {
      "id": "6d975638-93da-4e2c-bf2d-9211b34b1e57",
      "name": "合并视频和音频",
      "type": "n8n-nodes-base.merge",
      "position": [
        3140,
        600
      ],
      "parameters": {},
      "typeVersion": 3
    },
    {
      "id": "3da71ba4-4e12-43c3-9936-d91e73f31b18",
      "name": "发送到Creatomate",
      "type": "n8n-nodes-base.httpRequest",
      "position": [
        3800,
        600
      ],
      "parameters": {},
      "typeVersion": 4.2
    },
    {
      "id": "921a4842-bf4e-4d5e-adc0-20d88c15e40b",
      "name": "生成最终视频",
      "type": "n8n-nodes-base.wait",
      "position": [
        4020,
        600
      ],
      "webhookId": "72850d2a-089c-47d8-9799-5b79cc5bd827",
      "parameters": {},
      "typeVersion": 1.1
    },
    {
      "id": "0a872efd-f0f0-4c8d-aa51-5791dbcbad5a",
      "name": "Telegram:批准最终视频",
      "type": "n8n-nodes-base.telegram",
      "position": [
        4880,
        620
      ],
      "webhookId": "05edc6e6-476e-4a32-9ad5-4cf719ba1e0c",
      "parameters": {},
      "typeVersion": 1.2
    },
    {
      "id": "dcba8ace-654d-41c4-9722-f2e7bbad32b9",
      "name": "如果最终视频已批准",
      "type": "n8n-nodes-base.if",
      "position": [
        5100,
        620
      ],
      "parameters": {},
      "typeVersion": 2.2
    },
    {
      "id": "e0680bbe-99d3-42a9-930a-a9b8da39df41",
      "name": "如果创意已批准",
      "type": "n8n-nodes-base.if",
      "position": [
        1880,
        -300
      ],
      "parameters": {},
      "typeVersion": 2.2
    },
    {
      "id": "15b3f1fb-1695-4a0c-910d-edf35cb2c49c",
      "name": "Telegram:视频被拒绝",
      "type": "n8n-nodes-base.telegram",
      "position": [
        5340,
        780
      ],
      "webhookId": "51ff7747-871d-42ec-b9a6-ab6d0855e15f",
      "parameters": {},
      "typeVersion": 1.2
    },
    {
      "id": "da579f73-c462-421b-b891-6d65996093e5",
      "name": "Base64解码为文件",
      "type": "n8n-nodes-base.convertToFile",
      "position": [
        5560,
        500
      ],
      "parameters": {},
      "typeVersion": 1.1
    },
    {
      "id": "e8721454-3f6a-4953-bf25-093a3f47f6c9",
      "name": "将视频转换为Base64",
      "type": "n8n-nodes-base.httpRequest",
      "position": [
        5340,
        500
      ],
      "parameters": {},
      "typeVersion": 4.2
    },
    {
      "id": "3319985b-7aee-44ea-b3d7-0bb4578e0a9b",
      "name": "上传到YouTube",
      "type": "n8n-nodes-base.youTube",
      "position": [
        5780,
        500
      ],
      "parameters": {},
      "typeVersion": 1
    },
    {
      "id": "95e49656-2405-4e03-abac-51bd487084bd",
      "name": "Telegram:视频已上传",
      "type": "n8n-nodes-base.telegram",
      "position": [
        6020,
        500
      ],
      "webhookId": "a1dbfdd4-d31c-49f8-877e-a5ab0978fc7f",
      "parameters": {},
      "typeVersion": 1.2
    },
    {
      "id": "e3793ce0-a7c5-4bdb-b496-43fef2599080",
      "name": "便签18",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -820,
        -1200
      ],
      "parameters": {
        "content": ""
      },
      "typeVersion": 1
    },
    {
      "id": "b2adccd6-82e3-4d54-bebc-67166aca2e50",
      "name": "便签13",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        2280,
        -440
      ],
      "parameters": {
        "content": ""
      },
      "typeVersion": 1
    }
  ],
  "active": false,
  "pinData": {},
  "settings": {
    "executionOrder": "v1"
  },
  "versionId": "5cb0d4c8-c40e-422c-9138-bdefda60deb8",
  "connections": {
    "Script": {
      "main": [
        [
          {
            "node": "Convert Script to Audio",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Split Out": {
      "main": [
        [
          {
            "node": "Image Prompter 📷",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Get Images": {
      "main": [
        [
          {
            "node": "Request Videos",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Get Videos": {
      "main": [
        [
          {
            "node": "Aggregate Videos",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Idea Denied": {
      "main": [
        [
          {
            "node": "Discuss Ideas 💡",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Chunk Script": {
      "main": [
        [
          {
            "node": "Split Out",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Ideator 🧠": {
      "main": [
        [
          {
            "node": "Script",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Set API Keys": {
      "main": [
        [
          {
            "node": "If All API Keys Set",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Request Images": {
      "main": [
        [
          {
            "node": "Generating Images",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Request Videos": {
      "main": [
        [
          {
            "node": "Generating Videos",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Get Final Video": {
      "main": [
        [
          {
            "node": "Merge Video Variables",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Input Variables": {
      "main": [
        [
          {
            "node": "Ideator 🧠",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Aggregate Videos": {
      "main": [
        [
          {
            "node": "Merge Videos and Audio",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "If Idea Approved": {
      "main": [
        [
          {
            "node": "Telegram: Processing Started",
            "type": "main",
            "index": 0
          }
        ],
        [
          {
            "node": "Idea Denied",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "If No Video Idea": {
      "main": [
        [
          {
            "node": "Telegram: Conversational Response",
            "type": "main",
            "index": 0
          }
        ],
        [
          {
            "node": "Telegram: Approve Idea",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Telegram Trigger": {
      "main": [
        [
          {
            "node": "If Message From User",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Aggregate Prompts": {
      "main": [
        [
          {
            "node": "Merge Video Variables",
            "type": "main",
            "index": 1
          }
        ]
      ]
    },
    "Generating Images": {
      "main": [
        [
          {
            "node": "Get Images",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Generating Videos": {
      "main": [
        [
          {
            "node": "Get Videos",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "OpenAI Chat Model": {
      "ai_languageModel": [
        [
          {
            "node": "Discuss Ideas 💡",
            "type": "ai_languageModel",
            "index": 0
          }
        ]
      ]
    },
    "Set JSON Variable": {
      "main": [
        [
          {
            "node": "Send to Creatomate",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Upload to YouTube": {
      "main": [
        [
          {
            "node": "Telegram: Video Uploaded",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Discuss Ideas 💡": {
      "main": [
        [
          {
            "node": "If No Video Idea",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Send to Creatomate": {
      "main": [
        [
          {
            "node": "Generating Final Video",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "If All API Keys Set": {
      "main": [
        [
          {
            "node": "Input Variables",
            "type": "main",
            "index": 0
          }
        ],
        [
          {
            "node": "Telegram: API Keys Missing",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Image Prompter 📷": {
      "main": [
        [
          {
            "node": "Aggregate Prompts",
            "type": "main",
            "index": 0
          },
          {
            "node": "Request Images",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Generate Render JSON": {
      "main": [
        [
          {
            "node": "Set JSON Variable",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "If Message From User": {
      "main": [
        [
          {
            "node": "Discuss Ideas 💡",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Upload to Cloudinary": {
      "main": [
        [
          {
            "node": "Merge Videos and Audio",
            "type": "main",
            "index": 1
          }
        ]
      ]
    },
    "Decode Base64 to File": {
      "main": [
        [
          {
            "node": "Upload to YouTube",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Merge Video Variables": {
      "main": [
        [
          {
            "node": "Telegram: Approve Final Video",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Generating Final Video": {
      "main": [
        [
          {
            "node": "Get Final Video",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Merge Videos and Audio": {
      "main": [
        [
          {
            "node": "Generate Render JSON",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Structure Model Output": {
      "ai_outputParser": [
        [
          {
            "node": "Discuss Ideas 💡",
            "type": "ai_outputParser",
            "index": 0
          }
        ]
      ]
    },
    "Telegram: Approve Idea": {
      "main": [
        [
          {
            "node": "If Idea Approved",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Convert Script to Audio": {
      "main": [
        [
          {
            "node": "Chunk Script",
            "type": "main",
            "index": 0
          },
          {
            "node": "Upload to Cloudinary",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Convert Video to Base64": {
      "main": [
        [
          {
            "node": "Decode Base64 to File",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "If Final Video Approved": {
      "main": [
        [
          {
            "node": "Convert Video to Base64",
            "type": "main",
            "index": 0
          }
        ],
        [
          {
            "node": "Telegram: Video Declined",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Track Conversation Memory": {
      "ai_memory": [
        [
          {
            "node": "Discuss Ideas 💡",
            "type": "ai_memory",
            "index": 0
          }
        ]
      ]
    },
    "Telegram: API Keys Missing": {
      "main": [
        [
          {
            "node": "Missing API Keys",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Telegram: Processing Started": {
      "main": [
        [
          {
            "node": "Set API Keys",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Telegram: Approve Final Video": {
      "main": [
        [
          {
            "node": "If Final Video Approved",
            "type": "main",
            "index": 0
          }
        ]
      ]
    }
  }
}
常见问题

如何使用这个工作流?

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

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

高级 - 设计, 人工智能, 营销

需要付费吗?

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

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

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

作者
WIKIPILOT

WIKIPILOT

@auto

Passionate about automation – building and refining workflows for 3+ years.

外部链接
在 n8n.io 查看

分享此工作流