Rechercher

PythonReactSEOPDF
OpenClaw

ai-notes-ofvideo

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

ide-rea0 installations selon la source☆ 0 Étoiles du dépôt

Installation

Suivez les instructions du dépôt pour votre agent. Consultez les fichiers et dépendances avant l’installation.

SkillHub CLI

skillhub install ide-rea/ai-notes-ofvideo

Examinez la source et la compatibilité, puis suivez les étapes d’installation.

Donnez le lien à votre agent et demandez-lui d’examiner instructions et dépendances avant d’expliquer les étapes.

Voir la source ↗Guides

Instructions

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
```...

Informations sur la source

Source
github
Repository
openclaw/skills
Path
skills/ide-rea/ai-notes-ofvideo
Version
—
Commit
df83f57b2944d9f23b68f4b2e123798c39ceefe5
Source de classification
rules
Statut
active
Visibilité
public

Ces informations proviennent de l’analyse indexée et peuvent être anciennes. Vérifiez les fichiers actuels.

Contenu extrait

SKILL.md
# 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**:
```bash
python3 scripts/ai_notes_task_create.py 'https://example.com/video.mp4'
```

**Response**:
```json
{
  "task_id": "uuid-string"
}
```

### Query Task

**Endpoint**: `GET /v2/tools/ai_note/query`

**Parameters**:
- `task_id` (required): Task ID from create endpoint

**Example**:
```bash
python3 scripts/ai_notes_task_query.py "task-id-here"
```

**Response** (Completed):
```json
{
  "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:
   ```bash
   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:

```bash
python3 scripts/ai_notes_poll.py <task_id> [max_attempts] [interval_seconds]
```

**Examples**:
```bash
# 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
```...

Skills associés

OpenClaw

1password

daggerkun007

Set up and use 1Password CLI (op). Use when installing the CLI, enabling desktop app integration, signing in (single or multi-account), or reading/injecting/running secrets via op.