https://github.com/Lightricks/ComfyUI-LTXVideo
LTX-Video Support for ComfyUI
https://github.com/Lightricks/ComfyUI-LTXVideo
comfyui diffusion-models dit image-to-video image-to-video-generation text-to-image text-to-image-generation
Last synced: 6 months ago
JSON representation
LTX-Video Support for ComfyUI
- Host: GitHub
- URL: https://github.com/Lightricks/ComfyUI-LTXVideo
- Owner: Lightricks
- License: apache-2.0
- Created: 2024-11-21T16:26:05.000Z (7 months ago)
- Default Branch: master
- Last Pushed: 2024-12-03T14:55:31.000Z (7 months ago)
- Last Synced: 2024-12-17T08:15:26.594Z (6 months ago)
- Topics: comfyui, diffusion-models, dit, image-to-video, image-to-video-generation, text-to-image, text-to-image-generation
- Language: Python
- Homepage: https://www.lightricks.com/ltxv
- Size: 2.3 MB
- Stars: 409
- Watchers: 5
- Forks: 26
- Open Issues: 40
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
- awesome-comfyui - **ComfyUI-LTXVideo** - Video support in ComfyUI (All Workflows Sorted by GitHub Stars)
README
# ComfyUI-LTXVideo
ComfyUI-LTXVideo is a collection of custom nodes for ComfyUI designed to integrate the LTXVideo diffusion model. These nodes enable workflows for text-to-video, image-to-video, and video-to-video generation. The main LTXVideo repository can be found [here](https://github.com/Lightricks/LTX-Video).## Installation
Installation via [ComfyUI-Manager](https://github.com/ltdrdata/ComfyUI-Manager) is preferred. Simply search for `ComfyUI-LTXVideo` in the list of nodes and follow installation instructions.
### Manual installation
1. Install ComfyUI
2. Clone this repository to `custom-nodes` folder in your ComfyUI installation directory.
3. Install the required packages:
```bash
cd custom_nodes/ComfyUI-LTXVideo && pip install -r requirements.txt
```
For portable ComfyUI installations, run
```
.\python_embeded\python.exe -m pip install -r .\ComfyUI\custom_nodes\ComfyUI-LTXVideo\requirements.txt
```### Models
1. Download [ltx-video-2b-v0.9.safetensors](https://huggingface.co/Lightricks/LTX-Video/blob/main/ltx-video-2b-v0.9.safetensors) from Hugging Face and place it under `models/checkpoints`.
2. [Install git-lfs](https://docs.github.com/en/repositories/working-with-files/managing-large-files/installing-git-large-file-storage) and clone the text encoder model to `models/text_encoders`:
```bash
cd models/text_encoders && git clone https://huggingface.co/PixArt-alpha/PixArt-XL-2-1024-MS
```## Example workflows
Note that to run the example workflows, you need to have [ComfyUI-VideoHelperSuite](https://github.com/kosinkadink/ComfyUI-VideoHelperSuite) installed.
### Text-to-video
[Download workflow](assets/ltxvideo-t2v.json)
### Image-to-video
[Download workflow](assets/ltxvideo-i2v.json)
### Video-to-video
[Download workflow](assets/ltxvideo-v2v.json)
