使用字节跳动火山方舟视频理解 API(doubao-seed-2-0-pro-260215 等模型)对视频进行深度理解和分析。
Works with
AI-first code editor with Composer
Before installing skills in Cursor, ensure your development environment meets these requirements:
node --versionvolcengine-video-understandingExecute the skills CLI command in your project's root directory to begin installation:
Fetches volcengine-video-understanding from freestylefly/canghe-skills and configures it for Cursor.
The CLI shows a list of agents. Use arrow keys and space to select Cursor:
Confirm successful installation by checking the skill directory location:
Restart Cursor to activate volcengine-video-understanding. Access via /volcengine-video-understanding in your agent's command palette.
We perform automated surface-level scans (Gen AI Scanner, Socket, Snyk) during installation. These checks detect common vulnerabilities but do not guarantee complete security. Always review skill source code and verify the publisher's reputation before production use.
Skills execute code in your environment. Always review source, verify the publisher, and test in isolation before production.
Submit your Claude Code skill and start earning
Automate repetitive workflows and reduce manual effort
Example
Generate reports, summarize documents, draft communications
Save 3-5 hours per week on routine tasks
Learn new skills, understand complex topics, get expert guidance
Example
Explain concepts, provide examples, suggest learning resources
Accelerate learning and skill development by 2x
Enhance output quality through reviews, suggestions, and refinements
Example
Review drafts, suggest improvements, catch errors
Improve work quality by 30-40% with less effort
0
total installs
0
this week
199
GitHub stars
0
upvotes
Run in your terminal
0
installs
0
this week
199
stars
使用字节跳动火山方舟视频理解 API(doubao-seed-2-0-pro-260215 等模型)对视频进行深度理解和分析。
推荐方式:Files API 上传 + Responses API 分析
需要设置 ARK_API_KEY 环境变量。
cp .canghe-skills/.env.example .canghe-skills/.env
.canghe-skills/.env 文件,填写你的 API Key:ARK_API_KEY=your-actual-api-key-here
export ARK_API_KEY="your-api-key"
process.env).canghe-skills/.env~/.canghe-skills/.envcd ~/.openclaw/workspace/skills/volcengine-video-understanding
python3 scripts/video_understand.py /path/to/video.mp4 "描述这个视频的内容"
python3 scripts/video_understand.py /path/to/video.mp4 "视频中出现了哪些人物?"
python3 scripts/video_understand.py /path/to/video.mp4 "分析视频中人物的情感变化"
python3 scripts/video_understand.py /path/to/video.mp4 "总结视频要点" \
--model doubao-seed-2-0-pro-260215 \
--fps 2
python3 scripts/video_understand.py /path/to/video.mp4 "描述视频" --output result.json
| 参数 | 默认值 | 说明 |
|---|---|---|
video_path |
必填 | 视频文件路径 |
instruction |
必填 | 分析指令/问题 |
--model |
doubao-seed-2-0-pro-260215 | 模型 ID |
--fps |
1 | 视频采样帧率(预处理) |
--output |
- | 结果输出文件路径 |
doubao-seed-2-0-pro-260215 (默认)doubao-seed-2-0-lite-250728doubao-seed-1-6-251015python3 scripts/video_understand.py ~/Desktop/video.mp4 "详细描述这个视频的内容,包括场景、人物和动作"
python3 scripts/video_understand.py ~/Desktop/video.mp4 "用3句话总结这个视频的要点"
python3 scripts/video_understand.py ~/Desktop/video.mp4 "视频中的人物在做什么动作?按时间顺序描述"
python3 scripts/video_understand.py ~/Desktop/video.mp4 "分析视频中的场景变化和环境特征"
Files API 上传:
curl https://ark.cn-beijing.volces.com/api/v3/files \
-H "Authorization: Bearer $ARK_API_KEY" \
-F 'purpose=user_data' \
-F '[email protected]' \
-F 'preprocess_configs[video][fps]=1'
Responses API 分析:
{
"model": "doubao-seed-2-0-pro-260215",
"input": [
{
"role": "user",
"content": [
{
"type": "input_video",
"file_id": "file-xxxx"
},
{
"type": "input_text",
"text": "用户指令"
}
]
}
]
}
| FPS | 适用场景 |
|---|---|
| 0.3-0.5 | 慢节奏视频、静态场景、节省token |
| 1 | 一般视频分析(默认) |
| 2-3 | 快速动作、细节分析 |
from scripts.video_understand import analyze_video
result = analyze_video(
file_path="/path/to/video.mp4",
instruction="描述视频内容",
model="doubao-seed-2-0-pro-260215",
fps=1
)
# 提取回答
text = ""
for item in result.get("output", []):
if item.get("type") == "message":
for content in item.get("content", []):
if content.get("type") == "output_text":
text = content.get("text", "")
break
print(text)
常见错误及解决方案:
| 错误 | 原因 | 解决方案 |
|---|---|---|
| API Key 错误 | 未设置或错误 | 检查 ARK_API_KEY 环境变量 |
| 文件不存在 | 路径错误 | 检查文件路径 |
| 上传失败 | 文件过大或格式不支持 | 检查文件大小(<512MB)和格式 |
| 处理超时 | 视频过长或复杂 | 缩短视频或降低 FPS |
Prerequisites
Time Estimate
15-45 minutes depending on use case complexity
Steps
Common Pitfalls
✓ Do
✗ Don't
💡 Pro Tips
✓ Use when
Use when skill capabilities match your task, clear ROI on time saved, and you can validate outputs. Best for repetitive tasks, learning, and quality improvement.
✗ Avoid when
Avoid when task requires deep expertise you can't validate, involves sensitive decisions, or when learning process is more valuable than speed of completion.
freestylefly/canghe-skills
affaan-m/everything-claude-code
remotion-dev/skills
supercent-io/skills-template
heygen-com/skills
zrong/skills
Useful defaults in volcengine-video-understanding — fewer surprises than typical one-off scripts, and it plays nicely with `npx skills` flows.
Solid pick for teams standardizing on skills: volcengine-video-understanding is focused, and the summary matches what you get after install.
volcengine-video-understanding is among the better-maintained entries we tried; worth keeping pinned for repeat workflows.
Keeps context tight: volcengine-video-understanding is the kind of skill you can hand to a new teammate without a long onboarding doc.
volcengine-video-understanding has been reliable in day-to-day use. Documentation quality is above average for community skills.
I recommend volcengine-video-understanding for anyone iterating fast on agent tooling; clear intent and a small, reviewable surface area.
volcengine-video-understanding fits our agent workflows well — practical, well scoped, and easy to wire into existing repos.
Useful defaults in volcengine-video-understanding — fewer surprises than typical one-off scripts, and it plays nicely with `npx skills` flows.
We added volcengine-video-understanding from the explainx registry; install was straightforward and the SKILL.md answered most questions upfront.
volcengine-video-understanding fits our agent workflows well — practical, well scoped, and easy to wire into existing repos.
showing 1-10 of 27