The LTX-2 Pose to Video workflow is designed to transform pose guidance into high-quality video content with synchronized audio and video generation. Utilizing the LTX-2 model from Lightricks, this workflow offers precise control over pose and expressive motion, making it ideal for creating dynamic video content. The workflow integrates various nodes such as GetVideoComponents, PreviewImage, and SaveVideo, which help in breaking down the video into components, previewing frames, and saving the final output, respectively. A key feature of this workflow is its use of the comfyui_controlnet_aux custom nodes, which enhance the precision of pose control and motion expression.
Technically, the workflow begins with video and image preprocessing using nodes like LoadVideo and ResizeImageMaskNode. It then employs the DWPreprocessor for refining video settings, ensuring optimal frame count and resolution. The workflow is designed to handle resolutions up to 1920x1088, though it defaults to 720p for efficiency. The frame count must be divisible by 8 plus 1, ensuring smooth transitions and synchronization. This workflow is particularly useful for creators seeking to produce videos with detailed motion and synchronized audio, leveraging the power of the LTX-2 model to achieve professional-grade results.
API
코드에서 이 워크플로우 사용하기
모든 Comfy 워크플로우는 JSON 그래프입니다. 아래 페이로드는 이 워크플로우 그 자체로, ComfyUI에서 실행되는 것과 동일합니다 — URL에서 가져오거나, 버전 관리에 보관하거나, ComfyUI에서 불러와 노드별로 실행할 수 있습니다.
Comfy SDK로 TypeScript 또는 Python에서 실행하세요. 동일한 코드는 Comfy Cloud 또는 직접 호스팅하는 ComfyUI 모두에 적용됩니다 — 기본 URL만 다릅니다.
// Install (beta)
npm i @comfyorg/sdk
// Run "LTX-2 포즈 투 비디오" (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("video_ltx2_pose_to_video_api.json");
const asset = client.assets.fromFile("input.png");
wf.setInput("160", "image", asset); // LoadImage
const job = await client.run(wf);
await job.getOutputs("175")[0].toFile("output.png"); // SaveVideoSDK는 API 형식의 워크플로우를 사용합니다: 이 워크플로우를 ComfyUI에서 열고 파일 → 워크플로우 내보내기(API)를 사용하세요.
FAQ















