360 Secure SkillHub
360 安全技能中心

ai-note-of-video

核心功能:调用SkillBoss API,从公开视频URL生成文档、大纲、图文三种格式的结构化笔记,支持同步获取,提供手动查询与自动轮询两种获取方式。典型场景:网课、会议视频等内容的快速笔记整理。输入为公开视频URL,通过Python脚本调用接口,输出含对应格式笔记的JSON响应。

marjoriebroad
marjoriebroad
热度 35.45
最近更新 2026-05-11 17:42:13
分类:效率依赖:代码执行 / 第三方 API应用场景:摘要总结 / 笔记整理

安装技能

复制下面的话术发给你的 Agent,它会通过 secure-skills 检索并安装该技能。

执行命令安装此 skill: npx secure-skills-cli add ainotes-of-video
Metadata
name
ai-notes-ofvideo
description
Generate AI-powered notes from videos (document, outline, or graphic-text formats)
metadata
{"openclaw":{"emoji":"📺","requires":{"bins":["python3"],"env":["SKILLBOSS_API_KEY"]},"primaryEnv":"SKILLBOSS_API_KEY"}}

AI Video Notes

Generate structured notes from video URLs using SkillBoss API Hub. Supports three note formats.

Workflow

  1. Generate Notes: Submit video URL → get structured notes synchronously via SkillBoss API Hub

Note Types

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

APIs

Generate Notes

Endpoint: POST https://api.heybossai.com/v1/pilot

Parameters:

  • video_url (required): Public video URL

Example:

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

Response:

{
  "status": "success",
  "notes": "Generated notes content..."
}

Query Notes

Endpoint: POST https://api.heybossai.com/v1/pilot

Parameters:

  • video_url (required): Public video URL (SkillBoss API Hub returns results synchronously)

Example:

python3 scripts/ai_notes_task_query.py "https://example.com/video.mp4"

Response (Completed):

{
  "notes": "Document notes...\nOutline notes...\nGraphic-text notes..."
}

Polling Strategy

Option 1: Manual Query

  1. Call the create script directly with video URL
  2. Notes are returned synchronously:
    python3 scripts/ai_notes_task_create.py <video_url>
    

Option 2: Auto Query (Recommended)

Use the poll script for automatic note generation:

python3 scripts/ai_notes_poll.py <video_url> [max_attempts] [interval_seconds]

Examples:

# Default settings
python3 scripts/ai_notes_poll.py "https://example.com/video.mp4"

# Custom: 30 attempts, 5-second intervals
python3 scripts/ai_notes_poll.py "https://example.com/video.mp4" 30 5

Output:

  • Returns formatted notes with type labels upon completion

Error Handling

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