The LTX-2 Text to Video workflow in ComfyUI is designed to transform text prompts into high-quality videos with synchronized audio and video generation. This workflow leverages the LTX-2 model, developed by Lightricks, which is renowned for its expressive lip-sync capabilities and dynamic motion generation. The workflow efficiently processes text inputs to create videos that not only match the described actions but also maintain a high level of visual fidelity. Technically, it utilizes nodes such as SaveVideo and a subgraph node identified by b7c2d337-c38d-4c04-922b-2d638449d13e, which are crucial for saving the output and managing the complex video generation process. The MarkdownNote node is used for documentation and guidance within the workflow, ensuring users understand each step and parameter involved.

API

Use this workflow from code

Every Comfy workflow is a JSON graph. The payload below is this workflow, exactly as ComfyUI runs it — fetch it from the URL, keep it in version control, or load it in ComfyUI and run it node by node.

video_ltx2_t2v.json
Fetching workflow JSON…

Run it from TypeScript or Python with the Comfy SDK. The same code targets Comfy Cloud or a ComfyUI you host yourself — only the base URL changes.

// Install (beta)
npm i @comfyorg/sdk

// Run "LTX-2 Text to Video" (TypeScript)
import { Comfy } from "@comfyorg/sdk";

const client = new Comfy({ apiKey: "comfyui-..." });

// This workflow, exported in API format (see note below)
const wf = await client.workflows.fromFile("video_ltx2_t2v_api.json");

const job = await client.run(wf);
await job.getOutputs("75")[0].toFile("output.png"); // SaveVideo

The SDK takes a workflow in API format: open this workflow in ComfyUI and use File → Export Workflow (API).

Comfy Cloud API access requires a plan with an API key.

FAQ

Frequently Asked Questions

View all workflows
Showing 30 of 30 templates