Clone any viral video with AI agents. Not just a script, the whole workflow: swap the face, the words, the B-roll, ship 100 variants in one command, and get your 100M views.
TypeScript agentic-aiaiai-agentsai-videocompilerdslffmpeggenerative-aillmmarkup-languagemonorepoplugin-systemprogramming-languagetext-to-videotypescriptvideovideo-automationvideo-clonevideo-editingvideo-generation
Merge main, taking main's caption outline fix
rpone7485fbf24b9d
diff --cc package.jsonindex 60a327dd,c6b746b4..08f588d7--- a/package.json+++ b/package.json@@@ -13,14 -13,15 +13,14 @@@"docs:dev": "vitepress dev docs","docs:build": "vitepress build docs","docs:preview": "vitepress preview docs",- "test": "node --import tsx --test 'packages/*/test/**/*.test.ts' 'services/*/test/**/*.test.ts' 'test/**/*.test.ts'",+ "test": "node test/run.mjs","test:release": "node --import tsx --test test/repository-hygiene.test.mjs",- "test:whisperx-service": "uv run --project services/whisperx --frozen python -m unittest discover -s services/whisperx/tests -p 'test_*.py'",- "test:browser-visual": "HYPIT_BROWSER_TESTS=1 node --import tsx --test packages/hyperframes/test/browser-visual.test.ts",- "test:image-opencv": "HYPIT_OPENCV_TESTS=1 HYPIT_OPENCV_PYTHON=services/image-opencv/.venv/bin/python node --import tsx --test packages/provider-image-opencv-local/test/provider.test.ts",+ "test:whisperx-service": "uv run --project services/whisperx --frozen python -m unittest discover -s services/whisperx/tests -p \"test_*.py\"",+ "test:browser-visual": "node test/run.mjs browser-visual",+ "test:image-opencv": "node test/run.mjs image-opencv","smoke:kie": "node --import tsx packages/provider-kie/test/live-smoke.ts","hypit": "node bin/hypit.mjs",- "caption:playground": "pnpm --filter @hypit/caption-playground exec node --import tsx start.ts",- "svml:playground": "pnpm --filter @hypit/svml-playground exec node --import tsx start.ts",+ "studio": "pnpm --filter @hypit/studio exec node --import tsx start.ts","build:media-lambda": "pnpm --filter @hypit/media-lambda build","build:media-lambda-layer": "pnpm --filter @hypit/media-lambda build:layer"},diff --cc packages/caption/src/temporalize.tsindex e118b453,158978d0..b49da09c--- a/packages/caption/src/temporalize.ts+++ b/packages/caption/src/temporalize.ts@@@ -68,9 -68,17 +68,17 @@@ export function temporalizeCaptionPlanif (window === undefined) {throw new CaptionTimingError("CAPTION_SPEECH_COVERAGE",- `Caption Atom ${atomId} is absent from the complete speech map.`,+ `Caption Atom ${atomId} is absent from the SemanticTrack.`,);}+ // The map reports what was measured, including a window that collapses to+ // one frame boundary or runs backwards: a word shorter than a frame, or+ // provider character times that are not ordered. Deciding what such a+ // window means belongs here, where it becomes a Cue that has to be drawn —+ // it spans the frames between its two edges, and it is on screen for at+ // least the frame it fell in. An Atom drawn for no frames is not a caption.+ const startFrame = Math.min(window.startFrame, window.endFrameExclusive);+ const endFrameExclusive = Math.max(window.startFrame, window.endFrameExclusive, startFrame + 1);return {atom,timing: {