8
n8n 中文网amn8n.com

YouTube Shorts 自动化工具

高级

这是一个AI, Marketing领域的自动化工作流,包含 24 个节点。主要使用 Set, Wait, Merge, SplitOut, Aggregate 等节点,结合人工智能技术实现智能自动化。 🎬 YouTube Shorts 自动化工具 🚀

前置要求
  • 可能需要目标 API 的认证凭证
  • OpenAI API Key
工作流预览
可视化展示节点连接关系,支持缩放和平移
导出工作流
复制以下 JSON 配置到 n8n 导入,即可使用此工作流
{
  "id": "FabwBqc9AjeRD3Oq",
  "meta": {
    "instanceId": "b2c6727f02106e7324192d5dfa251f5dd42759bfd0d7e1602a3ab09f0fcd3b61",
    "templateCredsSetupCompleted": true
  },
  "name": "YouTube Shorts 自动化工具",
  "tags": [
    {
      "id": "Kw3fvInVHYxv6hGv",
      "name": "Automation",
      "createdAt": "2025-02-19T00:27:37.457Z",
      "updatedAt": "2025-02-19T00:27:37.457Z"
    },
    {
      "id": "tJYtxitiF9byDG5A",
      "name": "YouTube",
      "createdAt": "2025-02-19T00:27:31.004Z",
      "updatedAt": "2025-02-19T00:27:31.004Z"
    },
    {
      "id": "wKmj0lewEas67M0s",
      "name": "Marketing",
      "createdAt": "2025-02-19T00:27:35.090Z",
      "updatedAt": "2025-02-19T00:27:35.090Z"
    }
  ],
  "nodes": [
    {
      "id": "5ed863b0-17f2-4e3e-918d-87ef6b5fe756",
      "name": "当收到聊天消息时",
      "type": "@n8n/n8n-nodes-langchain.chatTrigger",
      "position": [
        0,
        0
      ],
      "webhookId": "43143b16-d183-4802-849f-a2c1cba34622",
      "parameters": {},
      "typeVersion": 1.1
    },
    {
      "id": "d3183556-f6d9-41a4-8fbc-bf1acea96a12",
      "name": "脚本生成器",
      "type": "n8n-nodes-base.httpRequest",
      "position": [
        860,
        0
      ],
      "parameters": {},
      "typeVersion": 4.2
    },
    {
      "id": "b2d5dbf9-b8dc-4b08-957a-44f49d86d533",
      "name": "分离",
      "type": "n8n-nodes-base.splitOut",
      "position": [
        1300,
        0
      ],
      "parameters": {},
      "typeVersion": 1
    },
    {
      "id": "1ded7dbd-7b16-44d9-bb16-595b82fbf203",
      "name": "图像提示器",
      "type": "@n8n/n8n-nodes-langchain.openAi",
      "position": [
        1520,
        0
      ],
      "parameters": {},
      "typeVersion": 1.8
    },
    {
      "id": "8b9862c0-9c22-48ad-aa3d-837142d4d301",
      "name": "请求图像",
      "type": "n8n-nodes-base.httpRequest",
      "position": [
        1900,
        0
      ],
      "parameters": {},
      "typeVersion": 4.2
    },
    {
      "id": "c00aac1c-6127-4361-8b20-675530eb2450",
      "name": "获取图像",
      "type": "n8n-nodes-base.httpRequest",
      "position": [
        2360,
        0
      ],
      "parameters": {},
      "typeVersion": 4.2
    },
    {
      "id": "d6c1486a-36c3-4748-8fc3-00ba40ec96ff",
      "name": "请求视频",
      "type": "n8n-nodes-base.httpRequest",
      "position": [
        2580,
        0
      ],
      "parameters": {},
      "typeVersion": 4.2
    },
    {
      "id": "d0a75271-1851-4514-ba74-e6a7fc9b0388",
      "name": "等待视频",
      "type": "n8n-nodes-base.wait",
      "position": [
        2880,
        0
      ],
      "webhookId": "17c55b1e-74df-4706-b87d-bcda1753e109",
      "parameters": {},
      "typeVersion": 1.1
    },
    {
      "id": "b4737037-6286-4f6a-ae3a-a3692a45ad71",
      "name": "获取视频",
      "type": "n8n-nodes-base.httpRequest",
      "position": [
        3120,
        0
      ],
      "parameters": {},
      "typeVersion": 4.2
    },
    {
      "id": "d0e8a11b-c4b8-4dd8-84db-a0ed5bed086a",
      "name": "上传到 Cloudinary",
      "type": "n8n-nodes-base.httpRequest",
      "position": [
        1000,
        260
      ],
      "parameters": {},
      "typeVersion": 4.2
    },
    {
      "id": "94bd2c48-7503-4ee9-9ed1-5d6074263d8a",
      "name": "合并",
      "type": "n8n-nodes-base.merge",
      "position": [
        3640,
        220
      ],
      "parameters": {},
      "typeVersion": 3
    },
    {
      "id": "138c83bb-19a0-4ef6-91b8-21df31d42f99",
      "name": "聚合",
      "type": "n8n-nodes-base.aggregate",
      "position": [
        3340,
        0
      ],
      "parameters": {},
      "typeVersion": 1
    },
    {
      "id": "4d1c9ed6-da28-4fee-939c-8aae81e423de",
      "name": "创建编辑器 JSON",
      "type": "n8n-nodes-base.httpRequest",
      "position": [
        3900,
        220
      ],
      "parameters": {},
      "typeVersion": 4.2
    },
    {
      "id": "4d1b85dd-93c1-4a02-add9-a19b28139bba",
      "name": "设置 JSON 变量",
      "type": "n8n-nodes-base.set",
      "position": [
        4140,
        220
      ],
      "parameters": {},
      "typeVersion": 3.4
    },
    {
      "id": "03fcedcd-a80e-4ab5-ae47-2353f10927b5",
      "name": "编辑员",
      "type": "n8n-nodes-base.httpRequest",
      "position": [
        4360,
        220
      ],
      "parameters": {},
      "typeVersion": 4.2
    },
    {
      "id": "83a64bd3-29de-459d-af0b-bd0208e70aa3",
      "name": "渲染",
      "type": "n8n-nodes-base.wait",
      "position": [
        4580,
        220
      ],
      "webhookId": "7ec18a06-b0b8-44cb-abfb-a725440f84d9",
      "parameters": {},
      "typeVersion": 1.1
    },
    {
      "id": "7d5f06fb-1652-42b4-8303-3f826c15617a",
      "name": "获取最终视频",
      "type": "n8n-nodes-base.httpRequest",
      "position": [
        4800,
        220
      ],
      "parameters": {},
      "typeVersion": 4.2
    },
    {
      "id": "1900c391-f61d-4aab-b220-2abe754a90ab",
      "name": "脚本整理器",
      "type": "n8n-nodes-base.set",
      "position": [
        640,
        0
      ],
      "parameters": {},
      "typeVersion": 3.4
    },
    {
      "id": "3011a9f0-35b4-4b77-93a9-424eaf0e01c6",
      "name": "脚本提示器",
      "type": "@n8n/n8n-nodes-langchain.openAi",
      "position": [
        240,
        0
      ],
      "parameters": {},
      "typeVersion": 1.8
    },
    {
      "id": "babab4cd-4eb7-45f0-bb2e-956371f19f50",
      "name": "等待图像",
      "type": "n8n-nodes-base.wait",
      "position": [
        2140,
        0
      ],
      "webhookId": "17c55b1e-74df-4706-b87d-bcda1753e109",
      "parameters": {},
      "typeVersion": 1.1
    },
    {
      "id": "f93f29c1-f8da-4eb8-9882-4b5b2d545391",
      "name": "大纲生成器",
      "type": "n8n-nodes-base.httpRequest",
      "position": [
        1080,
        0
      ],
      "parameters": {},
      "typeVersion": 4.2
    },
    {
      "id": "7494dfbb-df87-48bc-88cc-4aeb3afbf831",
      "name": "便签",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -160,
        -480
      ],
      "parameters": {
        "content": "确保您的表名与实际知识库结构匹配"
      },
      "typeVersion": 1
    },
    {
      "id": "fd66fdd1-cde0-44bd-9a6d-e416bddc219b",
      "name": "便签1",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        5040,
        160
      ],
      "parameters": {
        "content": "确保您的表名与实际知识库结构匹配"
      },
      "typeVersion": 1
    },
    {
      "id": "726ec794-c94a-4730-890d-4d74fd380a4d",
      "name": "便签2",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -100,
        200
      ],
      "parameters": {
        "content": "确保您的表名与实际知识库结构匹配"
      },
      "typeVersion": 1
    }
  ],
  "active": false,
  "pinData": {
    "When chat message received": [
      {
        "json": {
          "action": "sendMessage",
          "chatInput": "top 10 größten brücken",
          "sessionId": "81dcb290d3934e3c953119ac07129433"
        }
      }
    ]
  },
  "settings": {
    "executionOrder": "v1"
  },
  "versionId": "3b9642d6-aaaa-4511-ac1d-4316a425fcff",
  "connections": {
    "Merge": {
      "main": [
        [
          {
            "node": "Create Editor JSON",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Editor": {
      "main": [
        [
          {
            "node": "Rendering",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Outliner": {
      "main": [
        [
          {
            "node": "Split Out",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Aggregate": {
      "main": [
        [
          {
            "node": "Merge",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Get Image": {
      "main": [
        [
          {
            "node": "Request Video",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Get Video": {
      "main": [
        [
          {
            "node": "Aggregate",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Rendering": {
      "main": [
        [
          {
            "node": "Get Final Video",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Split Out": {
      "main": [
        [
          {
            "node": "Image Prompter",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Request Image": {
      "main": [
        [
          {
            "node": "Wait For Image",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Request Video": {
      "main": [
        [
          {
            "node": "Wait For Video",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Image Prompter": {
      "main": [
        [
          {
            "node": "Request Image",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Wait For Image": {
      "main": [
        [
          {
            "node": "Get Image",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Wait For Video": {
      "main": [
        [
          {
            "node": "Get Video",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Get Final Video": {
      "main": [
        []
      ]
    },
    "Script Prompter": {
      "main": [
        [
          {
            "node": "Script Organizer",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Script Generator": {
      "main": [
        [
          {
            "node": "Outliner",
            "type": "main",
            "index": 0
          },
          {
            "node": "Upload to Cloudinary",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Script Organizer": {
      "main": [
        [
          {
            "node": "Script Generator",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Set JSON Variable": {
      "main": [
        [
          {
            "node": "Editor",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Create Editor JSON": {
      "main": [
        [
          {
            "node": "Set JSON Variable",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Upload to Cloudinary": {
      "main": [
        [
          {
            "node": "Merge",
            "type": "main",
            "index": 1
          }
        ]
      ]
    },
    "When chat message received": {
      "main": [
        [
          {
            "node": "Script Prompter",
            "type": "main",
            "index": 0
          }
        ]
      ]
    }
  }
}
常见问题

如何使用这个工作流?

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

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

高级 - 人工智能, 营销

需要付费吗?

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

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

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

作者
Jonas Busch

Jonas Busch

@jonasbusch

I'm passionate about solving everyday problems through the power of automation. I've been building and refining automated workflows for over 3 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 查看

分享此工作流