Using AI
Analyze Video
Node Inputs
Required Fields
- Video File: Upload video (FLV, QuickTime, MPEG, MPEGPS, MPG, MP4, WEBM, WMV, or 3GPP)
- Prompt: Question or instruction for analysis. Be specific for best results
- Video Model: Choose AI model for analysis (Gemini 1.5 Flash/Pro)
Optional Fields
- Use Link: Enable to use direct video URLs
- Only supports publicly accessible media links (e.g., https://example.com/video.mp4)
- Does not support Google Drive, Dropbox, or other file-sharing links
- URL must point directly to the media file
- Temperature: Controls analysis creativity (0-1, default: 1)
- Cache Response: Save responses for reuse
Show As Input
The node allows you to configure certain parameters as dynamic inputs. You can enable these in the “Configure Inputs” section:
-
Use Link: Boolean
- true/false to use video URL instead of file upload
- When enabled, allows direct input of video URLs
-
Prompt: String
- The specific question or instruction for analyzing the video
- Example: “Describe the main events in this video”
-
video_model_preference: String
- Name of the AI model to use for video analysis
- Accepted values: “Gemini 1.5 Flash” or “Gemini 1.5 Pro”
-
Cache Response: Boolean
- true/false to enable/disable response caching
- Helps reduce API calls for identical inputs
-
Temperature: Number
- Value between 0 and 1
- Controls analysis consistency and creativity
When enabled as inputs, these parameters can be dynamically set by previous nodes in your workflow. If not enabled, the values set in the node configuration will be used.
Node Output
- Analysis: AI’s detailed response about the video content
Node Functionality
The Analyze Video node can:
- Process video content with AI vision
- Extract text from video frames
- Generate video descriptions
- Answer queries about video content
- Identify objects and actions
- Analyze scenes and transitions
- Track movement and changes
Available AI Models
- Gemini 1.5 Pro: Advanced analysis with higher accuracy
- Gemini 1.5 Flash: Faster processing for simpler tasks
Common Use Cases
- Content Description:
- Text Extraction:
- Action Recognition:
- Object Tracking:
Best Practices
-
Video Length:
- Keep videos reasonably short for better analysis
- Consider splitting longer videos into segments
-
Prompt Engineering:
- Be specific in your instructions
- Focus on one analysis task at a time
- Include temporal aspects if timing is important
-
Model Selection:
- Use Gemini 1.5 Pro for detailed analysis
- Choose Gemini 1.5 Flash for quick, basic analysis
-
Temperature Usage:
- Low (0-0.3): Consistent, factual analysis
- Medium (0.4-0.7): Balanced analysis
- High (0.8-1.0): Creative descriptions
Important Considerations
- Cost: 20 credits per video analysis
- Processing time increases with video length
- Analysis quality depends on video resolution and clarity
- When using the
Use Link
option make sure the link has the appropriate file extension
In summary, the Analyze Video node provides powerful video analysis capabilities using state-of-the-art AI vision models, suitable for a wide range of applications from content description to detailed motion analysis.