
This ComfyUI workflow turns a written prompt into a short video using the LTX-0.9.5 text-to-video checkpoint. It starts by loading the model and text encoder with CheckpointLoaderSimple and CLIPLoader, then converts your prompt and optional negative prompt into embeddings via CLIPTextEncode. Those embeddings are adapted for video with LTXVConditioning so the model can synthesize temporally coherent motion from your text description.
Next, EmptyLTXVLatentVideo defines the canvas of your clip—frame count, width/height, FPS, and seed—while LTXVScheduler and the Custom sampler block (SamplerCustom + KSamplerSelect) drive the denoising process across all frames. After sampling, VAEDecode turns latent frames into RGB images. CreateVideo stitches the frame sequence into a playable file, and SaveVideo writes it to disk. The workflow is organized into clear groups (Step1 - Load models, Step2 - Video size, Step3 - Prompt, Custom sampler) so you always know where to adjust models, resolution, timing, and sampling.
What makes this useful is the control you get at each stage: descriptive prompting (via CLIPTextEncode) for content and motion; precise duration and aspect (via EmptyLTXVLatentVideo); and predictable results with seeds and sampler choices (KSamplerSelect). The author notes that LTX-0.9.5 benefits from long, detailed prompts—concise prompts often produce weaker results—so plan to describe subjects, actions, scene context, and camera motion for best quality.
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.
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 "LTXV 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("ltxv_text_to_video_api.json");
wf.setInput("6", "text", "your prompt here"); // CLIPTextEncode
const job = await client.run(wf);
await job.getOutputs("79")[0].toFile("output.png"); // SaveVideoThe 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













