微算力 · API 导航与自营网关
API 接入 EN
未登录登录
📺

AI 视频智能笔记生成助手

ai-notes-ofvideo · vv1.1.0
效率 安全 S 级 作者 ide-rea 公开目录收录
2.6k 下载 887 安装 7.4k 收藏 19.6k 浏览

简介

基于百度 AI 的视频笔记生成工具,支持将公开视频自动转换为文档、大纲或图文笔记,助力高效学习与内容整理。

原始描述

Generate AI-powered notes from videos (document, outline, or graphic-text formats)

通过你的 Agent 添加

点「快速安装」复制一段指令,粘给你正在用的 Agent(Claude Code、Codex、OpenClaw 等),它会自己完成安装。

或者手动安装

Claude Codeunzip -o skill.zip -d ~/.claude/skills/ai-notes-ofvideo/
其它 Agent解压到它自己的 skills 目录,目录名用 ai-notes-ofvideo

包里是 SKILL.md 加作者附带的文件,解压后目录名就是技能名。 技能申请的权限由作者决定,装之前请确认它能读什么、能执行什么。

技能正文


name: ai-notes-ofvideo description: Generate AI-powered notes from videos (document, outline, or graphic-text formats) metadata: { "openclaw": { "emoji": "📺", "requires": { "bins": ["python3"], "env":["BAIDU_API_KEY"]},"primaryEnv":"BAIDU_API_KEY" } }

AI Video Notes

Generate structured notes from video URLs using Baidu AI. Supports three note formats.

Workflow

  1. Create Task: Submit video URL → get task ID
  2. Poll Status: Query task every 3-5 seconds until completion
  3. Get Results: Retrieve generated notes when status = 10002

Status Codes

Code Status Action
10000 In Progress Continue polling
10002 Completed Return results
Other Failed Show error

Note Types

Type Description
1 Document notes
2 Outline notes
3 Graphic-text notes

APIs

Create Task

Endpoint: POST /v2/tools/ai_note/task_create

Parameters:

  • video_url (required): Public video URL

Example:

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

Response:

{
  "task_id": "uuid-string"
}

Query Task

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-here"

Response (Completed):

{
  "status": 10002,
  "notes": [
    {
      "tpl_no": "1",
      "contents: ["Note content..."]
    }
  ]
}

Polling Strategy

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>
    
  3. Show progress updates:
    • Status 10000: Processing...
    • Status 10002: Completed
  4. 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> [max_attempts] [interval_seconds]

Examples:

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

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

Output:

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

Error Handling

  • Invalid URL: "Video URL not accessible"
  • Processing error: "Failed to parse video"
  • Timeout: "Video too long, try again later"

正文来自原始发布页, 版权归作者所有,许可未标注。 权利人认为有不妥,可申请下架。

标签

content-mediaeducation-researchproductivitydocsapi

同类 Skill