Google Video Url Analysis
Use scripts/gemini_video_url_analyzer.py for deterministic Gemini calls instead of ad-hoc API snippets.
Workflow
- Set an API key:
GEMINI_API_KEY(preferred), orGOOGLE_API_KEY
- Run the analyzer with a public video URL supported by Gemini as direct URI input.
- Provide a task-specific prompt (summary, timeline extraction, Q&A, moderation, etc.).
- Inspect the text output.
Command Guide
- Basic analysis:
python scripts/gemini_video_url_analyzer.py --video-url "https://www.youtube.com/watch?v=..." --prompt "Summarize in 5 bullets and list important timestamps."
- Override model:
python scripts/gemini_video_url_analyzer.py --video-url "<url>" --model "gemini-2.5-pro" --prompt "Produce a scene-by-scene report."
Operational Rules
- Require a publicly accessible URL.
- Prefer concise, explicit prompts with concrete output constraints.