Skip to main content

πŸŽ₯ Gemini AI video analysis

Workflow preview

Workflow preview
100%
πŸŽ₯ Gemini AI video analysis preview
Open on n8n.io

Important notice

This workflow is provided as-is. Please review and test before using in production.

1. Workflow Overview

This workflow leverages Google Gemini 2.0 Flash multimodal AI to automatically generate detailed descriptions of video content from any public URL. It streamlines video understanding, making it ide...

Best for

  • Content Creation automation workflows
  • Multimodal AI automation workflows
  • intermediate n8n builders looking for reusable templates

Tools used

n8n-nodes-base.wait, n8n-nodes-base.httprequest, n8n-nodes-base.manualtrigger, n8n-nodes-base.set, n8n-nodes-base.stickynote

Source and attribution

This workflow is cataloged by N8N Workflows and links back to its original n8n.io source page by SamirLiu.

Original n8n.io source

1.1 Workflow description

Title
πŸŽ₯ Gemini AI video analysis
Workflow name
πŸŽ₯ Gemini AI video analysis

πŸ“ Overview

This workflow leverages Google Gemini 2.0 Flash multimodal AI to automatically generate detailed descriptions of video content from any public URL. It streamlines video understanding, making it ideal for content cataloging, accessibility, and content moderation.

πŸ’‘ Use Cases

  • β™Ώ Accessibility: Automatically generate detailed video descriptions for visually impaired users.
  • πŸ›‘οΈ Content Moderation: Detect inappropriate or off-brand material without manual watching.
  • πŸ—‚οΈ Media Cataloging: Enrich your media library with automatically extracted metadata.
  • πŸ“ˆ Marketing & Branding: Gain fast insights into key elements, tone, and branding in video content.

βš™οΈ Setup Instructions

  1. πŸ”‘ Get a Gemini API Key

    • Register at ai.google.dev and create an API key.
    • Before running the workflow, set your Gemini API key as an environment variable named GeminiKey for secure access within the workflow.
    • In the Set Input node, reference this environment variable instead of hardcoding the key.
  2. 🌐 Configure Video URL

    • Replace the sample URL in the Set Input node with your desired public video URL.
    • Ensure the video is directly accessible (no login or special permissions required).
  3. πŸ“ Optional: Customize the Analysis

    • Edit the prompt in the Analyze video Gemini node to focus on the most relevant video details for your use case (e.g., branding, key actions, visual elements).
  4. πŸ”’ Security Tip

    • Use n8n's credentials manager or environment variables (like GeminiKey) to store your API key securely.
    • Avoid hardcoding API keys directly in workflow nodes, especially in production environments.

πŸ”„ How It Works

  1. πŸ“₯ Download the video from the provided URL.
  2. ☁️ Upload the video to Gemini’s server for processing.
  3. ⏳ Wait for Gemini to complete processing.
  4. πŸ€– Analyze the video with Gemini AI using your customized prompt.
  5. πŸ“„ Output a comprehensive description of the video as videoDescription.

⚑ Technical Details

  • Uses HTTP Request nodes to interact with Gemini API endpoints.
  • Handles file download, upload, status checking, and result retrieval.
  • Customizable Gemini AI parameters for fine-tuned response.
  • Main output: videoDescription (detailed text describing video content).

πŸš€ Quickstart

  1. Set your Gemini API key as the GeminiKey environment variable and configure your video URL in the workflow.
  2. Execute the workflow.
  3. Retrieve your rich, AI-generated video description for downstream use such as automation, tagging, or reporting.

1.2 Logical Blocks

This catalog entry is organized from the workflow JSON. The node-level section below shows the executable blocks available for review before importing the template.

2. Block-by-Block Analysis

Block 1 - Wait

Type / Role
n8n-nodes-base.wait - wait
Config choices
Version 1.1

Block 2 - Download video

Type / Role
n8n-nodes-base.httpRequest - httpRequest
Config choices
Version 4.2

Block 3 - Upload video Gemini

Type / Role
n8n-nodes-base.httpRequest - httpRequest
Config choices
Version 4.2

Block 4 - Analyze video Gemini

Type / Role
n8n-nodes-base.httpRequest - httpRequest
Config choices
Version 4.2

Block 5 - When clicking β€˜Test workflow’

Type / Role
n8n-nodes-base.manualTrigger - manualTrigger
Config choices
Version 1

Block 6 - Set Input

Type / Role
n8n-nodes-base.set - set
Config choices
Version 3.4

Block 7 - Get Result

Type / Role
n8n-nodes-base.set - set
Config choices
Version 3.4

Block 8 - Sticky Note3

Type / Role
n8n-nodes-base.stickyNote - stickyNote
Config choices
Version 1

Block 9 - Sticky Note4

Type / Role
n8n-nodes-base.stickyNote - stickyNote
Config choices
Version 1

Block 10 - Sticky Note1

Type / Role
n8n-nodes-base.stickyNote - stickyNote
Config choices
Version 1

3. Summary Table

Workflow πŸŽ₯ Gemini AI video analysis
Complexity intermediate
Nodes 10
Categories Content Creation, Multimodal AI
Author SamirLiu
Published 28 Apr 2025

4. Reproducing the Workflow from Scratch

  1. 1. Download the workflow JSON

    Use the JSON export at /data/workflows/3775/3775.json as the source template for this automation.

  2. 2. Import the template into n8n

    Open n8n, import the downloaded JSON, and review each node before activating the workflow.

  3. 3. Configure credentials and variables

    Replace placeholder credentials, API keys, webhook URLs, account IDs, and environment-specific values with your own settings.

  4. 4. Test with sample data

    Run the workflow manually or in a staging workspace, inspect node output, and confirm downstream systems receive the expected data.

  5. 5. Activate and monitor

    Enable the workflow only after testing, then monitor executions, errors, and rate limits during the first production runs.

5. General Notes & Resources

Review imported nodes carefully before activation. This catalog entry is intended to help you inspect the workflow structure, understand required services, and find related templates faster.

Node names, credentials, schedules, webhook paths, and external service limits may need adjustment for your workspace.

Frequently asked questions

What does πŸŽ₯ Gemini AI video analysis do?

This workflow leverages Google Gemini 2.0 Flash multimodal AI to automatically generate detailed descriptions of video content from any public URL. It streamlines video understanding, making it ide...

What do I need before importing this workflow?

Review the workflow JSON, configure any required credentials in n8n, and test the automation in a safe workspace before using it in production.

Can I customize this workflow?

Yes. Use the block-by-block analysis and the downloadable JSON to inspect each node, then adjust credentials, prompts, schedules, filters, or destinations for your Content Creation, Multimodal AI use case.