소개
claude code for video editing
개발 도구What you can do
- "Trim the awkward intro and remove pauses." - Timestamp parsing, silence detection, timeline-safe edits, and rebuildable project state
- "Auto color grade this properly." - Shot-aware exposure, contrast, saturation, white balance, look selection, preview scoring, and output validation
- "Add subtitle-aware zoom effects." - Caption timing, emphasis scoring, punch-ins, pans, pulses, freeze accents, vignette, flash, focus, and subtitle highlights in one replayable pass
- "Add visuals where the explanation needs them." - Transcript beat mining, renderer selection, Hyperframes, Manim, or Remotion generation, QA, and compositing
측정된 스타 증가
- in 24h
- 0
- in 7 days
- 0
- in 15 days
- +1
- in 1 month
- 기록 수집 중
서로 겹치는 기간의 순증가량이며 일별 합계가 아닙니다. 측정값이 없으면 비워 둡니다. 스타는 관심도를 나타내며 품질을 보장하지 않습니다.
README.md
OriginalVex
AI video generation and editing from your browser or terminal.
Vex is a source-available, non-commercial AI video studio. Describe a video to
make from scratch or import footage and ask for edits in plain English. Run
vex web --open for Studio or vex for the terminal.
Video demos
Where Light Meets
A 13.5-second explainer showing how a camera lens brings light into focus and how the image blurs as the sensor moves away from the focal plane.
Download the 1080p MP4 with narration
How it was made
- Vex sent the camera-focus brief to DeepSeek V4.1 Flash (
deepseek-flash). The model wrote the narration and drafted three animated shots. - In a manual motion pass, the blur circle was attached to the moving sensor using Vex's layer controls. A local pivot let the circle grow and shrink around its own center while following the sensor.
- Vex synthesized the voiceover with HyperFrames, timed the captions, and assembled and exported all three shots in Remotion.
Recreate the finished cut
Run these commands from a clone of the repository with Vex 0.1.0rc26 or later and FFmpeg installed. The saved direction supplies the finished artwork, motion, and narration.
vex renderers install hyperframes
vex renderers install remotion
vex generate-video "Where Light Meets" --title "Where Light Meets" --renderer hybrid --film-direction assets/demos/where-light-meets/film-direction.json --duration 16 --resolution 1920x1080 --fps 24 --voice af_heart --no-transcribe
The requested duration is 16 seconds. Vex paces the finished cut to the recorded narration. Saved film direction · Hybrid film workflow
More films made with Vex
| Intelligence Is Compression | An Intelligence Explosion |
|---|---|
![]() |
![]() |
| An animated explainer about how language models compress patterns into weights and use them to predict. | A narrated visualization of a model-improvement feedback loop and a rapidly rising capability curve. |
| Watch the 1080p MP4 with narration · 21 seconds | Watch the 1080p MP4 with narration · 24 seconds |
Highlights
| You ask for | Vex handles |
|---|---|
| "Trim the awkward intro and remove pauses." | Timestamp parsing, silence detection, timeline-safe edits, and rebuildable project state |
| "Auto color grade this properly." | Shot-aware exposure, contrast, saturation, white balance, look selection, preview scoring, and output validation |
| "Add subtitle-aware zoom effects." | Caption timing, emphasis scoring, punch-ins, pans, pulses, freeze accents, vignette, flash, focus, and subtitle highlights in one replayable pass |
| "Add visuals where the explanation needs them." | Transcript beat mining, renderer selection, Hyperframes, Manim, or Remotion generation, QA, and compositing |
| "Turn this podcast into shorts." | Shorts Director planning, highlight selection, vertical reframing, captions, hooks, scoring, metadata, and bundle manifests |
| "Convert this MOV to MP4 and compress it." | Metadata inspection, encode planning, safe FFmpeg command generation, confirmation, and validation |
Why Vex
- Natural language first: describe the edit you want instead of memorizing tool syntax
- Safe by design: original footage stays untouched while Vex edits a project working copy
- Stateful projects: resume later with timeline history, undo, redo, and rebuild support intact
- Real editing operations: trims, overlays, audio edits, subtitle burn-in, silence cleanup, exports, and more
- Production-minded auto color grading: sampled-frame analysis builds reusable FFmpeg grades with shot-aware candidate scoring and validation
- Subtitle-aware auto effects: caption beats can trigger punch-ins, punch-outs, slow pushes, pans, pulses, freeze accents, subtle shake, vignette, flash, focus, and subtitle-safe highlights
- Transcript-aware visuals: Vex can plan explanatory inserts from narration, generate them with Hyperframes, Manim, Remotion, or typed Blender 3D asset templates, and composite them back into the cut
- Plain-English encoding: messy export requests become inspected, validated FFmpeg plans before anything runs
- Multi-provider ready: Gemini by default, Claude, Groq Qwen native vision, or local OpenAI-compatible providers when configured
- Live run status: see the active tool, progress, and optional trace artifacts while the agent works
- Terminal-native: fast, scriptable, and easy to integrate into existing workflows
Generated visuals share source-grounded meaning checks, actual browser typography measurements, bounded frame-based repairs, resumable rendering, and final asset receipts. See native vision setup, the implementation ledger, and the rendered benchmark for configuration, validation, and measurement limits.
Contents
- Video demos
- What Vex Can Do
- What's New: Auto Visuals
- Auto Color Grading
- Installation
- Configuration
- Quick Start
- Vex Studio
- Natural-Language Examples
- Full Tool Surface
- CLI Commands
- Architecture
- Troubleshooting
What Vex Can Do
Core editing
- Inspect video metadata
- Trim clips by timestamp
- Merge multiple clips
- Adjust playback speed for a full clip or a selected segment
- Add fade in, fade out, and fade-through-black transitions
- Add timed text overlays
- Remove silent gaps from raw footage
- Extract selected highlight segments into a shorter cut
- Auto color grade with natural, vibrant, cinematic, warm, cool, documentary, or punchy looks
Audio
- Extract audio as
mp3,wav, oraac - Replace a video's audio track
- Mix external audio with original audio
- Mute a selected time range
Captions and transcript workflows
- Transcribe video locally with Whisper
- Generate
transcript.txtandtranscript.srt - Burn subtitles directly into the video from an SRT file
- Auto-summarize long clips into highlight cuts using transcript-aware segment selection
- Auto-create multiple vertical shorts with a typed Shorts Director v3 program, graph-searched multi-source edit plans, captions, ranking, hooks, metadata, and a bundle manifest
- Score candidate clips with a shared local Video Understanding Graph for retention, visual opportunity, topic alignment, hook strength, payoff, novelty, clarity, shareability, standalone story completeness, pacing, and topic diversity before final selection
- Run pre-render edit-plan validation plus final transcript quality gates so abrupt, incoherent, invalid, or weak-payoff cuts are rejected before the final manifest
- Generate timestamped B-roll suggestions for each short
- Fetch and splice subtitle-aligned, transcript-aware stock B-roll from configured providers such as Pexels, Pixabay, and Coverr into the working video
- Add context-aware auto emphasis effects from full-video rhythm, transcript timing, scene stability, pacing, pauses, questions, numeric claims, contrast turns, and payoff lines
- Generate transcript-aligned custom visuals and animations with Hyperframes-first HTML motion slides, typed Blender 3D assets, and Manim retained for specialist math/geometry scenes
- Generate brand-new audio-synced HyperFrames videos from a prompt or script without loading a source video
- Add transcript-driven punch-in moments for emphasis inside generated shorts
- Record local creative-run history with graph versions, quality scores, manifest paths, and output artifacts for shorts, visuals, and color grading
- Optimize Auto Visuals as a coherent semantic portfolio, compare compatible renderers by measured output quality, learn bounded project-local quality priors, and verify the final encoded composite before changing project state
- Author Auto Visuals as signed, evidence-bound Open Visual Programs so the model can control primitives, layout, metaphor, and choreography without receiving unrestricted renderer-code execution
Local Creative Intelligence
Vex now builds a shared local VideoUnderstandingGraph for the highest-level creative automation paths. Auto shorts, auto visuals, and auto color grading no longer depend only on isolated feature heuristics; they share local evidence about transcript beats, retention moments, topic weights, scene cuts, quality contracts, and graph-backed scoring.
Each successful creative run records:
- a feature manifest with the creative graph or graph summary
- a creative QA report with score, pass/review status, issues, warnings, metrics, and evidence
- a local
creative_runs.jsonregistry entry in the project working directory - dashboard and CLI visibility through
/creative-runsorvex creative-runs --project <project-id>
What's New: Auto Visuals
add_auto_visuals is the biggest recent addition to Vex.
Instead of only fetching stock footage, Vex can now:
- transcribe a talking-head or explainer video
- segment long transcripts into semantic episodes before scoring which spoken windows deserve a custom visual
- preflight source-grounded opportunity contracts through the HyperFrames semantic compiler before expensive scene authoring
- schedule a globally coherent visual set with episode-aware reserves instead of independently selecting the highest-scoring subtitle lines
- build a video-level visual narrative program with chapters, concept memory, continuity groups, and transition intent
- plan where a full-screen replacement is safe versus where picture-in-picture is smarter
- compile transcript evidence into typed facts, explanation objects, semantic beats, and explicit rejection reasons
- compile Remotion opportunities into signed semantic scene programs with hard evidence constraints, signed SceneGraph v2 capability plans, responsive constraint solving, measured text, and frame-driven motion before starting Chromium
- compile both HyperFrames and Remotion through one signed creative-direction harness for semantic medium choice, focal hierarchy, art direction, choreography, negative space, and video-level anti-repetition
- author multiple complete Open Visual Program scene graphs, reject invented or unbound content, and preserve deterministic candidates when model authoring is unavailable
- compile narration into signed atomic propositions and viewer questions, then search six distinct visual concept lanes with four-frame reference boards
- inspect final rendered frames with a blind multimodal verifier, retry through independent providers, and keep unavailable, degraded, verified, and rejected states explicit
- render a bounded alternate concept and use order-reversed pairwise judging to choose the clearer and more beautiful silent explanation
- apply typed counterexample-guided repairs, re-render them, and accept only candidates that improve without semantic or technical regression
- evaluate the complete published set for repeated concept lanes, media, motion grammar, composition, palette, and rendered appearance
- select a role-constrained semantic blueprint and sign a production contract before Hyperframes receives a render spec
- generate transcript-aligned custom visuals with a deterministic Hyperframes HTML renderer
- compile every Hyperframes scene through a typed design IR for art direction, density, theme, safe areas, and motion intensity
- carry episode context, visual beats, recurring concepts, and transition contracts into Hyperframes metadata
- ground interface walkthroughs in real captured source frames when the source contains a screen or slide
- render multiple art-directed variants, inspect semantic state at four times, score extracted frames for contrast, occupancy, dead space, edge safety, and motion, then promote only a passing version
- score rendered candidates with a shared aesthetic critic for balance, hierarchy, depth, palette vitality, edge safety, whitespace, and settled motion before promotion
- lint, validate, and render those scenes before the final composite
- optimize the complete visual set for quality, semantic coverage, diversity, and clean timing instead of truncating candidates by timestamp
- substitute a preflighted reserve when a primary scene fails compilation, rendering, or final timeline QA
- remember failed source moments inside the project so retries do not repeat the same rejected visual concept
- compare compatible renderer outputs through a bounded quality tournament when renderer routing is flexible
- verify the final encoded replacement frames, duration, resolution, file integrity, and audio before project-state promotion
- learn conservative project-local renderer and intent priors from repeated render QA outcomes without bypassing hard gates
- fall back to specialist renderers only when a scene needs a different engine
- render deterministic Blender 3D assets from typed specs for titles, labels, pointers, product spins, object orbits, logo reveals, and data tunnels without allowing raw Blender Python from the agent
The current renderer stack is:
hyperframesfor premium HTML/CSS motion slides, process diagrams, product UI scenes, comparisons, timelines, data-driven explainers, causal chains, flywheels, decision matrices, anatomy cutaways, rankings, contrast ladders, proof sequences, and narrative arcs with built-in variant QAremotionfor source-grounded React motion graphics compiled into typed metric, mechanism, contrast, timeline, interface, and emphasis programs. It renders and scores six distinct treatments in one browser session, gates solved geometry and dense temporal samples, and emits verified ProRes masters through Remotion's local SSR APIsmanimfor formula-heavy math, geometry, axes, and visuals that genuinely need Manim's object modelffmpegfor fast editorial overlays and clean picture-in-picture support graphicsblenderfor optional deterministic 3D assets when Blender is installed. Vex owns timing, project state, undo/rebuild, and final FFmpeg compositing; Blender only renders the visual asset.
Best results today:
- short and long-form explainers, tutorials, essays, and talking-head videos
- beats with clear process, contrast, numbers, or "how it works" structure
- multi-sentence windows with enough local evidence and screen time for a custom visual to actually add intuition
Vex deliberately tries to skip weak beats instead of forcing generic filler.
The complete implementation report is in docs/feedback-driven-automation-report.md. The Remotion semantic architecture is in docs/remotion-auto-visuals-architecture.md. The shared HyperFrames and Remotion direction harness is in docs/creative-direction-harness.md. The shared generative scene-graph architecture is in docs/open-visual-program.md. The final-render search, verification, repair, and portfolio architecture is in docs/visual-director-v2.md. The repository-wide quality architecture continuation is in docs/creative-quality-architecture-report.md. The HyperFrames director skill pack is in skills/vex-hyperframes-director. The counterexample-guided repair skill pack is in skills/vex-hyperframes-visual-repair.
Auto Color Grading
auto_color_grade analyzes sampled frames from the current working cut, builds a deterministic Color Grade Director plan, and applies a reusable FFmpeg filter graph. The timeline stores the exact filter graph, so undo, redo, and project rebuilds do not depend on re-running analysis.
It corrects:
- exposure and gamma drift
- low contrast or overly harsh contrast
- muted saturation
- red, green, or blue color casts through bounded white balance
- weak black/white points with guarded level normalization
- flat footage with subtle look-aware contrast curves
- screen recordings, talking heads, product shots, low-light shots, and already-graded footage with subject-aware protection budgets
The analyzer weights reliable frames, skips flat transition frames, estimates white balance from neutral midtones instead of saturated image regions, and guards saturation/channel changes when skin-tone-like pixels are present. The Color Grade Director classifies each shot, picks an auto-look policy, caps risky saturation/contrast/gamma changes for UI and skin, scores multiple preview candidates, and smooths similar neighboring shots so the grade does not flicker between scenes.
After rendering, Vex samples the graded output again and records a validation score with warnings for remaining clipping, low contrast, extreme brightness, or risky saturation. The color-grade tool also attaches a local creative QA report that combines output validation, shot validation, director metadata, candidate scoring, preview coverage, correction strength, and warnings into one publishability signal.
Supported looks are auto, natural, vibrant, cinematic, warm, cool, documentary, and punchy.
Export and delivery
- Export with built-in presets for YouTube, Instagram, TikTok, X, and podcast audio
- Plan plain-English FFmpeg encode, conversion, compression, and target-size commands before running them
- Validate encoded files with
ffprobeplus a full FFmpeg decode pass before reporting success - Export directly from the REPL or from the CLI
- Estimate output size and check disk space before export
Project system
- Persistent saved projects
- Auto-load a project when you mention a known video path
- Deterministic project loading
- Undo and redo through timeline rebuild
- Timeline inspection and project summaries
The Intended Experience
This is the default workflow:
> vex
[Vex banner]
Vex > trim the first 30 seconds of "D:\videos\clip.mp4"
Vex > remove awkward pauses
Vex > burn subtitles
Vex > export it for instagram
Vex > /quit
You do not need to type subcommands inside the session.
If no project is loaded, include a video path in your first message and Vex handles the rest.
During each turn, Vex shows a live status spinner with the active tool name. If you want the deeper activity log afterward, use /trace.
Installation
Requirements
- Python 3.11+
- FFmpeg installed and available on
PATH yt-dlpavailable through the Python environment for YouTube downloadsopenai-whisperis optional and only needed for local transcription- Node.js 22+ and npm are required for HyperFrames- or Remotion-powered generated visuals
manimis optional for specialist math, geometry, and axes-heavy generated visualsblenderis optional if you want typed 3D titles, transparent overlays, product/model spins, logo reveals, object orbits, and cinematic replacement shots; setBLENDER_PATHtoblender, a full executable path, or a Blender install directory if it is not already onPATH
FFmpeg install:
- macOS:
brew install ffmpeg - Ubuntu/Debian:
sudo apt install ffmpeg - Windows: install from
https://ffmpeg.org/download.htmland addffmpeg/bintoPATH
Install Vex
pipx is the recommended installation method because it gives Vex an isolated
Python environment while keeping the vex command available globally:
pipx install vex-video
Standard pip installation is also supported:
python -m pip install vex-video
Optional feature sets:
pipx install "vex-video[transcription]"
pipx install "vex-video[manim]"
pipx install "vex-video[all]"
For an existing pipx installation, install Whisper into Vex's isolated environment with:
vex setup transcription
Vex also discovers a python or python3 executable on PATH that already
contains Whisper. Set WHISPER_PYTHON_PATH when the intended interpreter is
not the first one on PATH.
For a source checkout used for development:
git clone https://github.com/AKMessi/vex.git
cd vex
python -m pip install -e ".[dev]"
Verify the installation:
vex --version
vex renderers doctor
For HyperFrames or Remotion visuals, install Vex's shared version-locked renderer runtime explicitly:
vex renderers install hyperframes
vex renderers install remotion
This runs npm ci from the lockfile shipped with the installed Vex version. Vex
does not silently install Node packages during pip install or first launch.
For a source checkout, Remotion uses the repository package-lock.json; run
npm ci before renderer=remotion jobs.
See docs/installing.md for upgrades, release candidates, rollbacks, optional features, and uninstall behavior.
Windows PATH note
Run pipx ensurepath, restart the terminal, and retry. For a standard pip
installation, add your Python Scripts directory to PATH.
Example:
C:\Users\aarya\AppData\Roaming\Python\Python314\Scripts
Your path may differ depending on your Python installation.
Configuration
Create a local configuration template without needing a source checkout:
vex setup config
Vex refuses to overwrite an existing .env unless --force is supplied.
Then configure your provider in that file.
Default provider
Vex defaults to Gemini.
PROVIDER=gemini
GEMINI_API_KEY=your_key_here
GEMINI_MODEL=gemma-4-31b-it
Claude support
If you want Claude instead:
PROVIDER=claude
ANTHROPIC_API_KEY=your_key_here
Local LLM support
Vex can also use local OpenAI-compatible servers such as Ollama, LM Studio, and llama.cpp:
PROVIDER=ollama
OLLAMA_BASE_URL=http://localhost:11434/v1
OLLAMA_MODEL=qwen2.5-coder:14b
See docs/local-llms.md for the full setup guide and troubleshooting notes.
Important settings
PROVIDERGEMINI_API_KEYGEMINI_MODELANTHROPIC_API_KEYCLAUDE_MODELOPENAI_COMPAT_BASE_URLOPENAI_COMPAT_MODELOLLAMA_BASE_URLOLLAMA_MODELLM_STUDIO_BASE_URLLM_STUDIO_MODELLLAMA_CPP_BASE_URLLLAMA_CPP_MODELPEXELS_API_KEYPIXABAY_API_KEYCOVERR_API_KEYAUTO_BROLL_PROVIDERSdefaults toauto; usepexels,pixabay,coverr, or comma-separated names to control stock B-roll provider orderAUTO_BROLL_MAX_OVERLAYSdefaults to24AUTO_VISUALS_MAX_VISUALSdefaults to32AGENT_PROJECTS_DIRFFMPEG_PATHENCODE_VALIDATION_TIMEOUT_SECBLENDER_PATHBLENDER_RENDER_TIMEOUT_SECdefaults to one hour; set it to0to disable the Blender process timeoutHYPERFRAMES_RENDER_TIMEOUT_SECdefaults to0, which disables the Hyperframes process timeout; set a positive value to enforce oneHYPERFRAMES_VARIANT_COUNTcontrols legacy/manual art-direction variants, capped at5HYPERFRAMES_PROOF_CANDIDATE_COUNTcontrols automatic structural proof candidates, capped at8HYPERFRAMES_MIN_QUALITY_SCOREcontrols variant promotionHYPERFRAMES_QA_MODEacceptslocal,hybrid, orvisionHYPERFRAMES_ENABLE_VISION_QAenables blind inverse-decoder QAHYPERFRAMES_ENABLE_COUNTERFACTUAL_QAenables relation-ablation and temporal-scramble probesHYPERFRAMES_BLIND_DECODER_MIN_SCOREsets the independent semantic decode floorHYPERFRAMES_VISION_MODELoptionally selects the model used for blind decodingHYPERFRAMES_ENABLE_CEGISenables typed counterexample-guided visual repairHYPERFRAMES_MAX_CRITIC_FRAMEScontrols adaptive semantic captures, default8, capped at12HYPERFRAMES_MAX_REPAIR_ROUNDScontrols monotonic repair attempts, default3, capped at5HYPERFRAMES_MIN_REPAIR_DELTAsets the minimum composite improvement when hard failures are unchangedWHISPER_MODEL
Quick Start
First run
vex
Then type a normal sentence with a video path:
Vex > trim the first 30 seconds of "D:\videos\clip.mp4"
Then continue naturally:
Vex > remove the silent pauses
Vex > add "DealScout" at the bottom for the first 4 seconds
Vex > export it for youtube
Vex > /quit
If a project already exists
- If exactly one saved project exists, Vex resumes it automatically
- If multiple saved projects exist, Vex starts clean and waits for a file path or an explicit project command
- If you mention a video path that already belongs to a saved project, Vex reuses that project instead of creating a duplicate
Vex Studio
Vex also ships with a local web app for the same project and agent architecture:
vex web
Open http://127.0.0.1:5173 in a browser. To open it automatically, use:
vex web --open

Use Create video to start from a brief. Choose a format, duration, and voiceover setting. Studio follows the production stages while the shared Vex pipeline runs. A verified result can be downloaded or opened immediately as an editable project. You can stop a production after its current stage and reuse the brief from its run record. Generation runs in a separate local process, so you can close and reopen Studio while your video renders.
Use Import footage for a file or local path. The editor keeps the conversation beside the current cut and its timeline. Switch between the cut and the source, click a timeline clip to seek, or use Undo and Redo. If your browser cannot play a file directly, select Prepare browser preview to build a compatible playback copy. Open the project and command search with Ctrl+K or Cmd+K.
Generated films show Film shots in the editor. Click a shot to seek to it, or open Replace a shot to add an image or video and save it as a new cut. Under Revise this cut, you can split or reorder shots, edit captions, record a replacement line, change the canvas, or direct a selected shot in plain English. Review the proposed frames before saving. The revision goes into the same project's Undo and Redo history. If the previous MP4 qualifies for reuse, changing a caption redraws only the frames that display it.
Use Live timeline to play and edit picture, voice, music, and captions before rendering. Find footage or spoken words searches local assets, captions, and transcribed speech. Open compatible imported footage as a production cut, or use a production archive to move the cut, its history, and visual references to another machine. Editable production guide
Studio uses Vex's local project catalog and binds to 127.0.0.1 by default.
Use --host to select another loopback address such as localhost or ::1,
and --port to choose a different port.
Uploads stream into a private temporary file and enter the project workspace as a managed copy. Active edits and productions remain visible after a refresh. Studio rejects cross-site API writes.
Natural-Language Examples
Basic trim
Vex > trim the first 15 seconds of "D:\videos\intro.mp4"
Speed up a section
Vex > speed up the section from 1:10 to 1:35 by 1.25x
Remove pauses
Vex > remove the silent gaps
Add subtitles
Vex > transcribe this video
Vex > burn subtitles in yellow at the bottom
Vex > add cinematic subtitles
Vex > add creator bold captions for shorts
Add a song or soundtrack
Vex > add background music assets/beat.mp3
Vex > add song assets/intro.wav as intro and outro music
Vex > add assets/theme.mp3 from 00:12 to 00:28 at 20% volume
Vex > replace the soundtrack with assets/final-track.m4a
add_song uses Music Director v1 instead of a raw fixed-ratio audio mix. It
classifies the request into a song-mix skill, trims or loops the song to the
video or selected segment, adds fades, ducks music under existing speech when
needed, normalizes loudness, renders a deterministic FFmpeg filter graph, and
promotes the result only after audio QA passes. Each run writes a
song_mix_bundles/.../manifest.json, mix_plan.json, filtergraph.txt,
audio_qa.json, and notes file so the mix can be audited and replayed.
Summarize a long video
Vex > make this a 60 second highlight reel
Create viral-style shorts
Vex > turn this podcast into 4 YouTube Shorts with captions
Auto shorts can build either one continuous clip or a stitched edit plan from multiple source ranges. Vex keeps the timeline and FFmpeg render path in control; the Shorts Director chooses typed source ranges, hard cuts, punch-ins, caption emphasis, and contextual visual insert intent, then validates the plan before rendering.
Create shorts from a YouTube link
Vex > make 3 shorts from https://www.youtube.com/watch?v=example123
Add stock B-roll automatically
Vex > add auto b-roll from Pexels to this video
Vex > add auto b-roll using Pixabay and Coverr
Vex > add 4 stock cutaways that match the narration
add_auto_broll uses B-roll Director v2. It builds a video-level context graph, turns transcript beats into typed visual intents, searches all configured stock providers by default, verifies candidate visual fit, and runs a final abruptness/semantic QA gate before rendering. Set one or more of PEXELS_API_KEY, PIXABAY_API_KEY, and COVERR_API_KEY, then optionally control provider order with AUTO_BROLL_PROVIDERS=auto or a comma-separated list such as pexels,pixabay. Vex normalizes candidates from each provider, reranks them against the active subtitle and nearby transcript context, caches the chosen clip locally, and writes stock_attribution.md in the run bundle.
Add generated visuals automatically
Vex > add precise generated visuals wherever the explanation needs them
Vex > create custom animations for the key claims and process steps in this video
Vex > use clean product-style generated visuals for the UI explanations
add_auto_visuals now uses a transcript-aware planner, a video-level visual narrative program, context-aware visual budgeting, source-frame visual-need scoring, renderer auto-selection, and a signed Open Visual Program authoring tournament shared by HyperFrames and Remotion. Templates remain deterministic fallbacks instead of limiting automatic composition. If the transcript has many high-signal visual opportunities, Vex can plan a denser sequence instead of stopping after one or two inserts. Today it can choose between:
hyperframesfor premium HTML/CSS motion slides, diagrams, flows, comparisons, UI explainers, causal chains, flywheels, decision matrices, anatomy cutaways, rankings, proof sequences, narrative arcs, concept maps, problem/solution pivots, myth-busters, checklists, radar scans, opportunity maps, scorecards, pipeline X-rays, decision trees, momentum waves, focus rings, filmstrip timelines, quote breakdowns, market maps, mechanism blueprints, data pulses, and data-heavy visual insertsremotionfor signed SceneGraph v2 visual programs, specialized SVG/DOM primitives, rendered six-treatment search, frame-driven data explanations, spatial metaphors, UI callouts, timelines, comparisons, and process explainers. Final inserts use ProRes HQ; transparent overlays use ProRes 4444.manimfor formula-heavy math, geometry, axes, and specialist vector animationffmpegfor fast, clean editorial cards and picture-in-picture support graphicsblenderfor deterministic 3D titles, transparent overlays, object/model shots, logo reveals, product spins, and cinematic data/abstract inserts when Blender is installed
Suggested prompts:
Vex > add auto visuals
Vex > add auto visuals with hyperframes
Vex > add auto visuals with manim
Vex > add auto visuals with remotion
Vex > add auto visuals with both hyperframes and manim
Vex > add custom animations only where they make the explanation clearer
Vex > use generated visuals for the process beats and keep everything else clean
Vex > add a rotating 3D title saying Matrix Multiplication at 00:18
Vex > add a floating 3D arrow pointing to the chart on the right from 00:12 to 00:16
Vex > add a cinematic glowing chip animation when I say GPU
Vex > add a 3D product spin overlay using assets/model.glb from 5s to 9s
Blender 3D support is opt-in and typed. The agent can choose a template and parameters, but Vex compiles those parameters into internal deterministic Blender Python. It never asks the LLM to emit raw Blender scripts.
Supported Blender templates:
three_d_titlefloating_3d_labelobject_orbitlogo_revealscreen_pointer_3ddata_tunnelproduct_model_spin- legacy Blender templates:
quote_focus,keyword_stack,metric_callout
Composition modes:
replacerenders a normal full-screen MP4 insert that Vex cuts into the timeline.overlayrenders transparent Blender frames, encodes an alpha-capable asset, and lets Vex composite it with FFmpeg over the source video.
Supported local 3D model formats are .glb, .gltf, .obj, and .blend. Asset paths must stay inside the project or workspace-safe input roots. Blender remains optional; if it is unavailable, non-3D auto visuals continue to use Hyperframes, Remotion, Manim, or FFmpeg as appropriate.
Hyperframes tuning:
- Plain
add auto visualsin the agent asks you to choosehyperframes,manim,remotion, orbothbefore rendering. renderer=hyperframesis strict Hyperframes-only and will not fall back to Manim.renderer=manimis strict Manim-only and will not fall back to Hyperframes.renderer=remotionis strict Remotion-only and will not fall back to Hyperframes or Manim.renderer=bothlets Vex choose between Hyperframes and Manim per visual.- Auto Visuals Director v3 samples tiny source frames, scores whether the moment actually needs a generated insert, rejects weak semantic matches, and drops rendered Hyperframes/Remotion/Manim outputs that fail renderer QA before compositing.
- Auto Visuals uses deterministic set optimization before and after rendering, so stronger and more diverse candidates can replace weaker or overlapping candidates.
- Flexible
autoandbothruns use bounded renderer quality tournaments; strict renderer requests remain strict. - Auto Visuals and Auto B-roll run shared encoded-composite QA before state mutation.
AUTO_VISUALS_RENDERER_TOURNAMENT_SIZEcontrols successful contenders per flexible visual, default2, capped at3.VISUAL_COMPOSITE_SIMILARITY_FLOORcontrols replacement-frame publish similarity, default0.72.- Full-screen generated replacements receive soft transition handles automatically so the compositor avoids abrupt slide cuts when the plan did not specify transitions.
HYPERFRAMES_PROOF_CANDIDATE_COUNTcontrols how many structurally distinct proof programs Auto Visuals renders, capped at 8HYPERFRAMES_VARIANT_COUNTremains the legacy/manual art-direction variant controlHYPERFRAMES_MIN_QUALITY_SCOREsets the promotion threshold used by extracted-frame QAHYPERFRAMES_QA_MODErecords whether the run should be treated aslocal,hybrid, orvisionQAHYPERFRAMES_ENABLE_COUNTERFACTUAL_QAtests whether relation geometry and time order are necessary for comprehensionHYPERFRAMES_BLIND_DECODER_MIN_SCOREsets the blind semantic recovery thresholdHYPERFRAMES_RENDER_QUALITYcan be set todraft,standard,high, or left empty for the Hyperframes defaultHYPERFRAMES_RENDER_TIMEOUT_SECdefaults to0, which disables the Hyperframes render timeoutREMOTION_RENDER_TIMEOUT_SECdefaults to0, which lets Vex use Remotion's internal timeout while disabling the outer process timeoutREMOTION_RENDER_CONCURRENCYoptionally forwards a Remotion render concurrency value such as1,2, or50%OPEN_VISUAL_PROGRAM_LLM_AUTHORINGenables evidence-bound model scene-graph authoring; invalid output automatically falls back to the deterministic compilerOPEN_VISUAL_PROGRAM_CANDIDATEScontrols the shared concept tournament size, default6, capped at6OPEN_VISUAL_PROGRAM_AUTHORING_ATTEMPTScontrols the initial authoring call plus one validation-aware retry, capped at2OPEN_VISUAL_PROGRAM_MIN_SCOREsets the pre-render grounding, motion, novelty, and semantic-fitness acceptance floorVISUAL_DIRECTOR_ENABLEDenables the final-render Visual Director boundary for HyperFrames and RemotionVISUAL_DIRECTOR_VERIFICATION_MODEisstrict,balanced, oroff; balanced outages can publish only an explicitly degraded candidate above the local floorVISUAL_DIRECTOR_VISION_MODELandVISUAL_DIRECTOR_CLAUDE_VISION_MODELselect independent Gemini and Claude vision modelsVISUAL_DIRECTOR_RENDER_CANDIDATEScontrols bounded full-render concept search, default2, capped at3VISUAL_DIRECTOR_MAX_REPAIR_ROUNDScontrols counterexample-guided re-renders, default2, capped at4VISUAL_DIRECTOR_MIN_REPAIR_DELTAsets the minimum monotonic score improvement, default0.025VISUAL_DIRECTOR_PAIRWISE_TOP_Kcontrols the blind pairwise finalist count, default3, capped at4VISUAL_DIRECTOR_VERIFIER_RETRIES,VISUAL_DIRECTOR_CIRCUIT_FAILURES, andVISUAL_DIRECTOR_CIRCUIT_COOLDOWN_SECbound provider reliability behavior
See HyperFrames Visual Proof Search for the claim graph, structural tournament, blind inverse decoder, counterfactual QA, and promotion architecture. See HyperFrames Counterexample-Guided Visual Synthesis for Scene Program V2, typed critics, safe patches, monotonic repair, and independent final judging.
Add subtitle-aware effects automatically
Vex > add subtitle-aware auto effects
Vex > add strong zoom effects where the captions need emphasis
Vex > add subtle camera-only effects, no style accents
add_auto_effects treats subtitle/caption timing as the source of truth. It scores each subtitle beat for hooks, questions, numbers, contrast turns, payoff language, pauses, and nearby scene cuts, then sends the selected beats through Auto Effects Director. The director chooses a taste profile, converts effects into a bounded camera-motion plan, softens unsafe zooms/shakes/flashes, validates the motion path, renders one deterministic FFmpeg pass, and samples tiny rendered preview frames before accepting the output. Effects include punch_in, punch_out, slow_push, micro_pan, snap_reframe, impact_pulse, freeze_accent, subtle_shake, vignette, flash_accent, focus_blur, and subtitle_highlight.
Taste profiles can be requested with taste_profile / effect_taste_profile when calling the tool, or --taste-profile in the CLI: clean_documentary, viral_commentary, tutorial_focus, cinematic_subtle, or high_energy_shorts. If omitted, Vex infers one from rhythm, density, intensity, duration, and aspect ratio.
Export for social
Vex > export it for instagram
Auto color grade
Vex > auto color grade this video
Vex > give it a subtle cinematic look
Vex > make the colors pop
Full Tool Surface
These are the editing tools Vex exposes to the agent loop.
| Tool | What it does |
|---|---|
get_video_info |
Reads duration, resolution, fps, codec, audio presence, format, and size |
trim_clip |
Trims the current working video to a selected range |
merge_clips |
Concatenates the current working clip with one or more external clips |
adjust_speed |
Changes playback speed globally or for a selected segment |
add_transition |
Adds fade_in, fade_out, or fade-through-black style transitions |
add_text_overlay |
Adds timed text overlays to the video |
extract_audio |
Exports audio from the current working video |
replace_audio |
Replaces or mixes audio with an external track |
add_song |
Adds a song through Music Director v1 with skill routing, loop/trim placement, fades, speech ducking, loudness normalization, manifests, audio QA, and transactional promotion |
mute_segment |
Silences audio in a selected time range |
trim_silence |
Detects and removes dead-air pauses while preserving natural speech handles by default |
auto_color_grade |
Samples frames, builds a Color Grade Director plan with subject protection and scene smoothing, applies a reusable FFmpeg grade, stores the filter for rebuilds, and records creative grade QA |
burn_subtitles |
Compiles SRT captions into styled ASS subtitles and burns them into the video |
transcribe_video |
Generates transcript.txt and transcript.srt using Whisper |
summarize_clip |
Uses transcript-aware LLM selection to build a shorter highlight cut |
create_auto_shorts |
Builds Shorts Director v4 programs from semantic transcript units, plans complete stories chapter by chapter, deterministically compiles exact source ranges, runs cold-viewer and render QA, and promotes prevalidated reserves when a primary short fails |
add_auto_broll |
Uses B-roll Director v2 to plan typed, graph-aware stock cutaway intents, searches configured providers, verifies visual fit, runs final QA, writes attribution, and splices approved clips into the current working video |
add_auto_visuals |
Compiles transcript evidence into signed semantic render contracts, rejects unsupported filler, generates custom visuals with the best supported renderer, records semantic/render QA, and composites approved assets |
add_visual_asset |
Inserts a project-safe local HTML, video, GIF, or image asset at an exact time without transcript scoring |
add_auto_effects |
Scores subtitle beats and applies replayable camera and style emphasis effects in a single FFmpeg pass |
upscale_video |
Scales and exports with FFmpeg Lanczos using fit, fill, or explicit stretch |
renderers_doctor |
Reports HyperFrames, Node.js, FFmpeg, Manim, Remotion, and Blender availability and versions |
plan_encode |
Turns plain-English encode, conversion, and compression requests into a pending FFmpeg command |
run_pending_encode |
Executes the latest confirmed encode plan after the user replies yes |
export_video |
Exports the working video with a named preset |
undo |
Rebuilds the project without the last operation |
redo |
Reapplies the most recently undone operation |
Inside the REPL, you can also use /trace to inspect the latest recorded agent trace for the current project.
Use /creative-runs to inspect recent local creative automation runs for the active project.
CLI Commands
Vex supports both a conversational mode and explicit power-user commands.
vex
Start the interactive REPL.
vex web
Start the loopback-only Vex Studio web app. The default address is http://127.0.0.1:5173.
vex web --open
vex web --port 5174
Edit with multiple media sources
Add files under Project media, then open Live timeline → Place media from the bin. Use a source range as a new shot, layer a graphic or video over an existing shot, or add an independent audio track. Inserting a shot makes room for it and moves later picture, captions, and linked audio together. Overlays and audio tracks keep the cut length. Play the draft in Studio, then select Review and save to create a verified revision.
Vex keeps one prepared copy of each unique import in the media bin. Reuse files
after moving their originals, and take the full media bin with you when you
export a production-archive. Open raw footage as an editable cut first.
vex media-bin --project <project-id> second-camera.mov logo.png music.flac
vex place-media <asset-id> --project <project-id> --mode insert --at 8 --source-start 2 --duration 4
vex production-cut --project <project-id> --commit <preview-cut-id>
Keep alternate cuts in one project
Save a named cut from Cut versions before making a shorter edit, trying a new direction, or sending a version for review. Compare two cuts side by side with one playhead and choose which audio to hear. Open a saved cut for editing to pick up where you left off. Vex saves an unnamed outgoing cut before switching.
Choose an editable named cut in Delivery to export it while you keep editing the working cut. A project archive carries the named cuts, their edit histories, and the shared media bin.
vex cut-version --project <project-id> --save "Client cut"
vex cut-version --project <project-id>
vex cut-version --project <project-id> --restore "Client cut"
vex deliver ./approved.zip --project <project-id> --version "Client cut"
Resume a draft and add chapters
Live timeline edits are saved as a draft after each successful change. Reopen the live timeline after a reload to continue, or choose Open draft in Saved drafts to return to the cut it was based on. Select Review and save to turn those edits into a verified revision.
Open Chapters on the live timeline to name the current playhead position. Click a chapter to jump to it, and use the same controls to rename or remove it. Saved chapter markers become a WebVTT chapter track in delivery packages.
vex draft --project <project-id>
vex draft --project <project-id> --reopen <draft-id>
vex draft --project <project-id> --review
Mix and master audio
Click a waveform clip on the Live timeline to edit clip volume, track volume, and fades. Listen to the saved draft and use Review and save when it sounds right. If the picture is unchanged and has a verified H.264 master, Vex renders the mix and copies the existing picture packets into the revision.
In Delivery, choose Original mix, Web (−16 LUFS, −1.5 dBTP ceiling), or Broadcast target (−23 LUFS, −1 dBTP ceiling). Vex measures the selected range, masters it once, and checks the encoded audio. Clean and captioned versions share the mastered track. The delivery manifest records the measurements and whether the audio reached its target. Very short or silent ranges can have no measurable integrated loudness.
vex deliver ./launch.zip --project <project-id> --audio-profile web --captions both
Publish a cut
Open Delivery in Studio to package your saved cut or a clip. Set start and end from the playhead or enter them in seconds. Leave both blank for the full cut. Choose captioned video, clean video, or both. Studio keeps recent packages available for download from the project.
Each ZIP contains H.264 MP4 video, matching SRT and WebVTT sidecars when the cut has captions, a WebVTT chapter track when it has timeline markers in the export range, and a manifest tying the files to a saved revision. A clean export hides editable captions. Any text drawn into footage or authored motion graphics stays visible. Open imported footage as an editable cut before exporting it.
vex deliver ./launch.zip --project <project-id> --captions both
vex deliver ./teaser.zip --project <project-id> --start 12.5 --end 32
vex verify-delivery ./launch.zip
Import a corrected or translated UTF-8 SRT or WebVTT file from Captions in
Studio, or use vex production-cut --project <project-id> --subtitles ./captions.srt.
Review the resulting frames and save when ready. The import replaces the timing
and text of the editable caption track. Vex maps cue boundaries to the nearest
frame and checks for overlaps. Delivery and subtitle import work locally without
model calls.
vex shorts
Generate a packaged shorts bundle directly from an existing project.
vex shorts --project <project-id> --count 4 --target-platform youtube_shorts
Add --subtitle-style glass or another subtitle preset to change the burned caption look for the generated shorts.
vex auto-broll
Plan and apply provider-backed stock footage inserts to an existing project.
vex auto-broll --project <project-id> --max-overlays 5
vex auto-broll --project <project-id> --providers pixabay,coverr --max-overlays 5
vex auto-broll --project <project-id> --max-overlays 15 --coverage-policy target_count
vex auto-visuals
Plan and apply generated supporting visuals to an existing project.
vex auto-visuals --project <project-id> --max-visuals 4 --renderer auto --style-pack editorial_clean
vex auto-visuals --project <project-id> --renderer hyperframes
vex auto-visuals --project <project-id> --renderer remotion
vex auto-visuals --project <project-id> --renderer both
vex auto-visuals --project <project-id> --max-visuals 18 --coverage-policy target_count --density chapter_coverage
Generic requests use quality_only. Explicit counts use target_count; exact_count
raises coverage pressure but still cannot bypass path, render, semantic, or QA failures.
vex generate-video
Generate a video from a prompt or script without a source clip. Vex writes an editable production project with a timed edit, renderer source, QA, and the final render.
The default --renderer auto selects hybrid production when a text model is
configured, and uses the offline HyperFrames workflow otherwise. In hybrid
production the model writes the film and draws its
original animated vector scenes. It can choose HyperFrames, Remotion, or a
specialist Manim shot. Remotion assembles the edit. DeepSeek Flash can review
encoded frames and guide one shot-level repair. Hybrid film production
A hybrid film can hold on one shot or use uneven pacing for a silent sequence.
The standalone HyperFrames workflow uses the Video Generation Skill Graph to
build transcript-based scenes and records assignments in
VIDEO_SKILL_GRAPH.json.
vex generate-video "explain retrieval augmented generation in 30 seconds" --duration 30
vex generate-video "show why KV cache compression matters" --aspect portrait --voice af_nova
vex generate-video "show sparse attention becoming a focused reasoning path" --renderer remotion --quality high --fps 60 --render-resolution 4k
vex generate-video "turn this into a project only" --no-render --no-audio --output-dir D:\renders\vex-tests
The generated project is stored under ~/.video-agent/generated_videos unless --output-dir is provided.
With --renderer remotion, Vex writes remotion/entry.jsx and
remotion/input_props.json. The composition plays frame-addressed scenes,
word-timed captions, narration, and optional looped music. The production uses
HyperFrames TTS when narration is requested. Install the pinned local runtime
with vex renderers install remotion.
Prompt-only Remotion projects use the configured text provider to write
narration and shot focus. Supply --script to direct the spoken track
yourself. Vex can plan offline and records when it uses the offline script.
The Remotion shot director tests grounded layout candidates per beat and records
its decisions in remotion/shot_direction.json. Export QA decodes frames from
the final video, checks the delivery format and clock, and records output and
frame digests in generated_video_qa.json.
--gemini-production adds Gemini shot authoring and required review of
rendered frames. Run vex gemini-models to inspect the catalog for the
configured Gemini API project key.
--quality high also renders the two leading candidates for up to four shots.
Vex uses those frames and browser text measurements to refine shot selection
before rendering the full composition.
Inspect, preview, and deliver a saved Remotion or hybrid production.
vex render-video-project ./generated-project
vex render-video-project ./generated-project --replace-shot "beat_02=./footage.mp4"
vex inspect-video-project ./generated-project --json
vex render-video-project ./generated-project --stage-only
vex render-video-project ./generated-project/revisions/remotion-example --frame 0 --frame 72
vex render-video-project ./generated-project/revisions/remotion-example --format mov --quality draft --add-to-studio
Use the shot IDs in remotion/input_props.json. A replacement image fills the
shot and a replacement video must cover its entire frame interval. Revisions
keep the shot clock, narration, music, and captions, and store their own export
and evidence in revisions/. Edit the timeline JSON to adjust caption text,
shot lengths, clip fit, or a clip's trim_start_frame before re-rendering.
The revision command rebuilds the composition with the installed Vex renderer
using the saved timeline and local assets.
Plans created with --no-render can finish their pending HyperFrames and Manim
shots from saved direction. Pass the prepared folder to subsequent commands to
reuse those clips and the audio. Both generate-video and
render-video-project can add a verified video export to Studio.
Remotion production architecture
Generated videos use a Director Crew pass before rendering. The director repairs
weak prompt-only scripts, writes DIRECTOR_CREW.json, assigns each beat a
source-grounded visual contract, then the skill graph converts those contracts
into explicit beat skills, renderer routes, proof encodings, visual-world
priors, continuity subjects, and motion grammar. Compatible HyperFrames variants
enter a per-beat tournament. The native motion compiler writes
MOTION_PLAN.json, motion_cues.json, template-backed compositions/*.html,
root inline native beat surfaces with traceable data-external-composition-src
artifact links, and rendered-frame QA. A portfolio judge writes
PORTFOLIO_JUDGE.json and can reject the whole project when the result is too
generic, repetitive, weakly grounded, or below skill-coverage policy.
vex add_visual_asset
Insert an exact-time local asset without transcript scoring:
vex add_visual_asset --project <project-id> --asset assets/overlay.mp4 --start 12 --end 16 --mode overlay
vex add_visual_asset --project <project-id> --asset assets/visual.html --start 72 --end 78 --mode replace
Local HTML cannot reference remote URLs or Node/shell execution hooks.
vex upscale_video
vex upscale_video --project <project-id> --resolution 1920x1080 --scale-mode fit
This is FFmpeg Lanczos resize/export, not AI super-resolution.
vex renderers doctor
vex renderers doctor
Install the shared managed HyperFrames and Remotion runtime:
vex renderers install hyperframes
vex renderers install remotion
vex auto-effects
Plan and apply context-aware emphasis effects to an existing project. The planner reads the whole transcript timeline, local pacing, scene stability, blocked overlay ranges, and subtitle placement before selecting restrained camera/style moves.
vex auto-effects --project <project-id> --density medium --intensity high --max-effects 12
vex creative-runs
Inspect recent local creative automation runs recorded for a project.
vex creative-runs --project <project-id>
vex color-grade
Analyze and apply an automatic color grade to an existing project.
vex color-grade --project <project-id> --look cinematic --intensity 0.8
vex youtube-shorts
Download a YouTube video and immediately run the auto shorts workflow.
vex youtube-shorts "https://www.youtube.com/watch?v=example123" --count 4
- resumes the only saved project automatically
- otherwise waits for natural-language input
- if no video is loaded, include a file path in your message
vex start <video_path> [--name TEXT]
Create a new project explicitly and open the REPL.
vex start "D:\videos\clip.mp4" --name "Launch Cut"
vex repl [--project TEXT]
Open the REPL for an existing project.
vex repl
vex repl --project 7e5a4d1c
vex run "<instruction>" --project TEXT
Run a single instruction against a saved project and exit.
vex run "export it for instagram" --project 7e5a4d1c
vex projects
List saved projects.
vex export <preset_name> --project TEXT [--output TEXT]
Export without entering the REPL.
vex export instagram_reels --project 7e5a4d1c --output "D:\exports\clip.mp4"
vex encode "<request>" --project TEXT [--output TEXT] [--yes]
Plan a metadata-aware FFmpeg encode from plain English. By default Vex prints the command and stores it as pending; pass --yes to run it immediately.
vex encode "convert this MOV to MP4 and compress it without losing much quality" --project 7e5a4d1c
After the FFmpeg command finishes, Vex probes the output, checks the expected container, streams, codecs, dimensions, duration, and target-size behavior, then runs a full decode smoke test. If validation finds a fatal issue, the encode is reported as failed instead of silently accepting a bad file.
vex --version
Show the installed version.
REPL Slash Commands
These commands work only inside the interactive session.
Type / to see commands, press Alt+Enter to add a line to a brief, and
use Ctrl+R to search input history. Enter sends the instruction.
| Command | Action |
|---|---|
/generate-video <brief> |
Start a film without loading footage |
/load <path or URL> |
Import footage or open its saved project |
/open <project id> |
Switch to a saved project inside the current session |
/status |
Show the current project summary |
/timeline |
Show the applied timeline |
/undo |
Undo the last edit |
/redo |
Redo the last undone edit |
/export <preset> |
Export immediately with a preset |
/encode <request> |
Plan an encode/conversion/compression command and wait for confirmation |
/color-grade [look] |
Apply an automatic color grade with an optional look |
/provider |
Show the active provider and model |
/projects |
List saved projects |
/help |
Show available slash commands |
/quit or /exit |
Save and exit |
Export Presets
Built-in presets:
| Preset | Description | Format |
|---|---|---|
youtube_1080p |
YouTube 1080p HD | mp4 |
youtube_4k |
YouTube 4K UHD | mp4 |
instagram_reels |
Instagram Reels / Stories vertical | mp4 |
instagram_square |
Instagram square feed | mp4 |
tiktok |
TikTok vertical | mp4 |
twitter_x |
X / Twitter landscape | mp4 |
podcast_audio |
Audio-only podcast export | mp3 |
custom |
Start from your own settings | variable |
How Project Loading Works
- Vex never edits the original source file directly
- each project stores:
- original source path
- working copy path
- timeline operations
- provider and model
- session log
- metadata
- when you mention a video path in the REPL:
- Vex checks for an existing project for that exact source file
- if found, it loads that project
- otherwise, it creates a new project automatically
Default project storage:
~/.video-agent/projects/
You can override that with AGENT_PROJECTS_DIR.
Architecture
| Path | Responsibility |
|---|---|
main.py |
CLI, REPL, auto-loading, slash commands, and live terminal status UI |
agent.py |
Provider-agnostic agent loop and tool orchestration |
providers/ |
Gemini, Claude, and OpenAI-compatible local provider adapters behind one interface |
tools/ |
Agent-callable editing tools |
video_generation/ |
Standalone audio-first HyperFrames video generation, beat graphs, project writing, rendering, and QA |
effects/ |
Context-aware auto-effects modeling, scoring, planning, FFmpeg compilation, and validation |
engine.py |
FFmpeg media operations and Pillow text overlays |
color_grading.py |
Sampled-frame color analysis and reusable FFmpeg grade planning |
state.py |
Persistent project state and timeline history |
visual_intelligence.py |
Transcript beat mining, visual planning, and renderer-aware spec normalization |
renderers/ |
Generated-visual backends for Hyperframes, Remotion, Manim, FFmpeg, and optional Blender |
vex_hyperframes/ |
Hyperframes design IR, art directions, composition building, production rules, variants, QA, validation, and skill slices |
vex_manim/ |
Manim scene briefs, blueprinting, runtime helpers, validation, and QA |
vex_runtime/ |
Canonical version, packaged configuration, and managed HyperFrames/Remotion runtime installation |
presets/export_presets.json |
Built-in export presets |
For the larger production architecture roadmap, see docs/architecture-upgrades.md. For release-system design and operator controls, see docs/release-architecture-report.md and docs/releasing.md.
Dependencies and Runtime Notes
FFmpeg is mandatory
Vex depends on FFmpeg for:
- metadata probing
- trims and merges
- audio processing
- subtitle burn-in
- silence detection
- exports
Whisper is optional
transcribe_video requires openai-whisper and a local environment capable of running it. Install it with:
vex setup transcription
Installing Whisper into a separate system Python does not expose it to a Vex
installation managed by pipx directly. Vex bridges that boundary through a
bounded external worker when the interpreter is discoverable on PATH or
configured with WHISPER_PYTHON_PATH.
Subtitle burning depends on FFmpeg ASS subtitle support
Vex compiles SRT captions into styled ASS files, then burns them with FFmpeg's ass filter. Most full FFmpeg builds include libass support. If yours does not, subtitle burn-in may fail until you install a build with subtitle filter support.
Troubleshooting
vex is not recognized
Add your Python Scripts directory to PATH, then restart the terminal.
FFmpeg was not found in PATH
Install FFmpeg and verify ffmpeg works in the terminal before launching Vex.
Vex says no video is loaded
Start with a normal sentence that includes a file path:
Vex > trim the first 10 seconds of "D:\videos\clip.mp4"
Subtitle burn-in fails
Check that:
- your
transcript.srtexists - your FFmpeg build supports the
assfilter / libass - the subtitle path is valid on your OS
Text overlay fails on Windows
Install ImageMagick and retry.
Transcription fails
Run vex setup transcription. Vex will reuse a discoverable system Python
that already has Whisper, or install Whisper into its own environment when no
compatible external runtime exists. Set WHISPER_PYTHON_PATH to select a
specific interpreter.
Summarization does not work
Make sure:
- the active provider API key is configured
- transcription completed successfully
transcript.txtandtranscript.srtexist in the project working directory
Contributing
Issues and PRs are welcome.
If you report a bug, include:
- OS
- Python version
- active provider
- the exact command or REPL input
- the traceback or terminal output
- whether the issue happens on a fresh project or a resumed project
License
PolyForm Noncommercial License 1.0.0. Commercial use is not permitted under this license. For commercial licensing inquiries, contact [email protected]. See LICENSE.
Plain English: You may use Vex for personal, educational, research, and other non-commercial projects for free. You may not use Vex to build paid products, paid services, commercial SaaS, internal business tooling, or revenue-generating workflows without a separate commercial license.
관련 프로젝트 살펴보기
불러오는 중…


