360 Secure SkillHub
360 安全技能中心

gemini video analyze

该 Skill 通过 Python 脚本调用 Google Gemini,将公开视频 URL 与用户提示词发送给模型,返回摘要、时间线、问答或审核等文本分析结果,无需本地下载或上传视频文件。需配置 Gemini API 密钥,依赖网络。

tokyo-s
tokyo-s
热度 74.77
最近更新 2026-05-11 17:26:41
分类:数据依赖:代码执行 / 第三方 API应用场景:摘要总结 / 研究

安装技能

复制下面的话术发给你的 Agent,它会通过 secure-skills 检索并安装该技能。

执行命令安装此 skill: npx secure-skills-cli add gemini-video-analyze
Metadata
name
google-video-url-analysis
description
Send a public video URL directly to a Google Gemini model for analysis. Use when Codex must summarize a video, answer questions about video content, or extract key points from a URL without local download or file upload steps.

Google Video Url Analysis

Use scripts/gemini_video_url_analyzer.py for deterministic Gemini calls instead of ad-hoc API snippets.

Workflow

  1. Set an API key:
    • GEMINI_API_KEY (preferred), or
    • GOOGLE_API_KEY
  2. Run the analyzer with a public video URL supported by Gemini as direct URI input.
  3. Provide a task-specific prompt (summary, timeline extraction, Q&A, moderation, etc.).
  4. 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.