diff --git a/README.md b/README.md index 4699a8b..583016c 100644 --- a/README.md +++ b/README.md @@ -48,7 +48,7 @@ The speaker-labelled transcript is the `lines` table (names are applied when the Other CLI tools (from `app/`): -- `uv run --script flow.py --from report` — rerun a meeting from a step (`audio transcribe diarize speakers shots docs report memory render`) +- `uv run --script flow.py --from report` — rerun a meeting from a step (`audio transcribe diarize speakers shots docs report memory render title`) - `uv run --script flow.py --bench-npu` — benchmark NPU vs CUDA and remember the faster one - `uv run --script memory.py --reindex` — rebuild cross-meeting memory - `uv run --script review.py ` — report quality gate @@ -73,6 +73,21 @@ Base URL `http://127.0.0.1:18765`. | 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 | `/speaker_map` | `name`, body = `{"Speaker 1": "Mario Rossi"}` → re-render | +| POST | `/upload` | `filename`, body = raw audio/video file → new `meet_` 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