8
n8n 中文网amn8n.com

使用OpenAI和HeyGen从Telegram语音笔记创建AI UGC视频

高级

这是一个Content Creation, Multimodal AI领域的自动化工作流,包含 19 个节点。主要使用 If, Set, Wait, Telegram, HttpRequest 等节点。 使用OpenAI和HeyGen从Telegram语音笔记创建AI UGC视频

前置要求
  • Telegram Bot Token
  • 可能需要目标 API 的认证凭证
  • OpenAI API Key
工作流预览
可视化展示节点连接关系,支持缩放和平移
导出工作流
复制以下 JSON 配置到 n8n 导入,即可使用此工作流
{
  "id": "XTvkW37T9MH4fxaj",
  "meta": {
    "instanceId": "8443f10082278c46aa5cf3acf8ff0f70061a2c58bce76efac814b16290845177"
  },
  "name": "标题:输入触发器",
  "tags": [],
  "nodes": [
    {
      "id": "1c284d51-ed8e-442f-b4b1-204643177fbf",
      "name": "使用 HeyGen 从 Telegram 创建 AI UGC 视频",
      "type": "n8n-nodes-base.if",
      "position": [
        1632,
        0
      ],
      "parameters": {},
      "typeVersion": 2.2
    },
    {
      "id": "d094edcc-f3de-48c9-81fd-2106e9b7b687",
      "name": "已完成",
      "type": "n8n-nodes-base.telegramTrigger",
      "position": [
        0,
        48
      ],
      "webhookId": "72805868-76ef-4ca4-ab87-fd3332d9321e",
      "parameters": {},
      "typeVersion": 1.2
    },
    {
      "id": "8c5c5d4f-5ebc-4fcf-92fa-76ea065a84fb",
      "name": "消息触发器",
      "type": "n8n-nodes-base.telegram",
      "position": [
        224,
        48
      ],
      "webhookId": "192858bf-0755-46da-8a72-ae79ab93cb35",
      "parameters": {},
      "typeVersion": 1.2
    },
    {
      "id": "265d3d81-6d11-4e7a-8070-10dc55ed3fd1",
      "name": "下载文件",
      "type": "@n8n/n8n-nodes-langchain.openAi",
      "position": [
        528,
        48
      ],
      "parameters": {},
      "typeVersion": 1.8
    },
    {
      "id": "88e0e25a-6d35-4f00-af9b-d7bd4b05e50c",
      "name": "转录语音备忘录",
      "type": "n8n-nodes-base.set",
      "position": [
        800,
        48
      ],
      "parameters": {},
      "typeVersion": 3.4
    },
    {
      "id": "9908f8b0-675f-4f91-92e7-9207d3a97040",
      "name": "设置 ID 字段",
      "type": "n8n-nodes-base.httpRequest",
      "position": [
        1088,
        48
      ],
      "parameters": {},
      "typeVersion": 4.2
    },
    {
      "id": "0898d3b2-5f4e-4afb-8581-262804a85cc1",
      "name": "生成视频",
      "type": "n8n-nodes-base.httpRequest",
      "position": [
        1408,
        48
      ],
      "parameters": {},
      "typeVersion": 4.2
    },
    {
      "id": "cf33d8d9-a11e-46ad-a5d0-32da5ddb3403",
      "name": "视频状态更新",
      "type": "n8n-nodes-base.wait",
      "position": [
        1856,
        0
      ],
      "webhookId": "fbc58409-c688-4e11-9fa5-f69d73168233",
      "parameters": {},
      "typeVersion": 1.1
    },
    {
      "id": "d70d6d47-a8a5-461f-a9b6-c83f53dda053",
      "name": "10 秒缓冲",
      "type": "n8n-nodes-base.set",
      "position": [
        1856,
        192
      ],
      "parameters": {},
      "typeVersion": 3.4
    },
    {
      "id": "5c5aa11e-a607-44f1-9c3c-ba29455ae844",
      "name": "设置输出",
      "type": "n8n-nodes-base.telegram",
      "position": [
        2128,
        48
      ],
      "webhookId": "3c975860-fa35-4ab5-a132-f5b606830b56",
      "parameters": {},
      "typeVersion": 1.2
    },
    {
      "id": "e2106613-ef6f-4c06-85c1-78fcf0773945",
      "name": "便签",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -320,
        16
      ],
      "parameters": {
        "content": "发送视频 URL"
      },
      "typeVersion": 1
    },
    {
      "id": "0404c28c-b714-46d7-8fd4-c86bf37873ca",
      "name": "便签1",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        128,
        -160
      ],
      "parameters": {
        "content": ""
      },
      "typeVersion": 1
    },
    {
      "id": "060f82e6-33fc-4ef3-a869-845787edae38",
      "name": "便签2",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        432,
        -160
      ],
      "parameters": {
        "content": ""
      },
      "typeVersion": 1
    },
    {
      "id": "da8d0799-9e37-46aa-8fd3-e6a089cf9d5d",
      "name": "便签3",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        720,
        -160
      ],
      "parameters": {
        "content": ""
      },
      "typeVersion": 1
    },
    {
      "id": "59521bf6-0dba-4eea-b4cc-e600cd6f6271",
      "name": "便签4",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        1008,
        -160
      ],
      "parameters": {
        "content": ""
      },
      "typeVersion": 1
    },
    {
      "id": "0fa39318-1869-43ab-b1ab-c8aa32a22bab",
      "name": "便签5",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        1328,
        -160
      ],
      "parameters": {
        "content": ""
      },
      "typeVersion": 1
    },
    {
      "id": "936b78c4-fcce-4366-b51b-240d0630c7ac",
      "name": "便签6",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        2080,
        -176
      ],
      "parameters": {
        "content": ""
      },
      "typeVersion": 1
    },
    {
      "id": "7d013da7-7b37-454d-a6af-a37e94adecc0",
      "name": "便签7",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        1792,
        352
      ],
      "parameters": {
        "content": ""
      },
      "typeVersion": 1
    },
    {
      "id": "96f40cf9-5c3d-4bb9-92fa-67e1ea62d905",
      "name": "便签8",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        1776,
        -208
      ],
      "parameters": {
        "content": ""
      },
      "typeVersion": 1
    }
  ],
  "active": false,
  "pinData": {},
  "settings": {
    "executionOrder": "v1"
  },
  "versionId": "568175e8-9d99-4439-93e9-c7c8c8c7b834",
  "connections": {
    "cf33d8d9-a11e-46ad-a5d0-32da5ddb3403": {
      "main": [
        [
          {
            "node": "0898d3b2-5f4e-4afb-8581-262804a85cc1",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "1c284d51-ed8e-442f-b4b1-204643177fbf": {
      "main": [
        [
          {
            "node": "d70d6d47-a8a5-461f-a9b6-c83f53dda053",
            "type": "main",
            "index": 0
          }
        ],
        [
          {
            "node": "cf33d8d9-a11e-46ad-a5d0-32da5ddb3403",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "d70d6d47-a8a5-461f-a9b6-c83f53dda053": {
      "main": [
        [
          {
            "node": "5c5aa11e-a607-44f1-9c3c-ba29455ae844",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "d094edcc-f3de-48c9-81fd-2106e9b7b687": {
      "main": [
        [
          {
            "node": "8c5c5d4f-5ebc-4fcf-92fa-76ea065a84fb",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "8c5c5d4f-5ebc-4fcf-92fa-76ea065a84fb": {
      "main": [
        [
          {
            "node": "265d3d81-6d11-4e7a-8070-10dc55ed3fd1",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "9908f8b0-675f-4f91-92e7-9207d3a97040": {
      "main": [
        [
          {
            "node": "0898d3b2-5f4e-4afb-8581-262804a85cc1",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "88e0e25a-6d35-4f00-af9b-d7bd4b05e50c": {
      "main": [
        [
          {
            "node": "9908f8b0-675f-4f91-92e7-9207d3a97040",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "0898d3b2-5f4e-4afb-8581-262804a85cc1": {
      "main": [
        [
          {
            "node": "1c284d51-ed8e-442f-b4b1-204643177fbf",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "265d3d81-6d11-4e7a-8070-10dc55ed3fd1": {
      "main": [
        [
          {
            "node": "88e0e25a-6d35-4f00-af9b-d7bd4b05e50c",
            "type": "main",
            "index": 0
          }
        ]
      ]
    }
  }
}
常见问题

如何使用这个工作流?

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

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

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

需要付费吗?

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

工作流信息
难度等级
高级
节点数量19
分类2
节点类型8
难度说明

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

作者
Rahul Joshi

Rahul Joshi

@rahul08

Rahul Joshi is a seasoned technology leader specializing in the n8n automation tool and AI-driven workflow automation. With deep expertise in building open-source workflow automation and self-hosted automation platforms, he helps organizations eliminate manual processes through intelligent n8n ai agent automation solutions.

外部链接
在 n8n.io 查看

分享此工作流

分类

分类: 34