This ComfyUI workflow turns a text prompt into a finished video clip using the LTX 2.5 model via the LtxApi25TextToVideo node. Your prompt (and optional multi-shot structure) is sent to the LTX 2.5 API, which returns generated video content with sharp detail and coherent motion. The downstream SaveVideo node then writes the result to your ComfyUI output folder as a ready-to-share file.

Technically, the LtxApi25TextToVideo node is the core generator: it packages your prompt and settings, submits them to the remote LTX 2.5 service, and provides the resulting clip to the graph. LTX 2.5 supports native multi-shot scenes, making it possible to maintain character and style across cuts when you structure your prompt appropriately. The SaveVideo node handles final assembly and export, letting you choose a filename and frame rate while keeping the workflow simple and fast.

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.

93c182d3aefb.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