video-editing 1.3.1 → 2.0.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md CHANGED
@@ -1,83 +1,74 @@
1
1
  # video-editing
2
2
 
3
- Standalone CLI for turning a raw talking-head recording into a tight, clean
4
- vertical (9:16) cut. It transcribes the clip, screens it for retakes, lets you
5
- author an EDL (the cut), renders a preview/final, and **content-verifies** the
6
- result by re-transcribing every join to catch retakes left in.
3
+ The [ClipReady](https://github.com/ItayElgazar/clipready) CLI **agents-first
4
+ AI video editing** for talking-head reels. An AI agent (or you) drops in a raw
5
+ recording; the ClipReady cloud transcribes and screens it and sends back the
6
+ editorial brief; the agent authors a `timeline.json` (cuts, captions, zooms,
7
+ overlays); the cloud compiles and verifies it; your machine renders it.
7
8
 
8
- You decide the cut (which takes to keep); the CLI does all the execution
9
- (probe, transcribe, screen, render, QC). No `video-use` repo or other tools needed.
9
+ **The editorial engine runs in ClipReady cloud; rendering and QA visuals run
10
+ locally on your machine.**
10
11
 
11
12
  ## Requirements
12
13
 
13
14
  - **Node ≥ 20**
14
- - **ffmpeg** and **ffprobe** on your PATH (`brew install ffmpeg`)
15
- - An **ElevenLabs API key** (for transcription)
15
+ - **ffmpeg**/**ffprobe** on your PATH (`brew install ffmpeg`)
16
+ - A **ClipReady API key** get one from the ClipReady settings page
16
17
 
17
- ## Install
18
+ ## Install & auth
18
19
 
19
20
  ```bash
20
- npm install -g video-editing # or: pnpm add -g video-editing
21
+ npm install -g video-editing
22
+ export CLIPREADY_API_BASE=https://… # the ClipReady API base
23
+ export CLIPREADY_API_KEY=… # from the settings page
21
24
  video-editing --help
22
25
  ```
23
26
 
24
- The companion agent skill:
27
+ Every command requires the API key — nothing runs without it.
25
28
 
26
- ```bash
27
- npx skills add ItayElgazar/clipready --skill video-editing
28
- ```
29
-
30
- Set your ElevenLabs key once (stored in `~/.config/video-editing/.env`):
29
+ The companion agent skill (workflow + timeline vocabulary for AI agents):
31
30
 
32
31
  ```bash
33
- video-editing config set-key sk_your_key_here
34
- # or export ELEVENLABS_API_KEY=sk_... in your shell
32
+ npx skills add ItayElgazar/clipready --skill video-editing
33
+ # or, after installing the CLI:
34
+ video-editing skill install
35
35
  ```
36
36
 
37
37
  ## Workflow
38
38
 
39
39
  ```bash
40
- # 1. create a job (probes the clip; prints the job dir)
41
- video-editing init-job --source "/path/to/clip.mp4" # ~/Downloads/edit/job_clip
42
-
43
- # 2. transcribe + screen (writes flags.txt, takes_packed.md, word_dump.txt, coverage.json)
44
- video-editing transcribe --job-dir ~/Downloads/edit/job_clip
45
-
46
- # 3. SCREEN: read flags.txt (retakes hide in over-long tokens & repeated phrases),
47
- # then author <job>/edl.json KEEP-range segments in source seconds.
48
- # (`video-editing cut-bad-retakes --job-dir <job>` scaffolds an authoring prompt.)
49
-
50
- # 4. render the preview (vertical 1080x1920, loudness-normalized)
51
- video-editing render --job-dir ~/Downloads/edit/job_clip --mode preview
52
-
53
- # 5. CONTENT-VERIFY: re-transcribes joins, flags duplicated phrases (retake left in) + dead air
54
- video-editing verify --job-dir ~/Downloads/edit/job_clip # add --full for whole-preview
55
-
56
- # 6. fix edl.json as needed, re-render, re-verify, then:
57
- video-editing render --job-dir ~/Downloads/edit/job_clip --mode final
40
+ video-editing init --video "clip.mp4" --job-dir jobs/clip # upload source, create the cloud job
41
+ video-editing transcribe --job-dir jobs/clip # cloud transcribes + screens; pulls
42
+ # transcripts, flags, and prompts/author-edl.md
43
+ # read prompts/author-edl.md (the editorial brief), author jobs/clip/timeline.json
44
+ video-editing timeline compile --job-dir jobs/clip --json # cloud compile → resolved/plan.json
45
+ video-editing compose --job-dir jobs/clip --render # local preview render (hyperframes)
46
+ video-editing verify --job-dir jobs/clip --json # cloud content-verify of the preview
47
+ video-editing qa frames --range 0-5 --job-dir jobs/clip # local QA filmstrip
48
+ video-editing cloud render --job-dir jobs/clip --mode final --wait
58
49
  ```
59
50
 
60
- ## EDL format
61
-
62
- `<job>/edl.json` — KEEP segments in **source** seconds; the gaps between them are the cuts:
63
-
64
- ```json
65
- {
66
- "version": 1,
67
- "sources": {"SRC": "<job>/vertical_src.mp4"},
68
- "grade": "none",
69
- "ranges": [
70
- {"source": "SRC", "start": 11.35, "end": 14.12, "beat": "HOOK", "quote": "…", "reason": "…"}
71
- ],
72
- "overlays": [],
73
- "total_duration_s": 0
74
- }
75
- ```
76
-
77
- A retake range must **end at the last clean word before the abandoned attempt**.
78
-
79
51
  ## Commands
80
52
 
81
- `init-job`, `transcribe`, `cut-silences`, `cut-bad-retakes`, `render` (`--mode preview|draft|final`),
82
- `verify` (`--full`, `--window`, `--gap`), `inspect`/`timeline` (`--join <i>` or `--start/--end`),
83
- `status`, `review`, `config`. Run `video-editing <cmd> --help` for flags.
53
+ | Verb | What it does | Runs |
54
+ | --- | --- | --- |
55
+ | `init --video <path>` | Upload the source, create the cloud job (`job.json` with `video_id`) | cloud |
56
+ | `transcribe` | Cloud transcription + screening; pulls transcripts, screening artifacts, and the editorial `prompts/*.md` | cloud |
57
+ | `timeline validate` | Schema/semantic check of your `timeline.json` | local |
58
+ | `timeline resolve` | Phrase → exact source seconds (anchor resolution) | local |
59
+ | `timeline compile` | Compile `timeline.json` → `resolved/plan.json` + diagnostics | cloud |
60
+ | `compose` | Build (and optionally render) the local HyperFrames composition | local |
61
+ | `verify` | Content-verify the rendered preview (retakes left in, dead air) | cloud |
62
+ | `qa frames` / `qa waveform` | Filmstrip / waveform PNG + word-timing sidecar for any window | local (ffmpeg) |
63
+ | `files pull` / `files push` | Sync job artifacts with the cloud job | cloud |
64
+ | `review pull` / `review push` | Work a ClipReady review round (live timeline updates, completion) | cloud |
65
+ | `cloud render` / `cloud status` | Server-side preview/final render + status | cloud |
66
+ | `skill install` | Install the bundled agent skill into `~/.claude/skills` | local |
67
+ | `status` | Job state + artifact existence | both |
68
+
69
+ Run `video-editing <cmd> --help` for flags.
70
+
71
+ ## Links
72
+
73
+ - ClipReady + this skill: <https://github.com/ItayElgazar/clipready>
74
+ - Skill install: `npx skills add ItayElgazar/clipready --skill video-editing`