Who it is forAn editor who needs a few more seconds of a shot.
The problemReshooting or stretching footage to fill a timeline is costly.
The outcomeA longer clip that continues your source segment.
What you need first
- Python 3.10.5 and CUDA 12.2 were tested, with PyTorch >= 2.1.2; macOS MPS was tested with PyTorch 2.3.0
- A capable GPU (the README cites H100 timings for the distilled models)
- Install with `python -m pip install -e .\[inference\]` inside a venv
Steps
- Install LTX Video as in the Installation section
- Trim your input so it has a multiple of 8 frames plus 1 (for example 9, 17 or 25), as the README requires
- Run
python inference.py --prompt "PROMPT" --conditioning_media_paths VIDEO_PATH --conditioning_start_frames START_FRAME --height HEIGHT --width WIDTH --num_frames NUM_FRAMES --seed SEED --pipeline_config configs/ltxv-13b-0.9.8-distilled.yamlwith a target frame count that is a multiple of 8 - Review the result and adjust the prompt or seed
Prompt for your agent
With Lightricks/LTX-Video, extend <my video segment> using the Extending a video inference.py command, checking first that its frame count is 8n+1, and report the output.
Caveat. The README recommends its ComfyUI workflow for best results while inference.py is being updated.
Use this in your AI agent
Ask your agent
Using the Deduped MCP, get the setup steps for Lightricks/LTX-Video and "Extend an existing video clip"
Add Deduped to Claude Code once
claude mcp add --transport http deduped https://dedupedai.com/mcp
Every Monday: the 5 hottest repos and exactly how to use them. Free, one email a week, unsubscribe anytime.
Get them freeShare: X LinkedIn Hacker News Email Copy link
Third-party repos we don't own. AI-written use cases can be wrong. Disclaimer