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 UR...
π Nodes & Integrations Used (1)
π Implementation & Setup Guide
π 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](https://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
- π₯ **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.
β‘ How to import this workflow into n8n:
- Click the Direct Download JSON button above to save
__ Gemini AI video analysis.json. - Log in to your n8n Cloud or self-hosted n8n instance.
- In your workflow canvas, click the menu in top-right and select Import from File (or paste the JSON directly).
- Configure your credentials (e.g. API keys, database URLs) in the corresponding node settings.
- Click Execute Workflow to test and switch to Active!
Related Video & Media Workflows
View All in Video & Media β3-View Orthographic to Dynamic Video Converter
Production-ready n8n automation template for 3-View Orthographic to Dynamic Video Converter built by AhiXLight. Seamlessly connects HTTP Request with 13 configured nodes.
360 Virtual Try-on Video Generator
Production-ready n8n automation template for 360 Virtual Try-on Video Generator built by AhiXLight. Seamlessly connects HTTP Request with 16 configured nodes.
3D Model to Spinning Video Generator
Production-ready n8n automation template for 3D Model to Spinning Video Generator built by AhiXLight. Seamlessly connects HTTP Request with 15 configured nodes.
AI Motion Illustration Video Generator
Production-ready n8n automation template for AI Motion Illustration Video Generator built by AhiXLight. Seamlessly connects HTTP Request with 13 configured nodes.