> ## Content Index
> Fetch the complete content index at: https://www.hubwiz.com/blog/llms.txt
> Use this file to discover other available public pages before exploring further.

# ComfyUI-LTXVideo视频生成
- URL: https://www.hubwiz.com/blog/comfyui-ltxvideo-for-real-time-video-generation/
- Published: 2024-11-24T03:12:16.000Z
- Updated: 2024-11-24T03:12:30.000Z
- Description: ComfyUI-LTXVideo 是 ComfyUI 的自定义节点集合，旨在集成 LTXVideo 传播模型。这些节点支持文本到视频、图像到视频和视频到视频生成的工作流程。
- Author: admin
- Tags: TOOL, COMFYUI, VIDEO GENERATION, COMFYUI-LTXVIDEO, HUGGINGFACE, COMFYUI-VIDEOHELPERSUITE, #Import 2026-10-14 14:41

[ComfyUI-LTXVideo](https://github.com/Lightricks/ComfyUI-LTXVideo?ref=hubwiz.com) 是 ComfyUI 的自定义节点集合，旨在集成 LTXVideo 传播模型。这些节点支持文本到视频、图像到视频和视频到视频生成的工作流程。 

LTX Video 的主存储库可在[Github](https://github.com/Lightricks/LTX-Video?ref=hubwiz.com)找到。

## 1、安装ComfyUI-LTXVideo

最好通过 [ComfyUI-Manager](https://github.com/ltdrdata/ComfyUI-Manager?ref=hubwiz.com) 安装。只需在节点列表中搜索 `ComfyUI-LTXVideo` 并按照安装说明操作即可。

### 1.1 手动安装

- 安装 ComfyUI
- 将此存储库克隆到 ComfyUI 安装目录中的自定义节点文件夹。
- 安装所需的软件包：

```
cd custom_nodes/ComfyUI-LTXVideo && pip install -r requirements.txt
```

对于绿色ComfyUI 安装，请运行：

```
.\python_embeded\python.exe -m pip install -r .\ComfyUI\custom_nodes\ComfyUI-LTXVideo\requirements.txt
```

### 1.2 模型

从 Hugging Face 下载 [ltx-video-2b-v0.9.safetensors](https://huggingface.co/Lightricks/LTX-Video/blob/main/ltx-video-2b-v0.9.safetensors?ref=hubwiz.com) 并将其放在 `models/checkpoints` 下。

安装 [git-lfs](https://docs.github.com/en/repositories/working-with-files/managing-large-files/installing-git-large-file-storage?ref=hubwiz.com) 并将文本编码器模型克隆到 `models/text_encoders`：

```
cd models/text_encoders && git clone https://huggingface.co/PixArt-alpha/PixArt-XL-2-1024-MS
```

## 2、示例工作流程

请注意，要运行示例工作流程，你需要安装 [ComfyUI-VideoHelperSuite](https://github.com/kosinkadink/ComfyUI-VideoHelperSuite?ref=hubwiz.com)。

> 文本转视频。

[下载工作流](https://github.com/Lightricks/ComfyUI-LTXVideo/blob/master/assets/ltxvideo-t2v.json?ref=hubwiz.com)

![](https://www.hubwiz.com/blog/content/images/2024/11/image-1600.png)

点击[这里](https://raw.githubusercontent.com/Lightricks/ComfyUI-LTXVideo/master/assets/ltxvideo-t2v.png?ref=hubwiz.com)查看大图

> 图像转视频

[下载工作流](https://github.com/Lightricks/ComfyUI-LTXVideo/blob/master/assets/ltxvideo-i2v.json?ref=hubwiz.com)

![](https://www.hubwiz.com/blog/content/images/2024/11/image-1601.png)

点击[这里](https://raw.githubusercontent.com/Lightricks/ComfyUI-LTXVideo/master/assets/ltxvideo-i2v.png?ref=hubwiz.com)查看大图

> 视频转视频

[下载工作流](https://github.com/Lightricks/ComfyUI-LTXVideo/blob/master/assets/ltxvideo-v2v.json?ref=hubwiz.com)

![](https://www.hubwiz.com/blog/content/images/2024/11/image-1602.png)

点击[这里](https://raw.githubusercontent.com/Lightricks/ComfyUI-LTXVideo/master/assets/ltxvideo-v2v.png?ref=hubwiz.com)查看大图

---

原文链接：[ComfyUI-LTXVideo Github Repo](https://github.com/Lightricks/ComfyUI-LTXVideo?ref=hubwiz.com)

汇智网翻译整理，转载请标明出处