← 返回 Skills 市场
ide-rea

Baidu Netdisk AIVideoNotes

作者 ide-rea · GitHub ↗ · v1.0.2 · MIT-0
cross-platform ✓ 安全检测通过
284
总下载
0
收藏
0
当前安装
3
版本数
在 OpenClaw 中安装
/install ai-notes-for-video
功能描述
百度网盘AI视频笔记是一款基于大模型的视频内容理解工具,可以对视频(本地视频,网络视频)语音识别生成文稿笔记、大纲笔记、图文笔记三种笔记格式。当用户需要从视频生成笔记、总结视频内容、或将视频转化为文字记录时使用,经典场景(教育,会议视频总结笔记,短视频文案建议,关键信息提取)
使用说明 (SKILL.md)

百度网盘AI视频笔记

功能特色

  • 支持mp4、mov、flv、mpeg、avi、mkv、wmv等主流视频格式
  • 异步生成机制、进度反馈、多格式输出

应用场景

  • 视频教学内容理解与笔记
  • 短视频平台内容分析与文案建议
  • 会议视频记录与关键信息提取
  • 高峰时段直播视频回顾与笔记

执行流程

  1. 任务创建: 提交视频URL(本地视频或网络视频) → 生成任务ID
  2. 轮询任务状态: 每3-5秒查询一次任务状态,直到任务完成
  3. 获取解析结果: 当 status = 10002 时,输出解析结果

状态码说明

Code Status Action
10000 进行中 继续轮询
10002 完成 输出解析结果
Other 失败 提示异常信息

笔记类型

Type Description
1 文稿笔记
2 大纲笔记
3 图文笔记

使用示例

创建任务

Endpoint: POST /v2/tools/ai_note/task_create

Parameters:

  • video_url (required): Public video URL

Example:

python3 scripts/ai_notes_task_create.py --video_url='https://example.com/video.mp4'

Response:

{
  "task_id": "uuid-string"
}

查询任务状态

Endpoint: GET /v2/tools/ai_note/query

Parameters:

  • task_id (required): Task ID from create endpoint

Example:

python3 scripts/ai_notes_task_query.py --task_id="task-id-here"

Response (Completed):

[
   {
  "状态": "完成",
  "文稿笔记": ["note1", "note2"]
   },
   {
  "状态": "完成",
  "大纲笔记": ["note1", "note2"]
   },
   {
  "状态": "完成",
  "图文笔记": ["note1", "note2"]
   }
]

循环拉取任务状态

Option 1: Manual Polling

  1. Create task → store task_id
  2. Query every 3-5 seconds:
python3 scripts/ai_notes_task_query.py --task_id="task-id-here"
  1. Show progress updates:
    • Status 10000: Processing...
    • Status 10002: Completed
  2. Stop after 30-60 seconds (video length dependent)

Option 2: Auto Polling (Recommended)

Use the polling script for automatic status updates:

python3 scripts/ai_notes_poll.py --task_id="task-id-here" [--max_attempts=30] [--interval=5]

Examples:

# Default: 20 attempts, 3-second intervals
python3 scripts/ai_notes_poll.py --task_id="task-id-here"

# Custom: 30 attempts, 5-second intervals
python3 scripts/ai_notes_poll.py --task_id="task-id-here" --max_attempts=30 --interval=5

Output:

  • Shows real-time progress: [1/20] Processing... 25%
  • Auto-stops when complete
  • Returns formatted notes with type labels

异常处理

  • 文件下载失败: "File not found or invalid URL"
  • Processing error: "Failed to parse video"
  • Timeout: "Video too long, try again later"
安全使用建议
This skill appears to do what it says: it will upload local videos (if you pass a local file path) and call Baidu endpoints to create and poll AI-note tasks, using the BAIDU_API_KEY you supply. Before installing or using it: (1) only provide a BAIDU_API_KEY with limited scope you trust to be used for this purpose; (2) do not pass sensitive videos unless you accept they will be uploaded to Baidu BOS; (3) be aware that if DUMATE_SESSION_ID / DUMATE_SCHEDULER_URL are set, requests will be proxied through that scheduler (proxy headers like X-Dumate-Session-Id and Host will be sent); and (4) source/homepage are unknown — consider using official/verified clients or reviewing the key permissions and privacy policy of the target service before use.
功能分析
Type: OpenClaw Skill Name: ai-notes-for-video Version: 1.0.2 The skill bundle provides a legitimate interface for Baidu's AI video note generation service. The scripts (ai_notes_task_create.py, ai_notes_poll.py, and ai_notes_task_query.py) implement standard API interactions, including task creation, local file uploads to Baidu's BOS storage, and status polling. The code includes platform-specific logic (resolve_sandbox_url) to correctly route requests through a proxy when running in a sandboxed environment. No evidence of data exfiltration, unauthorized execution, or malicious prompt injection was found; the behavior is entirely consistent with the stated purpose.
能力标签
requires-sensitive-credentials
能力评估
Purpose & Capability
Name/description describe generating notes from videos. The scripts implement creating a task, polling, and querying results against Baidu endpoints and include an upload helper for local files — all directly related to the stated purpose. Required binary (python3) and primary env BAIDU_API_KEY are appropriate.
Instruction Scope
SKILL.md instructs running the provided Python scripts to create tasks and poll for results. The scripts only read the provided video path (or URL) and optional sandbox proxy env vars, use BAIDU_API_KEY for authorization, and call the documented API endpoints. The only notable behavior is that local video files will be uploaded to Baidu BOS when a local path is provided — which is consistent with the feature but important for user privacy.
Install Mechanism
No install spec — instruction-only plus Python scripts. No downloads from arbitrary URLs or archive extraction. Risk from install mechanism is low; user must simply have python3 and requests available.
Credentials
Only BAIDU_API_KEY is required and used as a Bearer token when calling Baidu endpoints; the scripts also optionally honor DUMATE_SESSION_ID/DUMATE_SCHEDULER_URL for sandbox proxying. The requested env vars match the service being used and are proportionate. Users should ensure the BAIDU_API_KEY has appropriate scope and is trusted.
Persistence & Privilege
Skill is not always-enabled and does not request elevated or persistent system privileges. It does not modify other skills or system-wide settings. Autonomous invocation is allowed (platform default) but not combined with other privilege red flags.
如何使用
  1. 确保已安装 OpenClaw(本地或 Docker 部署)
  2. 在对话框中输入安装命令:/install ai-notes-for-video
  3. 安装完成后,直接呼叫该 Skill 的名称或使用 /ai-notes-for-video 触发
  4. 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v1.0.2
- Updated skill name and description to Chinese, expanding application scenarios and feature descriptions. - Improved and localized documentation throughout SKILL.md, including usage instructions, examples, and error messages. - Changed command-line parameter format to use double dash (e.g., --video_url, --task_id). - Added compiled Python bytecode files for core polling and task scripts. - Removed unused origin.json file.
v1.0.1
- Updated skill name to "Baidu Netdisk AIVideoNotes". - Clarified that notes are generated using Baidu Netdisk AI. - Minor description and documentation wording changes for consistency.
v1.0.0
ai-notes-for-video 1.0.0 - Initial release: generate structured AI-powered notes from video URLs using Baidu AI. - Supports three note formats: document, outline, or graphic-text. - Task-based workflow with status polling (manual or automatic options). - Includes clear status codes and error handling. - Provides Python scripts for task creation, querying, and automated polling.
元数据
Slug ai-notes-for-video
版本 1.0.2
许可证 MIT-0
累计安装 0
当前安装数 0
历史版本数 3
常见问题

Baidu Netdisk AIVideoNotes 是什么?

百度网盘AI视频笔记是一款基于大模型的视频内容理解工具,可以对视频(本地视频,网络视频)语音识别生成文稿笔记、大纲笔记、图文笔记三种笔记格式。当用户需要从视频生成笔记、总结视频内容、或将视频转化为文字记录时使用,经典场景(教育,会议视频总结笔记,短视频文案建议,关键信息提取). 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 284 次。

如何安装 Baidu Netdisk AIVideoNotes?

在 OpenClaw 或 Claude Code 对话框中运行命令「/install ai-notes-for-video」即可一键安装,无需额外配置。

Baidu Netdisk AIVideoNotes 是免费的吗?

是的,Baidu Netdisk AIVideoNotes 完全免费,采用 MIT-0 许可证,可自由下载、安装和使用。

Baidu Netdisk AIVideoNotes 支持哪些平台?

Baidu Netdisk AIVideoNotes 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。

谁开发了 Baidu Netdisk AIVideoNotes?

由 ide-rea(@ide-rea)开发并维护,当前版本 v1.0.2。

💬 留言讨论