The LTX-2: Image to Video workflow is designed to transform static images into dynamic videos, seamlessly integrating audio and video generation. This workflow utilizes the LTX-2 model from Lightricks, known for its ability to produce expressive lip synchronization and natural motion, ensuring that the generated videos appear realistic and engaging. The workflow leverages several nodes, including SaveVideo for output, LoadImage for importing static images, and ResizeImageMaskNode for adjusting image dimensions to fit video requirements. The b7c2d337-c38d-4c04-922b-2d638449d13e node is crucial for processing and synchronizing audio with video, enhancing the overall multimedia experience. By using this workflow, users can efficiently create high-quality videos from images, making it a powerful tool for content creators looking to add dynamic elements to their projects.
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 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














