README: document upload/delete/crop/cancel/llm endpoints and title step

This commit is contained in:
Stefano Zini
2026-11-04 14:26:15 +01:00
parent 82b72b6c28
commit 56c7fe8bd5
+16 -1
View File
@@ -48,7 +48,7 @@ The speaker-labelled transcript is the `lines` table (names are applied when the
Other CLI tools (from `app/`): Other CLI tools (from `app/`):
- `uv run --script flow.py <name> --from report` — rerun a meeting from a step (`audio transcribe diarize speakers shots docs report memory render`) - `uv run --script flow.py <name> --from report` — rerun a meeting from a step (`audio transcribe diarize speakers shots docs report memory render title`)
- `uv run --script flow.py <name> --bench-npu` — benchmark NPU vs CUDA and remember the faster one - `uv run --script flow.py <name> --bench-npu` — benchmark NPU vs CUDA and remember the faster one
- `uv run --script memory.py --reindex` — rebuild cross-meeting memory - `uv run --script memory.py --reindex` — rebuild cross-meeting memory
- `uv run --script review.py <name>` — report quality gate - `uv run --script review.py <name>` — report quality gate
@@ -73,6 +73,21 @@ Base URL `http://127.0.0.1:18765`.
| POST | `/title` | `name`, body = manual title (empty = clear) | | POST | `/title` | `name`, body = manual title (empty = clear) |
| POST | `/drop_video` | `name` → delete the source file of a finished meeting (report, transcript, shots stay; reruns then return 409) | | POST | `/drop_video` | `name` → delete the source file of a finished meeting (report, transcript, shots stay; reruns then return 409) |
| POST | `/speaker_map` | `name`, body = `{"Speaker 1": "Mario Rossi"}` → re-render | | POST | `/speaker_map` | `name`, body = `{"Speaker 1": "Mario Rossi"}` → re-render |
| POST | `/upload` | `filename`, body = raw audio/video file → new `meet_<timestamp>` meeting (unsupported extension or empty body = 400) |
| POST | `/delete` | `name` → delete a meeting (409 while recording/queued/running) |
| POST | `/crop` | `name`, `start`, `end` (seconds), `inplace=1` optional → trim the source into a new meeting, or replace it in place |
| POST | `/cancel` | `name` → kill the running pipeline |
| POST | `/skip_shots` | `v=1` skip the screen-content step, otherwise clear the flag |
| POST | `/llm` | `shots`, `report` → choose installed models (400 if not installed, only while idle) |
Read-only helpers used by the GUI:
| Method | Path | Params |
|---|---|---|
| GET | `/shot` | `name`, `file` → screenshot JPEG |
| GET | `/video` | `name` → source media (Range supported) |
| GET | `/speakers` | `name` → speaker info |
| GET | `/crop_progress` | `name` → `{"pct": …}` while a crop runs |
### curl ### curl