This ComfyUI workflow turns a plain text prompt into a cinematic video using Lightricks' LTX-2.5, a production-ready diffusion model. The core of the graph is the LTX-2.5 text-to-video node (UUID: 8b4f085c-1bb3-4ecd-aeed-603a8d6d3970), which consumes your prompt, resolution, and generation settings to synthesize a coherent clip. A ResolutionSelector node feeds width and height values that are aligned to the model’s preferred multiples-of-32, and a SaveVideo node encodes the result as a single video file. A MarkdownNote is included in the graph to surface quick tips and resolution guidance right inside ComfyUI.

Under the hood, LTX-2.5 uses a Pixel Diffusion, keyframes-first approach: it establishes strong visual anchors and then diffuses motion between them, helping maintain temporal consistency and cinematic pacing. You can steer fidelity and GPU memory use by pairing the ResolutionSelector with the model’s parameters. For example, 0.5 megapixels at 16:9 maps to 960x544, while 0.3 MP maps to 736x416; both are safe starting points on modest GPUs. When you need extra detail, enable the node’s optional spatial upscaling to boost resolution without re-generating motion from scratch, then finalize with SaveVideo at your target FPS and file path.

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.

13ba3af78782.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 this workflow (TypeScript)
import { Comfy } from "@comfyorg/sdk";

const client = new Comfy({ apiKey: "comfyui-..." });
const wf = await client.workflows.fromFile("workflow_api.json");
const job = await client.run(wf);
await job.getOutputs("<output-node-id>")[0].toFile("output.png");

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