接入并理解视频音频内容,支持检索片段、编辑处理与实时事件告警。
复制安装指令,让 AI 自动完成配置 · 推荐新手
请帮我安装 askskill 上的 "videodb" 技能: 1. 下载 https://raw.githubusercontent.com/affaan-m/ECC/main/skills/videodb/SKILL.md 2. 保存为 ~/.claude/skills/videodb/SKILL.md 3. 装好后重载技能,告诉我可以用了
请接入这个产品发布会视频链接,建立视觉和时间索引,并找出所有提到“价格”与“发布时间”的片段,返回时间戳和可播放剪辑链接。
返回相关片段列表,包含命中内容说明、时间戳与自动生成的剪辑链接。
把这批课程视频统一转码为1080p、30fps、H.264,并自动添加中文字幕、片头品牌角标和背景音乐,输出可发布版本。
输出格式统一、带字幕和品牌元素的成品视频,可直接用于发布。
接入门店监控 RTSP 直播流,检测排队人数超过10人或收银区无人值守超过3分钟的情况,并实时发送告警。
持续分析直播画面,并在触发条件时输出事件说明、时间点和实时告警。
Perception + memory + actions for video, live streams, and desktop sessions.
Before running any VideoDB code, change to the project directory and load environment variables:
from dotenv import load_dotenv
load_dotenv(".env")
import videodb
conn = videodb.connect()
This reads VIDEO_DB_API_KEY from:
.env file in current directoryIf the key is missing, videodb.connect() raises AuthenticationError automatically.
Do NOT write a script file when a short inline command works.
When writing inline Python (python -c "..."), always use properly formatted code — use semicolons to separate statements and keep it readable. For anything longer than ~3 statements, use a heredoc instead:
python << 'EOF'
from dotenv import load_dotenv
load_dotenv(".env")
import videodb
conn = videodb.connect()
coll = conn.get_collection()
print(f"Videos: {len(coll.get_videos())}")
EOF
When the user asks to "setup videodb" or similar:
pip install "videodb[capture]" python-dotenv
If videodb[capture] fails on Linux, install without the capture extra:
pip install videodb python-dotenv
The user must set VIDEO_DB_API_KEY using either method:
export VIDEO_DB_API_KEY=your-key.env file: Save VIDEO_DB_API_KEY=your-key in the project's .env fileGet a free API key at console.videodb.io (50 free uploads, no credit card).
Do NOT read, write, or handle the API key yourself. Always let the user set it.
# URL
video = coll.upload(url="https://example.com/video.mp4")
# YouTube
video = coll.upload(url="https://www.youtube.com/watch?v=VIDEO_ID")
# Local file
video = coll.upload(file_path="/path/to/video.mp4")
# force=True skips the error if the video is already indexed
video.index_spoken_words(force=True)
text = video.get_transcript_text()
stream_url = video.add_subtitle()
…
帮助用户在回答前选择简短、标准或详细版本,控制回复深度与 token 用量。
让 AI 代理通过 Reka Vision 上传、检索并分析视频内容与字幕信息。