8
n8n 中文网amn8n.com

使用OpenAI、ElevenLabs和Hedra创建病毒式婴儿播客YouTube短视频

高级

这是一个Content Creation, Multimodal AI领域的自动化工作流,包含 38 个节点。主要使用 Code, Wait, Merge, YouTube, GoogleDrive 等节点。 使用OpenAI、ElevenLabs和Hedra创建病毒式婴儿播客YouTube短视频

前置要求
  • Google Drive API 凭证
  • 可能需要目标 API 的认证凭证
  • Google Sheets API 凭证
  • OpenAI API Key
工作流预览
可视化展示节点连接关系,支持缩放和平移
导出工作流
复制以下 JSON 配置到 n8n 导入,即可使用此工作流
{
  "meta": {
    "instanceId": "c06b75187a3df8fc1f7d0dca41a1070761a5c8ab93bdb0bd30143dfe764a0663",
    "templateCredsSetupCompleted": true
  },
  "nodes": [
    {
      "id": "a4325db8-0edb-4cad-b0ce-4add28143e9d",
      "name": "文本转语音",
      "type": "n8n-nodes-base.httpRequest",
      "position": [
        -1760,
        -220
      ],
      "parameters": {},
      "typeVersion": 4.2
    },
    {
      "id": "b81bdfdc-c814-4217-b6a1-7621433e0c38",
      "name": "转换为文件",
      "type": "n8n-nodes-base.convertToFile",
      "position": [
        -1560,
        100
      ],
      "parameters": {},
      "typeVersion": 1.1
    },
    {
      "id": "48d0603a-adcf-42ea-b7f8-c4379a5edc9b",
      "name": "创建图像资源 (Hedra)",
      "type": "n8n-nodes-base.httpRequest",
      "position": [
        -1300,
        80
      ],
      "parameters": {},
      "typeVersion": 4.2
    },
    {
      "id": "fb66faf8-1dfe-4358-8302-1b9ccaff9148",
      "name": "创建音频资源 (Hedra)",
      "type": "n8n-nodes-base.httpRequest",
      "position": [
        -1540,
        -240
      ],
      "parameters": {},
      "typeVersion": 4.2
    },
    {
      "id": "86ae7226-20c9-462c-925c-12be22bb9b5b",
      "name": "合并音频资源",
      "type": "n8n-nodes-base.merge",
      "position": [
        -1300,
        -220
      ],
      "parameters": {},
      "typeVersion": 3.1
    },
    {
      "id": "822ef539-6c24-4cba-8946-dcf649082aca",
      "name": "拆分音频元数据",
      "type": "n8n-nodes-base.code",
      "position": [
        -1080,
        -220
      ],
      "parameters": {},
      "typeVersion": 2
    },
    {
      "id": "c805faba-4de9-4f1e-b0c9-a8effa49176c",
      "name": "拆分图像元数据",
      "type": "n8n-nodes-base.code",
      "position": [
        -880,
        100
      ],
      "parameters": {},
      "typeVersion": 2
    },
    {
      "id": "2517a8af-9391-4992-93ed-e7b8e373af55",
      "name": "上传音频 (Hedra)",
      "type": "n8n-nodes-base.httpRequest",
      "position": [
        -880,
        -220
      ],
      "parameters": {},
      "typeVersion": 4.2
    },
    {
      "id": "ee10e370-a050-4c3c-ad1e-b19b88c7aee6",
      "name": "上传图像 (Hedra)",
      "type": "n8n-nodes-base.httpRequest",
      "position": [
        -680,
        100
      ],
      "parameters": {},
      "typeVersion": 4.2
    },
    {
      "id": "3dee19a0-5365-4da3-b933-6a142559fbad",
      "name": "合并资源",
      "type": "n8n-nodes-base.merge",
      "position": [
        -420,
        -220
      ],
      "parameters": {},
      "typeVersion": 3.1
    },
    {
      "id": "9cc591ac-ebca-475f-8fbf-5d5d18fa49a2",
      "name": "拆分图像和音频资源ID",
      "type": "n8n-nodes-base.code",
      "position": [
        -240,
        -220
      ],
      "parameters": {},
      "typeVersion": 2
    },
    {
      "id": "49c91039-2c65-407a-970a-cd0b6588a5a1",
      "name": "创建视频 (Hedra)",
      "type": "n8n-nodes-base.httpRequest",
      "position": [
        -40,
        -220
      ],
      "parameters": {},
      "typeVersion": 4.2
    },
    {
      "id": "4c7af7fd-5ebb-4358-8472-821f0629d23c",
      "name": "等待5分钟",
      "type": "n8n-nodes-base.wait",
      "position": [
        160,
        -220
      ],
      "webhookId": "89c1e462-6331-4a5e-9af7-a1a336352d5c",
      "parameters": {},
      "typeVersion": 1.1
    },
    {
      "id": "70d1ce19-4bbe-4ffd-ab4b-d5b7845b01e9",
      "name": "获取BabyPod视频 (Hedra)",
      "type": "n8n-nodes-base.httpRequest",
      "position": [
        340,
        -220
      ],
      "parameters": {},
      "typeVersion": 4.2
    },
    {
      "id": "fa338782-1ed0-4fcb-a4b0-aca991cbcacd",
      "name": "下载BabyPod视频 (Hedra)",
      "type": "n8n-nodes-base.httpRequest",
      "position": [
        -240,
        100
      ],
      "parameters": {},
      "typeVersion": 4.2
    },
    {
      "id": "32b27fed-515a-43de-b559-d9242740b89d",
      "name": "上传视频",
      "type": "n8n-nodes-base.googleDrive",
      "position": [
        -40,
        100
      ],
      "parameters": {},
      "typeVersion": 3
    },
    {
      "id": "1199b8aa-0ae2-4aa0-ad09-81ee6d6cd319",
      "name": "下载视频 (YouTube)",
      "type": "n8n-nodes-base.googleDrive",
      "position": [
        140,
        100
      ],
      "parameters": {},
      "typeVersion": 3
    },
    {
      "id": "1940d390-426d-4cca-bf74-fcbe89b4f329",
      "name": "图片提示词",
      "type": "@n8n/n8n-nodes-langchain.openAi",
      "position": [
        -2100,
        100
      ],
      "parameters": {},
      "typeVersion": 1.8
    },
    {
      "id": "b852d29e-69ae-4d47-a992-76ac422df495",
      "name": "创建图像",
      "type": "n8n-nodes-base.httpRequest",
      "position": [
        -1760,
        100
      ],
      "parameters": {},
      "typeVersion": 4.2
    },
    {
      "id": "c606cd95-8233-49da-bfc7-9d15717ed92c",
      "name": "合并2",
      "type": "n8n-nodes-base.merge",
      "position": [
        -1080,
        100
      ],
      "parameters": {},
      "typeVersion": 3.1
    },
    {
      "id": "4003838d-3308-48fa-91e0-a04d0cb88216",
      "name": "音频提示和标题",
      "type": "@n8n/n8n-nodes-langchain.openAi",
      "position": [
        -2100,
        -220
      ],
      "parameters": {},
      "typeVersion": 1.8
    },
    {
      "id": "56a840dd-b50c-46e0-af61-12be3975d57e",
      "name": "便签",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -2180,
        -340
      ],
      "parameters": {
        "content": ""
      },
      "typeVersion": 1
    },
    {
      "id": "6b5042b8-ec61-438c-a528-698d98d86265",
      "name": "便签1",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -2180,
        0
      ],
      "parameters": {
        "content": ""
      },
      "typeVersion": 1
    },
    {
      "id": "c9fe9a62-08c4-4260-8705-c21b1bf62777",
      "name": "便签2",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -500,
        -340
      ],
      "parameters": {
        "content": ""
      },
      "typeVersion": 1
    },
    {
      "id": "17be7654-ea56-45ce-a126-f0a5b181f679",
      "name": "便签4",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -500,
        0
      ],
      "parameters": {
        "content": ""
      },
      "typeVersion": 1
    },
    {
      "id": "6fb9b745-991d-4d3b-8f4b-e5f934d1de74",
      "name": "上传BabyPod视频到YouTube",
      "type": "n8n-nodes-base.youTube",
      "position": [
        340,
        100
      ],
      "parameters": {},
      "typeVersion": 1
    },
    {
      "id": "8375df2c-cab0-409f-b99f-dd5a71ce0f98",
      "name": "便签3",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -3180,
        -180
      ],
      "parameters": {
        "content": ""
      },
      "typeVersion": 1
    },
    {
      "id": "121efd4d-24eb-4f7d-92fe-35bc0b69bc91",
      "name": "当点击\"测试工作流\"时",
      "type": "n8n-nodes-base.manualTrigger",
      "position": [
        -3120,
        100
      ],
      "parameters": {},
      "typeVersion": 1
    },
    {
      "id": "2c9cea32-6e47-40a9-b046-47fbc2ad7beb",
      "name": "计划触发器1",
      "type": "n8n-nodes-base.scheduleTrigger",
      "position": [
        -3120,
        -80
      ],
      "parameters": {},
      "typeVersion": 1.2
    },
    {
      "id": "d85f72b7-0f34-457c-89b7-b5b76ea42bfb",
      "name": "表格处理",
      "type": "n8n-nodes-base.code",
      "position": [
        -2780,
        -20
      ],
      "parameters": {},
      "typeVersion": 2
    },
    {
      "id": "ac1099b6-f284-4a56-85bd-3f2cd44049f7",
      "name": "OpenAI 聊天模型",
      "type": "@n8n/n8n-nodes-langchain.lmChatOpenAi",
      "position": [
        -2660,
        160
      ],
      "parameters": {},
      "typeVersion": 1.2
    },
    {
      "id": "3f72bb11-6b14-46b6-90dd-d4b0c7f5e76d",
      "name": "创意生成器",
      "type": "@n8n/n8n-nodes-langchain.agent",
      "position": [
        -2620,
        -20
      ],
      "parameters": {},
      "typeVersion": 1.7
    },
    {
      "id": "ac351723-de0e-43d6-9608-eb34db3f12c3",
      "name": "获取现有创意",
      "type": "n8n-nodes-base.googleSheets",
      "position": [
        -2940,
        -20
      ],
      "parameters": {},
      "executeOnce": true,
      "typeVersion": 4.5,
      "alwaysOutputData": true
    },
    {
      "id": "56c6a0ba-757e-4d7a-9a0e-4e96880aff03",
      "name": "结构化输出解析器",
      "type": "@n8n/n8n-nodes-langchain.outputParserStructured",
      "position": [
        -2460,
        160
      ],
      "parameters": {},
      "typeVersion": 1.2
    },
    {
      "id": "a0d81c97-9467-4fa6-a565-70c74270df45",
      "name": "便签5",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -3180,
        -340
      ],
      "parameters": {
        "content": ""
      },
      "typeVersion": 1
    },
    {
      "id": "64c6f2ee-b7d6-410e-bf25-267c1815cd47",
      "name": "在表格中追加行",
      "type": "n8n-nodes-base.googleSheets",
      "position": [
        540,
        100
      ],
      "parameters": {},
      "typeVersion": 4.5
    },
    {
      "id": "e548f545-5510-4764-bc04-45f42c9f12eb",
      "name": "等待3分钟",
      "type": "n8n-nodes-base.wait",
      "position": [
        -420,
        100
      ],
      "webhookId": "ce45396b-7b64-4422-ad8e-1b3e6408a297",
      "parameters": {},
      "typeVersion": 1.1
    },
    {
      "id": "8e65bd0d-2730-43b6-ab6a-84c685ff0c9f",
      "name": "添加字幕 (JSON2Video)",
      "type": "n8n-nodes-base.httpRequest",
      "position": [
        540,
        -220
      ],
      "parameters": {},
      "typeVersion": 4.2
    }
  ],
  "pinData": {},
  "connections": {
    "Merge 2": {
      "main": [
        [
          {
            "node": "Split Image Metadata",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Wait 3 Mins": {
      "main": [
        [
          {
            "node": "Download BabyPod Video (Hedra)",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Wait 5 Mins": {
      "main": [
        [
          {
            "node": "Get BabyPod Video (Hedra)",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Image Prompt": {
      "main": [
        [
          {
            "node": "Create The Image",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Merge Assets": {
      "main": [
        [
          {
            "node": "Split Image & Audio Assets IDs",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Upload Video": {
      "main": [
        [
          {
            "node": "Download Video (YouTube)",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Sheet Process": {
      "main": [
        [
          {
            "node": "Idea Generator",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Idea Generator": {
      "main": [
        [
          {
            "node": "Audio Prompt & Title",
            "type": "main",
            "index": 0
          },
          {
            "node": "Image Prompt",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Text to Speech": {
      "main": [
        [
          {
            "node": "Create Audio Asset (Hedra)",
            "type": "main",
            "index": 0
          },
          {
            "node": "Merge Audio Assets",
            "type": "main",
            "index": 1
          }
        ]
      ]
    },
    "Convert to File": {
      "main": [
        [
          {
            "node": "Create Image Asset (Hedra)",
            "type": "main",
            "index": 0
          },
          {
            "node": "Merge 2",
            "type": "main",
            "index": 1
          }
        ]
      ]
    },
    "Create The Image": {
      "main": [
        [
          {
            "node": "Convert to File",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "OpenAI Chat Model": {
      "ai_languageModel": [
        [
          {
            "node": "Idea Generator",
            "type": "ai_languageModel",
            "index": 0
          }
        ]
      ]
    },
    "Schedule Trigger1": {
      "main": [
        [
          {
            "node": "Get Existing Ideas",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Get Existing Ideas": {
      "main": [
        [
          {
            "node": "Sheet Process",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Merge Audio Assets": {
      "main": [
        [
          {
            "node": "Split Audio Metadata",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Audio Prompt & Title": {
      "main": [
        [
          {
            "node": "Text to Speech",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Create Video (Hedra)": {
      "main": [
        [
          {
            "node": "Wait 5 Mins",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Split Audio Metadata": {
      "main": [
        [
          {
            "node": "Upload Audio (Hedra)",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Split Image Metadata": {
      "main": [
        [
          {
            "node": "Upload Image (Hedra)",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Upload Audio (Hedra)": {
      "main": [
        [
          {
            "node": "Merge Assets",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Upload Image (Hedra)": {
      "main": [
        [
          {
            "node": "Merge Assets",
            "type": "main",
            "index": 1
          }
        ]
      ]
    },
    "Download Video (YouTube)": {
      "main": [
        [
          {
            "node": "Upload BabyPod Video to YouTube",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Structured Output Parser": {
      "ai_outputParser": [
        [
          {
            "node": "Idea Generator",
            "type": "ai_outputParser",
            "index": 0
          }
        ]
      ]
    },
    "Get BabyPod Video (Hedra)": {
      "main": [
        [
          {
            "node": "Add Subtitles (JSON2Video)",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Add Subtitles (JSON2Video)": {
      "main": [
        [
          {
            "node": "Wait 3 Mins",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Create Audio Asset (Hedra)": {
      "main": [
        [
          {
            "node": "Merge Audio Assets",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Create Image Asset (Hedra)": {
      "main": [
        [
          {
            "node": "Merge 2",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Download BabyPod Video (Hedra)": {
      "main": [
        [
          {
            "node": "Upload Video",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Split Image & Audio Assets IDs": {
      "main": [
        [
          {
            "node": "Create Video (Hedra)",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Upload BabyPod Video to YouTube": {
      "main": [
        [
          {
            "node": "Append row in sheet",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "When clicking ‘Test workflow’": {
      "main": [
        [
          {
            "node": "Get Existing Ideas",
            "type": "main",
            "index": 0
          }
        ]
      ]
    }
  }
}
常见问题

如何使用这个工作流?

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

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

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

需要付费吗?

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

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

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

作者
Electrabot

Electrabot

@vansh404

AI Automation Agency Based In Canada Reach out to me if you need any help -https://www.linkedin.com/in/vansharoraa/

外部链接
在 n8n.io 查看

分享此工作流