8
n8n 中文网amn8n.com

使用Google Gemini 2.5 Pro分析视频并生成文本摘要

初级

这是一个Content Creation, Multimodal AI领域的自动化工作流,包含 3 个节点。主要使用 FormTrigger, GoogleGemini 等节点。 使用Google Gemini 2.5 Pro分析视频并生成文本摘要

前置要求
  • 无特殊前置要求,导入即可使用
工作流预览
可视化展示节点连接关系,支持缩放和平移
导出工作流
复制以下 JSON 配置到 n8n 导入,即可使用此工作流
{
  "meta": {
    "instanceId": "689fa22e68cd4198e4ae37f3cc44f498087edd235a867e22515be823bab694c7",
    "templateCredsSetupCompleted": true
  },
  "nodes": [
    {
      "id": "c452da55-47d8-4427-900b-7eb3c0d6710c",
      "name": "Start: Upload Your Video",
      "type": "n8n-nodes-base.formTrigger",
      "position": [
        0,
        0
      ],
      "webhookId": "c5082042-5e60-48ce-9147-891cb3c3a804",
      "parameters": {
        "options": {},
        "formTitle": "Video Analyzer",
        "formFields": {
          "values": [
            {
              "fieldType": "file",
              "fieldLabel": "Video to Analyze"
            }
          ]
        }
      },
      "typeVersion": 2.2
    },
    {
      "id": "0d164cd4-bf3b-450d-86dd-94a76f9a172b",
      "name": "1. Analyze Video with Gemini",
      "type": "@n8n/n8n-nodes-langchain.googleGemini",
      "position": [
        208,
        0
      ],
      "parameters": {
        "modelId": {
          "__rl": true,
          "mode": "list",
          "value": "models/gemini-2.5-pro",
          "cachedResultName": "models/gemini-2.5-pro"
        },
        "options": {},
        "resource": "video",
        "inputType": "binary",
        "operation": "analyze",
        "binaryPropertyName": "Video_to_Analyze"
      },
      "credentials": {
        "googlePalmApi": {
          "id": "dmfdKTqDcz24VUn2",
          "name": "Fahmi Gemini"
        }
      },
      "typeVersion": 1
    },
    {
      "id": "f68af5bf-d3f6-4f11-8d3f-80cfc32cd833",
      "name": "Sticky Note",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -1168,
        -880
      ],
      "parameters": {
        "width": 752,
        "height": 992,
        "content": "## Analyze Any Video and Get a Text Summary with Google Gemini\nThis workflow uses the NEW native Google Gemini node in n8n to analyze videos and generate detailed text summaries. Just upload a video, and Gemini will describe the scenes, objects, and actions frame by frame.\n\n### Who Is This For?\n* **Content Creators & Marketers**\n  Quickly generate summaries, shot lists, or descriptions for video content.\n* **Video Editors**\n  Get a fast overview of footage without manual review.\n* **Developers & n8n Beginners**\n  Learn how to use multimodal AI in n8n with a simple setup.\n* **AI Enthusiasts**\n  Explore the new capabilities of the Gemini Pro model.\n\n### How It Works\n* **Upload**\n  Triggered via a form where you upload a video file.\n* **Analyze**\n  The video is sent to the Gemini 2.5 Pro model for analysis.\n* **Describe**\n  Gemini returns a detailed text summary of what it sees in the video.\n\n### Setup Instructions\n**1. Add Credentials**\nConnect your Google AI (Gemini) credentials in n8n.\n**2. Activate Workflow**\nSave and activate the workflow.\n**3. Upload Video**\nOpen the Form Trigger URL, upload a video, and submit the form.\n\n### Requirements\n* An n8n instance (Cloud or Self-Hosted)\n* A Google AI (Gemini) account\n\n### Customization Ideas\n* **Translate the Summary**\n  Add another LLM node to translate the analysis.\n* **Create Social Media Posts**\n  Use the output to generate Twitter or LinkedIn content.\n* **Store the Output**\n  Save the summary to Google Sheets or Airtable.\n\n* **Automate with Cloud Storage**\n  Replace the Form Trigger with a Google Drive or Dropbox trigger to process videos automatically."
      },
      "typeVersion": 1
    }
  ],
  "pinData": {},
  "connections": {
    "Start: Upload Your Video": {
      "main": [
        [
          {
            "node": "1. Analyze Video with Gemini",
            "type": "main",
            "index": 0
          }
        ]
      ]
    }
  }
}
常见问题

如何使用这个工作流?

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

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

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

需要付费吗?

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

工作流信息
难度等级
初级
节点数量3
分类2
节点类型3
难度说明

适合 n8n 新手,包含 1-5 个节点的简单工作流

作者
Fahmi Fahreza

Fahmi Fahreza

@fahmiiireza

Backend Developer turns to AI Automation Developer

外部链接
在 n8n.io 查看

分享此工作流