8
n8n 中文网amn8n.com

使用 Elevenlabs 和 Hailuo AI 自动创建 YouTube

高级

这是一个AI, Marketing领域的自动化工作流,包含 38 个节点。主要使用 If, Set, Code, Wait, Limit 等节点,结合人工智能技术实现智能自动化。 使用 Elevenlabs 和 Hailuo AI 自动创建 YouTube 短视频

前置要求
  • 可能需要目标 API 的认证凭证
  • Google Sheets API 凭证
工作流预览
可视化展示节点连接关系,支持缩放和平移
导出工作流
复制以下 JSON 配置到 n8n 导入,即可使用此工作流
{
  "meta": {
    "instanceId": "0d39b3daabd024345a4aee93f407684bd4c10a813dd7c27fdf941f8110f10cdf",
    "templateCredsSetupCompleted": true
  },
  "nodes": [
    {
      "id": "1589d4f8-7e7e-4f09-aa95-fc6580372bc4",
      "name": "当点击\"测试工作流\"时",
      "type": "n8n-nodes-base.manualTrigger",
      "disabled": true,
      "position": [
        -1960,
        -300
      ],
      "parameters": {},
      "typeVersion": 1
    },
    {
      "id": "7535b9fe-e6f8-4c80-ae6c-936d1a76a75b",
      "name": "海螺AI",
      "type": "n8n-nodes-base.httpRequest",
      "position": [
        -1460,
        340
      ],
      "parameters": {},
      "typeVersion": 4.2
    },
    {
      "id": "ba795fb3-9051-4f57-9656-44a7ed12103c",
      "name": "视频分类",
      "type": "n8n-nodes-base.set",
      "position": [
        -1680,
        -300
      ],
      "parameters": {},
      "typeVersion": 3.4
    },
    {
      "id": "eb1664c7-8754-4f87-8de8-b15e2a059045",
      "name": "生成字幕",
      "type": "n8n-nodes-base.httpRequest",
      "position": [
        -1460,
        -300
      ],
      "parameters": {},
      "typeVersion": 4.2
    },
    {
      "id": "5b942821-3e3d-4a48-884a-6d86890b1b1e",
      "name": "保存音频",
      "type": "n8n-nodes-base.googleCloudStorage",
      "position": [
        -1020,
        -300
      ],
      "parameters": {},
      "typeVersion": 1
    },
    {
      "id": "dbebaa30-18fa-4155-b0cb-82ecf2a5748f",
      "name": "获取Elevenlabs",
      "type": "n8n-nodes-base.httpRequest",
      "position": [
        -1240,
        -300
      ],
      "parameters": {},
      "typeVersion": 4.2
    },
    {
      "id": "40ed476a-1207-4dfb-a116-0999be820a6c",
      "name": "映射公开链接",
      "type": "n8n-nodes-base.set",
      "position": [
        -780,
        -300
      ],
      "parameters": {},
      "typeVersion": 3.4
    },
    {
      "id": "24a1ba6a-87c5-4db8-86f1-92ac2aefb05c",
      "name": "下载音频",
      "type": "n8n-nodes-base.httpRequest",
      "position": [
        -1680,
        0
      ],
      "parameters": {},
      "typeVersion": 4.2
    },
    {
      "id": "562c7466-953e-4115-9ce5-aeda59d8e07b",
      "name": "创建图片文本列表",
      "type": "n8n-nodes-base.code",
      "position": [
        -1280,
        0
      ],
      "parameters": {},
      "typeVersion": 2
    },
    {
      "id": "193b5bb2-ea2c-45d4-a51c-7036c3f94882",
      "name": "生成图片提示词",
      "type": "n8n-nodes-base.httpRequest",
      "position": [
        -920,
        0
      ],
      "parameters": {},
      "typeVersion": 4.2
    },
    {
      "id": "d5978efc-f293-4a9a-96c7-59e331e6a31c",
      "name": "获取图片Base64",
      "type": "n8n-nodes-base.httpRequest",
      "position": [
        -560,
        0
      ],
      "parameters": {},
      "typeVersion": 4.2
    },
    {
      "id": "1743f1a7-2dfb-4926-a02b-77ac21df15bc",
      "name": "获取过往创意",
      "type": "n8n-nodes-base.googleCloudStorage",
      "position": [
        -160,
        0
      ],
      "parameters": {},
      "typeVersion": 1
    },
    {
      "id": "6a3009c9-106e-4793-82a6-3a802a9eeec4",
      "name": "获取海螺状态",
      "type": "n8n-nodes-base.httpRequest",
      "position": [
        -1000,
        340
      ],
      "parameters": {},
      "typeVersion": 4.2
    },
    {
      "id": "ad8396dc-4052-4eee-9fed-3e45971d32fd",
      "name": "条件判断1",
      "type": "n8n-nodes-base.if",
      "position": [
        -820,
        340
      ],
      "parameters": {},
      "typeVersion": 2.2
    },
    {
      "id": "688d7471-77ba-4d55-9f40-90754e93ff13",
      "name": "获取海螺下载链接",
      "type": "n8n-nodes-base.httpRequest",
      "position": [
        -580,
        380
      ],
      "parameters": {},
      "typeVersion": 4.2
    },
    {
      "id": "72973df2-d1eb-43f5-a851-3150a4a9c710",
      "name": "下载视频",
      "type": "n8n-nodes-base.httpRequest",
      "position": [
        -380,
        380
      ],
      "parameters": {},
      "typeVersion": 4.2
    },
    {
      "id": "a8297c91-2efb-4a7b-b09f-90b31ea59a42",
      "name": "保存视频",
      "type": "n8n-nodes-base.googleCloudStorage",
      "position": [
        -160,
        380
      ],
      "parameters": {},
      "typeVersion": 1
    },
    {
      "id": "bb9c556f-ce2d-41cf-920d-8dcf5dfcb667",
      "name": "合并字幕",
      "type": "n8n-nodes-base.code",
      "position": [
        -1680,
        700
      ],
      "parameters": {},
      "typeVersion": 2
    },
    {
      "id": "3eee3f5c-1263-4d84-910c-87e765190762",
      "name": "OpenAI Whisper",
      "type": "n8n-nodes-base.httpRequest",
      "position": [
        -1480,
        0
      ],
      "parameters": {},
      "typeVersion": 4.2
    },
    {
      "id": "221d7ae4-6472-4a5f-b8a4-38b58df6bf21",
      "name": "映射音乐和视频",
      "type": "n8n-nodes-base.set",
      "position": [
        -1340,
        680
      ],
      "parameters": {},
      "typeVersion": 3.4
    },
    {
      "id": "90e4e948-b482-4366-aa0a-17730c186a8d",
      "name": "创建视频",
      "type": "n8n-nodes-base.httpRequest",
      "position": [
        -1180,
        680
      ],
      "parameters": {},
      "typeVersion": 4.2
    },
    {
      "id": "576d3ba2-83cf-4a1e-9d22-8d4659926248",
      "name": "获取视频进度",
      "type": "n8n-nodes-base.httpRequest",
      "position": [
        -840,
        680
      ],
      "parameters": {},
      "typeVersion": 4.2
    },
    {
      "id": "1dc70413-2979-4559-9dcf-1c4da754f91f",
      "name": "如果",
      "type": "n8n-nodes-base.if",
      "position": [
        -680,
        680
      ],
      "parameters": {},
      "typeVersion": 2.2
    },
    {
      "id": "0badef4a-46b4-439b-8947-6b84af9e1aca",
      "name": "设置最终视频URL",
      "type": "n8n-nodes-base.set",
      "position": [
        -500,
        660
      ],
      "parameters": {},
      "typeVersion": 3.4
    },
    {
      "id": "d557a8ba-dc5c-4c9d-89ed-31d7ac1a11af",
      "name": "获取字幕",
      "type": "n8n-nodes-base.httpRequest",
      "position": [
        -360,
        800
      ],
      "parameters": {},
      "typeVersion": 4.2
    },
    {
      "id": "b6a26d73-4146-4be6-8d8c-3dc2433b0660",
      "name": "JSON转对象",
      "type": "n8n-nodes-base.code",
      "position": [
        -220,
        800
      ],
      "parameters": {},
      "typeVersion": 2
    },
    {
      "id": "b94d3aa3-f910-4023-bba2-a3f69db81c89",
      "name": "Google Sheets",
      "type": "n8n-nodes-base.googleSheets",
      "position": [
        -100,
        640
      ],
      "parameters": {},
      "typeVersion": 4.5
    },
    {
      "id": "311779c9-c38a-43fd-9fa3-09b0e872a7d3",
      "name": "合并1",
      "type": "n8n-nodes-base.merge",
      "position": [
        -1500,
        680
      ],
      "parameters": {},
      "typeVersion": 3
    },
    {
      "id": "05e2ba88-6a71-4d59-9345-e39267cf77a2",
      "name": "便签",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -1700,
        -400
      ],
      "parameters": {
        "content": ""
      },
      "typeVersion": 1
    },
    {
      "id": "151e319c-f9bb-459b-b6e2-31998e426a31",
      "name": "便签1",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -1700,
        -100
      ],
      "parameters": {
        "content": ""
      },
      "typeVersion": 1
    },
    {
      "id": "5101c62b-74ef-49a3-8b24-4aea948c8856",
      "name": "便签2",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -1700,
        200
      ],
      "parameters": {
        "content": ""
      },
      "typeVersion": 1
    },
    {
      "id": "0b69fb56-f23e-492b-9823-8a65ea17815e",
      "name": "便签3",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -1700,
        600
      ],
      "parameters": {
        "content": ""
      },
      "typeVersion": 1
    },
    {
      "id": "e45cbfa5-1112-4d9f-aa20-c79f309686b5",
      "name": "分割图片",
      "type": "n8n-nodes-base.splitOut",
      "position": [
        -1100,
        0
      ],
      "parameters": {},
      "typeVersion": 1
    },
    {
      "id": "e70b21be-bd03-4a6f-9bf5-abe6517a3117",
      "name": "分割提示词",
      "type": "n8n-nodes-base.splitOut",
      "position": [
        -720,
        0
      ],
      "parameters": {},
      "typeVersion": 1
    },
    {
      "id": "85a27a46-8917-426b-964f-712a32b90a3f",
      "name": "Base64转数据",
      "type": "n8n-nodes-base.convertToFile",
      "position": [
        -360,
        0
      ],
      "parameters": {},
      "typeVersion": 1.1
    },
    {
      "id": "b653de3a-f2c5-41da-bb4e-76a2304c64f3",
      "name": "仅限首张图片用于视频",
      "type": "n8n-nodes-base.limit",
      "position": [
        -1680,
        340
      ],
      "parameters": {},
      "typeVersion": 1
    },
    {
      "id": "233532ed-dce9-42d8-bbd5-dac1b7d013e3",
      "name": "等待海螺处理完成",
      "type": "n8n-nodes-base.wait",
      "position": [
        -1220,
        340
      ],
      "webhookId": "ca07eaaf-27f4-4350-9b5f-56b918aa31f3",
      "parameters": {},
      "typeVersion": 1.1
    },
    {
      "id": "e788fc14-e15d-4a06-928d-0ad3d8dd3151",
      "name": "等待1号andy无代码合并视频",
      "type": "n8n-nodes-base.wait",
      "position": [
        -1000,
        680
      ],
      "webhookId": "9445c43d-1289-473b-b9cc-80991450bc80",
      "parameters": {},
      "typeVersion": 1.1
    }
  ],
  "pinData": {},
  "connections": {
    "1dc70413-2979-4559-9dcf-1c4da754f91f": {
      "main": [
        [
          {
            "node": "0badef4a-46b4-439b-8947-6b84af9e1aca",
            "type": "main",
            "index": 0
          }
        ],
        [
          {
            "node": "e788fc14-e15d-4a06-928d-0ad3d8dd3151",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "ad8396dc-4052-4eee-9fed-3e45971d32fd": {
      "main": [
        [
          {
            "node": "688d7471-77ba-4d55-9f40-90754e93ff13",
            "type": "main",
            "index": 0
          }
        ],
        [
          {
            "node": "233532ed-dce9-42d8-bbd5-dac1b7d013e3",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "311779c9-c38a-43fd-9fa3-09b0e872a7d3": {
      "main": [
        [
          {
            "node": "221d7ae4-6472-4a5f-b8a4-38b58df6bf21",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "7535b9fe-e6f8-4c80-ae6c-936d1a76a75b": {
      "main": [
        [
          {
            "node": "233532ed-dce9-42d8-bbd5-dac1b7d013e3",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "5b942821-3e3d-4a48-884a-6d86890b1b1e": {
      "main": [
        [
          {
            "node": "40ed476a-1207-4dfb-a116-0999be820a6c",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "1743f1a7-2dfb-4926-a02b-77ac21df15bc": {
      "main": [
        [
          {
            "node": "b653de3a-f2c5-41da-bb4e-76a2304c64f3",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "a8297c91-2efb-4a7b-b09f-90b31ea59a42": {
      "main": [
        [
          {
            "node": "311779c9-c38a-43fd-9fa3-09b0e872a7d3",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "e45cbfa5-1112-4d9f-aa20-c79f309686b5": {
      "main": [
        [
          {
            "node": "193b5bb2-ea2c-45d4-a51c-7036c3f94882",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "90e4e948-b482-4366-aa0a-17730c186a8d": {
      "main": [
        [
          {
            "node": "e788fc14-e15d-4a06-928d-0ad3d8dd3151",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "d557a8ba-dc5c-4c9d-89ed-31d7ac1a11af": {
      "main": [
        [
          {
            "node": "b6a26d73-4146-4be6-8d8c-3dc2433b0660",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "e70b21be-bd03-4a6f-9bf5-abe6517a3117": {
      "main": [
        [
          {
            "node": "d5978efc-f293-4a9a-96c7-59e331e6a31c",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "24a1ba6a-87c5-4db8-86f1-92ac2aefb05c": {
      "main": [
        [
          {
            "node": "3eee3f5c-1263-4d84-910c-87e765190762",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "72973df2-d1eb-43f5-a851-3150a4a9c710": {
      "main": [
        [
          {
            "node": "a8297c91-2efb-4a7b-b09f-90b31ea59a42",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "b6a26d73-4146-4be6-8d8c-3dc2433b0660": {
      "main": [
        [
          {
            "node": "b94d3aa3-f910-4023-bba2-a3f69db81c89",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "ba795fb3-9051-4f57-9656-44a7ed12103c": {
      "main": [
        [
          {
            "node": "eb1664c7-8754-4f87-8de8-b15e2a059045",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "40ed476a-1207-4dfb-a116-0999be820a6c": {
      "main": [
        [
          {
            "node": "24a1ba6a-87c5-4db8-86f1-92ac2aefb05c",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "3eee3f5c-1263-4d84-910c-87e765190762": {
      "main": [
        [
          {
            "node": "bb9c556f-ce2d-41cf-920d-8dcf5dfcb667",
            "type": "main",
            "index": 0
          },
          {
            "node": "562c7466-953e-4115-9ce5-aeda59d8e07b",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "dbebaa30-18fa-4155-b0cb-82ecf2a5748f": {
      "main": [
        [
          {
            "node": "5b942821-3e3d-4a48-884a-6d86890b1b1e",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "6a3009c9-106e-4793-82a6-3a802a9eeec4": {
      "main": [
        [
          {
            "node": "ad8396dc-4052-4eee-9fed-3e45971d32fd",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "d5978efc-f293-4a9a-96c7-59e331e6a31c": {
      "main": [
        [
          {
            "node": "85a27a46-8917-426b-964f-712a32b90a3f",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "bb9c556f-ce2d-41cf-920d-8dcf5dfcb667": {
      "main": [
        [
          {
            "node": "311779c9-c38a-43fd-9fa3-09b0e872a7d3",
            "type": "main",
            "index": 1
          }
        ]
      ]
    },
    "576d3ba2-83cf-4a1e-9d22-8d4659926248": {
      "main": [
        [
          {
            "node": "1dc70413-2979-4559-9dcf-1c4da754f91f",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "eb1664c7-8754-4f87-8de8-b15e2a059045": {
      "main": [
        [
          {
            "node": "dbebaa30-18fa-4155-b0cb-82ecf2a5748f",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "221d7ae4-6472-4a5f-b8a4-38b58df6bf21": {
      "main": [
        [
          {
            "node": "90e4e948-b482-4366-aa0a-17730c186a8d",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "0badef4a-46b4-439b-8947-6b84af9e1aca": {
      "main": [
        [
          {
            "node": "d557a8ba-dc5c-4c9d-89ed-31d7ac1a11af",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "193b5bb2-ea2c-45d4-a51c-7036c3f94882": {
      "main": [
        [
          {
            "node": "e70b21be-bd03-4a6f-9bf5-abe6517a3117",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "85a27a46-8917-426b-964f-712a32b90a3f": {
      "main": [
        [
          {
            "node": "1743f1a7-2dfb-4926-a02b-77ac21df15bc",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "688d7471-77ba-4d55-9f40-90754e93ff13": {
      "main": [
        [
          {
            "node": "72973df2-d1eb-43f5-a851-3150a4a9c710",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "233532ed-dce9-42d8-bbd5-dac1b7d013e3": {
      "main": [
        [
          {
            "node": "6a3009c9-106e-4793-82a6-3a802a9eeec4",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "562c7466-953e-4115-9ce5-aeda59d8e07b": {
      "main": [
        [
          {
            "node": "e45cbfa5-1112-4d9f-aa20-c79f309686b5",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "e788fc14-e15d-4a06-928d-0ad3d8dd3151": {
      "main": [
        [
          {
            "node": "576d3ba2-83cf-4a1e-9d22-8d4659926248",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "b653de3a-f2c5-41da-bb4e-76a2304c64f3": {
      "main": [
        [
          {
            "node": "7535b9fe-e6f8-4c80-ae6c-936d1a76a75b",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "1589d4f8-7e7e-4f09-aa95-fc6580372bc4": {
      "main": [
        [
          {
            "node": "ba795fb3-9051-4f57-9656-44a7ed12103c",
            "type": "main",
            "index": 0
          }
        ]
      ]
    }
  }
}
常见问题

如何使用这个工作流?

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

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

高级 - 人工智能, 营销

需要付费吗?

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

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

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

作者
Nguyen Quoc Hai

Nguyen Quoc Hai

@haismartlife

I want to share business management tools to automate everything, giving us more time to focus on higher-value tasks.

外部链接
在 n8n.io 查看

分享此工作流

分类

分类: 34