> ## Documentation Index
> Fetch the complete documentation index at: https://dripart-chore-sync-comfy-api-v2-spec-d5155ac.mintlify.site/llms.txt
> Use this file to discover all available pages before exploring further.

# LTX-0.9.5 ComfyUI 工作流示例

> 学习如何在 ComfyUI 中使用 LTX-Video 0.9.5 高效生成视频

[LTX-Video](https://huggingface.co/Lightricks/LTX-Video) 是 Lightricks 开发的高效视频生成模型。使用该模型的关键是提供详细的长描述提示词。

<Tip>
  <Tabs>
    <Tab title="本地用户">
      请确保你的 ComfyUI 已经更新。

      * [ComfyUI 下载](https://www.comfy.org/download)
      * [ComfyUI 更新教程](/zh/installation/update_comfyui)

      本指南里的工作流可以在[工作流模板](/zh/interface/features/template)中找到。如果找不到，可能是 ComfyUI 没有更新。

      如果加载工作流时有节点缺失，可能原因有：

      1. 你用的不是最新版（每夜版）。
      2. 启动时有些节点导入失败。
    </Tab>

    <Tab title="云端用户">
      * [Cloud](https://cloud.comfy.org) 会在 ComfyUI 稳定版本发布后更新。

      所以，如果你发现本文档中有任何核心节点缺失，可能是因为新核心节点尚未在最新稳定版中发布。请等待下一个稳定版发布。
    </Tab>
  </Tabs>
</Tip>

## 多帧控制

通过一系列图像控制视频生成。可下载输入图像：[起始帧](https://raw.githubusercontent.com/Comfy-Org/example_workflows/refs/heads/main/ltxv/multi-frame/house1.png) 和 [结束帧](https://raw.githubusercontent.com/Comfy-Org/example_workflows/refs/heads/main/ltxv/multi-frame/house2.png)。

<img src="https://raw.githubusercontent.com/Comfy-Org/example_workflows/refs/heads/main/ltxv/multi-frame/workflow.webp" alt="LTX-Video 多帧控制" />

<Tip>
  将任意视频直接拖入 ComfyUI 即可运行工作流。
</Tip>

## 图像转视频

<h3 id="ltxv_image_to_video">
  LTXV 图像到视频
</h3>

通过静止图像生成视频。

<img src="https://raw.githubusercontent.com/Comfy-Org/workflow_templates/main/templates/ltxv_image_to_video-1.webp" alt="LTXV 图像到视频工作流预览" />

<CardGroup cols={2}>
  <Card title="在 Comfy Cloud 上运行" icon="cloud" href="https://cloud.comfy.org/?template=ltxv_image_to_video&utm_source=docs&utm_medium=referral&utm_campaign=ltxv">
    在 Comfy Cloud 中打开
  </Card>

  <Card title="下载工作流" icon="download" href="https://github.com/Comfy-Org/workflow_templates/blob/main/templates/ltxv_image_to_video.json">
    下载 JSON，或在模板库中搜索 "LTXV 图像到视频"
  </Card>
</CardGroup>

**输入材料**

将此文件上传到对应的 `LoadImage` 节点：

<CardGroup cols={2}>
  <Card title="ltxv_image_to_video_input_image.jpg" icon="image" href="https://raw.githubusercontent.com/Comfy-Org/workflow_templates/main/input/ltxv_image_to_video_input_image.jpg">
    `LoadImage` 节点 78 · `ltxv_image_to_video_input_image.jpg`
  </Card>
</CardGroup>

<div style={{display: 'grid', gridTemplateColumns: 'repeat(2, minmax(0, 1fr))', gap: '1rem', alignItems: 'start'}}>
  <img src="https://raw.githubusercontent.com/Comfy-Org/workflow_templates/main/input/ltxv_image_to_video_input_image.jpg" alt="ltxv_image_to_video_input_image.jpg" style={{width: '100%', height: 'auto', objectFit: 'contain'}} />
</div>

<Tip>
  将视频直接拖入 ComfyUI 即可运行工作流。
</Tip>

## 文本转视频

<h3 id="ltxv_text_to_video">
  LTXV 文本到视频
</h3>

从文本提示词生成视频。

<img src="https://raw.githubusercontent.com/Comfy-Org/workflow_templates/main/templates/ltxv_text_to_video-1.webp" alt="LTXV 文本到视频工作流预览" />

<CardGroup cols={2}>
  <Card title="在 Comfy Cloud 上运行" icon="cloud" href="https://cloud.comfy.org/?template=ltxv_text_to_video&utm_source=docs&utm_medium=referral&utm_campaign=ltxv">
    在 Comfy Cloud 中打开
  </Card>

  <Card title="下载工作流" icon="download" href="https://github.com/Comfy-Org/workflow_templates/blob/main/templates/ltxv_text_to_video.json">
    下载 JSON 或在模板库中搜索 "LTXV 文本到视频"
  </Card>
</CardGroup>

<Tip>
  将视频直接拖入 ComfyUI 即可运行工作流。
</Tip>

## 前提条件

将以下模型下载并放到指定位置：

<CardGroup cols={2}>
  <Card title="ltx-video-2b-v0.9.5.safetensors" icon="download" href="https://huggingface.co/Lightricks/LTX-Video/blob/main/ltx-video-2b-v0.9.5.safetensors">
    下载并放置到 ComfyUI/models/checkpoints/
  </Card>

  <Card title="t5xxl_fp16.safetensors" icon="download" href="https://huggingface.co/Comfy-Org/mochi_preview_repackaged/blob/main/split_files/text_encoders/t5xxl_fp16.safetensors">
    下载并放置到 ComfyUI/models/text\_encoders/
  </Card>
</CardGroup>

```
├── checkpoints/
│   └── ltx-video-2b-v0.9.5.safetensors
└── text_encoders/
    └── t5xxl_fp16.safetensors
```
