๐ฅ 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
๐ 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.
๐ 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).
๐ 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).
๐ 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
๐ฅ Download the video from the provided URL. โ๏ธ Upload the video to Geminiโs server for processing. โณ Wait for Gemini to complete processing. ๐ค Analyze the video with Gemini AI using your customized prompt. ๐ 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
Set your Gemini API key as the GeminiKey environment variable and configure your video URL in the workflow. Execute the workflow. Retrieve your rich, AI-generated video description for downstream use such as automation, tagging, or reporting.
Related Templates
Extract Title tag and Meta description from url for SEO analysis with Airtable
Extract Title tag and meta description from url for SEO analysis. How it works The workflows takes records from Airtabl...
Restore your workflows from GitHub
This workflow restores all n8n instance workflows from GitHub backups using the n8n API node. It complements the Backup ...
Build a Restaurant Voice Assistant with VAPI and PostgreSQL for Bookings & Orders
This n8n template demonstrates how to create a comprehensive voice-powered restaurant assistant that handles table reser...
๐ Please log in to import templates to n8n and favorite templates
Workflow Visualization
Loading...
Preparing workflow renderer
Comments (0)
Login to post comments