AI PPT Generation
This skill allows OpenClaw agents to generate AI notes, Based solely on the video address provided by the user.
API table
| name | path | description |
|---|---|---|
| AINotesTaskCreate | /v2/tools/ai_note/task_create | Create AI notes task based on the video address provided by the user |
| AINotesTaskQuery | /v2/tools/ai_note/query | Query AI notes task result based on task id |
Workflow
- The AINotesTaskCreate API executes the Python script located at
scripts/ai_notes_task_create.py - The AINotesTaskQuery API executes the Python script located at
scripts/ai_notes_task_query.py - The first step ,call the AINotesTaskCreate API to create a task and get the task ID, must give a video address.
- The second step ,call the AINotesTaskQuery API to query the task result based on the task ID.
- Repeat the second step until the task status is completed.The task success identifier is status=10002. status=10000 indicates that the task is in progress. All other status codes are failures
- For each item in the list: the tpl_no field represents the type of stored notes, 1 - document notes, 2 - outline notes, 3 - graphic-text notes.
APIS
AINotesTaskCreate API
Parameters
video_url: the url of the video (required)
Example Usage
python3 scripts/ai_notes_task_create.py 'https://xxxxx.bj.bcebos.com/1%E5%88%86%E9%92%9F_%E6%9C%89%E5%AD%97%E5%B9%95.mp4'
PPTOutlineGenerate API
Parameters
task_id: task id from AINotesTaskCreate API return(required)
Example Usage
python3 scripts/ai_notes_task_query.py "26943ed4-f5a9-4306-a05b-b087665433a0"