LTX-2.5: Image to Video
단일 이미지를 LTX-2.5로 비디오로 변환해, 업계 최고 수준의 픽셀 품질과 멀티샷 지원으로 캐릭터, 환경, 조명이 연결된 장면 전체에서 일관되게 유지되는 고품질 클립을 생성합니다. 시네마틱 제작, VFX 샷 생성, 빠른 로컬 비디오 생성이 필요한 콘텐츠 파이프라인에 적합합니다.
워크플로 내부
소스 템플릿의 읽기 전용 미리보기입니다. Cloud에서 열어 노드를 살펴보고 변경할 수 있습니다.
Loading the graph
Open full-size workflow preview코드에서 이 모델 호출하기
아래 요청은 Playground와 동일하게 준비된 그래프와 설정을 사용합니다. 제출할 때마다 유료 실행이 시작될 수 있으므로 결과를 알 수 없는 제출을 자동으로 재시도하지 마세요.
What you need
- Runs on
- Comfy Cloud
- 키
- COMFY_API_KEY
- 내 파일
- 코드가 해당 URL에서 업로드
유료 Cloud 요금제와 크레딧이 필요합니다.
# Python 3.10+: pip install comfy-sdk==0.4.0
import os
from comfy_sdk import Comfy
api_key = os.environ.get("COMFY_API_KEY", "").strip()
if not api_key: raise RuntimeError("Set COMFY_API_KEY")
os.environ.setdefault("COMFY_BASE_URL", "https://cloud.comfy.org")
client = Comfy(api_key=api_key)
workflow = client.workflows.from_json({
"75": {
"class_type": "SaveVideo",
"inputs": {
"filename_prefix": "video/LTX-2.5_i2v",
"format": "auto",
"format.codec": "auto",
"video": [
"398:370",
0
]
},
"_meta": {
"title": "Save Video"
}
},
"395": {
"class_type": "LoadImage",
"inputs": {
"image": "UPLOADED_image_FILENAME"
},
"_meta": {
"title": "Load First Frame"
}
},
"403": {
"class_type": "ResolutionSelector",
"inputs": {
"aspect_ratio": "16:9 (Widescreen)",
"megapixels": 0.9,
"multiple": 32
},
"_meta": {
"title": "Resolution Selector"
}
},
"398:338": {
"class_type": "RandomNoise",
"inputs": {
"noise_seed": 42
},
"_meta": {
"title": "RandomNoise"
}
},
"398:339": {
"class_type": "RandomNoise",
"inputs": {
"noise_seed": 72790129095462
},
"_meta": {
"title": "RandomNoise"
}
},
"398:340": {
"class_type": "LTXVConcatAVLatent",
"inputs": {
"audio_latent": [
"398:367",
1
],
"video_latent": [
"398:349",
0
]
},
"_meta": {
"title": "Concat AV Latent"
}
},
"398:341": {
"class_type": "KSamplerSelect",
"inputs": {
"sampler_name": "euler_ancestral"
},
"_meta": {
"title": "KSamplerSelect"
}
},
"398:344": {
"class_type": "SamplerCustomAdvanced",
"inputs": {
"guider": [
"398:388",
0
],
"latent_image": [
"398:377",
0
],
"noise": [
"398:339",
0
],
"sampler": [
"398:352",
0
],
"sigmas": [
"398:397",
0
]
},
"_meta": {
"title": "SamplerCustomAdvanced"
}
},
"398:348": {
"class_type": "LTXVLatentUpsampler",
"inputs": {
"samples": [
"398:367",
0
],
"upscale_model": [
"398:371",
0
],
"vae": [
"398:385",
0
]
},
"_meta": {
"title": "LTXVLatentUpsampler"
}
},
"398:349": {
"class_type": "LTXVImgToVideoInplace",
"inputs": {
"bypass": [
"398:363",
0
],
"image": [
"398:350",
0
],
"latent": [
"398:348",
0
],
"strength": 1,
"vae": [
"398:385",
0
]
},
"_meta": {
"title": "LTXVImgToVideoInplace"
}
},
"398:350": {
"class_type": "LTXVPreprocess",
"inputs": {
"image": [
"398:351",
0
],
"img_compression": 18
},
"_meta": {
"title": "LTXV Preprocess"
}
},
"398:351": {
"class_type": "ResizeImageMaskNode",
"inputs": {
"input": [
"395",
0
],
"resize_type": "scale longer dimension",
"resize_type.longer_size": 1536,
"scale_method": "lanczos"
},
"_meta": {
"title": "Resize Image/Mask"
}
},
"398:352": {
"class_type": "KSamplerSelect",
"inputs": {
"sampler_name": "euler_ancestral"
},
"_meta": {
"title": "KSamplerSelect"
}
},
"398:353": {
"class_type": "ComfyMathExpression",
"inputs": {
"expression": "a/2",
"values.a": [
"398:372",
0
]
},
"_meta": {
"title": "Math Expression"
}
},
"398:355": {
"class_type": "ComfyMathExpression",
"inputs": {
"expression": "a/2",
"values.a": [
"398:360",
0
]
},
"_meta": {
"title": "Math Expression"
}
},
"398:356": {
"class_type": "EmptyLTXVLatentVideo",
"inputs": {
"batch_size": 1,
"height": [
"398:355",
1
],
"length": [
"398:378",
1
],
"width": [
"398:353",
1
]
},
"_meta": {
"title": "Empty LTXV Latent Video"
}
},
"398:357": {
"class_type": "LTXVImgToVideoInplace",
"inputs": {
"bypass": [
"398:363",
0
],
"image": [
"398:350",
0
],
"latent": [
"398:356",
0
],
"strength": 0.7,
"vae": [
"398:385",
0
]
},
"_meta": {
"title": "LTXVImgToVideoInplace"
}
},
"398:358": {
"class_type": "LTXVAudioVAEDecode",
"inputs": {
"audio_vae": [
"398:386",
0
],
"samples": [
"398:369",
1
]
},
"_meta": {
"title": "LTXV Audio VAE Decode"
}
},
"398:359": {
"class_type": "ComfyMathExpression",
"inputs": {
"expression": "a",
"values.a": [
"398:361",
0
]
},
"_meta": {
"title": "Math Expression (fps)"
}
},
"398:360": {
"class_type": "PrimitiveInt",
"inputs": {
"value": [
"403",
1
]
},
"_meta": {
"title": "Height"
}
},
"398:361": {
"class_type": "PrimitiveInt",
"inputs": {
"value": 24
},
"_meta": {
"title": "Frame Rate"
}
},
"398:362": {
"class_type": "PrimitiveInt",
"inputs": {
"value": 5
},
"_meta": {
"title": "Duration"
}
},
"398:363": {
"class_type": "PrimitiveBoolean",
"inputs": {
"value": False
},
"_meta": {
"title": "Switch to Text to Video?"
}
},
"398:364": {
"class_type": "CLIPTextEncode",
"inputs": {
"clip": [
"398:387",
0
],
"text": [
"398:382",
0
]
},
"_meta": {
"title": "CLIP Text Encode (Prompt)"
}
},
"398:365": {
"class_type": "LTXVConditioning",
"inputs": {
"frame_rate": [
"398:359",
0
],
"negative": [
"398:373",
0
],
"positive": [
"398:364",
0
]
},
"_meta": {
"title": "LTXVConditioning"
}
},
"398:366": {
"class_type": "LTXVEmptyLatentAudio",
"inputs": {
"audio_vae": [
"398:386",
0
],
"batch_size": 1,
"frame_rate": [
"398:359",
1
],
"frames_number": [
"398:378",
1
]
},
"_meta": {
"title": "Empty LTXV Latent Audio"
}
},
"398:367": {
"class_type": "LTXVSeparateAVLatent",
"inputs": {
"av_latent": [
"398:344",
0
]
},
"_meta": {
"title": "Separate AV Latent"
}
},
"398:368": {
"class_type": "SamplerCustomAdvanced",
"inputs": {
"guider": [
"398:391",
0
],
"latent_image": [
"398:340",
0
],
"noise": [
"398:338",
0
],
"sampler": [
"398:341",
0
],
"sigmas": [
"398:396",
0
]
},
"_meta": {
"title": "SamplerCustomAdvanced"
}
},
"398:369": {
"class_type": "LTXVSeparateAVLatent",
"inputs": {
"av_latent": [
"398:368",
0
]
},
"_meta": {
"title": "Separate AV Latent"
}
},
"398:370": {
"class_type": "CreateVideo",
"inputs": {
"audio": [
"398:358",
0
],
"bit_depth": 8,
"codec": "none",
"color_space": "sRGB",
"fps": [
"398:359",
0
],
"images": [
"398:374",
0
]
},
"_meta": {
"title": "Create Video"
}
},
"398:371": {
"class_type": "LatentUpscaleModelLoader",
"inputs": {
"model_name": "ltx-2.5-latent-spatial-upscaler-x2-bf16-1.0.safetensors"
},
"_meta": {
"title": "Load Latent Upscale Model"
}
},
"398:372": {
"class_type": "PrimitiveInt",
"inputs": {
"value": [
"403",
0
]
},
"_meta": {
"title": "Width"
}
},
"398:373": {
"class_type": "CLIPTextEncode",
"inputs": {
"clip": [
"398:387",
0
],
"text": "pc game, console game, video game, cartoon, childish, ugly"
},
"_meta": {
"title": "CLIP Text Encode (Prompt)"
}
},
"398:374": {
"class_type": "VAEDecodeTiled",
"inputs": {
"overlap": 64,
"samples": [
"398:369",
0
],
"temporal_overlap": 32,
"temporal_size": 4096,
"tile_size": 768,
"vae": [
"398:385",
0
]
},
"_meta": {
"title": "VAE Decode (Tiled)"
}
},
"398:376": {
"class_type": "PrimitiveStringMultiline",
"inputs": {
"value": "Use the provided start image as the first frame. The large moth resting on the bridge of the person's nose slowly opens and closes its patterned wings, the eyespots catching the golden light, its fuzzy antennae twitching. The person breathes calmly, then blinks once and turns their head a few degrees toward the camera, a faint glow pulsing in the amber lens flare that streaks from the corner of the eye across the darkness. Tiny golden dust motes drift through the beam. The camera starts in a medium close-up and makes a slow, smooth push-in toward the face, settling on the moth's wings and the person's steady gaze. Hard side light rakes across the gold-tinted skin, showing fine texture. Soft ambient hum, the faint flutter of wings. Surreal, cinematic, intimate."
},
"_meta": {
"title": "Prompt"
}
},
"398:377": {
"class_type": "LTXVConcatAVLatent",
"inputs": {
"audio_latent": [
"398:366",
0
],
"video_latent": [
"398:357",
0
]
},
"_meta": {
"title": "Concat AV Latent"
}
},
"398:378": {
"class_type": "ComfyMathExpression",
"inputs": {
"expression": "a * b + 1",
"values.a": [
"398:362",
0
],
"values.b": [
"398:361",
0
]
},
"_meta": {
"title": "Math Expression (length)"
}
},
"398:380": {
"class_type": "TextGenerateLTX2Prompt",
"inputs": {
"clip": [
"398:393",
0
],
"image": [
"398:350",
0
],
"max_length": 600,
"mtp": "auto",
"prompt": [
"398:376",
0
],
"sampling_mode": "on",
"sampling_mode.min_p": 0.05,
"sampling_mode.presence_penalty": 0,
"sampling_mode.repetition_penalty": 1.15,
"sampling_mode.seed": 0,
"sampling_mode.temperature": 0.7,
"sampling_mode.top_k": 64,
"sampling_mode.top_p": 0.95,
"thinking": False,
"use_default_template": True
},
"_meta": {
"title": "Generate LTX2 Prompt"
}
},
"398:381": {
"class_type": "PreviewAny",
"inputs": {
"source": [
"398:382",
0
]
},
"_meta": {
"title": "Preview as Text"
}
},
"398:382": {
"class_type": "ComfySwitchNode",
"inputs": {
"on_false": [
"398:376",
0
],
"on_true": [
"398:380",
0
],
"switch": [
"398:383",
0
]
},
"_meta": {
"title": "If/Else Switch"
}
},
"398:383": {
"class_type": "PrimitiveBoolean",
"inputs": {
"value": True
},
"_meta": {
"title": "Boolean (Enable Prompt Enhance)"
}
},
"398:384": {
"class_type": "UNETLoader",
"inputs": {
"unet_name": "ltx-2.5-22b-distilled-transformer-comfy-int8-convrot.safetensors",
"weight_dtype": "default"
},
"_meta": {
"title": "Load Diffusion Model"
}
},
"398:385": {
"class_type": "VAELoader",
"inputs": {
"vae_name": "ltx-2.5-video-vae-bf16.safetensors"
},
"_meta": {
"title": "Load VAE"
}
},
"398:386": {
"class_type": "VAELoader",
"inputs": {
"vae_name": "ltx-2.5-audio-vae-bf16.safetensors"
},
"_meta": {
"title": "Load VAE"
}
},
"398:387": {
"class_type": "CLIPLoader",
"inputs": {
"clip_name": "gemma4-12b-with-proj-ltx-2.5-comfy-int8-convrot.safetensors",
"device": "default",
"type": "ltxv"
},
"_meta": {
"title": "Load CLIP"
}
},
"398:388": {
"class_type": "LTXVDualCFGGuider",
"inputs": {
"audio_cfg": 1,
"model": [
"398:384",
0
],
"negative": [
"398:365",
1
],
"positive": [
"398:365",
0
],
"video_cfg": 1
},
"_meta": {
"title": "LTXV Dual CFG Guider"
}
},
"398:391": {
"class_type": "LTXVDualCFGGuider",
"inputs": {
"audio_cfg": 1,
"model": [
"398:384",
0
],
"negative": [
"398:365",
1
],
"positive": [
"398:365",
0
],
"video_cfg": 1
},
"_meta": {
"title": "LTXV Dual CFG Guider"
}
},
"398:393": {
"class_type": "CLIPLoader",
"inputs": {
"clip_name": "gemma4_e2b_it_bf16.safetensors",
"device": "default",
"type": "ltxv"
},
"_meta": {
"title": "Load CLIP"
}
},
"398:396": {
"class_type": "ManualSigmas",
"inputs": {
"sigmas": "0.85, 0.7250, 0.4219, 0.0"
},
"_meta": {
"title": "ManualSigmas"
}
},
"398:397": {
"class_type": "ManualSigmas",
"inputs": {
"sigmas": "1.0, 0.99375, 0.9875, 0.98125, 0.975, 0.909375, 0.725, 0.421875, 0.0"
},
"_meta": {
"title": "ManualSigmas"
}
}
})
workflow.set_input("395", "image", client.assets.from_url("https://comfy.org/catalog-media/c7c6e297-c2be-4973-b40d-6e5b81b8790c/fc248d53-6694-4fa1-a96f-02529c17a9fe"))
# run() also passes api_key to the partner nodes in this workflow.
job = client.run(workflow, api_key=api_key)
for output in job.get_outputs("75"):
output.to_file(output.name)예시 사용해 보기
이 워크플로 정보
이 ComfyUI 워크플로는 Lightricks의 오픈 비디오 생성 모델 LTX-2.5를 사용해 단일 스틸 이미지를 부드럽고 선명도가 높은 비디오로 변환합니다. 파이프라인은 의도적으로 단순하고 제작 중심으로 구성되어 있습니다. LoadImage가 소스 프레임을 가져오고, ResolutionSelector가 모델 친화적인 크기(32의 배수)와 종횡비를 고정하며, LTX-2.5 생성 노드(UUID: 6e397a2b-68f7-48f6-8930-f3a5491a163c)가 일관된 모션 시퀀스를 합성하고, SaveVideo가 프레임을 바로 사용 가능한 MP4로 인코딩합니다. 그래프의 MarkdownNote는 UI 내 가이드와 링크를 제공합니다.
내부적으로 LTX-2.5는 키프레임 우선의 "Pixel Diffusion" 접근법을 사용해 시간 축 전반에서 디테일과 구조를 일관되게 전파합니다. 이를 통해 소스 이미지의 대상 정체성, 조명, 장면 구도를 유지하면서 제어 가능한 모션을 추가하는 데 도움이 됩니다. ResolutionSelector는 선택한 16:9 크기가 모델 스트라이드(32의 배수)에 맞도록 보장하는데, 이는 안정성과 VRAM 효율에 중요합니다. 로컬에서 실행되므로 빠르게 반복할 수 있고, 재생 시간(프레임/fps)을 조정하며 모션 강도를 튜닝해 프리비주얼, VFX 룩 개발, 콘텐츠 파이프라인 요구에 맞출 수 있습니다.
질문과 답변
LTX-2.5(다수의 디퓨전 모델과 마찬가지로)는 스트라이드에 맞춘 크기에서 동작합니다. 32의 배수를 사용하면 내부 패딩/리사이즈 아티팩트를 방지하고 안정성을 높이며 VRAM 효율도 좋아집니다. ResolutionSelector 노드는 유효한 16:9 크기(예: ~0.6 MP의 1056x608)를 선택하는 데 도움이 됩니다.
클립 재생 시간은 프레임 ÷ FPS입니다(예: 24 FPS에서 96 프레임 ≈ 4초). 렌더 시간과 메모리는 해상도, 프레임 수, 모션 복잡도에 따라 증가합니다. 적당한 설정(예: 0.6~0.8 MP, 64~96 프레임, 16~24 FPS)으로 시작한 뒤 VRAM과 반복 시간 여유에 맞춰 늘리세요.
대상이 선명하고 조명이 명확한 깨끗한 고해상도 소스 이미지를 사용하세요. 출력 해상도를 스트라이드 정렬로 유지하고, 더 보수적인 움직임을 원하면 모션 강도를 낮추며, 모션을 적당히 유지한 상태에서 FPS를 올리는 것도 도움이 됩니다. 원치 않는 아티팩트가 보이면 시드를 변경해 보세요. 몇 번의 시도 후 안정성이 개선되는 경우가 많습니다.
이 템플릿은 단일 이미지-비디오 클립에 초점을 맞춥니다. LTX-2.5는 샷 간에도 일관된 스타일과 정체성을 유지하도록 설계되었지만, ComfyUI에서 멀티샷 타임라인을 만들려면 Subgraph로 이 블록을 복제해 각 샷을 렌더링하고, 에디터(또는 별도 결합 단계)에서 결과 클립을 이어 붙이세요.