8
n8n 中文网amn8n.com

使用Veo-3、Perplexity和FFmpeg自动生成并发布1080p短视频

高级

这是一个Content Creation, Multimodal AI领域的自动化工作流,包含 21 个节点。主要使用 If, Set, Wait, YouTube, Telegram 等节点。 使用Veo-3、Perplexity和FFmpeg自动生成并发布1080p短视频

前置要求
  • Telegram Bot Token
  • 可能需要目标 API 的认证凭证
  • Google Gemini API Key
工作流预览
可视化展示节点连接关系,支持缩放和平移
导出工作流
复制以下 JSON 配置到 n8n 导入,即可使用此工作流
{
  "meta": {
    "instanceId": "40f29e455b10b3ef07629363459d0fa6954887d44ddad18e74a5539a487f2eee",
    "templateCredsSetupCompleted": true
  },
  "nodes": [
    {
      "id": "130ac234-cca4-4132-a873-0820af0c2d05",
      "name": "上传视频",
      "type": "n8n-nodes-base.youTube",
      "position": [
        1040,
        240
      ],
      "parameters": {},
      "typeVersion": 1
    },
    {
      "id": "1888fad4-2fc8-4f51-a124-8bbc4ed70259",
      "name": "计划触发器",
      "type": "n8n-nodes-base.scheduleTrigger",
      "position": [
        -384,
        -496
      ],
      "parameters": {},
      "typeVersion": 1.2
    },
    {
      "id": "8702f7f9-6b1d-4e51-b57e-30e17018b231",
      "name": "Google Gemini 聊天模型",
      "type": "@n8n/n8n-nodes-langchain.lmChatGoogleGemini",
      "position": [
        256,
        -224
      ],
      "parameters": {},
      "typeVersion": 1
    },
    {
      "id": "4e0118a3-b4cf-4a33-90b8-b54708eb5280",
      "name": "结构化输出解析器1",
      "type": "@n8n/n8n-nodes-langchain.outputParserStructured",
      "position": [
        448,
        -224
      ],
      "parameters": {},
      "typeVersion": 1.3
    },
    {
      "id": "ecf32d87-4004-4a9f-a3d0-3fdb3241c93e",
      "name": "便签2",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        992,
        144
      ],
      "parameters": {
        "content": "确保您的表名与实际知识库结构匹配"
      },
      "typeVersion": 1
    },
    {
      "id": "f9852d31-1952-4948-8a75-1c81696c0056",
      "name": "便签3",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        1008,
        -208
      ],
      "parameters": {
        "content": "确保您的表名与实际知识库结构匹配"
      },
      "typeVersion": 1
    },
    {
      "id": "a5dd9b04-b7bf-4e9e-86f7-17d9e4bb8e8f",
      "name": "视频创意",
      "type": "n8n-nodes-base.perplexity",
      "position": [
        64,
        -496
      ],
      "parameters": {},
      "typeVersion": 1
    },
    {
      "id": "a2d347e2-4d3d-4b57-8f39-e14eb2841fd6",
      "name": "提示与文本代理",
      "type": "@n8n/n8n-nodes-langchain.agent",
      "position": [
        240,
        -496
      ],
      "parameters": {},
      "typeVersion": 2.2
    },
    {
      "id": "4997627b-db3b-49b6-aa0a-12567acdabd3",
      "name": "开始视频生成",
      "type": "n8n-nodes-base.httpRequest",
      "position": [
        656,
        -496
      ],
      "parameters": {},
      "typeVersion": 4.2
    },
    {
      "id": "62955f29-314a-4f4b-ab99-de83c2717409",
      "name": "获取视频生成状态",
      "type": "n8n-nodes-base.httpRequest",
      "position": [
        1072,
        -560
      ],
      "parameters": {},
      "typeVersion": 4.2
    },
    {
      "id": "40988b99-7ce0-419c-b997-7d7f5d89ce69",
      "name": "视频生成完成",
      "type": "n8n-nodes-base.if",
      "position": [
        1296,
        -496
      ],
      "parameters": {},
      "typeVersion": 2.2
    },
    {
      "id": "46552659-9690-4ed8-8fbc-a2324521abc9",
      "name": "便签4",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        32,
        -672
      ],
      "parameters": {
        "content": "确保您的表名与实际知识库结构匹配"
      },
      "typeVersion": 1
    },
    {
      "id": "5da38c28-2a63-4621-8811-b521fbe934e7",
      "name": "便签5",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        576,
        -720
      ],
      "parameters": {
        "content": "确保您的表名与实际知识库结构匹配"
      },
      "typeVersion": 1
    },
    {
      "id": "19995350-5b5b-4acc-9f64-bbb1cef5a28a",
      "name": "下载视频",
      "type": "n8n-nodes-base.httpRequest",
      "position": [
        1568,
        -432
      ],
      "parameters": {},
      "typeVersion": 4.2
    },
    {
      "id": "d25d394b-d1d0-4aeb-9c1b-f8813533ce10",
      "name": "将视频写入磁盘",
      "type": "n8n-nodes-base.readWriteFile",
      "position": [
        1792,
        -432
      ],
      "parameters": {},
      "typeVersion": 1
    },
    {
      "id": "79789f3d-7091-4d3b-ab82-833297467084",
      "name": "编辑视频",
      "type": "n8n-nodes-base.executeCommand",
      "position": [
        2016,
        -432
      ],
      "parameters": {},
      "typeVersion": 1
    },
    {
      "id": "f72f6953-78c3-4056-aeca-829559d77c72",
      "name": "读取已完成的视频",
      "type": "n8n-nodes-base.readWriteFile",
      "position": [
        768,
        -64
      ],
      "parameters": {},
      "typeVersion": 1
    },
    {
      "id": "d9a84004-1034-40f6-9d10-cae39aa8f9df",
      "name": "发送通知",
      "type": "n8n-nodes-base.telegram",
      "position": [
        1072,
        -96
      ],
      "webhookId": "71c758f2-3659-4b10-8fdd-f1b3b6898b87",
      "parameters": {},
      "typeVersion": 1.2
    },
    {
      "id": "23b4268c-918f-4c3f-a0ef-7cc074af4f5a",
      "name": "便签6",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        1744,
        -720
      ],
      "parameters": {
        "content": "确保您的表名与实际知识库结构匹配"
      },
      "typeVersion": 1
    },
    {
      "id": "908c65dc-277b-4921-bba6-b25cf038f5c0",
      "name": "文件名 + 主题",
      "type": "n8n-nodes-base.set",
      "position": [
        -160,
        -496
      ],
      "parameters": {},
      "typeVersion": 3.4
    },
    {
      "id": "502395a5-5aca-4e99-aae5-91f68ffa0edc",
      "name": "等待视频生成完成",
      "type": "n8n-nodes-base.wait",
      "position": [
        848,
        -496
      ],
      "webhookId": "9e045b09-c468-4a73-a8f3-006342732b86",
      "parameters": {},
      "typeVersion": 1.1
    }
  ],
  "pinData": {},
  "connections": {
    "Edit Video": {
      "main": [
        [
          {
            "node": "Read finished Video",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Video Idea": {
      "main": [
        [
          {
            "node": "Prompt & Text Agent",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Download Video": {
      "main": [
        [
          {
            "node": "Write Video on Disk",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Upload a video": {
      "main": [
        []
      ]
    },
    "Schedule Trigger": {
      "main": [
        [
          {
            "node": "Filenames + topic",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Filenames + topic": {
      "main": [
        [
          {
            "node": "Video Idea",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Get Videogeneration": {
      "main": [
        [
          {
            "node": "Videogeneration finished",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Prompt & Text Agent": {
      "main": [
        [
          {
            "node": "Start Videogeneration",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Read finished Video": {
      "main": [
        [
          {
            "node": "Send Notification",
            "type": "main",
            "index": 0
          },
          {
            "node": "Upload a video",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Write Video on Disk": {
      "main": [
        [
          {
            "node": "Edit Video",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Start Videogeneration": {
      "main": [
        [
          {
            "node": "Wait until Videogeneration",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Google Gemini Chat Model": {
      "ai_languageModel": [
        [
          {
            "node": "Prompt & Text Agent",
            "type": "ai_languageModel",
            "index": 0
          }
        ]
      ]
    },
    "Videogeneration finished": {
      "main": [
        [
          {
            "node": "Download Video",
            "type": "main",
            "index": 0
          }
        ],
        [
          {
            "node": "Wait until Videogeneration",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Structured Output Parser1": {
      "ai_outputParser": [
        [
          {
            "node": "Prompt & Text Agent",
            "type": "ai_outputParser",
            "index": 0
          }
        ]
      ]
    },
    "Wait until Videogeneration": {
      "main": [
        [
          {
            "node": "Get Videogeneration",
            "type": "main",
            "index": 0
          }
        ]
      ]
    }
  }
}
常见问题

如何使用这个工作流?

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

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

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

需要付费吗?

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

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

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

作者
Sulieman Said

Sulieman Said

@sulieman-said

👋 Hi, I’m Sulieman – Founder of aufCopilot.de . I build custom n8n workflows, automations & AI integrations to help businesses save time and scale smarter. I share templates, answer questions and love exploring creative use cases – from lead generation to data workflows and AI-powered automations. 🚀 Always happy to connect, learn and contribute to the community. Although my profile is in English, I am a native German speaker and happy to work in both German and English projects.

外部链接
在 n8n.io 查看

分享此工作流