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.

GET https://comfy.org/workflows/download/40770c9eb41b.json
Fetching workflow JSON…

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

# Install (beta)
pip install comfy-sdk        # Python
npm i @comfyorg/sdk          # TypeScript

# Run "LTX-2 Text to Video" (Python)
from comfy_sdk import Comfy

client = Comfy(api_key="comfyui-...")

# This workflow, exported in API format (see note below)
wf = client.workflows.from_file("video_ltx2_t2v_api.json")

job = client.run(wf)
for output in job.get_outputs("75"):  # SaveVideo
    output.to_file(output.name)

The SDK takes a workflow in API format: open this workflow in ComfyUI and use File → Export Workflow (API). API access requires a Comfy Cloud plan with an API key. SDK docs · Get an API key

FAQ

Frequently Asked Questions

View all workflows
Character
Cinematic
Image to Video
Lip Sync
Multiple Angles
Portrait
Style Reference
Style Transfer
Text to Video
Video Generation
Video
Showing 30 of 30 templates