AI 自动化 YouTube Shorts:使用 OpenAI 创建和发布

高级

这是一个Design、AI、Marketing领域的自动化工作流,包含 76 个节点。主要使用 If、Set、Wait、Merge、YouTube 等节点,结合人工智能技术实现智能自动化。 AI 自动化 YouTube Shorts:使用 OpenAI 创建和发布

前置要求
  • Telegram Bot Token
  • 可能需要目标 API 的认证凭证
  • OpenAI API Key
工作流预览
可视化展示节点连接关系,支持缩放和平移
导出工作流
复制以下 JSON 配置到 n8n 导入,即可使用此工作流
{
  "meta": {
    "instanceId": "9dccdfe8987e4c49c08e7a16961e37ed9761fc55ab3993673e1e161ebbbe1a77",
    "templateCredsSetupCompleted": true
  },
  "nodes": [
    {
      "id": "7ad310a0-b764-4278-b3be-e36943d19a38",
      "name": "创意生成器 🧠",
      "type": "@n8n/n8n-nodes-langchain.openAi",
      "position": [
        4040,
        860
      ],
      "parameters": {},
      "typeVersion": 1.7
    },
    {
      "id": "79ae3bd0-89ca-4d3c-9563-ace731be1cf7",
      "name": "分块脚本",
      "type": "n8n-nodes-base.httpRequest",
      "position": [
        4880,
        800
      ],
      "parameters": {},
      "typeVersion": 4.2
    },
    {
      "id": "154420c5-ced8-4b72-ae48-c190440900ce",
      "name": "图像提示生成器 📷",
      "type": "@n8n/n8n-nodes-langchain.openAi",
      "position": [
        1740,
        1800
      ],
      "parameters": {},
      "typeVersion": 1.7
    },
    {
      "id": "43dfe9e0-dd96-419b-9e59-b843d421bdf6",
      "name": "分离输出",
      "type": "n8n-nodes-base.splitOut",
      "position": [
        5120,
        980
      ],
      "parameters": {},
      "typeVersion": 1
    },
    {
      "id": "6b74fbca-0c87-4858-8d4a-2060dd845080",
      "name": "获取最终视频",
      "type": "n8n-nodes-base.httpRequest",
      "position": [
        5060,
        1800
      ],
      "parameters": {},
      "typeVersion": 4.2
    },
    {
      "id": "34040b2b-567d-4bcc-94de-2f3a0a58e20f",
      "name": "设置 JSON 变量",
      "type": "n8n-nodes-base.set",
      "position": [
        4400,
        1800
      ],
      "parameters": {},
      "typeVersion": 3.4
    },
    {
      "id": "a0cc94fe-d811-41d6-9982-3d957a5a608a",
      "name": "上传到 Cloudinary",
      "type": "n8n-nodes-base.httpRequest",
      "position": [
        4880,
        1000
      ],
      "parameters": {},
      "typeVersion": 4.2
    },
    {
      "id": "4f530232-bff8-4951-9dc8-69792ad94f0e",
      "name": "OpenAI 聊天模型",
      "type": "@n8n/n8n-nodes-langchain.lmChatOpenAi",
      "position": [
        2020,
        940
      ],
      "parameters": {},
      "typeVersion": 1.2
    },
    {
      "id": "060b7d56-3475-4bbe-9424-bdf4437112a3",
      "name": "输入变量",
      "type": "n8n-nodes-base.set",
      "position": [
        3580,
        720
      ],
      "parameters": {},
      "typeVersion": 3.4
    },
    {
      "id": "f3e259d0-7aef-4cbf-a41d-4cb24f16c2a6",
      "name": "合并视频变量",
      "type": "n8n-nodes-base.merge",
      "position": [
        5440,
        1820
      ],
      "parameters": {},
      "typeVersion": 3
    },
    {
      "id": "445cf2ba-1380-47ce-a2df-84746014bde8",
      "name": "便签",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        1340,
        620
      ],
      "parameters": {
        "content": ""
      },
      "typeVersion": 1
    },
    {
      "id": "a9d5d391-5b07-46a9-a39d-0b3177de6968",
      "name": "Telegram 触发器",
      "type": "n8n-nodes-base.telegramTrigger",
      "position": [
        1400,
        680
      ],
      "webhookId": "b10acf13-4ead-4bd0-997a-be0b8756d00e",
      "parameters": {},
      "typeVersion": 1.1
    },
    {
      "id": "34e60f92-9ec7-43b3-834d-5b8666f82f98",
      "name": "便签1",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        2440,
        560
      ],
      "parameters": {
        "content": ""
      },
      "typeVersion": 1
    },
    {
      "id": "382b8854-3008-4e5e-b003-49ea6367f5f8",
      "name": "便签2",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        1960,
        880
      ],
      "parameters": {
        "content": ""
      },
      "typeVersion": 1
    },
    {
      "id": "bd7b7513-17c0-4f31-a3ef-7184cd17da72",
      "name": "便签3",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        4020,
        780
      ],
      "parameters": {
        "content": ""
      },
      "typeVersion": 1
    },
    {
      "id": "4d711bbb-334d-408f-b18d-39bff4b0f2e9",
      "name": "便签7",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        1720,
        1720
      ],
      "parameters": {
        "content": ""
      },
      "typeVersion": 1
    },
    {
      "id": "5cfa5bce-e759-4091-ab55-412e828338b5",
      "name": "便签 16",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        5640,
        1760
      ],
      "parameters": {
        "content": ""
      },
      "typeVersion": 1
    },
    {
      "id": "3b6168b1-7d6c-4180-bed9-3c480cd827c8",
      "name": "便签19",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        6540,
        1640
      ],
      "parameters": {
        "content": ""
      },
      "typeVersion": 1
    },
    {
      "id": "968bc1ec-3e6b-4648-a814-7ccd009893ee",
      "name": "便签21",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        6780,
        1640
      ],
      "parameters": {
        "content": ""
      },
      "typeVersion": 1
    },
    {
      "id": "6a4bba66-4338-4001-8061-2ecd07a57d92",
      "name": "便签 25",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        660,
        140
      ],
      "parameters": {
        "content": ""
      },
      "typeVersion": 1
    },
    {
      "id": "43d0c364-187d-47b3-a645-f2b528f84745",
      "name": "便签 26",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        660,
        340
      ],
      "parameters": {
        "content": ""
      },
      "typeVersion": 1
    },
    {
      "id": "02503f7a-4f91-4003-8bd7-43291900ad14",
      "name": "便签17",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        6100,
        1920
      ],
      "parameters": {
        "content": ""
      },
      "typeVersion": 1
    },
    {
      "id": "8f83fbc5-6b86-4879-9bdb-c11585971b1b",
      "name": "便签27",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        6380,
        1240
      ],
      "parameters": {
        "content": ""
      },
      "typeVersion": 1
    },
    {
      "id": "b8e1f0a0-3f9a-45bf-897d-f7ae1002dc5e",
      "name": "便签31",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        660,
        840
      ],
      "parameters": {
        "content": ""
      },
      "typeVersion": 1
    },
    {
      "id": "d2ffa232-ae55-4df5-892b-ec98d8adc40a",
      "name": "便签32",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        4440,
        420
      ],
      "parameters": {
        "content": ""
      },
      "typeVersion": 1
    },
    {
      "id": "71258211-a504-496c-bbd1-1be4b61b42b2",
      "name": "便签29",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        660,
        620
      ],
      "parameters": {
        "content": ""
      },
      "typeVersion": 1
    },
    {
      "id": "c320baf5-89f1-42f9-8462-ff5cc83018f4",
      "name": "便签24",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        1720,
        1400
      ],
      "parameters": {
        "content": ""
      },
      "typeVersion": 1
    },
    {
      "id": "f6d1fd86-aabb-45bf-abe4-88ebf5508d78",
      "name": "便签33",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        2040,
        1400
      ],
      "parameters": {
        "content": ""
      },
      "typeVersion": 1
    },
    {
      "id": "a0eab951-26d7-4d83-8f14-f6cd29b86c2b",
      "name": "便签34",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        2680,
        1400
      ],
      "parameters": {
        "content": ""
      },
      "typeVersion": 1
    },
    {
      "id": "2a58d3cf-deee-41f5-a6d6-c90cf1c6610a",
      "name": "便签35",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        4520,
        1640
      ],
      "parameters": {
        "content": ""
      },
      "typeVersion": 1
    },
    {
      "id": "583322a6-7f12-40f6-83fa-649c5756e425",
      "name": "设置 API 密钥",
      "type": "n8n-nodes-base.set",
      "notes": "SET BEFORE STARTING",
      "position": [
        3160,
        820
      ],
      "parameters": {},
      "notesInFlow": true,
      "typeVersion": 3.4
    },
    {
      "id": "579eb0e0-e78e-4914-917f-0391ef9873ff",
      "name": "便签5",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        1320,
        140
      ],
      "parameters": {
        "content": ""
      },
      "typeVersion": 1
    },
    {
      "id": "3103ad32-9f2d-42e1-b5fc-f3ffd60b663f",
      "name": "便签6",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        3920,
        140
      ],
      "parameters": {
        "content": ""
      },
      "typeVersion": 1
    },
    {
      "id": "8207e7d6-7038-458f-b5e0-c3d43a539709",
      "name": "便签8",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        1320,
        1160
      ],
      "parameters": {
        "content": ""
      },
      "typeVersion": 1
    },
    {
      "id": "ffd9ad09-4bd6-4441-8986-cc43ac67c0d7",
      "name": "便签9",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        3920,
        1160
      ],
      "parameters": {
        "content": ""
      },
      "typeVersion": 1
    },
    {
      "id": "7757387b-c705-4b29-bb2d-45c00f662ded",
      "name": "便签10",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        5300,
        1160
      ],
      "parameters": {
        "content": ""
      },
      "typeVersion": 1
    },
    {
      "id": "1eccd9d8-3604-4bb2-b461-0dddd2f1b6f6",
      "name": "便利贴11",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        2860,
        760
      ],
      "parameters": {
        "content": ""
      },
      "typeVersion": 1
    },
    {
      "id": "f0664105-d2c0-4e32-a88a-7a1fa4070853",
      "name": "便利贴12",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        3520,
        880
      ],
      "parameters": {
        "content": ""
      },
      "typeVersion": 1
    },
    {
      "id": "5d4220af-d36b-46db-8444-cf35d4ee6027",
      "name": "便签36",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        3960,
        420
      ],
      "parameters": {
        "content": ""
      },
      "typeVersion": 1
    },
    {
      "id": "004a8fbf-8ebd-4641-8083-72888cd80156",
      "name": "便签37",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        0,
        1160
      ],
      "parameters": {
        "content": ""
      },
      "typeVersion": 1
    },
    {
      "id": "6d3f0666-6acc-46ca-b1ba-2bf67ab209e9",
      "name": "如果无视频创意",
      "type": "n8n-nodes-base.if",
      "position": [
        2280,
        700
      ],
      "parameters": {},
      "typeVersion": 2.2
    },
    {
      "id": "f27ee491-10cd-422e-ba20-b5713292e585",
      "name": "如果来自用户的消息",
      "type": "n8n-nodes-base.if",
      "position": [
        1620,
        680
      ],
      "parameters": {},
      "typeVersion": 2.2
    },
    {
      "id": "ead24655-52b3-484a-a3cd-760abef16100",
      "name": "Telegram:批准创意",
      "type": "n8n-nodes-base.telegram",
      "position": [
        2500,
        840
      ],
      "webhookId": "db1005a2-9656-4d82-b2b1-75c43ef22f94",
      "parameters": {},
      "typeVersion": 1.2
    },
    {
      "id": "9c6819a8-5e6e-4c8b-b6bb-6e3c75a37e64",
      "name": "Telegram:对话式回复",
      "type": "n8n-nodes-base.telegram",
      "position": [
        2500,
        620
      ],
      "webhookId": "a64bcf56-4b38-43f3-bd83-7e03820ccd41",
      "parameters": {},
      "typeVersion": 1.2
    },
    {
      "id": "2a12c811-62b2-4568-a9e3-d072da5d89a6",
      "name": "结构化模型输出",
      "type": "@n8n/n8n-nodes-langchain.outputParserStructured",
      "position": [
        2320,
        940
      ],
      "parameters": {},
      "typeVersion": 1.2
    },
    {
      "id": "1bfedaf5-20fd-48ed-aee7-0ae6f1020203",
      "name": "跟踪对话记忆",
      "type": "@n8n/n8n-nodes-langchain.memoryBufferWindow",
      "position": [
        2180,
        940
      ],
      "parameters": {},
      "typeVersion": 1.3
    },
    {
      "id": "9278880d-d4cf-40ad-b3a4-b4fd22dc2f67",
      "name": "创意被拒绝",
      "type": "n8n-nodes-base.set",
      "position": [
        1740,
        880
      ],
      "parameters": {},
      "typeVersion": 3.4
    },
    {
      "id": "a0a400d5-2265-4704-a6ff-84d52e6b7c11",
      "name": "Telegram:处理已开始",
      "type": "n8n-nodes-base.telegram",
      "position": [
        2920,
        820
      ],
      "webhookId": "38ead703-280d-4883-b2d4-29b7bfc0cda5",
      "parameters": {},
      "typeVersion": 1.2
    },
    {
      "id": "87c6107e-e78f-4430-8b37-4cf3d7772875",
      "name": "如果所有 API 密钥已设置",
      "type": "n8n-nodes-base.if",
      "position": [
        3360,
        840
      ],
      "parameters": {},
      "typeVersion": 2.2
    },
    {
      "id": "2dab00ba-ec53-4447-9f30-d29bbeb42f43",
      "name": "Telegram:API 密钥缺失",
      "type": "n8n-nodes-base.telegram",
      "position": [
        3580,
        940
      ],
      "webhookId": "db16deb8-3208-4508-9682-7cf494d27691",
      "parameters": {},
      "typeVersion": 1.2
    },
    {
      "id": "9d2e78fa-6d83-4442-9a4a-d519d59660ab",
      "name": "讨论创意 💡",
      "type": "@n8n/n8n-nodes-langchain.agent",
      "position": [
        1920,
        700
      ],
      "parameters": {},
      "typeVersion": 1.7
    },
    {
      "id": "d578a959-4499-463c-911f-3803bc4a80a1",
      "name": "缺失 API 密钥",
      "type": "n8n-nodes-base.stopAndError",
      "position": [
        3760,
        960
      ],
      "parameters": {},
      "typeVersion": 1
    },
    {
      "id": "14757413-dabb-42fc-a967-83ebd7ca06c6",
      "name": "脚本",
      "type": "n8n-nodes-base.set",
      "position": [
        4400,
        860
      ],
      "parameters": {},
      "typeVersion": 3.4
    },
    {
      "id": "d1af823c-4c90-4d0e-9fba-002cddce4a48",
      "name": "将脚本转换为音频",
      "type": "n8n-nodes-base.httpRequest",
      "position": [
        4600,
        860
      ],
      "parameters": {},
      "typeVersion": 4.2
    },
    {
      "id": "ef1dae2c-4ab4-491c-ba6d-6d8046a14012",
      "name": "生成图像",
      "type": "n8n-nodes-base.wait",
      "position": [
        2300,
        1800
      ],
      "webhookId": "a197d75d-36f0-4cc8-94d0-db4faca59d02",
      "parameters": {},
      "typeVersion": 1.1
    },
    {
      "id": "0dbb7406-cc38-4903-a406-740c8b9acb97",
      "name": "生成视频",
      "type": "n8n-nodes-base.wait",
      "position": [
        2960,
        1800
      ],
      "webhookId": "e6cc5f02-35af-442c-a7a9-e8d0d588e50a",
      "parameters": {},
      "typeVersion": 1.1
    },
    {
      "id": "2f1627c9-5ca7-4d1c-97a6-0b1ddea73764",
      "name": "请求图像",
      "type": "n8n-nodes-base.httpRequest",
      "position": [
        2100,
        1800
      ],
      "parameters": {},
      "typeVersion": 4.2
    },
    {
      "id": "c9088d28-8fd4-4e77-8299-9b836f82d5b6",
      "name": "获取图像",
      "type": "n8n-nodes-base.httpRequest",
      "position": [
        2520,
        1800
      ],
      "parameters": {},
      "typeVersion": 4.2
    },
    {
      "id": "3aab245f-0500-415e-b4e1-6eda9fc97700",
      "name": "请求视频",
      "type": "n8n-nodes-base.httpRequest",
      "position": [
        2740,
        1800
      ],
      "parameters": {},
      "typeVersion": 4.2
    },
    {
      "id": "73b1efac-4322-45d8-9a3e-b3d2aacd690d",
      "name": "获取视频",
      "type": "n8n-nodes-base.httpRequest",
      "position": [
        3180,
        1800
      ],
      "parameters": {},
      "typeVersion": 4.2
    },
    {
      "id": "4eb5ea92-751a-4b2c-894a-ce75b508d16e",
      "name": "聚合提示",
      "type": "n8n-nodes-base.aggregate",
      "position": [
        2020,
        2040
      ],
      "parameters": {},
      "typeVersion": 1
    },
    {
      "id": "6dda00ae-0a2e-440a-ba1a-b92aece7ae53",
      "name": "聚合视频",
      "type": "n8n-nodes-base.aggregate",
      "position": [
        3400,
        1800
      ],
      "parameters": {},
      "typeVersion": 1
    },
    {
      "id": "0c15c7bf-bfa4-479b-bc40-aa7b76573186",
      "name": "生成渲染 JSON",
      "type": "n8n-nodes-base.httpRequest",
      "position": [
        4180,
        1800
      ],
      "parameters": {},
      "typeVersion": 4.2
    },
    {
      "id": "c94bcc71-265f-40e8-88e7-40b1d1a42bf7",
      "name": "合并视频和音频",
      "type": "n8n-nodes-base.merge",
      "position": [
        3960,
        1800
      ],
      "parameters": {},
      "typeVersion": 3
    },
    {
      "id": "6115f4c5-e58d-49ea-9f02-05b4ad045f56",
      "name": "发送到 Creatomate",
      "type": "n8n-nodes-base.httpRequest",
      "position": [
        4620,
        1800
      ],
      "parameters": {},
      "typeVersion": 4.2
    },
    {
      "id": "5207a214-67fb-47c3-869d-2902846c6385",
      "name": "生成最终视频",
      "type": "n8n-nodes-base.wait",
      "position": [
        4840,
        1800
      ],
      "webhookId": "72850d2a-089c-47d8-9799-5b79cc5bd827",
      "parameters": {},
      "typeVersion": 1.1
    },
    {
      "id": "f71f64cb-906f-47a3-9a03-a402db1d6829",
      "name": "Telegram:批准最终视频",
      "type": "n8n-nodes-base.telegram",
      "position": [
        5700,
        1820
      ],
      "webhookId": "05edc6e6-476e-4a32-9ad5-4cf719ba1e0c",
      "parameters": {},
      "typeVersion": 1.2
    },
    {
      "id": "93c39a5d-2962-495d-badc-2baf472b0495",
      "name": "如果最终视频已批准",
      "type": "n8n-nodes-base.if",
      "position": [
        5920,
        1820
      ],
      "parameters": {},
      "typeVersion": 2.2
    },
    {
      "id": "9fca50b7-2990-4023-9d3a-eaeeb400921d",
      "name": "如果创意已批准",
      "type": "n8n-nodes-base.if",
      "position": [
        2700,
        900
      ],
      "parameters": {},
      "typeVersion": 2.2
    },
    {
      "id": "5e6c0a2b-77cb-4b76-af7a-aa39284bfe53",
      "name": "Telegram:视频被拒绝",
      "type": "n8n-nodes-base.telegram",
      "position": [
        6160,
        1980
      ],
      "webhookId": "51ff7747-871d-42ec-b9a6-ab6d0855e15f",
      "parameters": {},
      "typeVersion": 1.2
    },
    {
      "id": "bf4a507e-1613-4dc6-9b6f-9a15794061a1",
      "name": "解码 Base64 为文件",
      "type": "n8n-nodes-base.convertToFile",
      "position": [
        6380,
        1700
      ],
      "parameters": {},
      "typeVersion": 1.1
    },
    {
      "id": "440bb48d-de3d-4ad9-baad-075e6d174980",
      "name": "将视频转换为 Base64",
      "type": "n8n-nodes-base.httpRequest",
      "position": [
        6160,
        1700
      ],
      "parameters": {},
      "typeVersion": 4.2
    },
    {
      "id": "1b19c9f1-6388-4beb-9a1c-ee3b3f01c2e3",
      "name": "上传到 YouTube",
      "type": "n8n-nodes-base.youTube",
      "position": [
        6600,
        1700
      ],
      "parameters": {},
      "typeVersion": 1
    },
    {
      "id": "94633e54-1aff-40d9-b2b6-52e7338fac44",
      "name": "Telegram:视频已上传",
      "type": "n8n-nodes-base.telegram",
      "position": [
        6840,
        1700
      ],
      "webhookId": "a1dbfdd4-d31c-49f8-877e-a5ab0978fc7f",
      "parameters": {},
      "typeVersion": 1.2
    },
    {
      "id": "9a9ed9ab-9537-42b3-b579-40dee518a32a",
      "name": "便签18",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        0,
        0
      ],
      "parameters": {
        "content": ""
      },
      "typeVersion": 1
    },
    {
      "id": "de5c25b7-f8cb-4a94-b483-7194ada9746a",
      "name": "便签13",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        3100,
        760
      ],
      "parameters": {
        "content": ""
      },
      "typeVersion": 1
    }
  ],
  "pinData": {},
  "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 导入」,粘贴配置后根据需要修改凭证设置即可。

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

这是一个高级难度的工作流,适用于Design、AI、Marketing等场景。适合高级用户,包含 16+ 个节点的复杂工作流

需要付费吗?

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

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

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

作者
AYYOUB TIGAMI

AYYOUB TIGAMI

@ayyoubtigami

I'm passionate about solving everyday problems through the power of automation. I've been building and refining automated workflows for over 5 years now. My goal is to inspire others to reclaim their time and boost their productivity. Let's explore the world of automation together!

外部链接
在 n8n.io 上查看 →

分享此工作流