8
n8n 中文网amn8n.com

AI视频生成器 - OpenAI、ElevenLabs与Telegram YouTube发布

高级

这是一个Sales, AI, Marketing领域的自动化工作流,包含 68 个节点。主要使用 If, Set, Wait, Merge, YouTube 等节点,结合人工智能技术实现智能自动化。 集成OpenAI、ElevenLabs并通过Telegram发布至YouTube的AI视频生成器

前置要求
  • Telegram Bot Token
  • 可能需要目标 API 的认证凭证
  • OpenAI API Key
工作流预览
可视化展示节点连接关系,支持缩放和平移
导出工作流
复制以下 JSON 配置到 n8n 导入,即可使用此工作流
{
  "meta": {
    "instanceId": "19bcd60ab4c585843589e869186ed8f4ce9749309d0a3e8691d67879d955cf70"
  },
  "nodes": [
    {
      "id": "11d83034-79cc-4b2f-b17b-9034f222f55d",
      "name": "创意生成器 🧠",
      "type": "@n8n/n8n-nodes-langchain.openAi",
      "position": [
        4040,
        860
      ],
      "parameters": {},
      "typeVersion": 1.7
    },
    {
      "id": "50fb32fe-72a8-4b13-9371-f21fc688bb1f",
      "name": "分块脚本",
      "type": "n8n-nodes-base.httpRequest",
      "position": [
        4880,
        800
      ],
      "parameters": {},
      "typeVersion": 4.2
    },
    {
      "id": "e90a78e8-b17d-48c7-bf33-fe61936f4ce4",
      "name": "图像提示器 📷",
      "type": "@n8n/n8n-nodes-langchain.openAi",
      "position": [
        1740,
        1800
      ],
      "parameters": {},
      "typeVersion": 1.7
    },
    {
      "id": "e6c37d62-d885-4031-add3-22f398d4066d",
      "name": "拆分输出",
      "type": "n8n-nodes-base.splitOut",
      "position": [
        5120,
        980
      ],
      "parameters": {},
      "typeVersion": 1
    },
    {
      "id": "599888a6-2341-421c-a7ef-eb72af16b0e0",
      "name": "获取最终视频",
      "type": "n8n-nodes-base.httpRequest",
      "position": [
        5060,
        1800
      ],
      "parameters": {},
      "typeVersion": 4.2
    },
    {
      "id": "37849ce2-0506-43cd-9b05-65165ff16c5f",
      "name": "设置 JSON 变量",
      "type": "n8n-nodes-base.set",
      "position": [
        4400,
        1800
      ],
      "parameters": {},
      "typeVersion": 3.4
    },
    {
      "id": "d1a31113-24b1-405c-8114-77f466860883",
      "name": "上传至 Cloudinary",
      "type": "n8n-nodes-base.httpRequest",
      "position": [
        4880,
        1000
      ],
      "parameters": {},
      "typeVersion": 4.2
    },
    {
      "id": "d286d2ec-952d-4018-87cd-5bbf3bb753f4",
      "name": "OpenAI 聊天模型",
      "type": "@n8n/n8n-nodes-langchain.lmChatOpenAi",
      "position": [
        2020,
        940
      ],
      "parameters": {},
      "typeVersion": 1.2
    },
    {
      "id": "06d915e9-27e4-48f0-9dc9-84dc016f01f5",
      "name": "输入变量",
      "type": "n8n-nodes-base.set",
      "position": [
        3580,
        720
      ],
      "parameters": {},
      "typeVersion": 3.4
    },
    {
      "id": "20ba9d88-f409-4227-a115-4073b212859f",
      "name": "合并视频变量",
      "type": "n8n-nodes-base.merge",
      "position": [
        5440,
        1820
      ],
      "parameters": {},
      "typeVersion": 3
    },
    {
      "id": "8ec4c2bb-8e65-4dde-92ce-bf920cd72711",
      "name": "便签",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        1340,
        620
      ],
      "parameters": {
        "content": ""
      },
      "typeVersion": 1
    },
    {
      "id": "a637b6d9-650b-43eb-8a3e-ecc5bb6dcb81",
      "name": "Telegram 触发器",
      "type": "n8n-nodes-base.telegramTrigger",
      "position": [
        1400,
        680
      ],
      "webhookId": "b10acf13-4ead-4bd0-997a-be0b8756d00e",
      "parameters": {},
      "typeVersion": 1.1
    },
    {
      "id": "6e8a7919-79cb-4807-b800-0db4fe23ace8",
      "name": "便签1",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        2440,
        560
      ],
      "parameters": {
        "content": ""
      },
      "typeVersion": 1
    },
    {
      "id": "f8a7305c-8ab0-432e-b5b7-3495091d23e1",
      "name": "便签2",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        1960,
        880
      ],
      "parameters": {
        "content": ""
      },
      "typeVersion": 1
    },
    {
      "id": "b8b0ce12-570a-499f-a50c-f73de5ec5116",
      "name": "便签3",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        4020,
        780
      ],
      "parameters": {
        "content": ""
      },
      "typeVersion": 1
    },
    {
      "id": "c499f9c9-f600-41ab-a990-f21538b5cfce",
      "name": "便签7",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        1720,
        1720
      ],
      "parameters": {
        "content": ""
      },
      "typeVersion": 1
    },
    {
      "id": "0594b707-6ce0-4794-b195-c7af1d78dc52",
      "name": "便签16",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        5640,
        1760
      ],
      "parameters": {
        "content": ""
      },
      "typeVersion": 1
    },
    {
      "id": "b77c62c2-45f1-4c18-8c7f-c1794248cc75",
      "name": "便签19",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        6540,
        1640
      ],
      "parameters": {
        "content": ""
      },
      "typeVersion": 1
    },
    {
      "id": "e264daea-3f15-4b21-bc14-502944a0ac3d",
      "name": "便签21",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        6780,
        1640
      ],
      "parameters": {
        "content": ""
      },
      "typeVersion": 1
    },
    {
      "id": "a0d8e890-850f-4ce3-9f8a-5d5b2bb632af",
      "name": "便签17",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        6100,
        1920
      ],
      "parameters": {
        "content": ""
      },
      "typeVersion": 1
    },
    {
      "id": "d15afc60-ee08-4830-950c-3b7da49b8e65",
      "name": "便签27",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        6380,
        1240
      ],
      "parameters": {
        "content": ""
      },
      "typeVersion": 1
    },
    {
      "id": "a7484af0-f818-4f80-91cb-a971dcf6cf32",
      "name": "便签32",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        4440,
        420
      ],
      "parameters": {
        "content": ""
      },
      "typeVersion": 1
    },
    {
      "id": "d83ec7ec-6ded-4e65-906c-92402a17bded",
      "name": "便签24",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        1720,
        1400
      ],
      "parameters": {
        "content": ""
      },
      "typeVersion": 1
    },
    {
      "id": "ba3d1aab-812a-4164-816f-0b9432a9c249",
      "name": "便签33",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        2040,
        1400
      ],
      "parameters": {
        "content": ""
      },
      "typeVersion": 1
    },
    {
      "id": "9588ec38-553c-42ac-9256-dae6ac5c512d",
      "name": "便签34",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        2680,
        1400
      ],
      "parameters": {
        "content": ""
      },
      "typeVersion": 1
    },
    {
      "id": "c217c85d-e8e8-43dd-8c1e-cb1084a9d826",
      "name": "便签35",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        4520,
        1640
      ],
      "parameters": {
        "content": ""
      },
      "typeVersion": 1
    },
    {
      "id": "d99a688a-d8c6-4ec2-b455-1a4ad754d091",
      "name": "设置 API 密钥",
      "type": "n8n-nodes-base.set",
      "notes": "SET BEFORE STARTING",
      "position": [
        3160,
        820
      ],
      "parameters": {},
      "notesInFlow": true,
      "typeVersion": 3.4
    },
    {
      "id": "3b78f622-3a15-4cbe-8826-f1b09ad433a2",
      "name": "便签6",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        3920,
        140
      ],
      "parameters": {
        "content": ""
      },
      "typeVersion": 1
    },
    {
      "id": "69814490-a4d9-4bcb-94e8-3cb512a9d4de",
      "name": "便签9",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        3920,
        1160
      ],
      "parameters": {
        "content": ""
      },
      "typeVersion": 1
    },
    {
      "id": "de8eed31-2178-485d-ac9b-6a8b106a3a59",
      "name": "便签10",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        5300,
        1160
      ],
      "parameters": {
        "content": ""
      },
      "typeVersion": 1
    },
    {
      "id": "0b4b2870-b5ef-43f3-9e65-e573be7a292a",
      "name": "便签11",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        2860,
        760
      ],
      "parameters": {
        "content": ""
      },
      "typeVersion": 1
    },
    {
      "id": "f2992119-fdcf-4b5e-8bef-5cf2d0029644",
      "name": "便签12",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        3520,
        880
      ],
      "parameters": {
        "content": ""
      },
      "typeVersion": 1
    },
    {
      "id": "6a900a38-ac94-4ab3-a46d-46f31809de6a",
      "name": "便签36",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        3960,
        420
      ],
      "parameters": {
        "content": ""
      },
      "typeVersion": 1
    },
    {
      "id": "a0486e76-61a1-440b-a1a5-9ee0957e29e2",
      "name": "若无视频创意",
      "type": "n8n-nodes-base.if",
      "position": [
        2280,
        700
      ],
      "parameters": {},
      "typeVersion": 2.2
    },
    {
      "id": "68a17a1d-4c2e-4f06-a796-da98a8131eb8",
      "name": "若收到用户消息",
      "type": "n8n-nodes-base.if",
      "position": [
        1620,
        680
      ],
      "parameters": {},
      "typeVersion": 2.2
    },
    {
      "id": "6e07942b-eb2b-4e53-9336-5bca3396dae6",
      "name": "Telegram:批准创意",
      "type": "n8n-nodes-base.telegram",
      "position": [
        2500,
        840
      ],
      "webhookId": "db1005a2-9656-4d82-b2b1-75c43ef22f94",
      "parameters": {},
      "typeVersion": 1.2
    },
    {
      "id": "f62e2689-16ce-45e4-8c02-4107a1d40179",
      "name": "Telegram:对话式回复",
      "type": "n8n-nodes-base.telegram",
      "position": [
        2500,
        620
      ],
      "webhookId": "a64bcf56-4b38-43f3-bd83-7e03820ccd41",
      "parameters": {},
      "typeVersion": 1.2
    },
    {
      "id": "667dc6f2-3c24-458d-9f8c-5727589df6b9",
      "name": "结构化模型输出",
      "type": "@n8n/n8n-nodes-langchain.outputParserStructured",
      "position": [
        2320,
        940
      ],
      "parameters": {},
      "typeVersion": 1.2
    },
    {
      "id": "0e581648-9f94-4ff1-a85b-d6e9760ba567",
      "name": "追踪对话记忆",
      "type": "@n8n/n8n-nodes-langchain.memoryBufferWindow",
      "position": [
        2180,
        940
      ],
      "parameters": {},
      "typeVersion": 1.3
    },
    {
      "id": "7ae49fb4-4861-4423-a075-9bcf91b1eb26",
      "name": "创意被拒绝",
      "type": "n8n-nodes-base.set",
      "position": [
        1740,
        880
      ],
      "parameters": {},
      "typeVersion": 3.4
    },
    {
      "id": "b15c9238-2ba8-4568-b2d0-55ee44692fe5",
      "name": "Telegram:处理已开始",
      "type": "n8n-nodes-base.telegram",
      "position": [
        2920,
        820
      ],
      "webhookId": "38ead703-280d-4883-b2d4-29b7bfc0cda5",
      "parameters": {},
      "typeVersion": 1.2
    },
    {
      "id": "05eb7596-a1b8-43b9-83d3-697e00b686f8",
      "name": "若所有 API 密钥已设置",
      "type": "n8n-nodes-base.if",
      "position": [
        3360,
        840
      ],
      "parameters": {},
      "typeVersion": 2.2
    },
    {
      "id": "fdcaf382-0218-44dd-96b4-a950c6ab0cdc",
      "name": "Telegram:API 密钥缺失",
      "type": "n8n-nodes-base.telegram",
      "position": [
        3580,
        940
      ],
      "webhookId": "db16deb8-3208-4508-9682-7cf494d27691",
      "parameters": {},
      "typeVersion": 1.2
    },
    {
      "id": "bfbeb67b-3a11-43d7-88b8-9bdc9eaf634d",
      "name": "讨论创意 💡",
      "type": "@n8n/n8n-nodes-langchain.agent",
      "position": [
        1920,
        700
      ],
      "parameters": {},
      "typeVersion": 1.7
    },
    {
      "id": "3f8bb57a-9ad3-4bcf-9774-1bb8bdc2eb8c",
      "name": "缺失的 API 密钥",
      "type": "n8n-nodes-base.stopAndError",
      "position": [
        3760,
        960
      ],
      "parameters": {},
      "typeVersion": 1
    },
    {
      "id": "1ac026b5-afb3-474b-bfb9-0dc1b8905e4d",
      "name": "脚本",
      "type": "n8n-nodes-base.set",
      "position": [
        4400,
        860
      ],
      "parameters": {},
      "typeVersion": 3.4
    },
    {
      "id": "85ef463f-928c-4502-91da-4ffe124c6258",
      "name": "将脚本转换为音频",
      "type": "n8n-nodes-base.httpRequest",
      "position": [
        4600,
        860
      ],
      "parameters": {},
      "typeVersion": 4.2
    },
    {
      "id": "36bb3f12-6d14-4a64-be36-fc6796dc8d6c",
      "name": "生成图像",
      "type": "n8n-nodes-base.wait",
      "position": [
        2300,
        1800
      ],
      "webhookId": "a197d75d-36f0-4cc8-94d0-db4faca59d02",
      "parameters": {},
      "typeVersion": 1.1
    },
    {
      "id": "8b2c2ba5-3aff-455d-b6f5-453c3432d8b3",
      "name": "生成视频",
      "type": "n8n-nodes-base.wait",
      "position": [
        2960,
        1800
      ],
      "webhookId": "e6cc5f02-35af-442c-a7a9-e8d0d588e50a",
      "parameters": {},
      "typeVersion": 1.1
    },
    {
      "id": "78457f0a-2114-4c7f-83f8-7af8d0b8edb8",
      "name": "请求图像",
      "type": "n8n-nodes-base.httpRequest",
      "position": [
        2100,
        1800
      ],
      "parameters": {},
      "typeVersion": 4.2
    },
    {
      "id": "3f6894b2-b2ef-44e3-9cc6-ae1cc524ae2a",
      "name": "获取图像",
      "type": "n8n-nodes-base.httpRequest",
      "position": [
        2520,
        1800
      ],
      "parameters": {},
      "typeVersion": 4.2
    },
    {
      "id": "7d6ce189-dc8a-4ac2-adfc-9c5d8232be11",
      "name": "请求视频",
      "type": "n8n-nodes-base.httpRequest",
      "position": [
        2740,
        1800
      ],
      "parameters": {},
      "typeVersion": 4.2
    },
    {
      "id": "28c9c2f7-cd48-4299-a657-a5be37fe402f",
      "name": "获取视频",
      "type": "n8n-nodes-base.httpRequest",
      "position": [
        3180,
        1800
      ],
      "parameters": {},
      "typeVersion": 4.2
    },
    {
      "id": "c2ef7a73-cc12-473d-b3c5-433ef02c120f",
      "name": "聚合提示",
      "type": "n8n-nodes-base.aggregate",
      "position": [
        2020,
        2040
      ],
      "parameters": {},
      "typeVersion": 1
    },
    {
      "id": "b599d0e2-8c9e-41ab-bade-d29b855b4178",
      "name": "聚合视频",
      "type": "n8n-nodes-base.aggregate",
      "position": [
        3400,
        1800
      ],
      "parameters": {},
      "typeVersion": 1
    },
    {
      "id": "1c441834-6a45-4a43-8854-2b8ee4914ee1",
      "name": "生成渲染 JSON",
      "type": "n8n-nodes-base.httpRequest",
      "position": [
        4180,
        1800
      ],
      "parameters": {},
      "typeVersion": 4.2
    },
    {
      "id": "fb109774-cf94-45e8-bf9d-7b8162a96194",
      "name": "合并视频和音频",
      "type": "n8n-nodes-base.merge",
      "position": [
        3960,
        1800
      ],
      "parameters": {},
      "typeVersion": 3
    },
    {
      "id": "c2a3ead8-4aae-4c51-a357-2089ec5094d7",
      "name": "发送至 Creatomate",
      "type": "n8n-nodes-base.httpRequest",
      "position": [
        4620,
        1800
      ],
      "parameters": {},
      "typeVersion": 4.2
    },
    {
      "id": "de8e96a1-7cb0-42fa-88e2-81c8d4f182ae",
      "name": "生成最终视频",
      "type": "n8n-nodes-base.wait",
      "position": [
        4840,
        1800
      ],
      "webhookId": "72850d2a-089c-47d8-9799-5b79cc5bd827",
      "parameters": {},
      "typeVersion": 1.1
    },
    {
      "id": "6d9d22b9-0655-4375-8ad9-df17aad74d67",
      "name": "Telegram:批准最终视频",
      "type": "n8n-nodes-base.telegram",
      "position": [
        5700,
        1820
      ],
      "webhookId": "05edc6e6-476e-4a32-9ad5-4cf719ba1e0c",
      "parameters": {},
      "typeVersion": 1.2
    },
    {
      "id": "65e152db-ec50-4bf5-adb5-e09d87bc3f02",
      "name": "若最终视频已批准",
      "type": "n8n-nodes-base.if",
      "position": [
        5920,
        1820
      ],
      "parameters": {},
      "typeVersion": 2.2
    },
    {
      "id": "5ba4ee28-7b7b-4b4f-8724-14a7de99a00b",
      "name": "若创意已批准",
      "type": "n8n-nodes-base.if",
      "position": [
        2700,
        900
      ],
      "parameters": {},
      "typeVersion": 2.2
    },
    {
      "id": "f946f17d-a97e-445a-ba4a-02885870d0af",
      "name": "Telegram:视频被拒绝",
      "type": "n8n-nodes-base.telegram",
      "position": [
        6160,
        1980
      ],
      "webhookId": "51ff7747-871d-42ec-b9a6-ab6d0855e15f",
      "parameters": {},
      "typeVersion": 1.2
    },
    {
      "id": "cf5ee725-39d6-4718-9c9c-6c423ecf7ea8",
      "name": "Base64 解码为文件",
      "type": "n8n-nodes-base.convertToFile",
      "position": [
        6380,
        1700
      ],
      "parameters": {},
      "typeVersion": 1.1
    },
    {
      "id": "c908861d-8f69-4d88-a166-cbda3c0e0596",
      "name": "将视频转换为 Base64",
      "type": "n8n-nodes-base.httpRequest",
      "position": [
        6160,
        1700
      ],
      "parameters": {},
      "typeVersion": 4.2
    },
    {
      "id": "7c7cafdd-8da7-4eaa-95f6-4a0bc3017e52",
      "name": "上传至 YouTube",
      "type": "n8n-nodes-base.youTube",
      "position": [
        6600,
        1700
      ],
      "parameters": {},
      "typeVersion": 1
    },
    {
      "id": "b0bf20a5-b7b5-4fbb-935c-c1f4c8552274",
      "name": "Telegram:视频已上传",
      "type": "n8n-nodes-base.telegram",
      "position": [
        6840,
        1700
      ],
      "webhookId": "a1dbfdd4-d31c-49f8-877e-a5ab0978fc7f",
      "parameters": {},
      "typeVersion": 1.2
    },
    {
      "id": "2ed0da7c-8c50-4676-a2ef-8b4ad03566f3",
      "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 导入」,粘贴配置后根据需要修改凭证设置即可。

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

高级 - 销售, 人工智能, 营销

需要付费吗?

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

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

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

作者
FRANK LIN

FRANK LIN

@franklinnard

AI AUTOMATION CONSULTION

外部链接
在 n8n.io 查看

分享此工作流