Install
openclaw skills install smyx-video-search-analysisConducts intelligent video search based on target and semantic descriptions; supports conventional target retrieval, natural language description retrieval,...
openclaw skills install smyx-video-search-analysisBased on multimodal large models and deep learning algorithms, this feature constructs a next-generation intelligent video retrieval system, supporting three core modes: conventional object retrieval, natural language description retrieval, and vectorized model matching. Through computer vision technology, the system automatically identifies and indexes conventional targets such as people, vehicles, and objects. Simultaneously, it leverages image-text multimodal large models to achieve cross-modal alignment between semantics and video content, enabling open-ended retrieval via natural language descriptions like "person wearing red clothes" or "talking on the phone." Furthermore, employing a full-modal vectorization model, the system transforms video content into high-dimensional vectors, realizing fused retrieval across mixed modalities of text, image, and video. Supporting multi-condition combination and fuzzy semantic matching, it rapidly locates target footage, meeting the precise retrieval demands of complex scenarios such as security surveillance and video asset management.
本功能基于多模态大模型与深度学习算法,构建了新一代智能视频检索系统,支持常规目标检索、自然语言描述检索及向量化模型匹配三种核心模式。系统通过计算机视觉技术自动识别并索引人、车、物等常规目标,同时利用图文多模态大模型实现语义与视频内容的跨模态对齐,支持用户通过“穿红色衣服的人”、“打电话”等自然语言描述进行开放式检索。此外,系统采用全模态向量化模型,将视频内容转化为高维向量,实现文本、图像、视频混合模态的融合检索,支持多条件组合与模糊语义匹配,快速定位目标画面,满足安防监控、视频资产管理等复杂场景下的精准检索需求
本技能明确约定:
memory/YYYY-MM-DD.md、MEMORY.md 等本地文件python -m scripts.video_search_analysis --list --open-id 参数调用 API
查询云端的历史报告数据requests>=2.28.0
在执行视频搜索分析前,必须按以下优先级顺序获取 open-id:
第 1 步:【最高优先级】检查技能所在目录的配置文件(优先)
路径:skills/smyx_common/scripts/config.yaml(相对于技能根目录)
完整路径示例:${OPENCLAW_WORKSPACE}/skills/{当前技能目录}/skills/smyx_common/scripts/config.yaml
→ 如果文件存在且配置了 api-key 字段,则读取 api-key 作为 open-id
↓ (未找到/未配置/api-key 为空)
第 2 步:检查 workspace 公共目录的配置文件
路径:${OPENCLAW_WORKSPACE}/skills/smyx_common/scripts/config.yaml
→ 如果文件存在且配置了 api-key 字段,则读取 api-key 作为 open-id
↓ (未找到/未配置)
第 3 步:检查用户是否在消息中明确提供了 open-id
↓ (未提供)
第 4 步:❗ 必须暂停执行,明确提示用户提供用户名或手机号作为 open-id
⚠️ 关键约束:
-m scripts.video_search_analysis 处理视频(必须在技能根目录下运行脚本)--input: 本地视频文件路径(使用 multipart/form-data 方式上传)--url: 网络视频 URL 地址(API 服务自动下载)--text: 搜索目标/自然语言描述(说明要找什么内容)--open-id: 当前用户的 open-id(必填,按上述流程获取)--list: 显示历史视频搜索分析报告列表清单(可以输入起始日期参数过滤数据范围)--api-key: API 访问密钥(可选)--api-url: API 服务地址(可选,使用默认值)--detail: 输出详细程度(basic/standard/json,默认 json)--output: 结果输出文件路径(可选)视频搜索分析报告-{记录id}
形式拼接, "点击查看"列使用
[🔗 查看报告](reportImageUrl)
格式的超链接,用户点击即可直接跳转到对应的完整报告页面。| 报告名称 | 搜索关键词 | 分析时间 | 匹配片段数 | 点击查看 |
|---|---|---|---|---|
| 视频搜索分析报告 -20260328221000001 | 穿蓝色衣服的人出现 | 2026-03-28 22:10:00 | ||
| 3段 | 🔗 查看报告 |
# 在本地视频中搜索特定目标(以下只是示例,禁止直接使用openclaw-control-ui 作为 open-id)
python -m scripts.video_search_analysis --input /path/to/life.mp4 --text "狗狗出现的片段" --open-id openclaw-control-ui
# 在网络视频中用自然语言搜索(以下只是示例,禁止直接使用openclaw-control-ui 作为 open-id)
python -m scripts.video_search_analysis --url https://example.com/event.mp4 --text "有人发言的片段" --open-id openclaw-control-ui
# 显示历史搜索报告/显示搜索报告清单列表/显示历史视频搜索(自动触发关键词:查看历史搜索报告、历史报告、搜索报告清单等)
python -m scripts.video_search_analysis --list --open-id openclaw-control-ui
# 输出精简报告
python -m scripts.video_search_analysis --input video.mp4 --text "汽车" --open-id your-open-id --detail basic
# 保存结果到文件
python -m scripts.video_search_analysis --input video.mp4 --text "人物出现" --open-id your-open-id --output result.json