DEDUPED Hot AI repos. Real use cases. What people build. Get the Monday 5

How to extend an existing video clip with LTX Video

Feed a short video segment as a condition at a start frame and generate more frames that continue it.

Short answer: Install LTX Video as in the Installation section; then Trim your input so it has a multiple of 8 frames plus 1 (for example 9, 17 or 25), as the README requires. All steps.

  • Content
  • Intermediate
  • 1 hour
  • From the README
  • Claude Code
  • Codex
  • Cursor
  • Gemini CLI

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

  1. Install LTX Video as in the Installation section
  2. Trim your input so it has a multiple of 8 frames plus 1 (for example 9, 17 or 25), as the README requires
  3. 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.yaml with a target frame count that is a multiple of 8
  4. 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

Cursor, ChatGPT, others

Share: X LinkedIn Hacker News Email Copy link

Third-party repos we don't own. AI-written use cases can be wrong. Disclaimer