LTX-Video Support for ComfyUI
Python comfyuidiffusion-modelsditimage-to-videoimage-to-video-generationtext-to-imagetext-to-image-generation
Automated PR - 2025-05-06
sync-bot864ffa6183ba
diff --git a/README.md b/README.mdindex 81c7717..90bfdf9 100644--- a/README.md+++ b/README.md@@ -4,6 +4,38 @@ ComfyUI-LTXVideo is a collection of custom nodes for ComfyUI, designed to providThe model itself is supported in the core ComfyUI [code](https://github.com/comfyanonymous/ComfyUI/tree/master/comfy/ldm/lightricks).The main LTXVideo repository can be found [here](https://github.com/Lightricks/LTX-Video).+# ⭐ 06.05.2025 – LTXVideo 13B 0.9.7 Release ⭐++### 🚀 What's New in LTXVideo 13B 0.9.7++1. **LTXV 13B 0.9.7**+ Delivers cinematic-quality videos at unprecedented speed.<br>+ 👉 [Download here](https://huggingface.co/Lightricks/LTX-Video/blob/main/ltxv-13b-0.9.7-dev.safetensors)++2. **LTXV 13B Quantized 0.9.7**+ Offers reduced memory requirements and even faster inference speeds.+ Ideal for consumer-grade GPUs (e.g., NVIDIA 4090, 5090).+ Delivers outstanding quality with improved performance.<br>+ ***Important:*** In order to run the quantized version please install [LTXVideo-Q8-Kernels](https://github.com/Lightricks/LTXVideo-Q8-Kernels) package and use dedicated flow below. Loading the model in Comfy with LoadCheckpoint node won't work. <br>+ 👉 [Download here](https://huggingface.co/Lightricks/LTX-Video/blob/main/ltxv-13b-0.9.7-dev-fp8.safetensors)<br>+ 🧩 Example ComfyUI flow available in the [Example Workflows](#example-workflows) section.++3. **Latent Upscaling Models**+ Enables inference across multiple scales by upscaling latent tensors without decoding/encoding.+ Multiscale inference delivers high-quality results in a fraction of the time compared to similar models.<br>+ ***Important:*** Make sure you put the models below in **models/upscale_models** folder.<br>+ 👉 Spatial upscaling: [Download here](https://huggingface.co/Lightricks/LTX-Video/blob/main/ltxv-spatial-upscaler-0.9.7.safetensors).<br>+ 👉 Temporal upscaling: [Download here](https://huggingface.co/Lightricks/LTX-Video/blob/main/ltxv-temporal-upscaler-0.9.7.safetensors).<br>+ 🧩 Example ComfyUI flow available in the [Example Workflows](#example-workflows) section.+++### Technical Updates++1. ***New simplified flows and nodes***<br>+1.1. Simplified image to video: [Download here](example_workflows/ltxv-13b-i2v-base.json).<br>+1.2. Simplified image to video with extension: [Download here](example_workflows/ltxv-13b-i2v-extend.json).<br>+1.3. Simplified image to video with keyframes: [Download here](example_workflows/ltxv-13b-i2v-keyframes.json).<br>+# 17.04.2025 ⭐ LTXVideo 0.9.6 Release ⭐### LTXVideo 0.9.6 introduces:@@ -49,7 +81,7 @@ Fixed a bug which caused the model to produce artifacts on short negative prompt2. STG support3. Integrated image degradation system for improved motion generation.4. Additional initial latent optional input to chain latents for high res generation.-5. Image captioning in image to video [flow](assets/ltxvideo-i2v.json).+5. Image captioning in image to video [flow](example_workflows/ltxvideo-i2v.json).## Installation@@ -80,41 +112,21 @@ For portable ComfyUI installations, runNote that to run the example workflows, you need to have some additional custom nodes, like [ComfyUI-VideoHelperSuite](https://github.com/kosinkadink/ComfyUI-VideoHelperSuite) and others, installed. You can do it by pressing "Install Missing Custom Nodes" button in ComfyUI Manager.-### Image-to-video--[Download workflow](assets/ltxvideo-i2v.json)---### Image-to-video-distilled-[Download workflow](assets/ltxvideo-i2v-distilled.json)---### Text-to-video--[Download workflow](assets/ltxvideo-t2v.json)---### Frame Interpolation--[Download workflow](assets/ltxvideo-frame-interpolation.json)---### First Sequence Conditioning--[Download workflow](assets/ltxvideo-first-sequence-conditioning.json)-+### Easy to use multi scale generation workflows-### Last Sequence Conditioning+🧩 [Image to video](example_worfklows/ltxv-13b-i2v-base.json)<br>+🧩 [Image to video with keyframes](example_worfklows/ltxv-13b-i2v-keyframes.json)<br>+🧩 [Image to video with duration extension](example_worfklows/ltxv-13b-i2v-extend.json)<br>+🧩 [Image to video 8b quantized](example_worfklows/ltxv-13b-i2v-base-fp8.json)-[Download workflow](assets/ltxvideo-last-sequence-conditioning.json)-+### Inversion-### Flow Edit+#### Flow Edit-[Download workflow](tricks/assets/ltxvideo-flow-edit.json)-+🧩 [Download workflow](example_workflows/tricks/ltxvideo-flow-edit.json)<br>+-### RF Edit+#### RF Edit-[Download workflow](tricks/assets/ltxvideo-rf-edit.json)-+🧩 [Download workflow](example_workflows/tricks/ltxvideo-rf-edit.json)<br>+diff --git a/__init__.py b/__init__.pyindex 42aa9e3..c97ed6e 100644--- a/__init__.py+++ b/__init__.py@@ -1,14 +1,27 @@+from .decoder_noise import DecoderNoise # noqa: F401+from .easy_samplers import LTXVBaseSampler # noqa: F401+from .film_grain import LTXVFilmGrain # noqa: F401+from .guide import LTXVAddGuideAdvanced # noqa: F401+from .latent_adain import LTXVAdainLatent # noqa: F401+from .latent_upsampler import LTXVLatentUpsampler # noqa: F401from .latents import LTXVSelectLatents, LTXVSetVideoLatentNoiseMasks # noqa: F401from .nodes_registry import NODE_CLASS_MAPPINGS, NODE_DISPLAY_NAME_MAPPINGSfrom .prompt_enhancer_nodes import ( # noqa: F401LTXVPromptEnhancer,LTXVPromptEnhancerLoader,)+from .q8_nodes import LTXVQ8Patch # noqa: F401from .recurrent_sampler import ( # noqa: F401LinearOverlapLatentTransition,LTXVRecurrentKSampler,)-from .stg import LTXVApplySTG, STGGuiderAdvancedNode, STGGuiderNode # noqa: F401+from .stg import ( # noqa: F401+ LTXVApplySTG,+ STGAdvancedPresetsNode,+ STGGuiderAdvancedNode,+ STGGuiderNode,+)+from .tiled_sampler import LTXVTiledSampler # noqa: F401from .tricks import NODE_CLASS_MAPPINGS as TRICKS_NODE_CLASS_MAPPINGSfrom .tricks import NODE_DISPLAY_NAME_MAPPINGS as TRICKS_NODE_DISPLAY_NAME_MAPPINGS@@ -17,4 +30,7 @@ NODE_CLASS_MAPPINGS.update(TRICKS_NODE_CLASS_MAPPINGS)NODE_DISPLAY_NAME_MAPPINGS.update(TRICKS_NODE_DISPLAY_NAME_MAPPINGS)# Export so that ComfyUI can pick them up.-__all__ = ["NODE_CLASS_MAPPINGS", "NODE_DISPLAY_NAME_MAPPINGS"]+__all__ = [+ "NODE_CLASS_MAPPINGS",+ "NODE_DISPLAY_NAME_MAPPINGS",+]diff --git a/assets/ltxvideo-first-sequence-conditioning.png b/assets/ltxvideo-first-sequence-conditioning.pngdeleted file mode 100644index c43a999..0000000--- a/assets/ltxvideo-first-sequence-conditioning.png+++ /dev/null@@ -1,3 +0,0 @@-version https://git-lfs.github.com/spec/v1-oid sha256:7899cb4e0e23f2439cc489b1ed6191eef91e91dbefdcb2c4c29545d5a8cd6c3a-size 1292625diff --git a/assets/ltxvideo-frame-interpolation.png b/assets/ltxvideo-frame-interpolation.pngdeleted file mode 100644index f56e410..0000000--- a/assets/ltxvideo-frame-interpolation.png+++ /dev/null@@ -1,3 +0,0 @@-version https://git-lfs.github.com/spec/v1-oid sha256:77d9f98afa1a5711fade39a6fa08b9c3eab8c439c3727f522bae639bee11cf0a-size 1380444diff --git a/assets/ltxvideo-i2v-distilled.png b/assets/ltxvideo-i2v-distilled.pngdeleted file mode 100644index ffaff0b..0000000--- a/assets/ltxvideo-i2v-distilled.png+++ /dev/null@@ -1,3 +0,0 @@-version https://git-lfs.github.com/spec/v1-oid sha256:0b981ed68d5f4a25e48daf31cf4cf0e156bee27b75730dd5fd213bfb805d1c8d-size 1342913diff --git a/assets/ltxvideo-i2v.png b/assets/ltxvideo-i2v.pngdeleted file mode 100644index f2e46d1..0000000--- a/assets/ltxvideo-i2v.png+++ /dev/null@@ -1,3 +0,0 @@-version https://git-lfs.github.com/spec/v1-oid sha256:5cb7cbf30c7ad19dda71322c40e7a471697350b6ec6b17c8ab14654dad18b909-size 1142742diff --git a/assets/ltxvideo-last-sequence-conditioning.png b/assets/ltxvideo-last-sequence-conditioning.pngdeleted file mode 100644index a5b92b9..0000000--- a/assets/ltxvideo-last-sequence-conditioning.png+++ /dev/null@@ -1,3 +0,0 @@-version https://git-lfs.github.com/spec/v1-oid sha256:006feae06d8679de9175eae516bf0919b273745859bb045b3d229329a34084fb-size 1160850diff --git a/assets/ltxvideo-t2v.png b/assets/ltxvideo-t2v.pngdeleted file mode 100644index 8fad809..0000000--- a/assets/ltxvideo-t2v.png+++ /dev/null@@ -1,3 +0,0 @@-version https://git-lfs.github.com/spec/v1-oid sha256:7a4f2fe897fd955633099a429aa73bccc2e6007627a3e1bf419b4b8db67bce80-size 817453diff --git a/decoder_noise.py b/decoder_noise.pynew file mode 100644index 0000000..4dff6f7--- /dev/null+++ b/decoder_noise.py@@ -0,0 +1,57 @@+from copy import copy++from .nodes_registry import comfy_node+++@comfy_node(name="Set VAE Decoder Noise")+class DecoderNoise:+ @classmethod+ def INPUT_TYPES(cls):+ return {+ "required": {+ "vae": ("VAE",),+ "timestep": (+ "FLOAT",+ {+ "default": 0.05,+ "min": 0.0,+ "max": 1.0,+ "step": 0.001,+ "tooltip": "The timestep used for decoding the noise.",+ },+ ),+ "scale": (+ "FLOAT",+ {+ "default": 0.025,+ "min": 0.0,+ "max": 1.0,+ "step": 0.001,+ "tooltip": "The scale of the noise added to the decoder.",+ },+ ),+ "seed": (+ "INT",+ {+ "default": 42,+ "min": 0,+ "max": 0xFFFFFFFFFFFFFFFF,+ "tooltip": "The random seed used for creating the noise.",+ },+ ),+ }+ }++ FUNCTION = "add_noise"+ RETURN_TYPES = ("VAE",)+ CATEGORY = "lightricks/LTXV"++ def add_noise(self, vae, timestep, scale, seed):+ result = copy(vae)+ if hasattr(result, "first_stage_model"):+ result.first_stage_model.decode_timestep = timestep+ result.first_stage_model.decode_noise_scale = scale+ result._decode_timestep = timestep+ result.decode_noise_scale = scale+ result.seed = seed+ return (result,)diff --git a/easy_samplers.py b/easy_samplers.pynew file mode 100644index 0000000..b81a97a--- /dev/null+++ b/easy_samplers.py@@ -0,0 +1,296 @@+import copy++import comfy+import comfy_extras+import nodes+from comfy_extras.nodes_custom_sampler import SamplerCustomAdvanced+from comfy_extras.nodes_lt import (+ EmptyLTXVLatentVideo,+ LTXVAddGuide,+ LTXVCropGuides,+ LTXVImgToVideo,+)++from .guide import blur_internal+from .latents import LTXVAddLatentGuide, LTXVSelectLatents+from .nodes_registry import comfy_node+from .recurrent_sampler import LinearOverlapLatentTransition+++@comfy_node(+ name="LTXVBaseSampler",+)+class LTXVBaseSampler:++ @classmethod+ def INPUT_TYPES(s):+ return {+ "required": {+ "model": ("MODEL",),+ "vae": ("VAE",),+ "width": (+ "INT",+ {+ "default": 768,+ "min": 64,+ "max": nodes.MAX_RESOLUTION,+ "step": 32,+ },+ ),+ "height": (+ "INT",+ {+ "default": 512,+ "min": 64,+ "max": nodes.MAX_RESOLUTION,+ "step": 32,+ },+ ),+ "num_frames": (+ "INT",+ {"default": 97, "min": 1, "max": nodes.MAX_RESOLUTION, "step": 8},+ ),+ "guider": ("GUIDER",),+ "sampler": ("SAMPLER",),+ "sigmas": ("SIGMAS",),+ "noise": ("NOISE",),+ },+ "optional": {+ "optional_cond_images": ("IMAGE",),+ "optional_cond_indices": ("STRING",),+ "strength": ("FLOAT", {"default": 0.9, "min": 0, "max": 1}),+ "crop": (["center", "disabled"], {"default": "disabled"}),+ "crf": ("INT", {"default": 35, "min": 0, "max": 100}),+ "blur": ("INT", {"default": 0, "min": 0, "max": 10}),+ },+ }++ RETURN_TYPES = ("LATENT",)+ RETURN_NAMES = ("denoised_output",)+ FUNCTION = "sample"+ CATEGORY = "sampling"++ def sample(+ self,+ model,+ vae,+ width,+ height,+ num_frames,+ guider,+ sampler,+ sigmas,+ noise,+ optional_cond_images=None,+ optional_cond_indices=None,+ strength=0.9,+ crop="disabled",+ crf=35,+ blur=0,+ ):++ if optional_cond_images is not None:+ optional_cond_images = comfy.utils.common_upscale(+ optional_cond_images.movedim(-1, 1), width, height, "bicubic", crop=crop+ ).movedim(1, -1)+ print("optional_cond_images shape", optional_cond_images.shape)+ optional_cond_images = comfy_extras.nodes_lt.LTXVPreprocess().preprocess(+ optional_cond_images, crf+ )[0]+ for i in range(optional_cond_images.shape[0]):+ optional_cond_images[i] = blur_internal(+ optional_cond_images[i].unsqueeze(0), blur+ )++ if optional_cond_indices is not None and optional_cond_images is not None:+ optional_cond_indices = optional_cond_indices.split(",")+ optional_cond_indices = [int(i) for i in optional_cond_indices]+ assert len(optional_cond_indices) == len(+ optional_cond_images+ ), "Number of optional cond images must match number of optional cond indices"++ try:+ positive, negative = guider.raw_conds+ except AttributeError:+ raise ValueError(+ "Guider does not have raw conds, cannot use it as a guider. "+ "Please use STGGuiderAdvanced."+ )++ if optional_cond_images is None:+ (latents,) = EmptyLTXVLatentVideo().generate(width, height, num_frames, 1)+ elif optional_cond_images.shape[0] == 1 and optional_cond_indices[0] == 0:+ (+ positive,+ negative,+ latents,+ ) = LTXVImgToVideo().generate(+ positive=positive,+ negative=negative,+ vae=vae,+ image=optional_cond_images[0].unsqueeze(0),+ width=width,+ height=height,+ length=num_frames,+ batch_size=1,+ strength=strength,+ )+ else:+ (latents,) = EmptyLTXVLatentVideo().generate(width, height, num_frames, 1)+ for cond_image, cond_idx in zip(+ optional_cond_images, optional_cond_indices+ ):+ (+ positive,+ negative,+ latents,+ ) = LTXVAddGuide().generate(+ positive=positive,+ negative=negative,+ vae=vae,+ latent=latents,+ image=cond_image.unsqueeze(0),+ frame_idx=cond_idx,+ strength=strength,+ )++ guider = copy.copy(guider)+ guider.set_conds(positive, negative)++ # Denoise the latent video+ (output_latents, denoised_output_latents) = SamplerCustomAdvanced().sample(+ noise=noise,+ guider=guider,+ sampler=sampler,+ sigmas=sigmas,+ latent_image=latents,+ )++ # Clean up guides if image conditioning was used+ print("before guide crop", denoised_output_latents["samples"].shape)+ positive, negative, denoised_output_latents = LTXVCropGuides().crop(+ positive=positive,+ negative=negative,+ latent=denoised_output_latents,+ )+ print("after guide crop", denoised_output_latents["samples"].shape)++ return (denoised_output_latents,)+++@comfy_node(+ name="LTXVExtendSampler",+)+class LTXVExtendSampler:++ @classmethod+ def INPUT_TYPES(s):+ return {+ "required": {+ "model": ("MODEL",),+ "vae": ("VAE",),+ "latents": ("LATENT",),+ "num_new_frames": (+ "INT",+ {"default": 80, "min": 8, "max": nodes.MAX_RESOLUTION, "step": 8},+ ),+ "frame_overlap": (+ "INT",+ {"default": 16, "min": 16, "max": 128, "step": 8},+ ),+ "guider": ("GUIDER",),+ "sampler": ("SAMPLER",),+ "sigmas": ("SIGMAS",),+ "noise": ("NOISE",),+ },+ }++ RETURN_TYPES = ("LATENT",)+ RETURN_NAMES = ("denoised_output",)+ FUNCTION = "sample"+ CATEGORY = "sampling"++ def sample(+ self,+ model,+ vae,+ latents,+ num_new_frames,+ frame_overlap,+ guider,+ sampler,+ sigmas,+ noise,+ ):++ try:+ positive, negative = guider.raw_conds+ except AttributeError:+ raise ValueError(+ "Guider does not have raw conds, cannot use it as a guider. "+ "Please use STGGuiderAdvanced."+ )++ samples = latents["samples"]+ batch, channels, frames, height, width = samples.shape+ time_scale_factor, width_scale_factor, height_scale_factor = (+ vae.downscale_index_formula+ )+ overlap = frame_overlap // time_scale_factor++ (last_overlap_latents,) = LTXVSelectLatents().select_latents(+ latents, -overlap, -1+ )++ new_latents = EmptyLTXVLatentVideo().generate(+ width=width * width_scale_factor,+ height=height * height_scale_factor,+ length=overlap * time_scale_factor + num_new_frames,+ batch_size=1,+ )[0]+ print("new_latents shape: ", new_latents["samples"].shape)+ (+ positive,+ negative,+ new_latents,+ ) = LTXVAddLatentGuide().generate(+ vae=vae,+ positive=positive,+ negative=negative,+ latent=new_latents,+ guiding_latent=last_overlap_latents,+ latent_idx=0,+ strength=1.0,+ )++ guider = copy.copy(guider)+ guider.set_conds(positive, negative)++ # Denoise the latent video+ (output_latents, denoised_output_latents) = SamplerCustomAdvanced().sample(+ noise=noise,+ guider=guider,+ sampler=sampler,+ sigmas=sigmas,+ latent_image=new_latents,+ )++ # Clean up guides if image conditioning was used+ print("before guide crop", denoised_output_latents["samples"].shape)+ positive, negative, denoised_output_latents = LTXVCropGuides().crop(+ positive=positive,+ negative=negative,+ latent=denoised_output_latents,+ )+ print("after guide crop", denoised_output_latents["samples"].shape)++ # drop first output latent as it's a reinterpreted 8-frame latent understood as a 1-frame latent+ truncated_denoised_output_latents = LTXVSelectLatents().select_latents(+ denoised_output_latents, 1, -1+ )[0]+ # Fuse new frames with old ones by calling LinearOverlapLatentTransition+ (latents,) = LinearOverlapLatentTransition().process(+ latents, truncated_denoised_output_latents, overlap - 1, axis=2+ )+ print("latents shape after linear overlap blend: ", latents["samples"].shape)+ return (latents,)diff --git a/assets/end.jpg b/example_workflows/low_level/end.jpgsimilarity index 100%rename from assets/end.jpgrename to example_workflows/low_level/end.jpgdiff --git a/assets/fox.jpg b/example_workflows/low_level/fox.jpgsimilarity index 100%rename from assets/fox.jpgrename to example_workflows/low_level/fox.jpgdiff --git a/assets/jeep.mp4 b/example_workflows/low_level/jeep.mp4similarity index 100%rename from assets/jeep.mp4rename to example_workflows/low_level/jeep.mp4diff --git a/assets/ltxvideo-first-sequence-conditioning.json b/example_workflows/low_level/ltxvideo-first-sequence-conditioning.jsonsimilarity index 69%rename from assets/ltxvideo-first-sequence-conditioning.jsonrename to example_workflows/low_level/ltxvideo-first-sequence-conditioning.jsonindex 6886662..6ebc174 100644--- a/assets/ltxvideo-first-sequence-conditioning.json+++ b/example_workflows/low_level/ltxvideo-first-sequence-conditioning.json@@ -1,54 +1,9 @@{- "last_node_id": 213,- "last_link_id": 583,+ "id": "cc2b03f6-2870-4524-85bb-e3ea9a4c6620",+ "revision": 0,+ "last_node_id": 215,+ "last_link_id": 595,"nodes": [- {- "id": 71,- "type": "LTXVScheduler",- "pos": [- 830.806396484375,- 288.2064208984375- ],- "size": [- 315,- 154- ],- "flags": {},- "order": 19,- "mode": 0,- "inputs": [- {- "name": "latent",- "localized_name": "latent",- "type": "LATENT",- "shape": 7,- "link": 564- }- ],- "outputs": [- {- "name": "SIGMAS",- "localized_name": "SIGMAS",- "type": "SIGMAS",- "links": [- 542- ],- "slot_index": 0- }- ],- "properties": {- "Node name for S&R": "LTXVScheduler",- "cnr_id": "comfy-core",- "ver": "0.3.19"- },- "widgets_values": [- 20,- 2.05,- 0.95,- true,- 0.1- ]- },{"id": 69,"type": "LTXVConditioning",@@ -61,40 +16,49 @@78],"flags": {},- "order": 16,+ "order": 17,"mode": 0,"inputs": [{- "name": "positive","localized_name": "positive",+ "name": "positive","type": "CONDITIONING","link": 266},{- "name": "negative","localized_name": "negative",+ "name": "negative","type": "CONDITIONING","link": 267+ },+ {+ "localized_name": "frame_rate",+ "name": "frame_rate",+ "type": "FLOAT",+ "widget": {+ "name": "frame_rate"+ },+ "link": null}],"outputs": [{- "name": "positive","localized_name": "positive",+ "name": "positive","type": "CONDITIONING",+ "slot_index": 0,"links": [- 556- ],- "slot_index": 0+ 589+ ]},{- "name": "negative","localized_name": "negative",+ "name": "negative","type": "CONDITIONING",+ "slot_index": 1,"links": [- 557- ],- "slot_index": 1+ 588+ ]}],"properties": {@@ -106,42 +70,6 @@25]},- {- "id": 190,- "type": "RandomNoise",- "pos": [- 831.1925048828125,- -140.77906799316406- ],- "size": [- 315,- 82- ],- "flags": {},- "order": 0,- "mode": 0,- "inputs": [],- "outputs": [- {- "name": "NOISE",- "localized_name": "NOISE",- "type": "NOISE",- "links": [- 540- ],- "slot_index": 0- }- ],- "properties": {- "Node name for S&R": "RandomNoise",- "cnr_id": "comfy-core",- "ver": "0.3.19"- },- "widgets_values": [- 43,- "fixed"- ]- },{"id": 199,"type": "LTXVPromptEnhancerLoader",@@ -154,18 +82,37 @@82],"flags": {},- "order": 1,+ "order": 0,"mode": 0,- "inputs": [],+ "inputs": [+ {+ "localized_name": "llm_name",+ "name": "llm_name",+ "type": "STRING",+ "widget": {+ "name": "llm_name"+ },+ "link": null+ },+ {+ "localized_name": "image_captioner_name",+ "name": "image_captioner_name",+ "type": "STRING",+ "widget": {+ "name": "image_captioner_name"+ },+ "link": null+ }+ ],"outputs": [{- "name": "prompt_enhancer","localized_name": "prompt_enhancer",+ "name": "prompt_enhancer","type": "LTXV_PROMPT_ENHANCER",+ "slot_index": 0,"links": [538- ],- "slot_index": 0+ ]}],"properties": {@@ -187,22 +134,51 @@],"size": [315,- 98+ 106],"flags": {},- "order": 2,+ "order": 1,"mode": 0,- "inputs": [],+ "inputs": [+ {+ "localized_name": "clip_name",+ "name": "clip_name",+ "type": "COMBO",+ "widget": {+ "name": "clip_name"+ },+ "link": null+ },+ {+ "localized_name": "type",+ "name": "type",+ "type": "COMBO",+ "widget": {+ "name": "type"+ },+ "link": null+ },+ {+ "localized_name": "device",+ "name": "device",+ "shape": 7,+ "type": "COMBO",+ "widget": {+ "name": "device"+ },+ "link": null+ }+ ],"outputs": [{- "name": "CLIP","localized_name": "CLIP",+ "name": "CLIP","type": "CLIP",+ "slot_index": 0,"links": [74,75- ],- "slot_index": 0+ ]}],"properties": {@@ -230,16 +206,17 @@"flags": {"collapsed": true},- "order": 13,+ "order": 14,"mode": 0,"inputs": [{- "name": "clip","localized_name": "clip",+ "name": "clip","type": "CLIP","link": 74},{+ "localized_name": "text","name": "text","type": "STRING","widget": {@@ -250,13 +227,13 @@],"outputs": [{- "name": "CONDITIONING","localized_name": "CONDITIONING",+ "name": "CONDITIONING","type": "CONDITIONING",+ "slot_index": 0,"links": [266- ],- "slot_index": 0+ ]}],"title": "CLIP Text Encode (Positive Prompt)",@@ -285,25 +262,34 @@"flags": {"collapsed": true},- "order": 8,+ "order": 9,"mode": 0,"inputs": [{- "name": "clip","localized_name": "clip",+ "name": "clip","type": "CLIP","link": 75+ },+ {+ "localized_name": "text",+ "name": "text",+ "type": "STRING",+ "widget": {+ "name": "text"+ },+ "link": null}],"outputs": [{- "name": "CONDITIONING","localized_name": "CONDITIONING",+ "name": "CONDITIONING","type": "CONDITIONING",+ "slot_index": 0,"links": [267- ],- "slot_index": 0+ ]}],"title": "CLIP Text Encode (Negative Prompt)",@@ -330,32 +316,50 @@102],"flags": {},- "order": 9,+ "order": 10,"mode": 0,"inputs": [{- "name": "prompt_enhancer","localized_name": "prompt_enhancer",+ "name": "prompt_enhancer","type": "LTXV_PROMPT_ENHANCER","link": 538},{- "name": "image_prompt","localized_name": "image_prompt",- "type": "IMAGE",+ "name": "image_prompt","shape": 7,+ "type": "IMAGE","link": 523+ },+ {+ "localized_name": "prompt",+ "name": "prompt",+ "type": "STRING",+ "widget": {+ "name": "prompt"+ },+ "link": null+ },+ {+ "localized_name": "max_resulting_tokens",+ "name": "max_resulting_tokens",+ "type": "INT",+ "widget": {+ "name": "max_resulting_tokens"+ },+ "link": null}],"outputs": [{- "name": "str","localized_name": "str",+ "name": "str","type": "STRING",+ "slot_index": 0,"links": [507- ],- "slot_index": 0+ ]}],"properties": {@@ -380,49 +384,49 @@86],"flags": {},- "order": 12,+ "order": 13,"mode": 0,"inputs": [{- "name": "image","localized_name": "image",+ "name": "image","type": "IMAGE","link": 567}],"outputs": [{- "name": "image","localized_name": "image",+ "name": "image","type": "IMAGE","links": null},{- "name": "768 width","localized_name": "width",+ "name": "768 width","type": "INT",+ "slot_index": 1,"links": [568- ],- "slot_index": 1+ ]},{- "name": "512 height","localized_name": "height",+ "name": "512 height","type": "INT",+ "slot_index": 2,"links": [569- ],- "slot_index": 2+ ]},{- "name": "65 count","localized_name": "count",+ "name": "65 count","type": "INT",+ "slot_index": 3,"links": [570- ],- "slot_index": 3+ ]}],"properties": {@@ -444,25 +448,52 @@106],"flags": {},- "order": 10,+ "order": 11,"mode": 0,"inputs": [{- "name": "image","localized_name": "image",+ "name": "image","type": "IMAGE","link": 525+ },+ {+ "localized_name": "indexes",+ "name": "indexes",+ "type": "STRING",+ "widget": {+ "name": "indexes"+ },+ "link": null+ },+ {+ "localized_name": "err_if_missing",+ "name": "err_if_missing",+ "type": "BOOLEAN",+ "widget": {+ "name": "err_if_missing"+ },+ "link": null+ },+ {+ "localized_name": "err_if_empty",+ "name": "err_if_empty",+ "type": "BOOLEAN",+ "widget": {+ "name": "err_if_empty"+ },+ "link": null}],"outputs": [{- "name": "IMAGE","localized_name": "IMAGE",+ "name": "IMAGE","type": "IMAGE",+ "slot_index": 0,"links": [571- ],- "slot_index": 0+ ]}],"properties": {@@ -488,7 +519,7 @@93.54439544677734],"flags": {},- "order": 3,+ "order": 2,"mode": 0,"inputs": [],"outputs": [],@@ -511,55 +542,55 @@170],"flags": {},- "order": 15,+ "order": 16,"mode": 0,"inputs": [{+ "localized_name": "width","name": "width","type": "INT",- "pos": [- 10,- 36- ],"widget": {"name": "width"},"link": 568},{+ "localized_name": "height","name": "height","type": "INT",- "pos": [- 10,- 60- ],"widget": {"name": "height"},"link": 569},{+ "localized_name": "length","name": "length","type": "INT",- "pos": [- 10,- 84- ],"widget": {"name": "length"},"link": 570+ },+ {+ "localized_name": "batch_size",+ "name": "batch_size",+ "type": "INT",+ "widget": {+ "name": "batch_size"+ },+ "link": null}],"outputs": [{- "name": "LATENT","localized_name": "LATENT",+ "name": "LATENT","type": "LATENT",+ "slot_index": 0,"links": [- 558- ],- "slot_index": 0+ 586+ ]}],"properties": {@@ -586,25 +617,34 @@58],"flags": {},- "order": 14,+ "order": 15,"mode": 0,"inputs": [{- "name": "image","localized_name": "image",+ "name": "image","type": "IMAGE","link": 571+ },+ {+ "localized_name": "img_compression",+ "name": "img_compression",+ "type": "INT",+ "widget": {+ "name": "img_compression"+ },+ "link": null}],"outputs": [{- "name": "output_image","localized_name": "output_image",+ "name": "output_image","type": "IMAGE",+ "slot_index": 0,"links": [- 572- ],- "slot_index": 0+ 585+ ]}],"properties": {@@ -628,25 +668,52 @@106],"flags": {},- "order": 11,+ "order": 12,"mode": 0,"inputs": [{- "name": "image","localized_name": "image",+ "name": "image","type": "IMAGE","link": 527+ },+ {+ "localized_name": "indexes",+ "name": "indexes",+ "type": "STRING",+ "widget": {+ "name": "indexes"+ },+ "link": null+ },+ {+ "localized_name": "err_if_missing",+ "name": "err_if_missing",+ "type": "BOOLEAN",+ "widget": {+ "name": "err_if_missing"+ },+ "link": null+ },+ {+ "localized_name": "err_if_empty",+ "name": "err_if_empty",+ "type": "BOOLEAN",+ "widget": {+ "name": "err_if_empty"+ },+ "link": null}],"outputs": [{- "name": "IMAGE","localized_name": "IMAGE",+ "name": "IMAGE","type": "IMAGE",+ "slot_index": 0,"links": [537- ],- "slot_index": 0+ ]}],"properties": {@@ -672,7 +739,7 @@93.54439544677734],"flags": {},- "order": 4,+ "order": 3,"mode": 0,"inputs": [],"outputs": [],@@ -684,392 +751,196 @@"bgcolor": "#653"},{- "id": 134,- "type": "VHS_LoadVideo",+ "id": 213,+ "type": "STGGuiderAdvanced","pos": [- -256.13458251953125,- 277.4459533691406+ 1220.742919921875,+ -132.0933074951172],"size": [- 252.056640625,- 430.7044372558594+ 327.5999755859375,+ 262],"flags": {},- "order": 5,+ "order": 19,"mode": 0,"inputs": [{- "name": "meta_batch",- "localized_name": "meta_batch",- "type": "VHS_BatchManager",+ "localized_name": "model",+ "name": "model",+ "type": "MODEL",+ "link": 580+ },+ {+ "localized_name": "positive",+ "name": "positive",+ "type": "CONDITIONING",+ "link": 594+ },+ {+ "localized_name": "negative",+ "name": "negative",+ "type": "CONDITIONING",+ "link": 595+ },+ {+ "localized_name": "preset",+ "name": "preset","shape": 7,+ "type": "STG_ADVANCED_PRESET",+ "link": 584+ },+ {+ "localized_name": "skip_steps_sigma_threshold",+ "name": "skip_steps_sigma_threshold",+ "type": "FLOAT",+ "widget": {+ "name": "skip_steps_sigma_threshold"+ },"link": null},{- "name": "vae",- "localized_name": "vae",- "type": "VAE",- "shape": 7,+ "localized_name": "cfg_star_rescale",+ "name": "cfg_star_rescale",+ "type": "BOOLEAN",+ "widget": {+ "name": "cfg_star_rescale"+ },"link": null- }- ],- "outputs": [+ },{- "name": "IMAGE",- "localized_name": "IMAGE",- "type": "IMAGE",- "links": [- 523,- 525,- 527,- 567- ],- "slot_index": 0+ "localized_name": "sigmas",+ "name": "sigmas",+ "type": "STRING",+ "widget": {+ "name": "sigmas"+ },+ "link": null},{- "name": "frame_count",- "localized_name": "frame_count",- "type": "INT",- "links": null+ "localized_name": "cfg_values",+ "name": "cfg_values",+ "type": "STRING",+ "widget": {+ "name": "cfg_values"+ },+ "link": null},{- "name": "audio",- "localized_name": "audio",- "type": "AUDIO",- "links": null+ "localized_name": "stg_scale_values",+ "name": "stg_scale_values",+ "type": "STRING",+ "widget": {+ "name": "stg_scale_values"+ },+ "link": null},{- "name": "video_info",- "localized_name": "video_info",- "type": "VHS_VIDEOINFO",- "links": null- }- ],- "properties": {- "Node name for S&R": "VHS_LoadVideo",- "cnr_id": "comfyui-videohelpersuite",- "ver": "8629188458dc6cb832f871ece3bd273507e8a766"- },- "widgets_values": {- "video": "jeep.mp4",- "force_rate": 0,- "force_size": "Disabled",- "custom_width": 0,- "custom_height": 0,- "frame_load_cap": 65,- "skip_first_frames": 0,- "select_every_nth": 1,- "choose video to upload": "image",- "videopreview": {- "hidden": false,- "paused": false,- "params": {- "frame_load_cap": 65,- "skip_first_frames": 0,- "force_rate": 0,- "filename": "jeep.mp4",- "type": "input",- "format": "video/mp4",- "select_every_nth": 1- }+ "localized_name": "stg_rescale_values",+ "name": "stg_rescale_values",+ "type": "STRING",+ "widget": {+ "name": "stg_rescale_values"+ },+ "link": null+ },+ {+ "localized_name": "stg_layers_indices",+ "name": "stg_layers_indices",+ "type": "STRING",+ "widget": {+ "name": "stg_layers_indices"+ },+ "link": null}- }- },- {- "id": 44,- "type": "CheckpointLoaderSimple",- "pos": [- -301.724853515625,- -148.44154357910156- ],- "size": [- 315,- 98],- "flags": {},- "order": 6,- "mode": 0,- "inputs": [],"outputs": [{- "name": "MODEL",- "localized_name": "MODEL",- "type": "MODEL",- "links": [- 580- ],- "slot_index": 0- },- {- "name": "CLIP",- "localized_name": "CLIP",- "type": "CLIP",- "links": null- },- {- "name": "VAE",- "localized_name": "VAE",- "type": "VAE",+ "localized_name": "GUIDER",+ "name": "GUIDER",+ "type": "GUIDER",+ "slot_index": 0,"links": [- 565,- 566- ],- "slot_index": 2+ 583+ ]}],"properties": {- "Node name for S&R": "CheckpointLoaderSimple",- "cnr_id": "comfy-core",- "ver": "0.3.19"+ "Node name for S&R": "STGGuiderAdvanced"},"widgets_values": [- "ltxv-2b-0.9.6-dev-04-25.safetensors"+ 0.996,+ true,+ "1.0, 0.9933, 0.9850, 0.9767, 0.9008, 0.6180",+ "4, 4, 4, 4, 1, 1",+ "2, 2, 2, 2, 1, 0",+ "1, 1, 1, 1, 1, 1",+ "[14], [14], [14], [14], [14], [14]"]},{- "id": 206,- "type": "LTXVAddGuide",+ "id": 212,+ "type": "LTXVCropGuides","pos": [- 831.139404296875,- 10.611289978027344+ 1254.9326171875,+ 344.5459289550781],"size": [- 315,- 162+ 216.59999084472656,+ 66],"flags": {},- "order": 17,+ "order": 22,"mode": 0,"inputs": [{- "name": "positive","localized_name": "positive",+ "name": "positive","type": "CONDITIONING",- "link": 556+ "link": 590},{- "name": "negative","localized_name": "negative",+ "name": "negative","type": "CONDITIONING",- "link": 557- },- {- "name": "vae",- "localized_name": "vae",- "type": "VAE",- "link": 566+ "link": 591},{- "name": "latent","localized_name": "latent",+ "name": "latent","type": "LATENT",- "link": 558- },- {- "name": "image",- "localized_name": "image",- "type": "IMAGE",- "link": 572+ "link": 578}],"outputs": [{- "name": "positive","localized_name": "positive",+ "name": "positive","type": "CONDITIONING",- "links": [- 574,- 581- ],- "slot_index": 0+ "links": null},{- "name": "negative","localized_name": "negative",+ "name": "negative","type": "CONDITIONING",- "links": [- 575,- 582- ],- "slot_index": 1+ "links": null},{- "name": "latent","localized_name": "latent",+ "name": "latent","type": "LATENT",+ "slot_index": 2,"links": [- 563,- 564- ],- "slot_index": 2+ 579+ ]}],"properties": {- "Node name for S&R": "LTXVAddGuide",+ "Node name for S&R": "LTXVCropGuides","cnr_id": "comfy-core","ver": "0.3.19"},- "widgets_values": [- 0,- 1- ]- },- {- "id": 73,- "type": "KSamplerSelect",- "pos": [- 841.9295654296875,- 520.01416015625- ],- "size": [- 315,- 58- ],- "flags": {},- "order": 7,- "mode": 0,- "inputs": [],- "outputs": [- {- "name": "SAMPLER",- "localized_name": "SAMPLER",- "type": "SAMPLER",- "links": [- 541- ],- "slot_index": 0- }- ],- "properties": {- "Node name for S&R": "KSamplerSelect",- "cnr_id": "comfy-core",- "ver": "0.3.19"- },- "widgets_values": [- "gradient_estimation"- ]- },- {- "id": 213,- "type": "STGGuiderAdvanced",- "pos": [- 1220.742919921875,- -132.0933074951172- ],- "size": [- 327.5999755859375,- 242- ],- "flags": {},- "order": 18,- "mode": 0,- "inputs": [- {- "name": "model",- "localized_name": "model",- "type": "MODEL",- "link": 580- },- {- "name": "positive",- "localized_name": "positive",- "type": "CONDITIONING",- "link": 581- },- {- "name": "negative",- "localized_name": "negative",- "type": "CONDITIONING",- "link": 582- }- ],- "outputs": [- {- "name": "GUIDER",- "localized_name": "GUIDER",- "type": "GUIDER",- "links": [- 583- ],- "slot_index": 0- }- ],- "properties": {- "Node name for S&R": "STGGuiderAdvanced"- },- "widgets_values": [- 0.996,- true,- "1.0, 0.9933, 0.9850, 0.9767, 0.9008, 0.6180",- "4, 4, 4, 4, 1, 1",- "2, 2, 2, 2, 1, 0",- "1, 1, 1, 1, 1, 1",- "[14], [14], [14], [14], [14], [14]"- ]- },- {- "id": 212,- "type": "LTXVCropGuides",- "pos": [- 1254.9326171875,- 344.5459289550781- ],- "size": [- 216.59999084472656,- 66- ],- "flags": {},- "order": 21,- "mode": 0,- "inputs": [- {- "name": "positive",- "localized_name": "positive",- "type": "CONDITIONING",- "link": 574- },- {- "name": "negative",- "localized_name": "negative",- "type": "CONDITIONING",- "link": 575- },- {- "name": "latent",- "localized_name": "latent",- "type": "LATENT",- "link": 578- }- ],- "outputs": [- {- "name": "positive",- "localized_name": "positive",- "type": "CONDITIONING",- "links": null- },- {- "name": "negative",- "localized_name": "negative",- "type": "CONDITIONING",- "links": null- },- {- "name": "latent",- "localized_name": "latent",- "type": "LATENT",- "links": [- 579- ],- "slot_index": 2- }- ],- "properties": {- "Node name for S&R": "LTXVCropGuides",- "cnr_id": "comfy-core",- "ver": "0.3.19"- },- "widgets_values": []+ "widgets_values": []},{"id": 8,@@ -1083,31 +954,31 @@46],"flags": {},- "order": 22,+ "order": 23,"mode": 0,"inputs": [{- "name": "samples","localized_name": "samples",+ "name": "samples","type": "LATENT","link": 579},{- "name": "vae","localized_name": "vae",+ "name": "vae","type": "VAE","link": 565}],"outputs": [{- "name": "IMAGE","localized_name": "IMAGE",+ "name": "IMAGE","type": "IMAGE",+ "slot_index": 0,"links": [536- ],- "slot_index": 0+ ]}],"properties": {@@ -1129,31 +1000,31 @@46],"flags": {},- "order": 23,+ "order": 24,"mode": 0,"inputs": [{- "name": "image1","localized_name": "image1",+ "name": "image1","type": "IMAGE","link": 537},{- "name": "image2","localized_name": "image2",+ "name": "image2","type": "IMAGE","link": 536}],"outputs": [{- "name": "IMAGE","localized_name": "IMAGE",+ "name": "IMAGE","type": "IMAGE",+ "slot_index": 0,"links": [530- ],- "slot_index": 0+ ]}],"properties": {@@ -1175,42 +1046,96 @@520.6666870117188],"flags": {},- "order": 24,+ "order": 25,"mode": 0,"inputs": [{- "name": "images","localized_name": "images",- "type": "IMAGE",+ "name": "images","shape": 7,+ "type": "IMAGE","link": 530},{- "name": "audio","localized_name": "audio",- "type": "AUDIO",+ "name": "audio","shape": 7,+ "type": "AUDIO","link": null},{- "name": "meta_batch","localized_name": "meta_batch",- "type": "VHS_BatchManager",+ "name": "meta_batch","shape": 7,+ "type": "VHS_BatchManager","link": null},{- "name": "vae","localized_name": "vae",- "type": "VAE",+ "name": "vae","shape": 7,+ "type": "VAE",+ "link": null+ },+ {+ "localized_name": "frame_rate",+ "name": "frame_rate",+ "type": "FLOAT",+ "widget": {+ "name": "frame_rate"+ },+ "link": null+ },+ {+ "localized_name": "loop_count",+ "name": "loop_count",+ "type": "INT",+ "widget": {+ "name": "loop_count"+ },+ "link": null+ },+ {+ "localized_name": "filename_prefix",+ "name": "filename_prefix",+ "type": "STRING",+ "widget": {+ "name": "filename_prefix"+ },+ "link": null+ },+ {+ "localized_name": "format",+ "name": "format",+ "type": "COMBO",+ "widget": {+ "name": "format"+ },+ "link": null+ },+ {+ "localized_name": "pingpong",+ "name": "pingpong",+ "type": "BOOLEAN",+ "widget": {+ "name": "pingpong"+ },+ "link": null+ },+ {+ "localized_name": "save_output",+ "name": "save_output",+ "type": "BOOLEAN",+ "widget": {+ "name": "save_output"+ },"link": null}],"outputs": [{- "name": "Filenames","localized_name": "Filenames",+ "name": "Filenames","type": "VHS_FILENAMES","links": null}@@ -1234,7 +1159,7 @@"hidden": false,"paused": false,"params": {- "filename": "ltxv_00120.mp4",+ "filename": "ltxv_00268.mp4","subfolder": "","type": "output","format": "video/h264-mp4",@@ -1257,63 +1182,654 @@106],"flags": {},- "order": 20,+ "order": 21,"mode": 0,"inputs": [{- "name": "noise","localized_name": "noise",+ "name": "noise","type": "NOISE","link": 540},{- "name": "guider","localized_name": "guider",+ "name": "guider","type": "GUIDER","link": 583},{- "name": "sampler","localized_name": "sampler",+ "name": "sampler","type": "SAMPLER","link": 541},{- "name": "sigmas","localized_name": "sigmas",+ "name": "sigmas","type": "SIGMAS","link": 542},{- "name": "latent_image",- "localized_name": "latent_image",- "type": "LATENT",- "link": 563+ "localized_name": "latent_image",+ "name": "latent_image",+ "type": "LATENT",+ "link": 592+ }+ ],+ "outputs": [+ {+ "localized_name": "output",+ "name": "output",+ "type": "LATENT",+ "slot_index": 0,+ "links": [+ 578+ ]+ },+ {+ "localized_name": "denoised_output",+ "name": "denoised_output",+ "type": "LATENT",+ "links": null+ }+ ],+ "properties": {+ "Node name for S&R": "SamplerCustomAdvanced",+ "cnr_id": "comfy-core",+ "ver": "0.3.19"+ },+ "widgets_values": []+ },+ {+ "id": 190,+ "type": "RandomNoise",+ "pos": [+ 409.034423828125,+ -134.0706024169922+ ],+ "size": [+ 315,+ 82+ ],+ "flags": {},+ "order": 4,+ "mode": 0,+ "inputs": [+ {+ "localized_name": "noise_seed",+ "name": "noise_seed",+ "type": "INT",+ "widget": {+ "name": "noise_seed"+ },+ "link": null+ }+ ],+ "outputs": [+ {+ "localized_name": "NOISE",+ "name": "NOISE",+ "type": "NOISE",+ "slot_index": 0,+ "links": [+ 540+ ]+ }+ ],+ "properties": {+ "Node name for S&R": "RandomNoise",+ "cnr_id": "comfy-core",+ "ver": "0.3.19"+ },+ "widgets_values": [+ 43,+ "fixed"+ ]+ },+ {+ "id": 73,+ "type": "KSamplerSelect",+ "pos": [+ 829.0675659179688,+ 562.8773803710938+ ],+ "size": [+ 315,+ 58+ ],+ "flags": {},+ "order": 5,+ "mode": 0,+ "inputs": [+ {+ "localized_name": "sampler_name",+ "name": "sampler_name",+ "type": "COMBO",+ "widget": {+ "name": "sampler_name"+ },+ "link": null+ }+ ],+ "outputs": [+ {+ "localized_name": "SAMPLER",+ "name": "SAMPLER",+ "type": "SAMPLER",+ "slot_index": 0,+ "links": [+ 541+ ]+ }+ ],+ "properties": {+ "Node name for S&R": "KSamplerSelect",+ "cnr_id": "comfy-core",+ "ver": "0.3.19"+ },+ "widgets_values": [+ "gradient_estimation"+ ]+ },+ {+ "id": 71,+ "type": "LTXVScheduler",+ "pos": [+ 827.3433837890625,+ 348.0218505859375+ ],+ "size": [+ 315,+ 154+ ],+ "flags": {},+ "order": 20,+ "mode": 0,+ "inputs": [+ {+ "localized_name": "latent",+ "name": "latent",+ "shape": 7,+ "type": "LATENT",+ "link": 593+ },+ {+ "localized_name": "steps",+ "name": "steps",+ "type": "INT",+ "widget": {+ "name": "steps"+ },+ "link": null+ },+ {+ "localized_name": "max_shift",+ "name": "max_shift",+ "type": "FLOAT",+ "widget": {+ "name": "max_shift"+ },+ "link": null+ },+ {+ "localized_name": "base_shift",+ "name": "base_shift",+ "type": "FLOAT",+ "widget": {+ "name": "base_shift"+ },+ "link": null+ },+ {+ "localized_name": "stretch",+ "name": "stretch",+ "type": "BOOLEAN",+ "widget": {+ "name": "stretch"+ },+ "link": null+ },+ {+ "localized_name": "terminal",+ "name": "terminal",+ "type": "FLOAT",+ "widget": {+ "name": "terminal"+ },+ "link": null+ }+ ],+ "outputs": [+ {+ "localized_name": "SIGMAS",+ "name": "SIGMAS",+ "type": "SIGMAS",+ "slot_index": 0,+ "links": [+ 542+ ]+ }+ ],+ "properties": {+ "Node name for S&R": "LTXVScheduler",+ "cnr_id": "comfy-core",+ "ver": "0.3.19"+ },+ "widgets_values": [+ 20,+ 2.05,+ 0.95,+ true,+ 0.1+ ]+ },+ {+ "id": 215,+ "type": "LTXVAddGuideAdvanced",+ "pos": [+ 815.1484375,+ -7.902004718780518+ ],+ "size": [+ 336.9648132324219,+ 258+ ],+ "flags": {},+ "order": 18,+ "mode": 0,+ "inputs": [+ {+ "localized_name": "positive",+ "name": "positive",+ "type": "CONDITIONING",+ "link": 589+ },+ {+ "localized_name": "negative",+ "name": "negative",+ "type": "CONDITIONING",+ "link": 588+ },+ {+ "localized_name": "vae",+ "name": "vae",+ "type": "VAE",+ "link": 587+ },+ {+ "localized_name": "latent",+ "name": "latent",+ "type": "LATENT",+ "link": 586+ },+ {+ "localized_name": "image",+ "name": "image",+ "type": "IMAGE",+ "link": 585+ },+ {+ "localized_name": "frame_idx",+ "name": "frame_idx",+ "type": "INT",+ "widget": {+ "name": "frame_idx"+ },+ "link": null+ },+ {+ "localized_name": "strength",+ "name": "strength",+ "type": "FLOAT",+ "widget": {+ "name": "strength"+ },+ "link": null+ },+ {+ "localized_name": "crf",+ "name": "crf",+ "type": "INT",+ "widget": {+ "name": "crf"+ },+ "link": null+ },+ {+ "localized_name": "blur_radius",+ "name": "blur_radius",+ "type": "INT",+ "widget": {+ "name": "blur_radius"+ },+ "link": null+ },+ {+ "localized_name": "interpolation",+ "name": "interpolation",+ "type": "COMBO",+ "widget": {+ "name": "interpolation"+ },+ "link": null+ },+ {+ "localized_name": "crop",+ "name": "crop",+ "type": "COMBO",+ "widget": {+ "name": "crop"+ },+ "link": null+ }+ ],+ "outputs": [+ {+ "localized_name": "positive",+ "name": "positive",+ "type": "CONDITIONING",+ "links": [+ 590,+ 594+ ]+ },+ {+ "localized_name": "negative",+ "name": "negative",+ "type": "CONDITIONING",+ "links": [+ 591,+ 595+ ]+ },+ {+ "localized_name": "latent",+ "name": "latent",+ "type": "LATENT",+ "links": [+ 592,+ 593+ ]+ }+ ],+ "properties": {+ "Node name for S&R": "LTXVAddGuideAdvanced"+ },+ "widgets_values": [+ 0,+ 1,+ 29,+ 0,+ "lanczos",+ "disabled"+ ]+ },+ {+ "id": 44,+ "type": "CheckpointLoaderSimple",+ "pos": [+ -301.724853515625,+ -148.44154357910156+ ],+ "size": [+ 315,+ 98+ ],+ "flags": {},+ "order": 6,+ "mode": 0,+ "inputs": [+ {+ "localized_name": "ckpt_name",+ "name": "ckpt_name",+ "type": "COMBO",+ "widget": {+ "name": "ckpt_name"+ },+ "link": null+ }+ ],+ "outputs": [+ {+ "localized_name": "MODEL",+ "name": "MODEL",+ "type": "MODEL",+ "slot_index": 0,+ "links": [+ 580+ ]+ },+ {+ "localized_name": "CLIP",+ "name": "CLIP",+ "type": "CLIP",+ "links": null+ },+ {+ "localized_name": "VAE",+ "name": "VAE",+ "type": "VAE",+ "slot_index": 2,+ "links": [+ 565,+ 587+ ]+ }+ ],+ "properties": {+ "Node name for S&R": "CheckpointLoaderSimple",+ "cnr_id": "comfy-core",+ "ver": "0.3.19"+ },+ "widgets_values": [+ "ltx-video-13b-step-1358000.safetensors"+ ]+ },+ {+ "id": 214,+ "type": "STGAdvancedPresets",+ "pos": [+ 809.1151733398438,+ -117.02359008789062+ ],+ "size": [+ 340.20001220703125,+ 58+ ],+ "flags": {},+ "order": 7,+ "mode": 0,+ "inputs": [+ {+ "localized_name": "preset",+ "name": "preset",+ "type": "COMBO",+ "widget": {+ "name": "preset"+ },+ "link": null+ }+ ],+ "outputs": [+ {+ "localized_name": "STG_ADVANCED_PRESET",+ "name": "STG_ADVANCED_PRESET",+ "type": "STG_ADVANCED_PRESET",+ "links": [+ 584+ ]+ }+ ],+ "properties": {+ "Node name for S&R": "STGAdvancedPresets"+ },+ "widgets_values": [+ "13b Balanced"+ ]+ },+ {+ "id": 134,+ "type": "VHS_LoadVideo",+ "pos": [+ -256.13458251953125,+ 277.4459533691406+ ],+ "size": [+ 252.056640625,+ 430.7044372558594+ ],+ "flags": {},+ "order": 8,+ "mode": 0,+ "inputs": [+ {+ "localized_name": "meta_batch",+ "name": "meta_batch",+ "shape": 7,+ "type": "VHS_BatchManager",+ "link": null+ },+ {+ "localized_name": "vae",+ "name": "vae",+ "shape": 7,+ "type": "VAE",+ "link": null+ },+ {+ "localized_name": "video",+ "name": "video",+ "type": "COMBO",+ "widget": {+ "name": "video"+ },+ "link": null+ },+ {+ "localized_name": "force_rate",+ "name": "force_rate",+ "type": "INT",+ "widget": {+ "name": "force_rate"+ },+ "link": null+ },+ {+ "localized_name": "force_size",+ "name": "force_size",+ "type": "COMBO",+ "widget": {+ "name": "force_size"+ },+ "link": null+ },+ {+ "localized_name": "custom_width",+ "name": "custom_width",+ "type": "INT",+ "widget": {+ "name": "custom_width"+ },+ "link": null+ },+ {+ "localized_name": "custom_height",+ "name": "custom_height",+ "type": "INT",+ "widget": {+ "name": "custom_height"+ },+ "link": null+ },+ {+ "localized_name": "frame_load_cap",+ "name": "frame_load_cap",+ "type": "INT",+ "widget": {+ "name": "frame_load_cap"+ },+ "link": null+ },+ {+ "localized_name": "skip_first_frames",+ "name": "skip_first_frames",+ "type": "INT",+ "widget": {+ "name": "skip_first_frames"+ },+ "link": null+ },+ {+ "localized_name": "select_every_nth",+ "name": "select_every_nth",+ "type": "INT",+ "widget": {+ "name": "select_every_nth"+ },+ "link": null}],"outputs": [{- "name": "output",- "localized_name": "output",- "type": "LATENT",+ "localized_name": "IMAGE",+ "name": "IMAGE",+ "type": "IMAGE",+ "slot_index": 0,"links": [- 578- ],- "slot_index": 0+ 523,+ 525,+ 527,+ 567+ ]},{- "name": "denoised_output",- "localized_name": "denoised_output",- "type": "LATENT",+ "localized_name": "frame_count",+ "name": "frame_count",+ "type": "INT",+ "links": null+ },+ {+ "localized_name": "audio",+ "name": "audio",+ "type": "AUDIO",+ "links": null+ },+ {+ "localized_name": "video_info",+ "name": "video_info",+ "type": "VHS_VIDEOINFO","links": null}],"properties": {- "Node name for S&R": "SamplerCustomAdvanced",- "cnr_id": "comfy-core",- "ver": "0.3.19"+ "Node name for S&R": "VHS_LoadVideo",+ "cnr_id": "comfyui-videohelpersuite",+ "ver": "8629188458dc6cb832f871ece3bd273507e8a766"},- "widgets_values": []+ "widgets_values": {+ "video": "jeep.mp4",+ "force_rate": 0,+ "force_size": "Disabled",+ "custom_width": 0,+ "custom_height": 0,+ "frame_load_cap": 65,+ "skip_first_frames": 0,+ "select_every_nth": 1,+ "choose video to upload": "image",+ "videopreview": {+ "hidden": false,+ "paused": false,+ "params": {+ "frame_load_cap": 65,+ "skip_first_frames": 0,+ "force_rate": 0,+ "filename": "jeep.mp4",+ "type": "input",+ "format": "video/mp4",+ "select_every_nth": 1+ }+ }+ }}],"links": [@@ -1437,46 +1953,6 @@3,"SIGMAS"],- [- 556,- 69,- 0,- 206,- 0,- "CONDITIONING"- ],- [- 557,- 69,- 1,- 206,- 1,- "CONDITIONING"- ],- [- 558,- 80,- 0,- 206,- 3,- "LATENT"- ],- [- 563,- 206,- 2,- 200,- 4,- "LATENT"- ],- [- 564,- 206,- 2,- 71,- 0,- "LATENT"- ],[565,44,@@ -1485,14 +1961,6 @@1,"VAE"],- [- 566,- 44,- 2,- 206,- 2,- "VAE"- ],[567,134,@@ -1534,86 +2002,142 @@"IMAGE"],[- 572,+ 578,+ 200,+ 0,+ 212,+ 2,+ "LATENT"+ ],+ [+ 579,+ 212,+ 2,+ 8,+ 0,+ "LATENT"+ ],+ [+ 580,+ 44,+ 0,+ 213,+ 0,+ "MODEL"+ ],+ [+ 583,+ 213,+ 0,+ 200,+ 1,+ "GUIDER"+ ],+ [+ 584,+ 214,+ 0,+ 213,+ 3,+ "STG_ADVANCED_PRESET"+ ],+ [+ 585,210,0,- 206,+ 215,4,"IMAGE"],[- 574,- 206,+ 586,+ 80,+ 0,+ 215,+ 3,+ "LATENT"+ ],+ [+ 587,+ 44,+ 2,+ 215,+ 2,+ "VAE"+ ],+ [+ 588,+ 69,+ 1,+ 215,+ 1,+ "CONDITIONING"+ ],+ [+ 589,+ 69,+ 0,+ 215,+ 0,+ "CONDITIONING"+ ],+ [+ 590,+ 215,0,212,0,"CONDITIONING"],[- 575,- 206,+ 591,+ 215,1,212,1,"CONDITIONING"],[- 578,- 200,- 0,- 212,+ 592,+ 215,2,+ 200,+ 4,"LATENT"],[- 579,- 212,+ 593,+ 215,2,- 8,+ 71,0,"LATENT"],[- 580,- 44,- 0,- 213,- 0,- "MODEL"- ],- [- 581,- 206,+ 594,+ 215,0,213,1,"CONDITIONING"],[- 582,- 206,+ 595,+ 215,1,213,2,"CONDITIONING"- ],- [- 583,- 213,- 0,- 200,- 1,- "GUIDER"]],"groups": [],"config": {},"extra": {"ds": {- "scale": 0.6303940863128502,+ "scale": 0.6475006588876424,"offset": [- 614.0833708673383,- 371.5923298111381+ 447.67641902101894,+ 314.6585002856935]},"prompt": {@@ -1675,7 +2199,7 @@},"44": {"inputs": {- "ckpt_name": "ltxv-2b-0.9.6-dev-04-25.safetensors"+ "ckpt_name": "ltx-video-13b-step-1358000.safetensors"},"class_type": "CheckpointLoaderSimple","_meta": {@@ -1707,7 +2231,7 @@"stretch": true,"terminal": 0.1,"latent": [- "206",+ "215",2]},@@ -1885,7 +2409,7 @@0],"latent_image": [- "206",+ "215",2]},@@ -1894,36 +2418,6 @@"title": "SamplerCustomAdvanced"}},- "206": {- "inputs": {- "frame_idx": 0,- "strength": 1,- "positive": [- "69",- 0- ],- "negative": [- "69",- 1- ],- "vae": [- "44",- 2- ],- "latent": [- "80",- 0- ],- "image": [- "210",- 0- ]- },- "class_type": "LTXVAddGuide",- "_meta": {- "title": "LTXVAddGuide"- }- },"209": {"inputs": {"image": [@@ -1952,11 +2446,11 @@"212": {"inputs": {"positive": [- "206",+ "215",0],"negative": [- "206",+ "215",1],"latent": [@@ -1983,28 +2477,77 @@0],"positive": [- "206",+ "215",0],"negative": [- "206",+ "215",1+ ],+ "preset": [+ "214",+ 0]},"class_type": "STGGuiderAdvanced","_meta": {"title": "🅛🅣🅧 STG Guider Advanced"}+ },+ "214": {+ "inputs": {+ "preset": "13b Balanced"+ },+ "class_type": "STGAdvancedPresets",+ "_meta": {+ "title": "🅛🅣🅧 STG Advanced Presets"+ }+ },+ "215": {+ "inputs": {+ "frame_idx": 0,+ "strength": 1,+ "crf": 29,+ "blur_radius": 0,+ "interpolation": "lanczos",+ "crop": "disabled",+ "positive": [+ "69",+ 0+ ],+ "negative": [+ "69",+ 1+ ],+ "vae": [+ "44",+ 2+ ],+ "latent": [+ "80",+ 0+ ],+ "image": [+ "210",+ 0+ ]+ },+ "class_type": "LTXVAddGuideAdvanced",+ "_meta": {+ "title": "🅛🅣🅧 LTXV Add Guide Advanced"+ }}},- "comfy_fork_version": "feature/memory_prof@f7e64946",+ "comfy_fork_version": "develop@311c9b81","node_versions": {- "comfy-core": "0.3.27"+ "comfy-core": "0.3.30",+ "comfyui-kjnodes": "1.0.8"},"VHS_latentpreview": false,"VHS_latentpreviewrate": 0,"VHS_MetadataImage": true,- "VHS_KeepIntermediate": true+ "VHS_KeepIntermediate": true,+ "frontendVersion": "1.17.11"},"version": 0.4}diff --git a/assets/ltxvideo-frame-interpolation.json b/example_workflows/low_level/ltxvideo-frame-interpolation.jsonsimilarity index 100%rename from assets/ltxvideo-frame-interpolation.jsonrename to example_workflows/low_level/ltxvideo-frame-interpolation.jsondiff --git a/assets/ltxvideo-i2v-distilled.json b/example_workflows/low_level/ltxvideo-i2v-distilled.jsonsimilarity index 100%rename from assets/ltxvideo-i2v-distilled.jsonrename to example_workflows/low_level/ltxvideo-i2v-distilled.jsondiff --git a/assets/ltxvideo-i2v.json b/example_workflows/low_level/ltxvideo-i2v.jsonsimilarity index 65%rename from assets/ltxvideo-i2v.jsonrename to example_workflows/low_level/ltxvideo-i2v.jsonindex 1c5f527..b42d01c 100644--- a/assets/ltxvideo-i2v.json+++ b/example_workflows/low_level/ltxvideo-i2v.json@@ -1,6 +1,8 @@{- "last_node_id": 92,- "last_link_id": 224,+ "id": "9537f623-73b7-4225-b4c0-f0bd2547d07f",+ "revision": 0,+ "last_node_id": 95,+ "last_link_id": 239,"nodes": [{"id": 81,@@ -14,53 +16,53 @@106],"flags": {},- "order": 16,+ "order": 15,"mode": 0,"inputs": [{- "name": "noise","localized_name": "noise",+ "name": "noise","type": "NOISE","link": 194},{- "name": "guider","localized_name": "guider",+ "name": "guider","type": "GUIDER",- "link": 224+ "link": 238},{- "name": "sampler","localized_name": "sampler",+ "name": "sampler","type": "SAMPLER","link": 196},{- "name": "sigmas","localized_name": "sigmas",+ "name": "sigmas","type": "SIGMAS","link": 197},{- "name": "latent_image","localized_name": "latent_image",+ "name": "latent_image","type": "LATENT",- "link": 198+ "link": 234}],"outputs": [{- "name": "output","localized_name": "output",+ "name": "output","type": "LATENT",+ "slot_index": 0,"links": [199- ],- "slot_index": 0+ ]},{- "name": "denoised_output","localized_name": "denoised_output",+ "name": "denoised_output","type": "LATENT","links": null}@@ -73,120 +75,82 @@"widgets_values": []},{- "id": 77,- "type": "LTXVImgToVideo",+ "id": 71,+ "type": "LTXVScheduler","pos": [- 865.2247924804688,- 376.3932189941406+ 1225.6614990234375,+ 396.2705993652344],"size": [315,- 214+ 154],"flags": {},- "order": 12,+ "order": 13,"mode": 0,"inputs": [{- "name": "positive",- "localized_name": "positive",- "type": "CONDITIONING",- "link": 187+ "localized_name": "latent",+ "name": "latent",+ "shape": 7,+ "type": "LATENT",+ "link": 233},{- "name": "negative",- "localized_name": "negative",- "type": "CONDITIONING",- "link": 188+ "localized_name": "steps",+ "name": "steps",+ "type": "INT",+ "widget": {+ "name": "steps"+ },+ "link": null},{- "name": "vae",- "localized_name": "vae",- "type": "VAE",- "link": 213+ "localized_name": "max_shift",+ "name": "max_shift",+ "type": "FLOAT",+ "widget": {+ "name": "max_shift"+ },+ "link": null},{- "name": "image",- "localized_name": "image",- "type": "IMAGE",- "link": 204- }- ],- "outputs": [- {- "name": "positive",- "localized_name": "positive",- "type": "CONDITIONING",- "links": [- 183- ],- "slot_index": 0+ "localized_name": "base_shift",+ "name": "base_shift",+ "type": "FLOAT",+ "widget": {+ "name": "base_shift"+ },+ "link": null},{- "name": "negative",- "localized_name": "negative",- "type": "CONDITIONING",- "links": [- 184- ],- "slot_index": 1+ "localized_name": "stretch",+ "name": "stretch",+ "type": "BOOLEAN",+ "widget": {+ "name": "stretch"+ },+ "link": null},{- "name": "latent",- "localized_name": "latent",- "type": "LATENT",- "links": [- 185,- 198- ],- "slot_index": 2- }- ],- "properties": {- "Node name for S&R": "LTXVImgToVideo",- "cnr_id": "comfy-core",- "ver": "0.3.28"- },- "widgets_values": [- 768,- 512,- 97,- 1,- 1- ]- },- {- "id": 71,- "type": "LTXVScheduler",- "pos": [- 1225.6614990234375,- 396.2705993652344- ],- "size": [- 315,- 154- ],- "flags": {},- "order": 14,- "mode": 0,- "inputs": [- {- "name": "latent",- "localized_name": "latent",- "type": "LATENT",- "shape": 7,- "link": 185+ "localized_name": "terminal",+ "name": "terminal",+ "type": "FLOAT",+ "widget": {+ "name": "terminal"+ },+ "link": null}],"outputs": [{- "name": "SIGMAS","localized_name": "SIGMAS",+ "name": "SIGMAS","type": "SIGMAS",+ "slot_index": 0,"links": [197- ],- "slot_index": 0+ ]}],"properties": {@@ -214,31 +178,31 @@46],"flags": {},- "order": 17,+ "order": 16,"mode": 0,"inputs": [{- "name": "samples","localized_name": "samples",+ "name": "samples","type": "LATENT","link": 199},{- "name": "vae","localized_name": "vae",+ "name": "vae","type": "VAE","link": 212}],"outputs": [{- "name": "IMAGE","localized_name": "IMAGE",+ "name": "IMAGE","type": "IMAGE",+ "slot_index": 0,"links": [211- ],- "slot_index": 0+ ]}],"properties": {@@ -262,16 +226,26 @@"flags": {},"order": 0,"mode": 0,- "inputs": [],+ "inputs": [+ {+ "localized_name": "sampler_name",+ "name": "sampler_name",+ "type": "COMBO",+ "widget": {+ "name": "sampler_name"+ },+ "link": null+ }+ ],"outputs": [{- "name": "SAMPLER","localized_name": "SAMPLER",+ "name": "SAMPLER","type": "SAMPLER",+ "slot_index": 0,"links": [196- ],- "slot_index": 0+ ]}],"properties": {@@ -295,42 +269,96 @@520.6666870117188],"flags": {},- "order": 18,+ "order": 17,"mode": 0,"inputs": [{- "name": "images","localized_name": "images",- "type": "IMAGE",+ "name": "images","shape": 7,+ "type": "IMAGE","link": 211},{- "name": "audio","localized_name": "audio",- "type": "AUDIO",+ "name": "audio","shape": 7,+ "type": "AUDIO","link": null},{- "name": "meta_batch","localized_name": "meta_batch",- "type": "VHS_BatchManager",+ "name": "meta_batch","shape": 7,+ "type": "VHS_BatchManager","link": null},{- "name": "vae","localized_name": "vae",- "type": "VAE",+ "name": "vae","shape": 7,+ "type": "VAE",+ "link": null+ },+ {+ "localized_name": "frame_rate",+ "name": "frame_rate",+ "type": "FLOAT",+ "widget": {+ "name": "frame_rate"+ },+ "link": null+ },+ {+ "localized_name": "loop_count",+ "name": "loop_count",+ "type": "INT",+ "widget": {+ "name": "loop_count"+ },+ "link": null+ },+ {+ "localized_name": "filename_prefix",+ "name": "filename_prefix",+ "type": "STRING",+ "widget": {+ "name": "filename_prefix"+ },+ "link": null+ },+ {+ "localized_name": "format",+ "name": "format",+ "type": "COMBO",+ "widget": {+ "name": "format"+ },+ "link": null+ },+ {+ "localized_name": "pingpong",+ "name": "pingpong",+ "type": "BOOLEAN",+ "widget": {+ "name": "pingpong"+ },+ "link": null+ },+ {+ "localized_name": "save_output",+ "name": "save_output",+ "type": "BOOLEAN",+ "widget": {+ "name": "save_output"+ },"link": null}],"outputs": [{- "name": "Filenames","localized_name": "Filenames",+ "name": "Filenames","type": "VHS_FILENAMES","links": null}@@ -352,7 +380,7 @@"hidden": false,"paused": false,"params": {- "filename": "ltxv_00129.mp4",+ "filename": "ltxv_00262.mp4","subfolder": "","type": "output","format": "video/h264-mp4",@@ -362,630 +390,890 @@}},{- "id": 38,- "type": "CLIPLoader",+ "id": 85,+ "type": "LTXVPromptEnhancer","pos": [- 79.50933074951172,- 78.87077331542969+ 49.36366653442383,+ 359.4747619628906],"size": [- 315,- 106+ 340.20001220703125,+ 102],"flags": {},- "order": 1,+ "order": 9,"mode": 0,- "inputs": [],+ "inputs": [+ {+ "localized_name": "prompt_enhancer",+ "name": "prompt_enhancer",+ "type": "LTXV_PROMPT_ENHANCER",+ "link": 207+ },+ {+ "localized_name": "image_prompt",+ "name": "image_prompt",+ "shape": 7,+ "type": "IMAGE",+ "link": 205+ },+ {+ "localized_name": "prompt",+ "name": "prompt",+ "type": "STRING",+ "widget": {+ "name": "prompt"+ },+ "link": null+ },+ {+ "localized_name": "max_resulting_tokens",+ "name": "max_resulting_tokens",+ "type": "INT",+ "widget": {+ "name": "max_resulting_tokens"+ },+ "link": null+ }+ ],"outputs": [{- "name": "CLIP",- "localized_name": "CLIP",- "type": "CLIP",+ "localized_name": "str",+ "name": "str",+ "type": "STRING",+ "slot_index": 0,"links": [- 74,- 75- ],- "slot_index": 0+ 206+ ]}],"properties": {- "Node name for S&R": "CLIPLoader",- "cnr_id": "comfy-core",- "ver": "0.3.28"+ "Node name for S&R": "LTXVPromptEnhancer"},"widgets_values": [- "t5xxl_fp16.safetensors",- "ltxv",- "default"+ "a person looking like Shrek talking",+ 256]},{- "id": 86,- "type": "LTXVPromptEnhancerLoader",+ "id": 83,+ "type": "RandomNoise","pos": [- -39.71400833129883,- 215.62998962402344+ 453.44482421875,+ 47.46747970581055],"size": [- 428.4000244140625,+ 315,82],"flags": {},- "order": 2,+ "order": 1,"mode": 0,- "inputs": [],+ "inputs": [+ {+ "localized_name": "noise_seed",+ "name": "noise_seed",+ "type": "INT",+ "widget": {+ "name": "noise_seed"+ },+ "link": null+ }+ ],"outputs": [{- "name": "prompt_enhancer",- "localized_name": "prompt_enhancer",- "type": "LTXV_PROMPT_ENHANCER",+ "localized_name": "NOISE",+ "name": "NOISE",+ "type": "NOISE",+ "slot_index": 0,"links": [- 207- ],- "slot_index": 0+ 194+ ]}],"properties": {- "Node name for S&R": "LTXVPromptEnhancerLoader"+ "Node name for S&R": "RandomNoise",+ "cnr_id": "comfy-core",+ "ver": "0.3.28"},"widgets_values": [- "unsloth/Llama-3.2-3B-Instruct",- "MiaoshouAI/Florence-2-large-PromptGen-v2.0"+ 42,+ "fixed"]},{- "id": 90,- "type": "Note",+ "id": 69,+ "type": "LTXVConditioning","pos": [- 882.869140625,- 635.9225463867188+ 885.63818359375,+ 226.95408630371094],"size": [- 267.3019714355469,- 192.86129760742188+ 223.8660125732422,+ 78],"flags": {},- "order": 3,+ "order": 12,"mode": 0,- "inputs": [],- "outputs": [],- "properties": {},- "widgets_values": [- "The conditioning image size should match the aspect ratio of the generated video."+ "inputs": [+ {+ "localized_name": "positive",+ "name": "positive",+ "type": "CONDITIONING",+ "link": 231+ },+ {+ "localized_name": "negative",+ "name": "negative",+ "type": "CONDITIONING",+ "link": 232+ },+ {+ "localized_name": "frame_rate",+ "name": "frame_rate",+ "type": "FLOAT",+ "widget": {+ "name": "frame_rate"+ },+ "link": null+ }],- "color": "#432",- "bgcolor": "#653"+ "outputs": [+ {+ "localized_name": "positive",+ "name": "positive",+ "type": "CONDITIONING",+ "slot_index": 0,+ "links": [+ 236+ ]+ },+ {+ "localized_name": "negative",+ "name": "negative",+ "type": "CONDITIONING",+ "slot_index": 1,+ "links": [+ 237+ ]+ }+ ],+ "properties": {+ "Node name for S&R": "LTXVConditioning",+ "cnr_id": "comfy-core",+ "ver": "0.3.28"+ },+ "widgets_values": [+ 25+ ]},{- "id": 6,- "type": "CLIPTextEncode",+ "id": 78,+ "type": "LoadImage","pos": [- 462.1104736328125,- 192.36297607421875+ -1.540905237197876,+ 542.3555908203125],"size": [- 314.9385986328125,- 122.6602783203125+ 385.15606689453125,+ 333.3305358886719],- "flags": {- "collapsed": false- },- "order": 10,+ "flags": {},+ "order": 2,"mode": 0,"inputs": [{- "name": "clip",- "localized_name": "clip",- "type": "CLIP",- "link": 74+ "localized_name": "image",+ "name": "image",+ "type": "COMBO",+ "widget": {+ "name": "image"+ },+ "link": null},{- "name": "text",- "type": "STRING",- "pos": [- 10,- 36- ],+ "localized_name": "choose file to upload",+ "name": "upload",+ "type": "IMAGEUPLOAD","widget": {- "name": "text"+ "name": "upload"},- "link": 206+ "link": null}],"outputs": [{- "name": "CONDITIONING",- "localized_name": "CONDITIONING",- "type": "CONDITIONING",+ "localized_name": "IMAGE",+ "name": "IMAGE",+ "type": "IMAGE",+ "slot_index": 0,"links": [- 187- ],- "slot_index": 0+ 205,+ 227+ ]+ },+ {+ "localized_name": "MASK",+ "name": "MASK",+ "type": "MASK",+ "links": null}],- "title": "CLIP Text Encode (Positive Prompt)","properties": {- "Node name for S&R": "CLIPTextEncode",+ "Node name for S&R": "LoadImage","cnr_id": "comfy-core","ver": "0.3.28"},"widgets_values": [- "best quality, 4k, HDR, a tracking shot of a beautiful scene of the sea waves on the beach with a massive explosion in the water"- ],- "color": "#232",- "bgcolor": "#353"+ "shrek2.jpg",+ "image"+ ]},{- "id": 89,- "type": "ImageResizeKJ",+ "id": 93,+ "type": "LTXVImgToVideoAdvanced","pos": [- 462.32904052734375,- 654.6148681640625+ 844.2299194335938,+ 354.78912353515625],"size": [- 315,- 286+ 350.8185729980469,+ 310],"flags": {},- "order": 9,+ "order": 11,"mode": 0,"inputs": [{- "name": "image",+ "localized_name": "positive",+ "name": "positive",+ "type": "CONDITIONING",+ "link": 228+ },+ {+ "localized_name": "negative",+ "name": "negative",+ "type": "CONDITIONING",+ "link": 229+ },+ {+ "localized_name": "vae",+ "name": "vae",+ "type": "VAE",+ "link": 230+ },+ {"localized_name": "image",+ "name": "image","type": "IMAGE",- "link": 214+ "link": 227},{- "name": "get_image_size",- "localized_name": "get_image_size",- "type": "IMAGE",- "shape": 7,+ "localized_name": "width",+ "name": "width",+ "type": "INT",+ "widget": {+ "name": "width"+ },"link": null},{- "name": "width_input",+ "localized_name": "height",+ "name": "height","type": "INT",- "shape": 7,- "pos": [- 10,- 196- ],"widget": {- "name": "width_input"+ "name": "height"},"link": null},{- "name": "height_input",+ "localized_name": "length",+ "name": "length","type": "INT",- "shape": 7,- "pos": [- 10,- 220- ],"widget": {- "name": "height_input"+ "name": "length"+ },+ "link": null+ },+ {+ "localized_name": "batch_size",+ "name": "batch_size",+ "type": "INT",+ "widget": {+ "name": "batch_size"+ },+ "link": null+ },+ {+ "localized_name": "crf",+ "name": "crf",+ "type": "INT",+ "widget": {+ "name": "crf"+ },+ "link": null+ },+ {+ "localized_name": "blur_radius",+ "name": "blur_radius",+ "type": "INT",+ "widget": {+ "name": "blur_radius"+ },+ "link": null+ },+ {+ "localized_name": "interpolation",+ "name": "interpolation",+ "type": "COMBO",+ "widget": {+ "name": "interpolation"+ },+ "link": null+ },+ {+ "localized_name": "crop",+ "name": "crop",+ "type": "COMBO",+ "widget": {+ "name": "crop"+ },+ "link": null+ },+ {+ "localized_name": "strength",+ "name": "strength",+ "type": "FLOAT",+ "widget": {+ "name": "strength"},"link": null}],"outputs": [{- "name": "IMAGE",- "localized_name": "IMAGE",- "type": "IMAGE",+ "localized_name": "positive",+ "name": "positive",+ "type": "CONDITIONING","links": [- 215- ],- "slot_index": 0+ 231+ ]},{- "name": "width",- "localized_name": "width",- "type": "INT",- "links": null+ "localized_name": "negative",+ "name": "negative",+ "type": "CONDITIONING",+ "links": [+ 232+ ]},{- "name": "height",- "localized_name": "height",- "type": "INT",- "links": null+ "localized_name": "latent",+ "name": "latent",+ "type": "LATENT",+ "links": [+ 233,+ 234+ ]}],"properties": {- "Node name for S&R": "ImageResizeKJ"+ "Node name for S&R": "LTXVImgToVideoAdvanced"},"widgets_values": [768,512,- "nearest-exact",- false,- 2,- 0,+ 97,+ 1,+ 29,0,- "center"+ "lanczos",+ "disabled",+ 0.9]},{- "id": 84,- "type": "LTXVPreprocess",+ "id": 44,+ "type": "CheckpointLoaderSimple","pos": [- 468.223876953125,- 541.5156860351562+ 82.3931884765625,+ -72.30274200439453],"size": [315,- 58+ 98],"flags": {},- "order": 11,+ "order": 3,"mode": 0,"inputs": [{- "name": "image",- "localized_name": "image",- "type": "IMAGE",- "link": 215+ "localized_name": "ckpt_name",+ "name": "ckpt_name",+ "type": "COMBO",+ "widget": {+ "name": "ckpt_name"+ },+ "link": null}],"outputs": [{- "name": "output_image",- "localized_name": "output_image",- "type": "IMAGE",- "links": [- 204- ],- "slot_index": 0+ "localized_name": "MODEL",+ "name": "MODEL",+ "type": "MODEL",+ "slot_index": 0,+ "links": [+ 235+ ]+ },+ {+ "localized_name": "CLIP",+ "name": "CLIP",+ "type": "CLIP",+ "links": null+ },+ {+ "localized_name": "VAE",+ "name": "VAE",+ "type": "VAE",+ "slot_index": 2,+ "links": [+ 212,+ 230+ ]}],"properties": {- "Node name for S&R": "LTXVPreprocess",+ "Node name for S&R": "CheckpointLoaderSimple","cnr_id": "comfy-core","ver": "0.3.28"},"widgets_values": [- 40+ "ltx-video-13b-step-1358000.safetensors"]},{- "id": 7,- "type": "CLIPTextEncode",+ "id": 95,+ "type": "STGAdvancedPresets","pos": [- 456.5716247558594,- 358.25604248046875+ 441.8043518066406,+ -71.08512878417969],"size": [- 335.269775390625,- 137.85621643066406+ 340.20001220703125,+ 58],"flags": {},- "order": 7,+ "order": 4,"mode": 0,"inputs": [{- "name": "clip",- "localized_name": "clip",- "type": "CLIP",- "link": 75+ "localized_name": "preset",+ "name": "preset",+ "type": "COMBO",+ "widget": {+ "name": "preset"+ },+ "link": null}],"outputs": [{- "name": "CONDITIONING",- "localized_name": "CONDITIONING",- "type": "CONDITIONING",+ "localized_name": "STG_ADVANCED_PRESET",+ "name": "STG_ADVANCED_PRESET",+ "type": "STG_ADVANCED_PRESET","links": [- 188- ],- "slot_index": 0+ 239+ ]}],- "title": "CLIP Text Encode (Negative Prompt)","properties": {- "Node name for S&R": "CLIPTextEncode",- "cnr_id": "comfy-core",- "ver": "0.3.28"+ "Node name for S&R": "STGAdvancedPresets"},"widgets_values": [- "low quality, worst quality, deformed, distorted, disfigured, motion smear, motion artifacts, fused fingers, bad anatomy, weird hand, ugly"- ],- "color": "#322",- "bgcolor": "#533"+ "13b Balanced"+ ]},{- "id": 78,- "type": "LoadImage",+ "id": 38,+ "type": "CLIPLoader","pos": [- -1.540905237197876,- 542.3555908203125+ 79.50933074951172,+ 78.87077331542969],"size": [- 385.15606689453125,- 333.3305358886719+ 315,+ 106],"flags": {},- "order": 4,+ "order": 5,"mode": 0,- "inputs": [],- "outputs": [+ "inputs": [{- "name": "IMAGE",- "localized_name": "IMAGE",- "type": "IMAGE",- "links": [- 205,- 214- ],- "slot_index": 0+ "localized_name": "clip_name",+ "name": "clip_name",+ "type": "COMBO",+ "widget": {+ "name": "clip_name"+ },+ "link": null},{- "name": "MASK",- "localized_name": "MASK",- "type": "MASK",- "links": null+ "localized_name": "type",+ "name": "type",+ "type": "COMBO",+ "widget": {+ "name": "type"+ },+ "link": null+ },+ {+ "localized_name": "device",+ "name": "device",+ "shape": 7,+ "type": "COMBO",+ "widget": {+ "name": "device"+ },+ "link": null+ }+ ],+ "outputs": [+ {+ "localized_name": "CLIP",+ "name": "CLIP",+ "type": "CLIP",+ "slot_index": 0,+ "links": [+ 74,+ 75+ ]}],"properties": {- "Node name for S&R": "LoadImage",+ "Node name for S&R": "CLIPLoader","cnr_id": "comfy-core","ver": "0.3.28"},"widgets_values": [- "shrek2.jpg",- "image"+ "t5xxl_fp16.safetensors",+ "ltxv",+ "default"]},{- "id": 85,- "type": "LTXVPromptEnhancer",+ "id": 86,+ "type": "LTXVPromptEnhancerLoader","pos": [- 49.36366653442383,- 359.4747619628906+ -35.292274475097656,+ 224.54818725585938],"size": [- 340.20001220703125,- 102+ 428.4000244140625,+ 82],"flags": {},- "order": 8,+ "order": 6,"mode": 0,"inputs": [{- "name": "prompt_enhancer",- "localized_name": "prompt_enhancer",- "type": "LTXV_PROMPT_ENHANCER",- "link": 207+ "localized_name": "llm_name",+ "name": "llm_name",+ "type": "STRING",+ "widget": {+ "name": "llm_name"+ },+ "link": null},{- "name": "image_prompt",- "localized_name": "image_prompt",- "type": "IMAGE",- "shape": 7,- "link": 205+ "localized_name": "image_captioner_name",+ "name": "image_captioner_name",+ "type": "STRING",+ "widget": {+ "name": "image_captioner_name"+ },+ "link": null}],"outputs": [{- "name": "str",- "localized_name": "str",- "type": "STRING",+ "localized_name": "prompt_enhancer",+ "name": "prompt_enhancer",+ "type": "LTXV_PROMPT_ENHANCER",+ "slot_index": 0,"links": [- 206- ],- "slot_index": 0+ 207+ ]}],"properties": {- "Node name for S&R": "LTXVPromptEnhancer"+ "Node name for S&R": "LTXVPromptEnhancerLoader"},"widgets_values": [- "a person looking like Shrek talking",- 256+ "unsloth/Llama-3.2-3B-Instruct",+ "MiaoshouAI/Florence-2-large-PromptGen-v2.0"]},{- "id": 83,- "type": "RandomNoise",+ "id": 94,+ "type": "STGGuiderAdvanced","pos": [- 453.44482421875,- 47.46747970581055+ 802.5442504882812,+ -93.17659759521484],"size": [- 315,- 82+ 364.3406066894531,+ 262],"flags": {},- "order": 5,+ "order": 14,"mode": 0,- "inputs": [],+ "inputs": [+ {+ "localized_name": "model",+ "name": "model",+ "type": "MODEL",+ "link": 235+ },+ {+ "localized_name": "positive",+ "name": "positive",+ "type": "CONDITIONING",+ "link": 236+ },+ {+ "localized_name": "negative",+ "name": "negative",+ "type": "CONDITIONING",+ "link": 237+ },+ {+ "localized_name": "preset",+ "name": "preset",+ "shape": 7,+ "type": "STG_ADVANCED_PRESET",+ "link": 239+ },+ {+ "localized_name": "skip_steps_sigma_threshold",+ "name": "skip_steps_sigma_threshold",+ "type": "FLOAT",+ "widget": {+ "name": "skip_steps_sigma_threshold"+ },+ "link": null+ },+ {+ "localized_name": "cfg_star_rescale",+ "name": "cfg_star_rescale",+ "type": "BOOLEAN",+ "widget": {+ "name": "cfg_star_rescale"+ },+ "link": null+ },+ {+ "localized_name": "sigmas",+ "name": "sigmas",+ "type": "STRING",+ "widget": {+ "name": "sigmas"+ },+ "link": null+ },+ {+ "localized_name": "cfg_values",+ "name": "cfg_values",+ "type": "STRING",+ "widget": {+ "name": "cfg_values"+ },+ "link": null+ },+ {+ "localized_name": "stg_scale_values",+ "name": "stg_scale_values",+ "type": "STRING",+ "widget": {+ "name": "stg_scale_values"+ },+ "link": null+ },+ {+ "localized_name": "stg_rescale_values",+ "name": "stg_rescale_values",+ "type": "STRING",+ "widget": {+ "name": "stg_rescale_values"+ },+ "link": null+ },+ {+ "localized_name": "stg_layers_indices",+ "name": "stg_layers_indices",+ "type": "STRING",+ "widget": {+ "name": "stg_layers_indices"+ },+ "link": null+ }+ ],"outputs": [{- "name": "NOISE",- "localized_name": "NOISE",- "type": "NOISE",+ "localized_name": "GUIDER",+ "name": "GUIDER",+ "type": "GUIDER","links": [- 194- ],- "slot_index": 0+ 238+ ]}],"properties": {- "Node name for S&R": "RandomNoise",- "cnr_id": "comfy-core",- "ver": "0.3.28"+ "Node name for S&R": "STGGuiderAdvanced"},"widgets_values": [- 42,- "fixed"+ 0.998,+ true,+ "1.0, 0.9933, 0.9850, 0.9767, 0.9008, 0.6180",+ "8, 6, 6, 4, 3, 1",+ "4, 4, 3, 2, 1, 0",+ "1, 1, 1, 1, 1, 1",+ "[29], [29], [29], [29], [29], [29]"]},{- "id": 69,- "type": "LTXVConditioning",+ "id": 6,+ "type": "CLIPTextEncode","pos": [- 885.63818359375,- 226.95408630371094+ 462.1104736328125,+ 192.36297607421875],"size": [- 223.8660125732422,- 78+ 314.9385986328125,+ 122.6602783203125],- "flags": {},- "order": 13,+ "flags": {+ "collapsed": true+ },+ "order": 10,"mode": 0,"inputs": [{- "name": "positive",- "localized_name": "positive",- "type": "CONDITIONING",- "link": 183+ "localized_name": "clip",+ "name": "clip",+ "type": "CLIP",+ "link": 74},{- "name": "negative",- "localized_name": "negative",- "type": "CONDITIONING",- "link": 184+ "localized_name": "text",+ "name": "text",+ "type": "STRING",+ "widget": {+ "name": "text"+ },+ "link": 206}],"outputs": [{- "name": "positive",- "localized_name": "positive",- "type": "CONDITIONING",- "links": [- 221- ],- "slot_index": 0- },- {- "name": "negative",- "localized_name": "negative",+ "localized_name": "CONDITIONING",+ "name": "CONDITIONING","type": "CONDITIONING",+ "slot_index": 0,"links": [- 222- ],- "slot_index": 1+ 228+ ]}],+ "title": "CLIP Text Encode (Positive Prompt)","properties": {- "Node name for S&R": "LTXVConditioning",+ "Node name for S&R": "CLIPTextEncode","cnr_id": "comfy-core","ver": "0.3.28"},"widgets_values": [- 25- ]+ "best quality, 4k, HDR, a tracking shot of a beautiful scene of the sea waves on the beach with a massive explosion in the water"+ ],+ "color": "#232",+ "bgcolor": "#353"},{- "id": 44,- "type": "CheckpointLoaderSimple",+ "id": 7,+ "type": "CLIPTextEncode","pos": [- 82.3931884765625,- -72.30274200439453+ 447.7472229003906,+ 264.065673828125],"size": [- 315,- 98+ 335.269775390625,+ 137.85621643066406],"flags": {},- "order": 6,+ "order": 8,"mode": 0,- "inputs": [],- "outputs": [- {- "name": "MODEL",- "localized_name": "MODEL",- "type": "MODEL",- "links": [- 223- ],- "slot_index": 0- },+ "inputs": [{- "name": "CLIP",- "localized_name": "CLIP",+ "localized_name": "clip",+ "name": "clip","type": "CLIP",- "links": null+ "link": 75},{- "name": "VAE",- "localized_name": "VAE",- "type": "VAE",+ "localized_name": "text",+ "name": "text",+ "type": "STRING",+ "widget": {+ "name": "text"+ },+ "link": null+ }+ ],+ "outputs": [+ {+ "localized_name": "CONDITIONING",+ "name": "CONDITIONING",+ "type": "CONDITIONING",+ "slot_index": 0,"links": [- 212,- 213- ],- "slot_index": 2+ 229+ ]}],+ "title": "CLIP Text Encode (Negative Prompt)","properties": {- "Node name for S&R": "CheckpointLoaderSimple",+ "Node name for S&R": "CLIPTextEncode","cnr_id": "comfy-core","ver": "0.3.28"},"widgets_values": [- "ltxv-2b-0.9.6-dev-04-25.safetensors"- ]+ "low quality, worst quality, deformed, distorted, disfigured, motion smear, motion artifacts, fused fingers, bad anatomy, weird hand, ugly"+ ],+ "color": "#322",+ "bgcolor": "#533"},{- "id": 92,- "type": "STGGuiderAdvanced",+ "id": 90,+ "type": "Note","pos": [- 825.4796142578125,- -92.4762191772461+ 850.818115234375,+ 716.1011962890625],"size": [- 327.5999755859375,- 242+ 346.115478515625,+ 88.66456604003906],"flags": {},- "order": 15,+ "order": 7,"mode": 0,- "inputs": [- {- "name": "model",- "localized_name": "model",- "type": "MODEL",- "link": 223- },- {- "name": "positive",- "localized_name": "positive",- "type": "CONDITIONING",- "link": 221- },- {- "name": "negative",- "localized_name": "negative",- "type": "CONDITIONING",- "link": 222- }- ],- "outputs": [- {- "name": "GUIDER",- "localized_name": "GUIDER",- "type": "GUIDER",- "links": [- 224- ],- "slot_index": 0- }- ],- "properties": {- "Node name for S&R": "STGGuiderAdvanced"- },+ "inputs": [],+ "outputs": [],+ "properties": {},"widgets_values": [- 0.996,- true,- "1.0, 0.9933, 0.9850, 0.9767, 0.9008, 0.6180",- "4, 4, 4, 4, 1, 1",- "2, 2, 2, 2, 1, 0",- "1, 1, 1, 1, 1, 1",- "[14], [14], [14], [14], [14], [14]"- ]+ "The conditioning image size should match the aspect ratio of the generated video."+ ],+ "color": "#432",+ "bgcolor": "#653"}],"links": [@@ -1005,46 +1293,6 @@0,"CLIP"],- [- 183,- 77,- 0,- 69,- 0,- "CONDITIONING"- ],- [- 184,- 77,- 1,- 69,- 1,- "CONDITIONING"- ],- [- 185,- 77,- 2,- 71,- 0,- "LATENT"- ],- [- 187,- 6,- 0,- 77,- 0,- "CONDITIONING"- ],- [- 188,- 7,- 0,- 77,- 1,- "CONDITIONING"- ],[194,83,@@ -1069,14 +1317,6 @@3,"SIGMAS"],- [- 198,- 77,- 2,- 81,- 4,- "LATENT"- ],[199,81,@@ -1085,14 +1325,6 @@0,"LATENT"],- [- 204,- 84,- 0,- 77,- 3,- "IMAGE"- ],[205,78,@@ -1134,74 +1366,123 @@"VAE"],[- 213,+ 227,+ 78,+ 0,+ 93,+ 3,+ "IMAGE"+ ],+ [+ 228,+ 6,+ 0,+ 93,+ 0,+ "CONDITIONING"+ ],+ [+ 229,+ 7,+ 0,+ 93,+ 1,+ "CONDITIONING"+ ],+ [+ 230,44,2,- 77,+ 93,2,"VAE"],[- 214,- 78,+ 231,+ 93,0,- 89,+ 69,0,- "IMAGE"+ "CONDITIONING"+ ],+ [+ 232,+ 93,+ 1,+ 69,+ 1,+ "CONDITIONING"+ ],+ [+ 233,+ 93,+ 2,+ 71,+ 0,+ "LATENT"],[- 215,- 89,+ 234,+ 93,+ 2,+ 81,+ 4,+ "LATENT"+ ],+ [+ 235,+ 44,0,- 84,+ 94,0,- "IMAGE"+ "MODEL"],[- 221,+ 236,69,0,- 92,+ 94,1,"CONDITIONING"],[- 222,+ 237,69,1,- 92,+ 94,2,"CONDITIONING"],[- 223,- 44,- 0,- 92,- 0,- "MODEL"- ],- [- 224,- 92,+ 238,+ 94,0,81,1,"GUIDER"+ ],+ [+ 239,+ 95,+ 0,+ 94,+ 3,+ "STG_ADVANCED_PRESET"]],"groups": [],"config": {},"extra": {"ds": {- "scale": 0.6303940863128502,+ "scale": 0.7236929081080979,"offset": [- 471.01810112868446,- 215.44620489151183+ 230.40779451487305,+ 202.31611891621958]},+ "frontendVersion": "1.17.11","node_versions": {- "comfy-core": "0.3.27"+ "comfy-core": "0.3.30"},"prompt": {"6": {@@ -1262,7 +1543,7 @@},"44": {"inputs": {- "ckpt_name": "ltxv-2b-0.9.6-dev-04-25.safetensors"+ "ckpt_name": "ltx-video-13b-step-1358000.safetensors"},"class_type": "CheckpointLoaderSimple","_meta": {@@ -1273,11 +1554,11 @@"inputs": {"frame_rate": 25,"positive": [- "77",+ "93",0],"negative": [- "77",+ "93",1]},@@ -1294,7 +1575,7 @@"stretch": true,"terminal": 0.1,"latent": [- "77",+ "93",2]},@@ -1312,39 +1593,9 @@"title": "KSamplerSelect"}},- "77": {- "inputs": {- "width": 768,- "height": 512,- "length": 97,- "batch_size": 1,- "strength": 1,- "positive": [- "6",- 0- ],- "negative": [- "7",- 0- ],- "vae": [- "44",- 2- ],- "image": [- "84",- 0- ]- },- "class_type": "LTXVImgToVideo",- "_meta": {- "title": "LTXVImgToVideo"- }- },"78": {"inputs": {- "image": "shrek2.jpg",- "upload": "image"+ "image": "shrek2.jpg"},"class_type": "LoadImage","_meta": {@@ -1358,7 +1609,7 @@0],"guider": [- "92",+ "94",0],"sampler": [@@ -1370,7 +1621,7 @@0],"latent_image": [- "77",+ "93",2]},@@ -1388,19 +1639,6 @@"title": "RandomNoise"}},- "84": {- "inputs": {- "img_compression": 40,- "image": [- "89",- 0- ]- },- "class_type": "LTXVPreprocess",- "_meta": {- "title": "LTXVPreprocess"- }- },"85": {"inputs": {"prompt": "a person looking like Shrek talking",@@ -1450,33 +1688,48 @@"title": "Video Combine 🎥🅥🅗🅢"}},- "89": {+ "93": {"inputs": {"width": 768,"height": 512,- "upscale_method": "nearest-exact",- "keep_proportion": false,- "divisible_by": 2,- "crop": "center",+ "length": 97,+ "batch_size": 1,+ "crf": 29,+ "blur_radius": 0,+ "interpolation": "lanczos",+ "crop": "disabled",+ "strength": 0.9,+ "positive": [+ "6",+ 0+ ],+ "negative": [+ "7",+ 0+ ],+ "vae": [+ "44",+ 2+ ],"image": ["78",0]},- "class_type": "ImageResizeKJ",+ "class_type": "LTXVImgToVideoAdvanced","_meta": {- "title": "Resize Image"+ "title": "🅛🅣🅧 LTXV Img To Video Advanced"}},- "92": {+ "94": {"inputs": {- "skip_steps_sigma_threshold": 0.996,+ "skip_steps_sigma_threshold": 0.998,"cfg_star_rescale": true,"sigmas": "1.0, 0.9933, 0.9850, 0.9767, 0.9008, 0.6180",- "cfg_values": "4, 4, 4, 4, 1, 1",- "stg_scale_values": "2, 2, 2, 2, 1, 0",+ "cfg_values": "8, 6, 6, 4, 3, 1",+ "stg_scale_values": "4, 4, 3, 2, 1, 0","stg_rescale_values": "1, 1, 1, 1, 1, 1",- "stg_layers_indices": "[14], [14], [14], [14], [14], [14]",+ "stg_layers_indices": "[29], [29], [29], [29], [29], [29]","model": ["44",0@@ -1488,15 +1741,28 @@"negative": ["69",1+ ],+ "preset": [+ "95",+ 0]},"class_type": "STGGuiderAdvanced","_meta": {"title": "🅛🅣🅧 STG Guider Advanced"}+ },+ "95": {+ "inputs": {+ "preset": "13b Balanced"+ },+ "class_type": "STGAdvancedPresets",+ "_meta": {+ "title": "🅛🅣🅧 STG Advanced Presets"+ }}},- "comfy_fork_version": "feature/memory_prof@f7e64946"+ "comfy_fork_version": "develop@311c9b81"},"version": 0.4}diff --git a/assets/ltxvideo-last-sequence-conditioning.json b/example_workflows/low_level/ltxvideo-last-sequence-conditioning.jsonsimilarity index 69%rename from assets/ltxvideo-last-sequence-conditioning.jsonrename to example_workflows/low_level/ltxvideo-last-sequence-conditioning.jsonindex 4b895b7..71fecd7 100644--- a/assets/ltxvideo-last-sequence-conditioning.json+++ b/example_workflows/low_level/ltxvideo-last-sequence-conditioning.json@@ -1,6 +1,8 @@{- "last_node_id": 213,- "last_link_id": 584,+ "id": "17f4e723-29d5-4727-8781-c1240ca44ca9",+ "revision": 0,+ "last_node_id": 215,+ "last_link_id": 595,"nodes": [{"id": 71,@@ -14,26 +16,71 @@154],"flags": {},- "order": 19,+ "order": 0,"mode": 0,"inputs": [{- "name": "latent","localized_name": "latent",- "type": "LATENT",+ "name": "latent","shape": 7,- "link": 564+ "type": "LATENT",+ "link": null+ },+ {+ "localized_name": "steps",+ "name": "steps",+ "type": "INT",+ "widget": {+ "name": "steps"+ },+ "link": null+ },+ {+ "localized_name": "max_shift",+ "name": "max_shift",+ "type": "FLOAT",+ "widget": {+ "name": "max_shift"+ },+ "link": null+ },+ {+ "localized_name": "base_shift",+ "name": "base_shift",+ "type": "FLOAT",+ "widget": {+ "name": "base_shift"+ },+ "link": null+ },+ {+ "localized_name": "stretch",+ "name": "stretch",+ "type": "BOOLEAN",+ "widget": {+ "name": "stretch"+ },+ "link": null+ },+ {+ "localized_name": "terminal",+ "name": "terminal",+ "type": "FLOAT",+ "widget": {+ "name": "terminal"+ },+ "link": null}],"outputs": [{- "name": "SIGMAS","localized_name": "SIGMAS",+ "name": "SIGMAS","type": "SIGMAS",+ "slot_index": 0,"links": [542- ],- "slot_index": 0+ ]}],"properties": {@@ -59,40 +106,49 @@78],"flags": {},- "order": 16,+ "order": 17,"mode": 0,"inputs": [{- "name": "positive","localized_name": "positive",+ "name": "positive","type": "CONDITIONING","link": 266},{- "name": "negative","localized_name": "negative",+ "name": "negative","type": "CONDITIONING","link": 267+ },+ {+ "localized_name": "frame_rate",+ "name": "frame_rate",+ "type": "FLOAT",+ "widget": {+ "name": "frame_rate"+ },+ "link": null}],"outputs": [{- "name": "positive","localized_name": "positive",+ "name": "positive","type": "CONDITIONING",+ "slot_index": 0,"links": [- 556- ],- "slot_index": 0+ 588+ ]},{- "name": "negative","localized_name": "negative",+ "name": "negative","type": "CONDITIONING",+ "slot_index": 1,"links": [- 557- ],- "slot_index": 1+ 587+ ]}],"properties": {@@ -114,18 +170,37 @@82],"flags": {},- "order": 0,+ "order": 1,"mode": 0,- "inputs": [],+ "inputs": [+ {+ "localized_name": "llm_name",+ "name": "llm_name",+ "type": "STRING",+ "widget": {+ "name": "llm_name"+ },+ "link": null+ },+ {+ "localized_name": "image_captioner_name",+ "name": "image_captioner_name",+ "type": "STRING",+ "widget": {+ "name": "image_captioner_name"+ },+ "link": null+ }+ ],"outputs": [{- "name": "prompt_enhancer","localized_name": "prompt_enhancer",+ "name": "prompt_enhancer","type": "LTXV_PROMPT_ENHANCER",+ "slot_index": 0,"links": [538- ],- "slot_index": 0+ ]}],"properties": {@@ -145,22 +220,51 @@],"size": [315,- 98+ 106],"flags": {},- "order": 1,+ "order": 2,"mode": 0,- "inputs": [],+ "inputs": [+ {+ "localized_name": "clip_name",+ "name": "clip_name",+ "type": "COMBO",+ "widget": {+ "name": "clip_name"+ },+ "link": null+ },+ {+ "localized_name": "type",+ "name": "type",+ "type": "COMBO",+ "widget": {+ "name": "type"+ },+ "link": null+ },+ {+ "localized_name": "device",+ "name": "device",+ "shape": 7,+ "type": "COMBO",+ "widget": {+ "name": "device"+ },+ "link": null+ }+ ],"outputs": [{- "name": "CLIP","localized_name": "CLIP",+ "name": "CLIP","type": "CLIP",+ "slot_index": 0,"links": [74,75- ],- "slot_index": 0+ ]}],"properties": {@@ -186,16 +290,17 @@"flags": {"collapsed": true},- "order": 13,+ "order": 15,"mode": 0,"inputs": [{- "name": "clip","localized_name": "clip",+ "name": "clip","type": "CLIP","link": 74},{+ "localized_name": "text","name": "text","type": "STRING","widget": {@@ -206,13 +311,13 @@],"outputs": [{- "name": "CONDITIONING","localized_name": "CONDITIONING",+ "name": "CONDITIONING","type": "CONDITIONING",+ "slot_index": 0,"links": [266- ],- "slot_index": 0+ ]}],"title": "CLIP Text Encode (Positive Prompt)",@@ -239,25 +344,34 @@"flags": {"collapsed": true},- "order": 8,+ "order": 10,"mode": 0,"inputs": [{- "name": "clip","localized_name": "clip",+ "name": "clip","type": "CLIP","link": 75+ },+ {+ "localized_name": "text",+ "name": "text",+ "type": "STRING",+ "widget": {+ "name": "text"+ },+ "link": null}],"outputs": [{- "name": "CONDITIONING","localized_name": "CONDITIONING",+ "name": "CONDITIONING","type": "CONDITIONING",+ "slot_index": 0,"links": [267- ],- "slot_index": 0+ ]}],"title": "CLIP Text Encode (Negative Prompt)",@@ -282,32 +396,50 @@102],"flags": {},- "order": 9,+ "order": 11,"mode": 0,"inputs": [{- "name": "prompt_enhancer","localized_name": "prompt_enhancer",+ "name": "prompt_enhancer","type": "LTXV_PROMPT_ENHANCER","link": 538},{- "name": "image_prompt","localized_name": "image_prompt",- "type": "IMAGE",+ "name": "image_prompt","shape": 7,+ "type": "IMAGE","link": 523+ },+ {+ "localized_name": "prompt",+ "name": "prompt",+ "type": "STRING",+ "widget": {+ "name": "prompt"+ },+ "link": null+ },+ {+ "localized_name": "max_resulting_tokens",+ "name": "max_resulting_tokens",+ "type": "INT",+ "widget": {+ "name": "max_resulting_tokens"+ },+ "link": null}],"outputs": [{- "name": "str","localized_name": "str",+ "name": "str","type": "STRING",+ "slot_index": 0,"links": [507- ],- "slot_index": 0+ ]}],"properties": {@@ -330,49 +462,49 @@86],"flags": {},- "order": 12,+ "order": 14,"mode": 0,"inputs": [{- "name": "image","localized_name": "image",+ "name": "image","type": "IMAGE","link": 567}],"outputs": [{- "name": "image","localized_name": "image",+ "name": "image","type": "IMAGE","links": null},{- "name": "width","localized_name": "width",+ "name": "768 width","type": "INT",+ "slot_index": 1,"links": [568- ],- "slot_index": 1+ ]},{- "name": "height","localized_name": "height",+ "name": "512 height","type": "INT",+ "slot_index": 2,"links": [569- ],- "slot_index": 2+ ]},{- "name": "count","localized_name": "count",+ "name": "65 count","type": "INT",+ "slot_index": 3,"links": [570- ],- "slot_index": 3+ ]}],"properties": {@@ -392,55 +524,55 @@170],"flags": {},- "order": 15,+ "order": 16,"mode": 0,"inputs": [{+ "localized_name": "width","name": "width","type": "INT",- "pos": [- 10,- 36- ],"widget": {"name": "width"},"link": 568},{+ "localized_name": "height","name": "height","type": "INT",- "pos": [- 10,- 60- ],"widget": {"name": "height"},"link": 569},{+ "localized_name": "length","name": "length","type": "INT",- "pos": [- 10,- 84- ],"widget": {"name": "length"},"link": 570+ },+ {+ "localized_name": "batch_size",+ "name": "batch_size",+ "type": "INT",+ "widget": {+ "name": "batch_size"+ },+ "link": null}],"outputs": [{- "name": "LATENT","localized_name": "LATENT",+ "name": "LATENT","type": "LATENT",+ "slot_index": 0,"links": [- 558- ],- "slot_index": 0+ 585+ ]}],"properties": {@@ -453,46 +585,6 @@1]},- {- "id": 210,- "type": "LTXVPreprocess",- "pos": [- 459.7139587402344,- 306.710693359375- ],- "size": [- 315,- 58- ],- "flags": {},- "order": 14,- "mode": 0,- "inputs": [- {- "name": "image",- "localized_name": "image",- "type": "IMAGE",- "link": 571- }- ],- "outputs": [- {- "name": "output_image",- "localized_name": "output_image",- "type": "IMAGE",- "links": [- 572- ],- "slot_index": 0- }- ],- "properties": {- "Node name for S&R": "LTXVPreprocess"- },- "widgets_values": [- 35- ]- },{"id": 207,"type": "Note",@@ -505,7 +597,7 @@93.54439544677734],"flags": {},- "order": 2,+ "order": 3,"mode": 0,"inputs": [],"outputs": [],@@ -532,49 +624,49 @@"mode": 0,"inputs": [{- "name": "noise","localized_name": "noise",+ "name": "noise","type": "NOISE","link": 540},{- "name": "guider","localized_name": "guider",+ "name": "guider","type": "GUIDER","link": 584},{- "name": "sampler","localized_name": "sampler",+ "name": "sampler","type": "SAMPLER","link": 541},{- "name": "sigmas","localized_name": "sigmas",+ "name": "sigmas","type": "SIGMAS","link": 542},{- "name": "latent_image","localized_name": "latent_image",+ "name": "latent_image","type": "LATENT",- "link": 563+ "link": 591}],"outputs": [{- "name": "output","localized_name": "output",+ "name": "output","type": "LATENT",+ "slot_index": 0,"links": [578- ],- "slot_index": 0+ ]},{- "name": "denoised_output","localized_name": "denoised_output",+ "name": "denoised_output","type": "LATENT","links": null}@@ -585,78 +677,63 @@"widgets_values": []},{- "id": 192,+ "id": 194,"type": "VHS_SelectImages","pos": [- 80.78836059570312,- 417.3809509277344+ 459.2135314941406,+ 416.92822265625],"size": [315,106],"flags": {},- "order": 10,+ "order": 13,"mode": 0,"inputs": [{- "name": "image","localized_name": "image",+ "name": "image","type": "IMAGE",- "link": 525- }- ],- "outputs": [+ "link": 527+ },{- "name": "IMAGE",- "localized_name": "IMAGE",- "type": "IMAGE",- "links": [- 571- ],- "slot_index": 0- }- ],- "properties": {- "Node name for S&R": "VHS_SelectImages"- },- "widgets_values": {- "indexes": ":9",- "err_if_missing": true,- "err_if_empty": true- }- },- {- "id": 194,- "type": "VHS_SelectImages",- "pos": [- 459.2135314941406,- 416.92822265625- ],- "size": [- 315,- 106- ],- "flags": {},- "order": 11,- "mode": 0,- "inputs": [+ "localized_name": "indexes",+ "name": "indexes",+ "type": "STRING",+ "widget": {+ "name": "indexes"+ },+ "link": null+ },{- "name": "image",- "localized_name": "image",- "type": "IMAGE",- "link": 527+ "localized_name": "err_if_missing",+ "name": "err_if_missing",+ "type": "BOOLEAN",+ "widget": {+ "name": "err_if_missing"+ },+ "link": null+ },+ {+ "localized_name": "err_if_empty",+ "name": "err_if_empty",+ "type": "BOOLEAN",+ "widget": {+ "name": "err_if_empty"+ },+ "link": null}],"outputs": [{- "name": "IMAGE","localized_name": "IMAGE",+ "name": "IMAGE","type": "IMAGE",+ "slot_index": 0,"links": [574- ],- "slot_index": 0+ ]}],"properties": {@@ -680,7 +757,7 @@93.54439544677734],"flags": {},- "order": 3,+ "order": 4,"mode": 0,"inputs": [],"outputs": [],@@ -699,56 +776,128 @@277.4459533691406],"size": [- 239.82791137695312,- 422.55194091796875+ 245.1999969482422,+ 426.1333312988281],"flags": {},- "order": 4,+ "order": 5,"mode": 0,"inputs": [{- "name": "meta_batch","localized_name": "meta_batch",- "type": "VHS_BatchManager",+ "name": "meta_batch","shape": 7,+ "type": "VHS_BatchManager","link": null},{- "name": "vae","localized_name": "vae",- "type": "VAE",+ "name": "vae","shape": 7,+ "type": "VAE",+ "link": null+ },+ {+ "localized_name": "video",+ "name": "video",+ "type": "COMBO",+ "widget": {+ "name": "video"+ },+ "link": null+ },+ {+ "localized_name": "force_rate",+ "name": "force_rate",+ "type": "INT",+ "widget": {+ "name": "force_rate"+ },+ "link": null+ },+ {+ "localized_name": "force_size",+ "name": "force_size",+ "type": "COMBO",+ "widget": {+ "name": "force_size"+ },+ "link": null+ },+ {+ "localized_name": "custom_width",+ "name": "custom_width",+ "type": "INT",+ "widget": {+ "name": "custom_width"+ },+ "link": null+ },+ {+ "localized_name": "custom_height",+ "name": "custom_height",+ "type": "INT",+ "widget": {+ "name": "custom_height"+ },+ "link": null+ },+ {+ "localized_name": "frame_load_cap",+ "name": "frame_load_cap",+ "type": "INT",+ "widget": {+ "name": "frame_load_cap"+ },+ "link": null+ },+ {+ "localized_name": "skip_first_frames",+ "name": "skip_first_frames",+ "type": "INT",+ "widget": {+ "name": "skip_first_frames"+ },+ "link": null+ },+ {+ "localized_name": "select_every_nth",+ "name": "select_every_nth",+ "type": "INT",+ "widget": {+ "name": "select_every_nth"+ },"link": null}],"outputs": [{- "name": "IMAGE","localized_name": "IMAGE",+ "name": "IMAGE","type": "IMAGE",+ "slot_index": 0,"links": [523,525,527,567- ],- "slot_index": 0+ ]},{- "name": "frame_count","localized_name": "frame_count",+ "name": "frame_count","type": "INT","links": null},{- "name": "audio","localized_name": "audio",+ "name": "audio","type": "AUDIO","links": null},{- "name": "video_info","localized_name": "video_info",+ "name": "video_info","type": "VHS_VIDEOINFO","links": null}@@ -793,18 +942,28 @@58],"flags": {},- "order": 5,+ "order": 6,"mode": 0,- "inputs": [],+ "inputs": [+ {+ "localized_name": "sampler_name",+ "name": "sampler_name",+ "type": "COMBO",+ "widget": {+ "name": "sampler_name"+ },+ "link": null+ }+ ],"outputs": [{- "name": "SAMPLER","localized_name": "SAMPLER",+ "name": "SAMPLER","type": "SAMPLER",+ "slot_index": 0,"links": [541- ],- "slot_index": 0+ ]}],"properties": {@@ -815,253 +974,188 @@]},{- "id": 206,- "type": "LTXVAddGuide",+ "id": 213,+ "type": "STGGuiderAdvanced","pos": [- 831.139404296875,- 10.611289978027344+ 1207.9185791015625,+ -48.71029281616211],"size": [- 315,- 162+ 327.5999755859375,+ 262],"flags": {},- "order": 17,+ "order": 19,"mode": 0,"inputs": [{- "name": "positive",+ "localized_name": "model",+ "name": "model",+ "type": "MODEL",+ "link": 583+ },+ {"localized_name": "positive",+ "name": "positive","type": "CONDITIONING",- "link": 556+ "link": 589},{- "name": "negative","localized_name": "negative",+ "name": "negative","type": "CONDITIONING",- "link": 557+ "link": 590},{- "name": "vae",- "localized_name": "vae",- "type": "VAE",- "link": 566+ "localized_name": "preset",+ "name": "preset",+ "shape": 7,+ "type": "STG_ADVANCED_PRESET",+ "link": 592},{- "name": "latent",- "localized_name": "latent",- "type": "LATENT",- "link": 558+ "localized_name": "skip_steps_sigma_threshold",+ "name": "skip_steps_sigma_threshold",+ "type": "FLOAT",+ "widget": {+ "name": "skip_steps_sigma_threshold"+ },+ "link": null},{- "name": "image",- "localized_name": "image",- "type": "IMAGE",- "link": 572- }- ],- "outputs": [+ "localized_name": "cfg_star_rescale",+ "name": "cfg_star_rescale",+ "type": "BOOLEAN",+ "widget": {+ "name": "cfg_star_rescale"+ },+ "link": null+ },{- "name": "positive",- "localized_name": "positive",- "type": "CONDITIONING",- "links": [- 576,- 581- ],- "slot_index": 0+ "localized_name": "sigmas",+ "name": "sigmas",+ "type": "STRING",+ "widget": {+ "name": "sigmas"+ },+ "link": null},{- "name": "negative",- "localized_name": "negative",- "type": "CONDITIONING",- "links": [- 577,- 582- ],- "slot_index": 1+ "localized_name": "cfg_values",+ "name": "cfg_values",+ "type": "STRING",+ "widget": {+ "name": "cfg_values"+ },+ "link": null},{- "name": "latent",- "localized_name": "latent",- "type": "LATENT",+ "localized_name": "stg_scale_values",+ "name": "stg_scale_values",+ "type": "STRING",+ "widget": {+ "name": "stg_scale_values"+ },+ "link": null+ },+ {+ "localized_name": "stg_rescale_values",+ "name": "stg_rescale_values",+ "type": "STRING",+ "widget": {+ "name": "stg_rescale_values"+ },+ "link": null+ },+ {+ "localized_name": "stg_layers_indices",+ "name": "stg_layers_indices",+ "type": "STRING",+ "widget": {+ "name": "stg_layers_indices"+ },+ "link": null+ }+ ],+ "outputs": [+ {+ "localized_name": "GUIDER",+ "name": "GUIDER",+ "type": "GUIDER",+ "slot_index": 0,"links": [- 563,- 564- ],- "slot_index": 2+ 584+ ]}],"properties": {- "Node name for S&R": "LTXVAddGuide"+ "Node name for S&R": "STGGuiderAdvanced"},"widgets_values": [- -9,- 1+ 0.996,+ true,+ "1.0, 0.9933, 0.9850, 0.9767, 0.9008, 0.6180",+ "4, 4, 4, 4, 1, 1",+ "2, 2, 2, 2, 1, 0",+ "1, 1, 1, 1, 1, 1",+ "[14], [14], [14], [14], [14], [14]"]},{- "id": 44,- "type": "CheckpointLoaderSimple",+ "id": 212,+ "type": "LTXVCropGuides","pos": [- -301.724853515625,- -148.44154357910156+ 1632.5416259765625,+ -108.9360580444336],"size": [- 315,- 98+ 216.59999084472656,+ 66],"flags": {},- "order": 6,+ "order": 21,"mode": 0,- "inputs": [],- "outputs": [+ "inputs": [{- "name": "MODEL",- "localized_name": "MODEL",- "type": "MODEL",- "links": [- 583- ],- "slot_index": 0+ "localized_name": "positive",+ "name": "positive",+ "type": "CONDITIONING",+ "link": 594},{- "name": "CLIP",- "localized_name": "CLIP",- "type": "CLIP",- "links": null+ "localized_name": "negative",+ "name": "negative",+ "type": "CONDITIONING",+ "link": 595},{- "name": "VAE",- "localized_name": "VAE",- "type": "VAE",- "links": [- 565,- 566- ],- "slot_index": 2- }- ],- "properties": {- "Node name for S&R": "CheckpointLoaderSimple"- },- "widgets_values": [- "ltxv-2b-0.9.6-dev-04-25.safetensors"- ]- },- {- "id": 213,- "type": "STGGuiderAdvanced",- "pos": [- 1207.9185791015625,- -48.71029281616211- ],- "size": [- 327.5999755859375,- 242- ],- "flags": {},- "order": 18,- "mode": 0,- "inputs": [- {- "name": "model",- "localized_name": "model",- "type": "MODEL",- "link": 583- },- {- "name": "positive",- "localized_name": "positive",- "type": "CONDITIONING",- "link": 581- },- {- "name": "negative",- "localized_name": "negative",- "type": "CONDITIONING",- "link": 582- }- ],- "outputs": [- {- "name": "GUIDER",- "localized_name": "GUIDER",- "type": "GUIDER",- "links": [- 584- ],- "slot_index": 0- }- ],- "properties": {- "Node name for S&R": "STGGuiderAdvanced"- },- "widgets_values": [- 0.996,- true,- "1.0, 0.9933, 0.9850, 0.9767, 0.9008, 0.6180",- "4, 4, 4, 4, 1, 1",- "2, 2, 2, 2, 1, 0",- "1, 1, 1, 1, 1, 1",- "[14], [14], [14], [14], [14], [14]"- ]- },- {- "id": 212,- "type": "LTXVCropGuides",- "pos": [- 1632.5416259765625,- -108.9360580444336- ],- "size": [- 216.59999084472656,- 66- ],- "flags": {},- "order": 21,- "mode": 0,- "inputs": [- {- "name": "positive",- "localized_name": "positive",- "type": "CONDITIONING",- "link": 576- },- {- "name": "negative",- "localized_name": "negative",- "type": "CONDITIONING",- "link": 577- },- {- "name": "latent","localized_name": "latent",+ "name": "latent","type": "LATENT","link": 578}],"outputs": [{- "name": "positive","localized_name": "positive",+ "name": "positive","type": "CONDITIONING","links": null},{- "name": "negative","localized_name": "negative",+ "name": "negative","type": "CONDITIONING","links": null},{- "name": "latent","localized_name": "latent",+ "name": "latent","type": "LATENT",+ "slot_index": 2,"links": [579- ],- "slot_index": 2+ ]}],"properties": {@@ -1085,27 +1179,27 @@"mode": 0,"inputs": [{- "name": "samples","localized_name": "samples",+ "name": "samples","type": "LATENT","link": 579},{- "name": "vae","localized_name": "vae",+ "name": "vae","type": "VAE","link": 565}],"outputs": [{- "name": "IMAGE","localized_name": "IMAGE",+ "name": "IMAGE","type": "IMAGE",+ "slot_index": 0,"links": [575- ],- "slot_index": 0+ ]}],"properties": {@@ -1129,27 +1223,27 @@"mode": 0,"inputs": [{- "name": "image1","localized_name": "image1",+ "name": "image1","type": "IMAGE","link": 575},{- "name": "image2","localized_name": "image2",+ "name": "image2","type": "IMAGE","link": 574}],"outputs": [{- "name": "IMAGE","localized_name": "IMAGE",+ "name": "IMAGE","type": "IMAGE",+ "slot_index": 0,"links": [530- ],- "slot_index": 0+ ]}],"properties": {@@ -1173,38 +1267,92 @@"mode": 0,"inputs": [{- "name": "images","localized_name": "images",- "type": "IMAGE",+ "name": "images","shape": 7,+ "type": "IMAGE","link": 530},{- "name": "audio","localized_name": "audio",- "type": "AUDIO",+ "name": "audio","shape": 7,+ "type": "AUDIO","link": null},{- "name": "meta_batch","localized_name": "meta_batch",- "type": "VHS_BatchManager",+ "name": "meta_batch","shape": 7,+ "type": "VHS_BatchManager","link": null},{- "name": "vae","localized_name": "vae",- "type": "VAE",+ "name": "vae","shape": 7,+ "type": "VAE",+ "link": null+ },+ {+ "localized_name": "frame_rate",+ "name": "frame_rate",+ "type": "FLOAT",+ "widget": {+ "name": "frame_rate"+ },+ "link": null+ },+ {+ "localized_name": "loop_count",+ "name": "loop_count",+ "type": "INT",+ "widget": {+ "name": "loop_count"+ },+ "link": null+ },+ {+ "localized_name": "filename_prefix",+ "name": "filename_prefix",+ "type": "STRING",+ "widget": {+ "name": "filename_prefix"+ },+ "link": null+ },+ {+ "localized_name": "format",+ "name": "format",+ "type": "COMBO",+ "widget": {+ "name": "format"+ },+ "link": null+ },+ {+ "localized_name": "pingpong",+ "name": "pingpong",+ "type": "BOOLEAN",+ "widget": {+ "name": "pingpong"+ },+ "link": null+ },+ {+ "localized_name": "save_output",+ "name": "save_output",+ "type": "BOOLEAN",+ "widget": {+ "name": "save_output"+ },"link": null}],"outputs": [{- "name": "Filenames","localized_name": "Filenames",+ "name": "Filenames","type": "VHS_FILENAMES","links": null}@@ -1226,47 +1374,367 @@"hidden": false,"paused": false,"params": {- "filename": "ltxv_00124.mp4",+ "filename": "ltxv_00263.mp4","subfolder": "","type": "output","format": "video/h264-mp4","frame_rate": 25}}- }- },- {- "id": 190,- "type": "RandomNoise",- "pos": [- 831.1925048828125,- -140.77906799316406+ }+ },+ {+ "id": 190,+ "type": "RandomNoise",+ "pos": [+ 1217.605224609375,+ 473.9659729003906+ ],+ "size": [+ 315,+ 82+ ],+ "flags": {},+ "order": 7,+ "mode": 0,+ "inputs": [+ {+ "localized_name": "noise_seed",+ "name": "noise_seed",+ "type": "INT",+ "widget": {+ "name": "noise_seed"+ },+ "link": null+ }+ ],+ "outputs": [+ {+ "localized_name": "NOISE",+ "name": "NOISE",+ "type": "NOISE",+ "slot_index": 0,+ "links": [+ 540+ ]+ }+ ],+ "properties": {+ "Node name for S&R": "RandomNoise"+ },+ "widgets_values": [+ 42,+ "fixed"+ ]+ },+ {+ "id": 215,+ "type": "STGAdvancedPresets",+ "pos": [+ 818.2335815429688,+ -112.7419204711914+ ],+ "size": [+ 340.20001220703125,+ 58+ ],+ "flags": {},+ "order": 8,+ "mode": 0,+ "inputs": [+ {+ "localized_name": "preset",+ "name": "preset",+ "type": "COMBO",+ "widget": {+ "name": "preset"+ },+ "link": null+ }+ ],+ "outputs": [+ {+ "localized_name": "STG_ADVANCED_PRESET",+ "name": "STG_ADVANCED_PRESET",+ "type": "STG_ADVANCED_PRESET",+ "links": [+ 592+ ]+ }+ ],+ "properties": {+ "Node name for S&R": "STGAdvancedPresets"+ },+ "widgets_values": [+ "13b Balanced"+ ]+ },+ {+ "id": 192,+ "type": "VHS_SelectImages",+ "pos": [+ 80.78836059570312,+ 417.3809509277344+ ],+ "size": [+ 315,+ 106+ ],+ "flags": {},+ "order": 12,+ "mode": 0,+ "inputs": [+ {+ "localized_name": "image",+ "name": "image",+ "type": "IMAGE",+ "link": 525+ },+ {+ "localized_name": "indexes",+ "name": "indexes",+ "type": "STRING",+ "widget": {+ "name": "indexes"+ },+ "link": null+ },+ {+ "localized_name": "err_if_missing",+ "name": "err_if_missing",+ "type": "BOOLEAN",+ "widget": {+ "name": "err_if_missing"+ },+ "link": null+ },+ {+ "localized_name": "err_if_empty",+ "name": "err_if_empty",+ "type": "BOOLEAN",+ "widget": {+ "name": "err_if_empty"+ },+ "link": null+ }+ ],+ "outputs": [+ {+ "localized_name": "IMAGE",+ "name": "IMAGE",+ "type": "IMAGE",+ "slot_index": 0,+ "links": [+ 593+ ]+ }+ ],+ "properties": {+ "Node name for S&R": "VHS_SelectImages"+ },+ "widgets_values": {+ "indexes": ":9",+ "err_if_missing": true,+ "err_if_empty": true+ }+ },+ {+ "id": 44,+ "type": "CheckpointLoaderSimple",+ "pos": [+ -301.724853515625,+ -148.44154357910156+ ],+ "size": [+ 315,+ 98+ ],+ "flags": {},+ "order": 9,+ "mode": 0,+ "inputs": [+ {+ "localized_name": "ckpt_name",+ "name": "ckpt_name",+ "type": "COMBO",+ "widget": {+ "name": "ckpt_name"+ },+ "link": null+ }+ ],+ "outputs": [+ {+ "localized_name": "MODEL",+ "name": "MODEL",+ "type": "MODEL",+ "slot_index": 0,+ "links": [+ 583+ ]+ },+ {+ "localized_name": "CLIP",+ "name": "CLIP",+ "type": "CLIP",+ "links": null+ },+ {+ "localized_name": "VAE",+ "name": "VAE",+ "type": "VAE",+ "slot_index": 2,+ "links": [+ 565,+ 586+ ]+ }+ ],+ "properties": {+ "Node name for S&R": "CheckpointLoaderSimple"+ },+ "widgets_values": [+ "ltx-video-13b-step-1358000.safetensors"+ ]+ },+ {+ "id": 214,+ "type": "LTXVAddGuideAdvanced",+ "pos": [+ 824.7384033203125,+ -9.668047904968262+ ],+ "size": [+ 327.14862060546875,+ 258+ ],+ "flags": {},+ "order": 18,+ "mode": 0,+ "inputs": [+ {+ "localized_name": "positive",+ "name": "positive",+ "type": "CONDITIONING",+ "link": 588+ },+ {+ "localized_name": "negative",+ "name": "negative",+ "type": "CONDITIONING",+ "link": 587+ },+ {+ "localized_name": "vae",+ "name": "vae",+ "type": "VAE",+ "link": 586+ },+ {+ "localized_name": "latent",+ "name": "latent",+ "type": "LATENT",+ "link": 585+ },+ {+ "localized_name": "image",+ "name": "image",+ "type": "IMAGE",+ "link": 593+ },+ {+ "localized_name": "frame_idx",+ "name": "frame_idx",+ "type": "INT",+ "widget": {+ "name": "frame_idx"+ },+ "link": null+ },+ {+ "localized_name": "strength",+ "name": "strength",+ "type": "FLOAT",+ "widget": {+ "name": "strength"+ },+ "link": null+ },+ {+ "localized_name": "crf",+ "name": "crf",+ "type": "INT",+ "widget": {+ "name": "crf"+ },+ "link": null+ },+ {+ "localized_name": "blur_radius",+ "name": "blur_radius",+ "type": "INT",+ "widget": {+ "name": "blur_radius"+ },+ "link": null+ },+ {+ "localized_name": "interpolation",+ "name": "interpolation",+ "type": "COMBO",+ "widget": {+ "name": "interpolation"+ },+ "link": null+ },+ {+ "localized_name": "crop",+ "name": "crop",+ "type": "COMBO",+ "widget": {+ "name": "crop"+ },+ "link": null+ }],- "size": [- 315,- 82- ],- "flags": {},- "order": 7,- "mode": 0,- "inputs": [],"outputs": [{- "name": "NOISE",- "localized_name": "NOISE",- "type": "NOISE",+ "localized_name": "positive",+ "name": "positive",+ "type": "CONDITIONING","links": [- 540- ],- "slot_index": 0+ 589,+ 594+ ]+ },+ {+ "localized_name": "negative",+ "name": "negative",+ "type": "CONDITIONING",+ "links": [+ 590,+ 595+ ]+ },+ {+ "localized_name": "latent",+ "name": "latent",+ "type": "LATENT",+ "links": [+ 591+ ]}],"properties": {- "Node name for S&R": "RandomNoise"+ "Node name for S&R": "LTXVAddGuideAdvanced"},"widgets_values": [- 42,- "fixed"+ 0,+ 1,+ 29,+ 0,+ "lanczos",+ "disabled"]}],@@ -1375,46 +1843,6 @@3,"SIGMAS"],- [- 556,- 69,- 0,- 206,- 0,- "CONDITIONING"- ],- [- 557,- 69,- 1,- 206,- 1,- "CONDITIONING"- ],- [- 558,- 80,- 0,- 206,- 3,- "LATENT"- ],- [- 563,- 206,- 2,- 200,- 4,- "LATENT"- ],- [- 564,- 206,- 2,- 71,- 0,- "LATENT"- ],[565,44,@@ -1423,14 +1851,6 @@1,"VAE"],- [- 566,- 44,- 2,- 206,- 2,- "VAE"- ],[567,134,@@ -1463,22 +1883,6 @@2,"INT"],- [- 571,- 192,- 0,- 210,- 0,- "IMAGE"- ],- [- 572,- 210,- 0,- 206,- 4,- "IMAGE"- ],[574,194,@@ -1495,22 +1899,6 @@0,"IMAGE"],- [- 576,- 206,- 0,- 212,- 0,- "CONDITIONING"- ],- [- 577,- 206,- 1,- 212,- 1,- "CONDITIONING"- ],[578,200,@@ -1528,46 +1916,118 @@"LATENT"],[- 581,- 206,+ 583,+ 44,+ 0,+ 213,+ 0,+ "MODEL"+ ],+ [+ 584,+ 213,+ 0,+ 200,+ 1,+ "GUIDER"+ ],+ [+ 585,+ 80,+ 0,+ 214,+ 3,+ "LATENT"+ ],+ [+ 586,+ 44,+ 2,+ 214,+ 2,+ "VAE"+ ],+ [+ 587,+ 69,+ 1,+ 214,+ 1,+ "CONDITIONING"+ ],+ [+ 588,+ 69,+ 0,+ 214,+ 0,+ "CONDITIONING"+ ],+ [+ 589,+ 214,0,213,1,"CONDITIONING"],[- 582,- 206,+ 590,+ 214,1,213,2,"CONDITIONING"],[- 583,- 44,+ 591,+ 214,+ 2,+ 200,+ 4,+ "LATENT"+ ],+ [+ 592,+ 215,0,213,+ 3,+ "STG_ADVANCED_PRESET"+ ],+ [+ 593,+ 192,0,- "MODEL"+ 214,+ 4,+ "IMAGE"],[- 584,- 213,+ 594,+ 214,0,- 200,+ 212,+ 0,+ "CONDITIONING"+ ],+ [+ 595,+ 214,1,- "GUIDER"+ 212,+ 1,+ "CONDITIONING"]],"groups": [],"config": {},"extra": {"ds": {- "scale": 0.6303940863128502,+ "scale": 0.7236929081080979,"offset": [- 544.9425929851524,- 236.16737008581478+ 293.83453790385664,+ 252.2818479497265]},"prompt": {@@ -1629,7 +2089,7 @@},"44": {"inputs": {- "ckpt_name": "ltxv-2b-0.9.6-dev-04-25.safetensors"+ "ckpt_name": "ltx-video-13b-step-1358000.safetensors"},"class_type": "CheckpointLoaderSimple","_meta": {@@ -1659,11 +2119,7 @@"max_shift": 2.05,"base_shift": 0.95,"stretch": true,- "terminal": 0.1,- "latent": [- "206",- 2- ]+ "terminal": 0.1},"class_type": "LTXVScheduler","_meta": {@@ -1839,7 +2295,7 @@0],"latent_image": [- "206",+ "214",2]},@@ -1848,36 +2304,6 @@"title": "SamplerCustomAdvanced"}},- "206": {- "inputs": {- "frame_idx": -9,- "strength": 1,- "positive": [- "69",- 0- ],- "negative": [- "69",- 1- ],- "vae": [- "44",- 2- ],- "latent": [- "80",- 0- ],- "image": [- "210",- 0- ]- },- "class_type": "LTXVAddGuide",- "_meta": {- "title": "LTXVAddGuide"- }- },"209": {"inputs": {"image": [@@ -1890,27 +2316,14 @@"title": "Get Image Size & Count"}},- "210": {- "inputs": {- "img_compression": 35,- "image": [- "192",- 0- ]- },- "class_type": "LTXVPreprocess",- "_meta": {- "title": "LTXVPreprocess"- }- },"212": {"inputs": {"positive": [- "206",+ "214",0],"negative": [- "206",+ "214",1],"latent": [@@ -1937,24 +2350,73 @@0],"positive": [- "206",+ "214",0],"negative": [- "206",+ "214",1+ ],+ "preset": [+ "215",+ 0]},"class_type": "STGGuiderAdvanced","_meta": {"title": "🅛🅣🅧 STG Guider Advanced"}+ },+ "214": {+ "inputs": {+ "frame_idx": 0,+ "strength": 1,+ "crf": 29,+ "blur_radius": 0,+ "interpolation": "lanczos",+ "crop": "disabled",+ "positive": [+ "69",+ 0+ ],+ "negative": [+ "69",+ 1+ ],+ "vae": [+ "44",+ 2+ ],+ "latent": [+ "80",+ 0+ ],+ "image": [+ "192",+ 0+ ]+ },+ "class_type": "LTXVAddGuideAdvanced",+ "_meta": {+ "title": "🅛🅣🅧 LTXV Add Guide Advanced"+ }+ },+ "215": {+ "inputs": {+ "preset": "13b Balanced"+ },+ "class_type": "STGAdvancedPresets",+ "_meta": {+ "title": "🅛🅣🅧 STG Advanced Presets"+ }}},- "comfy_fork_version": "feature/memory_prof@f7e64946",+ "comfy_fork_version": "develop@311c9b81","node_versions": {- "comfy-core": "0.3.27"- }+ "comfy-core": "0.3.30",+ "comfyui-kjnodes": "1.0.8"+ },+ "frontendVersion": "1.17.11"},"version": 0.4}diff --git a/assets/ltxvideo-t2v.json b/example_workflows/low_level/ltxvideo-t2v.jsonsimilarity index 100%rename from assets/ltxvideo-t2v.jsonrename to example_workflows/low_level/ltxvideo-t2v.jsondiff --git a/assets/moto.png b/example_workflows/low_level/moto.pngsimilarity index 100%rename from assets/moto.pngrename to example_workflows/low_level/moto.pngdiff --git a/assets/shrek2.jpg b/example_workflows/low_level/shrek2.jpgsimilarity index 100%rename from assets/shrek2.jpgrename to example_workflows/low_level/shrek2.jpgdiff --git a/assets/start.jpg b/example_workflows/low_level/start.jpgsimilarity index 100%rename from assets/start.jpgrename to example_workflows/low_level/start.jpgdiff --git a/example_workflows/ltxv-13b-i2v-base-fp8.json b/example_workflows/ltxv-13b-i2v-base-fp8.jsonnew file mode 100644index 0000000..694ff2a--- /dev/null+++ b/example_workflows/ltxv-13b-i2v-base-fp8.json@@ -0,0 +1,3318 @@+{+ "id": "394ed254-7306-42a2-9ae6-aa880ce4456d",+ "revision": 0,+ "last_node_id": 1875,+ "last_link_id": 5380,+ "nodes": [+ {+ "id": 1601,+ "type": "VAEDecodeTiled",+ "pos": [+ 4565.6015625,+ 2168.989501953125+ ],+ "size": [+ 210,+ 150+ ],+ "flags": {},+ "order": 32,+ "mode": 0,+ "inputs": [+ {+ "localized_name": "samples",+ "name": "samples",+ "type": "LATENT",+ "link": 5306+ },+ {+ "localized_name": "vae",+ "name": "vae",+ "type": "VAE",+ "link": 5380+ },+ {+ "localized_name": "tile_size",+ "name": "tile_size",+ "type": "INT",+ "widget": {+ "name": "tile_size"+ },+ "link": null+ },+ {+ "localized_name": "overlap",+ "name": "overlap",+ "type": "INT",+ "widget": {+ "name": "overlap"+ },+ "link": null+ },+ {+ "localized_name": "temporal_size",+ "name": "temporal_size",+ "type": "INT",+ "widget": {+ "name": "temporal_size"+ },+ "link": null+ },+ {+ "localized_name": "temporal_overlap",+ "name": "temporal_overlap",+ "type": "INT",+ "widget": {+ "name": "temporal_overlap"+ },+ "link": null+ }+ ],+ "outputs": [+ {+ "localized_name": "IMAGE",+ "name": "IMAGE",+ "type": "IMAGE",+ "links": [+ 4749+ ]+ }+ ],+ "properties": {+ "Node name for S&R": "VAEDecodeTiled",+ "cnr_id": "comfy-core",+ "ver": "0.3.29"+ },+ "widgets_values": [+ 1280,+ 128,+ 256,+ 32+ ]+ },+ {+ "id": 1241,+ "type": "LTXVConditioning",+ "pos": [+ 1090.674072265625,+ 2272.830322265625+ ],+ "size": [+ 328.21636962890625,+ 78+ ],+ "flags": {},+ "order": 21,+ "mode": 0,+ "inputs": [+ {+ "localized_name": "positive",+ "name": "positive",+ "type": "CONDITIONING",+ "link": 3364+ },+ {+ "localized_name": "negative",+ "name": "negative",+ "type": "CONDITIONING",+ "link": 3365+ },+ {+ "localized_name": "frame_rate",+ "name": "frame_rate",+ "type": "FLOAT",+ "widget": {+ "name": "frame_rate"+ },+ "link": null+ }+ ],+ "outputs": [+ {+ "localized_name": "positive",+ "name": "positive",+ "type": "CONDITIONING",+ "slot_index": 0,+ "links": [+ 5227,+ 5274+ ]+ },+ {+ "localized_name": "negative",+ "name": "negative",+ "type": "CONDITIONING",+ "slot_index": 1,+ "links": [+ 5228,+ 5275+ ]+ }+ ],+ "properties": {+ "Node name for S&R": "LTXVConditioning",+ "cnr_id": "comfy-core",+ "ver": "0.3.28"+ },+ "widgets_values": [+ 24.000000000000004+ ]+ },+ {+ "id": 7,+ "type": "CLIPTextEncode",+ "pos": [+ 730.2447509765625,+ 2399.255615234375+ ],+ "size": [+ 317.832275390625,+ 213.2843780517578+ ],+ "flags": {},+ "order": 18,+ "mode": 0,+ "inputs": [+ {+ "localized_name": "clip",+ "name": "clip",+ "type": "CLIP",+ "link": 75+ },+ {+ "localized_name": "text",+ "name": "text",+ "type": "STRING",+ "widget": {+ "name": "text"+ },+ "link": null+ }+ ],+ "outputs": [+ {+ "localized_name": "CONDITIONING",+ "name": "CONDITIONING",+ "type": "CONDITIONING",+ "slot_index": 0,+ "links": [+ 3365+ ]+ }+ ],+ "title": "CLIP Text Encode (Negative Prompt)",+ "properties": {+ "Node name for S&R": "CLIPTextEncode",+ "cnr_id": "comfy-core",+ "ver": "0.3.28"+ },+ "widgets_values": [+ "low quality, worst quality, deformed, distorted, disfigured, motion smear, motion artifacts, fused fingers, bad anatomy, weird hand, ugly"+ ],+ "color": "#322",+ "bgcolor": "#533"+ },+ {+ "id": 38,+ "type": "CLIPLoader",+ "pos": [+ 347.74371337890625,+ 2311.21337890625+ ],+ "size": [+ 315,+ 106+ ],+ "flags": {},+ "order": 0,+ "mode": 0,+ "inputs": [+ {+ "localized_name": "clip_name",+ "name": "clip_name",+ "type": "COMBO",+ "widget": {+ "name": "clip_name"+ },+ "link": null+ },+ {+ "localized_name": "type",+ "name": "type",+ "type": "COMBO",+ "widget": {+ "name": "type"+ },+ "link": null+ },+ {+ "localized_name": "device",+ "name": "device",+ "shape": 7,+ "type": "COMBO",+ "widget": {+ "name": "device"+ },+ "link": null+ }+ ],+ "outputs": [+ {+ "localized_name": "CLIP",+ "name": "CLIP",+ "type": "CLIP",+ "slot_index": 0,+ "links": [+ 74,+ 75+ ]+ }+ ],+ "properties": {+ "Node name for S&R": "CLIPLoader",+ "cnr_id": "comfy-core",+ "ver": "0.3.28"+ },+ "widgets_values": [+ "t5xxl_fp16.safetensors",+ "ltxv",+ "default"+ ]+ },+ {+ "id": 1828,+ "type": "LTXVLatentUpsamplerModelLoader",+ "pos": [+ 3338.0751953125,+ 2116.379638671875+ ],+ "size": [+ 344.3999938964844,+ 106+ ],+ "flags": {},+ "order": 1,+ "mode": 0,+ "inputs": [+ {+ "localized_name": "upscale_model",+ "name": "upscale_model",+ "type": "COMBO",+ "widget": {+ "name": "upscale_model"+ },+ "link": null+ },+ {+ "localized_name": "spatial_upsample",+ "name": "spatial_upsample",+ "type": "BOOLEAN",+ "widget": {+ "name": "spatial_upsample"+ },+ "link": null+ },+ {+ "localized_name": "temporal_upsample",+ "name": "temporal_upsample",+ "type": "BOOLEAN",+ "widget": {+ "name": "temporal_upsample"+ },+ "link": null+ }+ ],+ "outputs": [+ {+ "localized_name": "UPSCALE_MODEL",+ "name": "UPSCALE_MODEL",+ "type": "UPSCALE_MODEL",+ "links": [+ 5303+ ]+ }+ ],+ "properties": {+ "Node name for S&R": "LTXVLatentUpsamplerModelLoader"+ },+ "widgets_values": [+ "ltxv-spatial-upscaler-0.9.7.safetensors",+ true,+ false+ ]+ },+ {+ "id": 1661,+ "type": "ImageResizeKJ",+ "pos": [+ 4825.6025390625,+ 2168.989501953125+ ],+ "size": [+ 315,+ 238+ ],+ "flags": {},+ "order": 33,+ "mode": 0,+ "inputs": [+ {+ "localized_name": "image",+ "name": "image",+ "type": "IMAGE",+ "link": 4749+ },+ {+ "localized_name": "width_input",+ "name": "width_input",+ "shape": 7,+ "type": "INT",+ "link": null+ },+ {+ "localized_name": "height_input",+ "name": "height_input",+ "shape": 7,+ "type": "INT",+ "link": null+ },+ {+ "localized_name": "get_image_size",+ "name": "get_image_size",+ "shape": 7,+ "type": "IMAGE",+ "link": null+ },+ {+ "localized_name": "width",+ "name": "width",+ "type": "INT",+ "widget": {+ "name": "width"+ },+ "link": null+ },+ {+ "localized_name": "height",+ "name": "height",+ "type": "INT",+ "widget": {+ "name": "height"+ },+ "link": null+ },+ {+ "localized_name": "upscale_method",+ "name": "upscale_method",+ "type": "COMBO",+ "widget": {+ "name": "upscale_method"+ },+ "link": null+ },+ {+ "localized_name": "keep_proportion",+ "name": "keep_proportion",+ "type": "BOOLEAN",+ "widget": {+ "name": "keep_proportion"+ },+ "link": null+ },+ {+ "localized_name": "divisible_by",+ "name": "divisible_by",+ "type": "INT",+ "widget": {+ "name": "divisible_by"+ },+ "link": null+ },+ {+ "localized_name": "crop",+ "name": "crop",+ "shape": 7,+ "type": "COMBO",+ "widget": {+ "name": "crop"+ },+ "link": null+ }+ ],+ "outputs": [+ {+ "localized_name": "IMAGE",+ "name": "IMAGE",+ "type": "IMAGE",+ "links": [+ 4751+ ]+ },+ {+ "localized_name": "width",+ "name": "width",+ "type": "INT",+ "links": null+ },+ {+ "localized_name": "height",+ "name": "height",+ "type": "INT",+ "links": null+ }+ ],+ "properties": {+ "Node name for S&R": "ImageResizeKJ"+ },+ "widgets_values": [+ 1280,+ 1280,+ "bicubic",+ true,+ 2,+ "center"+ ]+ },+ {+ "id": 1335,+ "type": "VAEDecode",+ "pos": [+ 2515.01953125,+ 2253.726318359375+ ],+ "size": [+ 210,+ 46+ ],+ "flags": {},+ "order": 27,+ "mode": 0,+ "inputs": [+ {+ "localized_name": "samples",+ "name": "samples",+ "type": "LATENT",+ "link": 3576+ },+ {+ "localized_name": "vae",+ "name": "vae",+ "type": "VAE",+ "link": 5379+ }+ ],+ "outputs": [+ {+ "localized_name": "IMAGE",+ "name": "IMAGE",+ "type": "IMAGE",+ "links": [+ 3578+ ]+ }+ ],+ "properties": {+ "Node name for S&R": "VAEDecode",+ "cnr_id": "comfy-core",+ "ver": "0.3.29"+ },+ "widgets_values": []+ },+ {+ "id": 1699,+ "type": "LTXVFilmGrain",+ "pos": [+ 5175.60205078125,+ 2168.989501953125+ ],+ "size": [+ 210,+ 82+ ],+ "flags": {},+ "order": 34,+ "mode": 0,+ "inputs": [+ {+ "localized_name": "images",+ "name": "images",+ "type": "IMAGE",+ "link": 4751+ },+ {+ "localized_name": "grain_intensity",+ "name": "grain_intensity",+ "type": "FLOAT",+ "widget": {+ "name": "grain_intensity"+ },+ "link": null+ },+ {+ "localized_name": "saturation",+ "name": "saturation",+ "type": "FLOAT",+ "widget": {+ "name": "saturation"+ },+ "link": null+ }+ ],+ "outputs": [+ {+ "localized_name": "IMAGE",+ "name": "IMAGE",+ "type": "IMAGE",+ "links": [+ 4752+ ]+ }+ ],+ "properties": {+ "Node name for S&R": "LTXVFilmGrain"+ },+ "widgets_values": [+ 0.010000000000000002,+ 0.5+ ]+ },+ {+ "id": 1336,+ "type": "VHS_VideoCombine",+ "pos": [+ 2789.545166015625,+ 2253.726318359375+ ],+ "size": [+ 471.0374755859375,+ 624.691650390625+ ],+ "flags": {},+ "order": 29,+ "mode": 0,+ "inputs": [+ {+ "localized_name": "images",+ "name": "images",+ "shape": 7,+ "type": "IMAGE",+ "link": 3578+ },+ {+ "localized_name": "audio",+ "name": "audio",+ "shape": 7,+ "type": "AUDIO",+ "link": null+ },+ {+ "localized_name": "meta_batch",+ "name": "meta_batch",+ "shape": 7,+ "type": "VHS_BatchManager",+ "link": null+ },+ {+ "localized_name": "vae",+ "name": "vae",+ "shape": 7,+ "type": "VAE",+ "link": null+ },+ {+ "localized_name": "frame_rate",+ "name": "frame_rate",+ "type": "FLOAT",+ "widget": {+ "name": "frame_rate"+ },+ "link": null+ },+ {+ "localized_name": "loop_count",+ "name": "loop_count",+ "type": "INT",+ "widget": {+ "name": "loop_count"+ },+ "link": null+ },+ {+ "localized_name": "filename_prefix",+ "name": "filename_prefix",+ "type": "STRING",+ "widget": {+ "name": "filename_prefix"+ },+ "link": null+ },+ {+ "localized_name": "format",+ "name": "format",+ "type": "COMBO",+ "widget": {+ "name": "format"+ },+ "link": null+ },+ {+ "localized_name": "pingpong",+ "name": "pingpong",+ "type": "BOOLEAN",+ "widget": {+ "name": "pingpong"+ },+ "link": null+ },+ {+ "localized_name": "save_output",+ "name": "save_output",+ "type": "BOOLEAN",+ "widget": {+ "name": "save_output"+ },+ "link": null+ }+ ],+ "outputs": [+ {+ "localized_name": "Filenames",+ "name": "Filenames",+ "type": "VHS_FILENAMES",+ "links": null+ }+ ],+ "properties": {+ "Node name for S&R": "VHS_VideoCombine"+ },+ "widgets_values": {+ "frame_rate": 24,+ "loop_count": 0,+ "filename_prefix": "ltxv-base",+ "format": "video/h264-mp4",+ "pix_fmt": "yuv420p",+ "crf": 19,+ "save_metadata": true,+ "pingpong": false,+ "save_output": false,+ "videopreview": {+ "hidden": false,+ "paused": false,+ "params": {+ "filename": "ltxv-base_00001.mp4",+ "subfolder": "",+ "type": "temp",+ "format": "video/h264-mp4",+ "frame_rate": 24+ }+ }+ }+ },+ {+ "id": 6,+ "type": "CLIPTextEncode",+ "pos": [+ 725.3102416992188,+ 2114.966064453125+ ],+ "size": [+ 307.2346496582031,+ 204.2556610107422+ ],+ "flags": {},+ "order": 17,+ "mode": 0,+ "inputs": [+ {+ "localized_name": "clip",+ "name": "clip",+ "type": "CLIP",+ "link": 74+ },+ {+ "localized_name": "text",+ "name": "text",+ "type": "STRING",+ "widget": {+ "name": "text"+ },+ "link": null+ }+ ],+ "outputs": [+ {+ "localized_name": "CONDITIONING",+ "name": "CONDITIONING",+ "type": "CONDITIONING",+ "slot_index": 0,+ "links": [+ 3364+ ]+ }+ ],+ "title": "CLIP Text Encode (Positive Prompt)",+ "properties": {+ "Node name for S&R": "CLIPTextEncode",+ "cnr_id": "comfy-core",+ "ver": "0.3.28"+ },+ "widgets_values": [+ ""+ ],+ "color": "#232",+ "bgcolor": "#353"+ },+ {+ "id": 1858,+ "type": "Note",+ "pos": [+ 1098.473388671875,+ 2107.7099609375+ ],+ "size": [+ 313.80950927734375,+ 120.61924743652344+ ],+ "flags": {},+ "order": 2,+ "mode": 0,+ "inputs": [],+ "outputs": [],+ "properties": {},+ "widgets_values": [+ "Framerate can be adjusted, just make sure you are using the same framerate in your VideoCombine node to see proper playback.\n\n60FPS = Lower quality, more motion\n24 FPS = Higher quality, less motion"+ ],+ "color": "#432",+ "bgcolor": "#653"+ },+ {+ "id": 1859,+ "type": "Note",+ "pos": [+ 2134.832763671875,+ 2111.12353515625+ ],+ "size": [+ 298.2620544433594,+ 88+ ],+ "flags": {},+ "order": 3,+ "mode": 0,+ "inputs": [],+ "outputs": [],+ "properties": {},+ "widgets_values": [+ "We generate at a base resolution of 768x512.\nThe video will be upscaled later to FHD."+ ],+ "color": "#432",+ "bgcolor": "#653"+ },+ {+ "id": 1823,+ "type": "Note",+ "pos": [+ 1779.07470703125,+ 2575.503662109375+ ],+ "size": [+ 276.017578125,+ 171.05442810058594+ ],+ "flags": {},+ "order": 4,+ "mode": 0,+ "inputs": [],+ "outputs": [],+ "properties": {},+ "widgets_values": [+ "The Advanced STG Guider dynamically controls the diffusion model's denoising process by mapping sigma values to specific configuration parameters (CFG scale, STG scale/rescale factors, and attention layer skipping patterns), enabling precise control at different denoising stages independently of step numbers while supporting additional techniques like CFG-Zero rescaling and threshold-based noise prediction zeroing."+ ],+ "color": "#432",+ "bgcolor": "#653"+ },+ {+ "id": 1861,+ "type": "Note",+ "pos": [+ 1510,+ 2368.19873046875+ ],+ "size": [+ 216.66220092773438,+ 88+ ],+ "flags": {},+ "order": 5,+ "mode": 0,+ "inputs": [],+ "outputs": [],+ "properties": {},+ "widgets_values": [+ "Presets override the values inside 🅛🅣🅧 STG Guider Advanced node."+ ],+ "color": "#432",+ "bgcolor": "#653"+ },+ {+ "id": 1103,+ "type": "BasicScheduler",+ "pos": [+ 1510,+ 2718.19873046875+ ],+ "size": [+ 245.24002075195312,+ 106+ ],+ "flags": {},+ "order": 22,+ "mode": 0,+ "inputs": [+ {+ "localized_name": "model",+ "name": "model",+ "type": "MODEL",+ "link": 5374+ },+ {+ "localized_name": "scheduler",+ "name": "scheduler",+ "type": "COMBO",+ "widget": {+ "name": "scheduler"+ },+ "link": null+ },+ {+ "localized_name": "steps",+ "name": "steps",+ "type": "INT",+ "widget": {+ "name": "steps"+ },+ "link": null+ },+ {+ "localized_name": "denoise",+ "name": "denoise",+ "type": "FLOAT",+ "widget": {+ "name": "denoise"+ },+ "link": null+ }+ ],+ "outputs": [+ {+ "localized_name": "SIGMAS",+ "name": "SIGMAS",+ "type": "SIGMAS",+ "links": [+ 5225,+ 5258+ ]+ }+ ],+ "properties": {+ "Node name for S&R": "BasicScheduler",+ "cnr_id": "comfy-core",+ "ver": "0.3.29"+ },+ "widgets_values": [+ "linear_quadratic",+ 30,+ 1+ ]+ },+ {+ "id": 73,+ "type": "KSamplerSelect",+ "pos": [+ 1510,+ 2608.19873046875+ ],+ "size": [+ 251.94110107421875,+ 58+ ],+ "flags": {},+ "order": 6,+ "mode": 0,+ "inputs": [+ {+ "localized_name": "sampler_name",+ "name": "sampler_name",+ "type": "COMBO",+ "widget": {+ "name": "sampler_name"+ },+ "link": null+ }+ ],+ "outputs": [+ {+ "localized_name": "SAMPLER",+ "name": "SAMPLER",+ "type": "SAMPLER",+ "links": [+ 5224,+ 5260+ ]+ }+ ],+ "properties": {+ "Node name for S&R": "KSamplerSelect",+ "cnr_id": "comfy-core",+ "ver": "0.3.28"+ },+ "widgets_values": [+ "gradient_estimation"+ ]+ },+ {+ "id": 1825,+ "type": "Note",+ "pos": [+ 452.24432373046875,+ 2122.3583984375+ ],+ "size": [+ 232.79998779296875,+ 88+ ],+ "flags": {},+ "order": 7,+ "mode": 0,+ "inputs": [],+ "outputs": [],+ "properties": {},+ "widgets_values": [+ "Best use descriptive prompt, but you can even leave it empty in i2v case."+ ],+ "color": "#432",+ "bgcolor": "#653"+ },+ {+ "id": 1691,+ "type": "LTXVLatentUpsampler",+ "pos": [+ 3447.275146484375,+ 2285.2890625+ ],+ "size": [+ 235.1999969482422,+ 66+ ],+ "flags": {},+ "order": 28,+ "mode": 0,+ "inputs": [+ {+ "localized_name": "samples",+ "name": "samples",+ "type": "LATENT",+ "link": 5295+ },+ {+ "localized_name": "upscale_model",+ "name": "upscale_model",+ "type": "UPSCALE_MODEL",+ "link": 5303+ },+ {+ "localized_name": "vae",+ "name": "vae",+ "type": "VAE",+ "link": 5287+ }+ ],+ "outputs": [+ {+ "localized_name": "LATENT",+ "name": "LATENT",+ "type": "LATENT",+ "links": [+ 5297+ ]+ }+ ],+ "properties": {+ "Node name for S&R": "LTXVLatentUpsampler"+ },+ "widgets_values": []+ },+ {+ "id": 1593,+ "type": "LTXVAdainLatent",+ "pos": [+ 3472.47509765625,+ 2415.978271484375+ ],+ "size": [+ 210,+ 78+ ],+ "flags": {},+ "order": 30,+ "mode": 0,+ "inputs": [+ {+ "localized_name": "latents",+ "name": "latents",+ "type": "LATENT",+ "link": 5297+ },+ {+ "localized_name": "reference",+ "name": "reference",+ "type": "LATENT",+ "link": 5302+ },+ {+ "localized_name": "factor",+ "name": "factor",+ "type": "FLOAT",+ "widget": {+ "name": "factor"+ },+ "link": null+ }+ ],+ "outputs": [+ {+ "localized_name": "LATENT",+ "name": "LATENT",+ "type": "LATENT",+ "links": [+ 5281+ ]+ }+ ],+ "properties": {+ "Node name for S&R": "LTXVAdainLatent"+ },+ "widgets_values": [+ 0.25+ ]+ },+ {+ "id": 1863,+ "type": "Note",+ "pos": [+ 3360.09912109375,+ 2549.0048828125+ ],+ "size": [+ 322.3760986328125,+ 88+ ],+ "flags": {},+ "order": 8,+ "mode": 0,+ "inputs": [],+ "outputs": [],+ "properties": {},+ "widgets_values": [+ "Depending on the latent upscaler model used, it can increase either spatial or temporal resolution, without moving to/from pixel space. "+ ],+ "color": "#432",+ "bgcolor": "#653"+ },+ {+ "id": 1598,+ "type": "RandomNoise",+ "pos": [+ 3834.480224609375,+ 2120.607666015625+ ],+ "size": [+ 210,+ 82+ ],+ "flags": {},+ "order": 9,+ "mode": 0,+ "inputs": [+ {+ "localized_name": "noise_seed",+ "name": "noise_seed",+ "type": "INT",+ "widget": {+ "name": "noise_seed"+ },+ "link": null+ }+ ],+ "outputs": [+ {+ "localized_name": "NOISE",+ "name": "NOISE",+ "type": "NOISE",+ "links": [+ 5126+ ]+ }+ ],+ "properties": {+ "Node name for S&R": "RandomNoise",+ "cnr_id": "comfy-core",+ "ver": "0.3.30"+ },+ "widgets_values": [+ 191,+ "fixed"+ ]+ },+ {+ "id": 1596,+ "type": "SplitSigmas",+ "pos": [+ 4184.95068359375,+ 2566.927001953125+ ],+ "size": [+ 271.1412048339844,+ 78+ ],+ "flags": {},+ "order": 25,+ "mode": 0,+ "inputs": [+ {+ "localized_name": "sigmas",+ "name": "sigmas",+ "type": "SIGMAS",+ "link": 5258+ },+ {+ "localized_name": "step",+ "name": "step",+ "type": "INT",+ "widget": {+ "name": "step"+ },+ "link": null+ }+ ],+ "outputs": [+ {+ "localized_name": "high_sigmas",+ "name": "high_sigmas",+ "type": "SIGMAS",+ "links": null+ },+ {+ "localized_name": "low_sigmas",+ "name": "low_sigmas",+ "type": "SIGMAS",+ "links": [+ 5353+ ]+ }+ ],+ "properties": {+ "Node name for S&R": "SplitSigmas",+ "cnr_id": "comfy-core",+ "ver": "0.3.30"+ },+ "widgets_values": [+ 18+ ]+ },+ {+ "id": 1599,+ "type": "VHS_VideoCombine",+ "pos": [+ 5415.6015625,+ 2168.989501953125+ ],+ "size": [+ 610.8043212890625,+ 719.1004028320312+ ],+ "flags": {},+ "order": 35,+ "mode": 0,+ "inputs": [+ {+ "localized_name": "images",+ "name": "images",+ "shape": 7,+ "type": "IMAGE",+ "link": 4752+ },+ {+ "localized_name": "audio",+ "name": "audio",+ "shape": 7,+ "type": "AUDIO",+ "link": null+ },+ {+ "localized_name": "meta_batch",+ "name": "meta_batch",+ "shape": 7,+ "type": "VHS_BatchManager",+ "link": null+ },+ {+ "localized_name": "vae",+ "name": "vae",+ "shape": 7,+ "type": "VAE",+ "link": null+ },+ {+ "localized_name": "frame_rate",+ "name": "frame_rate",+ "type": "FLOAT",+ "widget": {+ "name": "frame_rate"+ },+ "link": null+ },+ {+ "localized_name": "loop_count",+ "name": "loop_count",+ "type": "INT",+ "widget": {+ "name": "loop_count"+ },+ "link": null+ },+ {+ "localized_name": "filename_prefix",+ "name": "filename_prefix",+ "type": "STRING",+ "widget": {+ "name": "filename_prefix"+ },+ "link": null+ },+ {+ "localized_name": "format",+ "name": "format",+ "type": "COMBO",+ "widget": {+ "name": "format"+ },+ "link": null+ },+ {+ "localized_name": "pingpong",+ "name": "pingpong",+ "type": "BOOLEAN",+ "widget": {+ "name": "pingpong"+ },+ "link": null+ },+ {+ "localized_name": "save_output",+ "name": "save_output",+ "type": "BOOLEAN",+ "widget": {+ "name": "save_output"+ },+ "link": null+ }+ ],+ "outputs": [+ {+ "localized_name": "Filenames",+ "name": "Filenames",+ "type": "VHS_FILENAMES",+ "links": null+ }+ ],+ "properties": {+ "Node name for S&R": "VHS_VideoCombine",+ "cnr_id": "comfyui-videohelpersuite",+ "ver": "2c25b8b53835aaeb63f831b3137c705cf9f85dce"+ },+ "widgets_values": {+ "frame_rate": 24,+ "loop_count": 0,+ "filename_prefix": "ltxv-hd",+ "format": "video/h264-mp4",+ "pix_fmt": "yuv420p",+ "crf": 18,+ "save_metadata": false,+ "pingpong": false,+ "save_output": false,+ "videopreview": {+ "hidden": false,+ "paused": false,+ "params": {+ "filename": "ltxv-hd_00001.mp4",+ "subfolder": "",+ "type": "temp",+ "format": "video/h264-mp4",+ "frame_rate": 24,+ "workflow": "ltxv_00055.png",+ "fullpath": "C:\\Users\\Zeev\\Projects\\ComfyUI\\temp\\ltxv_00055.mp4"+ },+ "muted": true+ }+ }+ },+ {+ "id": 1813,+ "type": "STGGuiderAdvanced",+ "pos": [+ 3768.236572265625,+ 2261.949462890625+ ],+ "size": [+ 278.79998779296875,+ 262+ ],+ "flags": {},+ "order": 24,+ "mode": 0,+ "inputs": [+ {+ "localized_name": "model",+ "name": "model",+ "type": "MODEL",+ "link": 5377+ },+ {+ "localized_name": "positive",+ "name": "positive",+ "type": "CONDITIONING",+ "link": 5274+ },+ {+ "localized_name": "negative",+ "name": "negative",+ "type": "CONDITIONING",+ "link": 5275+ },+ {+ "localized_name": "preset",+ "name": "preset",+ "shape": 7,+ "type": "STG_ADVANCED_PRESET",+ "link": 5365+ },+ {+ "localized_name": "skip_steps_sigma_threshold",+ "name": "skip_steps_sigma_threshold",+ "type": "FLOAT",+ "widget": {+ "name": "skip_steps_sigma_threshold"+ },+ "link": null+ },+ {+ "localized_name": "cfg_star_rescale",+ "name": "cfg_star_rescale",+ "type": "BOOLEAN",+ "widget": {+ "name": "cfg_star_rescale"+ },+ "link": null+ },+ {+ "localized_name": "sigmas",+ "name": "sigmas",+ "type": "STRING",+ "widget": {+ "name": "sigmas"+ },+ "link": null+ },+ {+ "localized_name": "cfg_values",+ "name": "cfg_values",+ "type": "STRING",+ "widget": {+ "name": "cfg_values"+ },+ "link": null+ },+ {+ "localized_name": "stg_scale_values",+ "name": "stg_scale_values",+ "type": "STRING",+ "widget": {+ "name": "stg_scale_values"+ },+ "link": null+ },+ {+ "localized_name": "stg_rescale_values",+ "name": "stg_rescale_values",+ "type": "STRING",+ "widget": {+ "name": "stg_rescale_values"+ },+ "link": null+ },+ {+ "localized_name": "stg_layers_indices",+ "name": "stg_layers_indices",+ "type": "STRING",+ "widget": {+ "name": "stg_layers_indices"+ },+ "link": null+ }+ ],+ "outputs": [+ {+ "localized_name": "GUIDER",+ "name": "GUIDER",+ "type": "GUIDER",+ "links": [+ 5193+ ]+ }+ ],+ "properties": {+ "Node name for S&R": "STGGuiderAdvanced"+ },+ "widgets_values": [+ 0.9970000000000002,+ true,+ "1",+ "1",+ "1",+ "1",+ "[42]"+ ]+ },+ {+ "id": 1860,+ "type": "Note",+ "pos": [+ 2134.832763671875,+ 2658.40869140625+ ],+ "size": [+ 300,+ 130+ ],+ "flags": {},+ "order": 10,+ "mode": 0,+ "inputs": [],+ "outputs": [],+ "properties": {},+ "widgets_values": [+ "crop decides if the conditioning image(s) is center-cropped or resized by stretching \n\ncrf and blur are preprocessing parameters for conditioning image(s) to make them look more like video frames, which helps with the dynamicity of the generated video"+ ],+ "color": "#432",+ "bgcolor": "#653"+ },+ {+ "id": 1809,+ "type": "STGAdvancedPresets",+ "pos": [+ 1510,+ 2258.19873046875+ ],+ "size": [+ 226.8000030517578,+ 58+ ],+ "flags": {},+ "order": 11,+ "mode": 0,+ "inputs": [+ {+ "localized_name": "preset",+ "name": "preset",+ "type": "COMBO",+ "widget": {+ "name": "preset"+ },+ "link": null+ }+ ],+ "outputs": [+ {+ "localized_name": "STG_ADVANCED_PRESET",+ "name": "STG_ADVANCED_PRESET",+ "type": "STG_ADVANCED_PRESET",+ "links": [+ 5351+ ]+ }+ ],+ "properties": {+ "Node name for S&R": "STGAdvancedPresets"+ },+ "widgets_values": [+ "13b Dynamic"+ ]+ },+ {+ "id": 1338,+ "type": "LTXVBaseSampler",+ "pos": [+ 2134.832763671875,+ 2253.726318359375+ ],+ "size": [+ 312.3999938964844,+ 346+ ],+ "flags": {},+ "order": 26,+ "mode": 0,+ "inputs": [+ {+ "localized_name": "model",+ "name": "model",+ "type": "MODEL",+ "link": 5376+ },+ {+ "localized_name": "vae",+ "name": "vae",+ "type": "VAE",+ "link": 5243+ },+ {+ "localized_name": "guider",+ "name": "guider",+ "type": "GUIDER",+ "link": 5167+ },+ {+ "localized_name": "sampler",+ "name": "sampler",+ "type": "SAMPLER",+ "link": 5224+ },+ {+ "localized_name": "sigmas",+ "name": "sigmas",+ "type": "SIGMAS",+ "link": 5225+ },+ {+ "localized_name": "noise",+ "name": "noise",+ "type": "NOISE",+ "link": 4053+ },+ {+ "localized_name": "optional_cond_images",+ "name": "optional_cond_images",+ "shape": 7,+ "type": "IMAGE",+ "link": 5361+ },+ {+ "localized_name": "width",+ "name": "width",+ "type": "INT",+ "widget": {+ "name": "width"+ },+ "link": null+ },+ {+ "localized_name": "height",+ "name": "height",+ "type": "INT",+ "widget": {+ "name": "height"+ },+ "link": null+ },+ {+ "localized_name": "num_frames",+ "name": "num_frames",+ "type": "INT",+ "widget": {+ "name": "num_frames"+ },+ "link": null+ },+ {+ "localized_name": "optional_cond_indices",+ "name": "optional_cond_indices",+ "shape": 7,+ "type": "STRING",+ "widget": {+ "name": "optional_cond_indices"+ },+ "link": null+ },+ {+ "localized_name": "strength",+ "name": "strength",+ "shape": 7,+ "type": "FLOAT",+ "widget": {+ "name": "strength"+ },+ "link": null+ },+ {+ "localized_name": "crop",+ "name": "crop",+ "shape": 7,+ "type": "COMBO",+ "widget": {+ "name": "crop"+ },+ "link": null+ },+ {+ "localized_name": "crf",+ "name": "crf",+ "shape": 7,+ "type": "INT",+ "widget": {+ "name": "crf"+ },+ "link": null+ },+ {+ "localized_name": "blur",+ "name": "blur",+ "shape": 7,+ "type": "INT",+ "widget": {+ "name": "blur"+ },+ "link": null+ }+ ],+ "outputs": [+ {+ "localized_name": "denoised_output",+ "name": "denoised_output",+ "type": "LATENT",+ "links": [+ 3576,+ 5295,+ 5302+ ]+ }+ ],+ "properties": {+ "Node name for S&R": "LTXVBaseSampler"+ },+ "widgets_values": [+ 768,+ 512,+ 97,+ "0",+ 0.8,+ "center",+ 30,+ 0+ ]+ },+ {+ "id": 1206,+ "type": "LoadImage",+ "pos": [+ 1066.6751708984375,+ 2599.134765625+ ],+ "size": [+ 342.5999755859375,+ 314+ ],+ "flags": {},+ "order": 12,+ "mode": 0,+ "inputs": [+ {+ "localized_name": "image",+ "name": "image",+ "type": "COMBO",+ "widget": {+ "name": "image"+ },+ "link": null+ },+ {+ "localized_name": "choose file to upload",+ "name": "upload",+ "type": "IMAGEUPLOAD",+ "widget": {+ "name": "upload"+ },+ "link": null+ }+ ],+ "outputs": [+ {+ "localized_name": "IMAGE",+ "name": "IMAGE",+ "type": "IMAGE",+ "links": [+ 5285,+ 5361+ ]+ },+ {+ "localized_name": "MASK",+ "name": "MASK",+ "type": "MASK",+ "links": null+ }+ ],+ "properties": {+ "Node name for S&R": "LoadImage",+ "cnr_id": "comfy-core",+ "ver": "0.3.30"+ },+ "widgets_values": [+ "flux_dev_checkpoint_example q8.png",+ "image"+ ]+ },+ {+ "id": 1871,+ "type": "STGAdvancedPresets",+ "pos": [+ 3780.39501953125,+ 2595.4013671875+ ],+ "size": [+ 340.20001220703125,+ 58+ ],+ "flags": {},+ "order": 13,+ "mode": 0,+ "inputs": [+ {+ "localized_name": "preset",+ "name": "preset",+ "type": "COMBO",+ "widget": {+ "name": "preset"+ },+ "link": null+ }+ ],+ "outputs": [+ {+ "localized_name": "STG_ADVANCED_PRESET",+ "name": "STG_ADVANCED_PRESET",+ "type": "STG_ADVANCED_PRESET",+ "links": [+ 5365+ ]+ }+ ],+ "properties": {+ "Node name for S&R": "STGAdvancedPresets"+ },+ "widgets_values": [+ "13b Balanced"+ ]+ },+ {+ "id": 1862,+ "type": "Note",+ "pos": [+ 4184.95068359375,+ 2704.816650390625+ ],+ "size": [+ 335.1761474609375,+ 148.08804321289062+ ],+ "flags": {},+ "order": 14,+ "mode": 0,+ "inputs": [],+ "outputs": [],+ "properties": {},+ "widgets_values": [+ "If you are not constrained in VRAM, run 1x1 tile starting from step 18 \nIf you are constrained in your available VRAM, run 2x2 tiles and use somewhat lower noies levels, starting from step 23.\n\n"+ ],+ "color": "#432",+ "bgcolor": "#653"+ },+ {+ "id": 1796,+ "type": "LTXVTiledSampler",+ "pos": [+ 4184.95068359375,+ 2168.989501953125+ ],+ "size": [+ 346,+ 342+ ],+ "flags": {},+ "order": 31,+ "mode": 0,+ "inputs": [+ {+ "localized_name": "model",+ "name": "model",+ "type": "MODEL",+ "link": 5375+ },+ {+ "localized_name": "vae",+ "name": "vae",+ "type": "VAE",+ "link": 5288+ },+ {+ "localized_name": "noise",+ "name": "noise",+ "type": "NOISE",+ "link": 5126+ },+ {+ "localized_name": "sampler",+ "name": "sampler",+ "type": "SAMPLER",+ "link": 5260+ },+ {+ "localized_name": "sigmas",+ "name": "sigmas",+ "type": "SIGMAS",+ "link": 5353+ },+ {+ "localized_name": "guider",+ "name": "guider",+ "type": "GUIDER",+ "link": 5193+ },+ {+ "localized_name": "latents",+ "name": "latents",+ "type": "LATENT",+ "link": 5281+ },+ {+ "localized_name": "optional_cond_image",+ "name": "optional_cond_image",+ "shape": 7,+ "type": "IMAGE",+ "link": 5285+ },+ {+ "localized_name": "horizontal_tiles",+ "name": "horizontal_tiles",+ "type": "INT",+ "widget": {+ "name": "horizontal_tiles"+ },+ "link": null+ },+ {+ "localized_name": "vertical_tiles",+ "name": "vertical_tiles",+ "type": "INT",+ "widget": {+ "name": "vertical_tiles"+ },+ "link": null+ },+ {+ "localized_name": "overlap",+ "name": "overlap",+ "type": "INT",+ "widget": {+ "name": "overlap"+ },+ "link": null+ },+ {+ "localized_name": "first_frame_cond_strength",+ "name": "first_frame_cond_strength",+ "type": "FLOAT",+ "widget": {+ "name": "first_frame_cond_strength"+ },+ "link": null+ },+ {+ "localized_name": "latents_cond_strength",+ "name": "latents_cond_strength",+ "type": "FLOAT",+ "widget": {+ "name": "latents_cond_strength"+ },+ "link": null+ },+ {+ "localized_name": "boost_latent_similarity",+ "name": "boost_latent_similarity",+ "type": "BOOLEAN",+ "widget": {+ "name": "boost_latent_similarity"+ },+ "link": null+ },+ {+ "localized_name": "crop",+ "name": "crop",+ "type": "COMBO",+ "widget": {+ "name": "crop"+ },+ "link": null+ }+ ],+ "outputs": [+ {+ "localized_name": "output",+ "name": "output",+ "type": "LATENT",+ "links": [+ 5306+ ]+ },+ {+ "localized_name": "denoised_output",+ "name": "denoised_output",+ "type": "LATENT",+ "links": []+ }+ ],+ "properties": {+ "Node name for S&R": "LTXVTiledSampler"+ },+ "widgets_values": [+ 1,+ 1,+ 3,+ 0.9,+ 0.15,+ true,+ "center"+ ]+ },+ {+ "id": 1507,+ "type": "RandomNoise",+ "pos": [+ 1847.874755859375,+ 2114.199462890625+ ],+ "size": [+ 210,+ 82+ ],+ "flags": {},+ "order": 15,+ "mode": 0,+ "inputs": [+ {+ "localized_name": "noise_seed",+ "name": "noise_seed",+ "type": "INT",+ "widget": {+ "name": "noise_seed"+ },+ "link": null+ }+ ],+ "outputs": [+ {+ "localized_name": "NOISE",+ "name": "NOISE",+ "type": "NOISE",+ "slot_index": 0,+ "links": [+ 4053+ ]+ }+ ],+ "properties": {+ "Node name for S&R": "RandomNoise",+ "cnr_id": "comfy-core",+ "ver": "0.3.28"+ },+ "widgets_values": [+ 109,+ "fixed"+ ]+ },+ {+ "id": 1807,+ "type": "STGGuiderAdvanced",+ "pos": [+ 1790.673095703125,+ 2254.961181640625+ ],+ "size": [+ 278.79998779296875,+ 262+ ],+ "flags": {},+ "order": 23,+ "mode": 0,+ "inputs": [+ {+ "localized_name": "model",+ "name": "model",+ "type": "MODEL",+ "link": 5373+ },+ {+ "localized_name": "positive",+ "name": "positive",+ "type": "CONDITIONING",+ "link": 5227+ },+ {+ "localized_name": "negative",+ "name": "negative",+ "type": "CONDITIONING",+ "link": 5228+ },+ {+ "localized_name": "preset",+ "name": "preset",+ "shape": 7,+ "type": "STG_ADVANCED_PRESET",+ "link": 5351+ },+ {+ "localized_name": "skip_steps_sigma_threshold",+ "name": "skip_steps_sigma_threshold",+ "type": "FLOAT",+ "widget": {+ "name": "skip_steps_sigma_threshold"+ },+ "link": null+ },+ {+ "localized_name": "cfg_star_rescale",+ "name": "cfg_star_rescale",+ "type": "BOOLEAN",+ "widget": {+ "name": "cfg_star_rescale"+ },+ "link": null+ },+ {+ "localized_name": "sigmas",+ "name": "sigmas",+ "type": "STRING",+ "widget": {+ "name": "sigmas"+ },+ "link": null+ },+ {+ "localized_name": "cfg_values",+ "name": "cfg_values",+ "type": "STRING",+ "widget": {+ "name": "cfg_values"+ },+ "link": null+ },+ {+ "localized_name": "stg_scale_values",+ "name": "stg_scale_values",+ "type": "STRING",+ "widget": {+ "name": "stg_scale_values"+ },+ "link": null+ },+ {+ "localized_name": "stg_rescale_values",+ "name": "stg_rescale_values",+ "type": "STRING",+ "widget": {+ "name": "stg_rescale_values"+ },+ "link": null+ },+ {+ "localized_name": "stg_layers_indices",+ "name": "stg_layers_indices",+ "type": "STRING",+ "widget": {+ "name": "stg_layers_indices"+ },+ "link": null+ }+ ],+ "outputs": [+ {+ "localized_name": "GUIDER",+ "name": "GUIDER",+ "type": "GUIDER",+ "links": [+ 5167+ ]+ }+ ],+ "properties": {+ "Node name for S&R": "STGGuiderAdvanced"+ },+ "widgets_values": [+ 0.9970000000000002,+ true,+ "1.0, 0.9933, 0.9850, 0.9767, 0.9008, 0.6180",+ "1,16,8,8,4,1",+ "0, 4, 4, 2, 1, 1",+ "1, 1, 1, 1, 1, 1",+ "[35], [35], [35], [42], [42], [42]"+ ]+ },+ {+ "id": 44,+ "type": "CheckpointLoaderSimple",+ "pos": [+ 688.3630981445312,+ 2674.54052734375+ ],+ "size": [+ 334.6303405761719,+ 98+ ],+ "flags": {},+ "order": 16,+ "mode": 0,+ "inputs": [+ {+ "localized_name": "ckpt_name",+ "name": "ckpt_name",+ "type": "COMBO",+ "widget": {+ "name": "ckpt_name"+ },+ "link": null+ }+ ],+ "outputs": [+ {+ "localized_name": "MODEL",+ "name": "MODEL",+ "type": "MODEL",+ "slot_index": 0,+ "links": [+ 5372+ ]+ },+ {+ "localized_name": "CLIP",+ "name": "CLIP",+ "type": "CLIP",+ "links": []+ },+ {+ "localized_name": "VAE",+ "name": "VAE",+ "type": "VAE",+ "slot_index": 2,+ "links": [+ 5243,+ 5287,+ 5288,+ 5378+ ]+ }+ ],+ "properties": {+ "Node name for S&R": "CheckpointLoaderSimple",+ "cnr_id": "comfy-core",+ "ver": "0.3.28"+ },+ "widgets_values": [+ "ltxv-13b-fp8-0.9.6-dev-rc1-04-25.safetensors"+ ]+ },+ {+ "id": 1874,+ "type": "LTXQ8Patch",+ "pos": [+ 1083.1651611328125,+ 2451.174560546875+ ],+ "size": [+ 315,+ 58+ ],+ "flags": {},+ "order": 19,+ "mode": 0,+ "inputs": [+ {+ "localized_name": "model",+ "name": "model",+ "type": "MODEL",+ "link": 5372+ },+ {+ "localized_name": "use_fp8_attention",+ "name": "use_fp8_attention",+ "type": "BOOLEAN",+ "widget": {+ "name": "use_fp8_attention"+ },+ "link": null+ }+ ],+ "outputs": [+ {+ "localized_name": "MODEL",+ "name": "MODEL",+ "type": "MODEL",+ "links": [+ 5373,+ 5374,+ 5375,+ 5376,+ 5377+ ]+ }+ ],+ "properties": {+ "Node name for S&R": "LTXQ8Patch"+ },+ "widgets_values": [+ false+ ]+ },+ {+ "id": 1875,+ "type": "Set VAE Decoder Noise",+ "pos": [+ 2473.496826171875,+ 2416.966796875+ ],+ "size": [+ 289.3177185058594,+ 130+ ],+ "flags": {},+ "order": 20,+ "mode": 0,+ "inputs": [+ {+ "localized_name": "vae",+ "name": "vae",+ "type": "VAE",+ "link": 5378+ },+ {+ "localized_name": "timestep",+ "name": "timestep",+ "type": "FLOAT",+ "widget": {+ "name": "timestep"+ },+ "link": null+ },+ {+ "localized_name": "scale",+ "name": "scale",+ "type": "FLOAT",+ "widget": {+ "name": "scale"+ },+ "link": null+ },+ {+ "localized_name": "seed",+ "name": "seed",+ "type": "INT",+ "widget": {+ "name": "seed"+ },+ "link": null+ }+ ],+ "outputs": [+ {+ "localized_name": "VAE",+ "name": "VAE",+ "type": "VAE",+ "links": [+ 5379,+ 5380+ ]+ }+ ],+ "properties": {+ "Node name for S&R": "Set VAE Decoder Noise"+ },+ "widgets_values": [+ 0.05,+ 0.025,+ 750956894833102,+ "randomize"+ ]+ }+ ],+ "links": [+ [+ 74,+ 38,+ 0,+ 6,+ 0,+ "CLIP"+ ],+ [+ 75,+ 38,+ 0,+ 7,+ 0,+ "CLIP"+ ],+ [+ 3364,+ 6,+ 0,+ 1241,+ 0,+ "CONDITIONING"+ ],+ [+ 3365,+ 7,+ 0,+ 1241,+ 1,+ "CONDITIONING"+ ],+ [+ 3576,+ 1338,+ 0,+ 1335,+ 0,+ "LATENT"+ ],+ [+ 3578,+ 1335,+ 0,+ 1336,+ 0,+ "IMAGE"+ ],+ [+ 4053,+ 1507,+ 0,+ 1338,+ 5,+ "NOISE"+ ],+ [+ 4749,+ 1601,+ 0,+ 1661,+ 0,+ "IMAGE"+ ],+ [+ 4751,+ 1661,+ 0,+ 1699,+ 0,+ "IMAGE"+ ],+ [+ 4752,+ 1699,+ 0,+ 1599,+ 0,+ "IMAGE"+ ],+ [+ 5126,+ 1598,+ 0,+ 1796,+ 2,+ "NOISE"+ ],+ [+ 5167,+ 1807,+ 0,+ 1338,+ 2,+ "GUIDER"+ ],+ [+ 5193,+ 1813,+ 0,+ 1796,+ 5,+ "GUIDER"+ ],+ [+ 5224,+ 73,+ 0,+ 1338,+ 3,+ "SAMPLER"+ ],+ [+ 5225,+ 1103,+ 0,+ 1338,+ 4,+ "SIGMAS"+ ],+ [+ 5227,+ 1241,+ 0,+ 1807,+ 1,+ "CONDITIONING"+ ],+ [+ 5228,+ 1241,+ 1,+ 1807,+ 2,+ "CONDITIONING"+ ],+ [+ 5243,+ 44,+ 2,+ 1338,+ 1,+ "VAE"+ ],+ [+ 5258,+ 1103,+ 0,+ 1596,+ 0,+ "SIGMAS"+ ],+ [+ 5260,+ 73,+ 0,+ 1796,+ 3,+ "SAMPLER"+ ],+ [+ 5274,+ 1241,+ 0,+ 1813,+ 1,+ "CONDITIONING"+ ],+ [+ 5275,+ 1241,+ 1,+ 1813,+ 2,+ "CONDITIONING"+ ],+ [+ 5281,+ 1593,+ 0,+ 1796,+ 6,+ "LATENT"+ ],+ [+ 5285,+ 1206,+ 0,+ 1796,+ 7,+ "IMAGE"+ ],+ [+ 5287,+ 44,+ 2,+ 1691,+ 2,+ "VAE"+ ],+ [+ 5288,+ 44,+ 2,+ 1796,+ 1,+ "VAE"+ ],+ [+ 5295,+ 1338,+ 0,+ 1691,+ 0,+ "LATENT"+ ],+ [+ 5297,+ 1691,+ 0,+ 1593,+ 0,+ "LATENT"+ ],+ [+ 5302,+ 1338,+ 0,+ 1593,+ 1,+ "LATENT"+ ],+ [+ 5303,+ 1828,+ 0,+ 1691,+ 1,+ "UPSCALE_MODEL"+ ],+ [+ 5306,+ 1796,+ 0,+ 1601,+ 0,+ "LATENT"+ ],+ [+ 5351,+ 1809,+ 0,+ 1807,+ 3,+ "STG_ADVANCED_PRESET"+ ],+ [+ 5353,+ 1596,+ 1,+ 1796,+ 4,+ "SIGMAS"+ ],+ [+ 5361,+ 1206,+ 0,+ 1338,+ 6,+ "IMAGE"+ ],+ [+ 5365,+ 1871,+ 0,+ 1813,+ 3,+ "STG_ADVANCED_PRESET"+ ],+ [+ 5372,+ 44,+ 0,+ 1874,+ 0,+ "MODEL"+ ],+ [+ 5373,+ 1874,+ 0,+ 1807,+ 0,+ "MODEL"+ ],+ [+ 5374,+ 1874,+ 0,+ 1103,+ 0,+ "MODEL"+ ],+ [+ 5375,+ 1874,+ 0,+ 1796,+ 0,+ "MODEL"+ ],+ [+ 5376,+ 1874,+ 0,+ 1338,+ 0,+ "MODEL"+ ],+ [+ 5377,+ 1874,+ 0,+ 1813,+ 0,+ "MODEL"+ ],+ [+ 5378,+ 44,+ 2,+ 1875,+ 0,+ "VAE"+ ],+ [+ 5379,+ 1875,+ 0,+ 1335,+ 1,+ "VAE"+ ],+ [+ 5380,+ 1875,+ 0,+ 1601,+ 1,+ "VAE"+ ]+ ],+ "groups": [+ {+ "id": 20,+ "title": "Base Low Res Generation ",+ "bounding": [+ 1500,+ 2037.5235595703125,+ 1770.58251953125,+ 850.8944091796875+ ],+ "color": "#3f789e",+ "font_size": 24,+ "flags": {},+ "nodes": [+ 1335,+ 1336,+ 1859,+ 1823,+ 1861,+ 1103,+ 73,+ 1860,+ 1809,+ 1338,+ 1507,+ 1807,+ 1875+ ]+ },+ {+ "id": 34,+ "title": "Latent Upscaler",+ "bounding": [+ 3328.0751953125,+ 2042.7794189453125,+ 364.39990234375,+ 604.2252197265625+ ],+ "color": "#3f789e",+ "font_size": 24,+ "flags": {},+ "nodes": [+ 1828,+ 1691,+ 1593,+ 1863+ ]+ },+ {+ "id": 41,+ "title": "Setup",+ "bounding": [+ 337.74371337890625,+ 2034.1099853515625,+ 1091.510986328125,+ 889.0247802734375+ ],+ "color": "#3f789e",+ "font_size": 24,+ "flags": {},+ "nodes": [+ 1241,+ 7,+ 38,+ 6,+ 1858,+ 1825,+ 1206,+ 44,+ 1874+ ]+ },+ {+ "id": 42,+ "title": "Add Details",+ "bounding": [+ 3758.236572265625,+ 2047.007568359375,+ 2278.168701171875,+ 851.0821533203125+ ],+ "color": "#3f789e",+ "font_size": 24,+ "flags": {},+ "nodes": [+ 1601,+ 1661,+ 1699,+ 1598,+ 1596,+ 1599,+ 1813,+ 1871,+ 1862,+ 1796+ ]+ }+ ],+ "config": {},+ "extra": {+ "ds": {+ "scale": 0.6741546927603917,+ "offset": [+ -901.2982093282639,+ -1993.472019777985+ ]+ },+ "frontendVersion": "1.17.11",+ "VHS_latentpreview": true,+ "VHS_latentpreviewrate": 0,+ "VHS_MetadataImage": true,+ "VHS_KeepIntermediate": true,+ "prompt": {+ "6": {+ "inputs": {+ "text": "",+ "clip": [+ "38",+ 0+ ]+ },+ "class_type": "CLIPTextEncode",+ "_meta": {+ "title": "CLIP Text Encode (Positive Prompt)"+ }+ },+ "7": {+ "inputs": {+ "text": "low quality, worst quality, deformed, distorted, disfigured, motion smear, motion artifacts, fused fingers, bad anatomy, weird hand, ugly",+ "clip": [+ "38",+ 0+ ]+ },+ "class_type": "CLIPTextEncode",+ "_meta": {+ "title": "CLIP Text Encode (Negative Prompt)"+ }+ },+ "38": {+ "inputs": {+ "clip_name": "t5xxl_fp16.safetensors",+ "type": "ltxv",+ "device": "default"+ },+ "class_type": "CLIPLoader",+ "_meta": {+ "title": "Load CLIP"+ }+ },+ "44": {+ "inputs": {+ "ckpt_name": "ltxv-13b-fp8-0.9.6-dev-rc1-04-25.safetensors"+ },+ "class_type": "CheckpointLoaderSimple",+ "_meta": {+ "title": "Load Checkpoint"+ }+ },+ "73": {+ "inputs": {+ "sampler_name": "gradient_estimation"+ },+ "class_type": "KSamplerSelect",+ "_meta": {+ "title": "KSamplerSelect"+ }+ },+ "1103": {+ "inputs": {+ "scheduler": "linear_quadratic",+ "steps": 30,+ "denoise": 1,+ "model": [+ "1874",+ 0+ ]+ },+ "class_type": "BasicScheduler",+ "_meta": {+ "title": "BasicScheduler"+ }+ },+ "1206": {+ "inputs": {+ "image": "flux_dev_checkpoint_example q8.png"+ },+ "class_type": "LoadImage",+ "_meta": {+ "title": "Load Image"+ }+ },+ "1241": {+ "inputs": {+ "frame_rate": 24.000000000000004,+ "positive": [+ "6",+ 0+ ],+ "negative": [+ "7",+ 0+ ]+ },+ "class_type": "LTXVConditioning",+ "_meta": {+ "title": "LTXVConditioning"+ }+ },+ "1335": {+ "inputs": {+ "samples": [+ "1338",+ 0+ ],+ "vae": [+ "1875",+ 0+ ]+ },+ "class_type": "VAEDecode",+ "_meta": {+ "title": "VAE Decode"+ }+ },+ "1336": {+ "inputs": {+ "frame_rate": 24,+ "loop_count": 0,+ "filename_prefix": "ltxv-base",+ "format": "video/h264-mp4",+ "pix_fmt": "yuv420p",+ "crf": 19,+ "save_metadata": true,+ "pingpong": false,+ "save_output": false,+ "images": [+ "1335",+ 0+ ]+ },+ "class_type": "VHS_VideoCombine",+ "_meta": {+ "title": "Video Combine 🎥🅥🅗🅢"+ }+ },+ "1338": {+ "inputs": {+ "width": 768,+ "height": 512,+ "num_frames": 97,+ "optional_cond_indices": "0",+ "strength": 0.8,+ "crop": "center",+ "crf": 30,+ "blur": 0,+ "model": [+ "1874",+ 0+ ],+ "vae": [+ "44",+ 2+ ],+ "guider": [+ "1807",+ 0+ ],+ "sampler": [+ "73",+ 0+ ],+ "sigmas": [+ "1103",+ 0+ ],+ "noise": [+ "1507",+ 0+ ],+ "optional_cond_images": [+ "1206",+ 0+ ]+ },+ "class_type": "LTXVBaseSampler",+ "_meta": {+ "title": "🅛🅣🅧 LTXV Base Sampler"+ }+ },+ "1507": {+ "inputs": {+ "noise_seed": 109+ },+ "class_type": "RandomNoise",+ "_meta": {+ "title": "RandomNoise"+ }+ },+ "1593": {+ "inputs": {+ "factor": 0.25,+ "latents": [+ "1691",+ 0+ ],+ "reference": [+ "1338",+ 0+ ]+ },+ "class_type": "LTXVAdainLatent",+ "_meta": {+ "title": "🅛🅣🅧 LTXV Adain Latent"+ }+ },+ "1596": {+ "inputs": {+ "step": 18,+ "sigmas": [+ "1103",+ 0+ ]+ },+ "class_type": "SplitSigmas",+ "_meta": {+ "title": "SplitSigmas"+ }+ },+ "1598": {+ "inputs": {+ "noise_seed": 191+ },+ "class_type": "RandomNoise",+ "_meta": {+ "title": "RandomNoise"+ }+ },+ "1599": {+ "inputs": {+ "frame_rate": 24,+ "loop_count": 0,+ "filename_prefix": "ltxv-hd",+ "format": "video/h264-mp4",+ "pix_fmt": "yuv420p",+ "crf": 18,+ "save_metadata": false,+ "pingpong": false,+ "save_output": false,+ "images": [+ "1699",+ 0+ ]+ },+ "class_type": "VHS_VideoCombine",+ "_meta": {+ "title": "Video Combine 🎥🅥🅗🅢"+ }+ },+ "1601": {+ "inputs": {+ "tile_size": 1280,+ "overlap": 128,+ "temporal_size": 256,+ "temporal_overlap": 32,+ "samples": [+ "1796",+ 0+ ],+ "vae": [+ "1875",+ 0+ ]+ },+ "class_type": "VAEDecodeTiled",+ "_meta": {+ "title": "VAE Decode (Tiled)"+ }+ },+ "1661": {+ "inputs": {+ "width": 1280,+ "height": 1280,+ "upscale_method": "bicubic",+ "keep_proportion": true,+ "divisible_by": 2,+ "crop": "center",+ "image": [+ "1601",+ 0+ ]+ },+ "class_type": "ImageResizeKJ",+ "_meta": {+ "title": "Resize Image"+ }+ },+ "1691": {+ "inputs": {+ "samples": [+ "1338",+ 0+ ],+ "upscale_model": [+ "1828",+ 0+ ],+ "vae": [+ "44",+ 2+ ]+ },+ "class_type": "LTXVLatentUpsampler",+ "_meta": {+ "title": "🅛🅣🅧 LTXV Latent Upsampler"+ }+ },+ "1699": {+ "inputs": {+ "grain_intensity": 0.010000000000000002,+ "saturation": 0.5,+ "images": [+ "1661",+ 0+ ]+ },+ "class_type": "LTXVFilmGrain",+ "_meta": {+ "title": "🅛🅣🅧 LTXV Film Grain"+ }+ },+ "1796": {+ "inputs": {+ "horizontal_tiles": 1,+ "vertical_tiles": 1,+ "overlap": 3,+ "first_frame_cond_strength": 0.9,+ "latents_cond_strength": 0.15,+ "boost_latent_similarity": true,+ "crop": "center",+ "model": [+ "1874",+ 0+ ],+ "vae": [+ "44",+ 2+ ],+ "noise": [+ "1598",+ 0+ ],+ "sampler": [+ "73",+ 0+ ],+ "sigmas": [+ "1596",+ 1+ ],+ "guider": [+ "1813",+ 0+ ],+ "latents": [+ "1593",+ 0+ ],+ "optional_cond_image": [+ "1206",+ 0+ ]+ },+ "class_type": "LTXVTiledSampler",+ "_meta": {+ "title": "🅛🅣🅧 LTXV Tiled Sampler"+ }+ },+ "1807": {+ "inputs": {+ "skip_steps_sigma_threshold": 0.9970000000000002,+ "cfg_star_rescale": true,+ "sigmas": "1.0, 0.9933, 0.9850, 0.9767, 0.9008, 0.6180",+ "cfg_values": "1,16,8,8,4,1",+ "stg_scale_values": "0, 4, 4, 2, 1, 1",+ "stg_rescale_values": "1, 1, 1, 1, 1, 1",+ "stg_layers_indices": "[35], [35], [35], [42], [42], [42]",+ "model": [+ "1874",+ 0+ ],+ "positive": [+ "1241",+ 0+ ],+ "negative": [+ "1241",+ 1+ ],+ "preset": [+ "1809",+ 0+ ]+ },+ "class_type": "STGGuiderAdvanced",+ "_meta": {+ "title": "🅛🅣🅧 STG Guider Advanced"+ }+ },+ "1809": {+ "inputs": {+ "preset": "13b Dynamic"+ },+ "class_type": "STGAdvancedPresets",+ "_meta": {+ "title": "🅛🅣🅧 STG Advanced Presets"+ }+ },+ "1813": {+ "inputs": {+ "skip_steps_sigma_threshold": 0.9970000000000002,+ "cfg_star_rescale": true,+ "sigmas": "1",+ "cfg_values": "1",+ "stg_scale_values": "1",+ "stg_rescale_values": "1",+ "stg_layers_indices": "[42]",+ "model": [+ "1874",+ 0+ ],+ "positive": [+ "1241",+ 0+ ],+ "negative": [+ "1241",+ 1+ ],+ "preset": [+ "1871",+ 0+ ]+ },+ "class_type": "STGGuiderAdvanced",+ "_meta": {+ "title": "🅛🅣🅧 STG Guider Advanced"+ }+ },+ "1828": {+ "inputs": {+ "upscale_model": "ltxv-spatial-upscaler-0.9.7.safetensors",+ "spatial_upsample": true,+ "temporal_upsample": false+ },+ "class_type": "LTXVLatentUpsamplerModelLoader",+ "_meta": {+ "title": "🅛🅣🅧 LTXV Latent Upsampler Model Loader"+ }+ },+ "1871": {+ "inputs": {+ "preset": "13b Balanced"+ },+ "class_type": "STGAdvancedPresets",+ "_meta": {+ "title": "🅛🅣🅧 STG Advanced Presets"+ }+ },+ "1874": {+ "inputs": {+ "use_fp8_attention": false,+ "model": [+ "44",+ 0+ ]+ },+ "class_type": "LTXQ8Patch",+ "_meta": {+ "title": "🅛🅣🅧 LTXQ8Patch"+ }+ },+ "1875": {+ "inputs": {+ "timestep": 0.05,+ "scale": 0.025,+ "seed": 750956894833102,+ "vae": [+ "44",+ 2+ ]+ },+ "class_type": "Set VAE Decoder Noise",+ "_meta": {+ "title": "🅛🅣🅧 Set VAE Decoder Noise"+ }+ }+ },+ "comfy_fork_version": "develop@311c9b81",+ "workspace_info": {+ "id": "elBQFQknIoLYTEwIloQuw"+ },+ "node_versions": {+ "comfy-core": "0.3.30",+ "comfyui-kjnodes": "1.0.8"+ }+ },+ "version": 0.4+}diff --git a/example_workflows/ltxv-13b-i2v-base.json b/example_workflows/ltxv-13b-i2v-base.jsonnew file mode 100644index 0000000..e872776--- /dev/null+++ b/example_workflows/ltxv-13b-i2v-base.json@@ -0,0 +1,3248 @@+{+ "id": "394ed254-7306-42a2-9ae6-aa880ce4456d",+ "revision": 0,+ "last_node_id": 1870,+ "last_link_id": 5364,+ "nodes": [+ {+ "id": 1601,+ "type": "VAEDecodeTiled",+ "pos": [+ 4565.6015625,+ 2168.989501953125+ ],+ "size": [+ 210,+ 150+ ],+ "flags": {},+ "order": 31,+ "mode": 0,+ "inputs": [+ {+ "localized_name": "samples",+ "name": "samples",+ "type": "LATENT",+ "link": 5306+ },+ {+ "localized_name": "vae",+ "name": "vae",+ "type": "VAE",+ "link": 5364+ },+ {+ "localized_name": "tile_size",+ "name": "tile_size",+ "type": "INT",+ "widget": {+ "name": "tile_size"+ },+ "link": null+ },+ {+ "localized_name": "overlap",+ "name": "overlap",+ "type": "INT",+ "widget": {+ "name": "overlap"+ },+ "link": null+ },+ {+ "localized_name": "temporal_size",+ "name": "temporal_size",+ "type": "INT",+ "widget": {+ "name": "temporal_size"+ },+ "link": null+ },+ {+ "localized_name": "temporal_overlap",+ "name": "temporal_overlap",+ "type": "INT",+ "widget": {+ "name": "temporal_overlap"+ },+ "link": null+ }+ ],+ "outputs": [+ {+ "localized_name": "IMAGE",+ "name": "IMAGE",+ "type": "IMAGE",+ "links": [+ 4749+ ]+ }+ ],+ "properties": {+ "Node name for S&R": "VAEDecodeTiled",+ "cnr_id": "comfy-core",+ "ver": "0.3.29"+ },+ "widgets_values": [+ 1280,+ 128,+ 256,+ 32+ ]+ },+ {+ "id": 1241,+ "type": "LTXVConditioning",+ "pos": [+ 1090.674072265625,+ 2272.830322265625+ ],+ "size": [+ 328.21636962890625,+ 78+ ],+ "flags": {},+ "order": 21,+ "mode": 0,+ "inputs": [+ {+ "localized_name": "positive",+ "name": "positive",+ "type": "CONDITIONING",+ "link": 3364+ },+ {+ "localized_name": "negative",+ "name": "negative",+ "type": "CONDITIONING",+ "link": 3365+ },+ {+ "localized_name": "frame_rate",+ "name": "frame_rate",+ "type": "FLOAT",+ "widget": {+ "name": "frame_rate"+ },+ "link": null+ }+ ],+ "outputs": [+ {+ "localized_name": "positive",+ "name": "positive",+ "type": "CONDITIONING",+ "slot_index": 0,+ "links": [+ 5227,+ 5274+ ]+ },+ {+ "localized_name": "negative",+ "name": "negative",+ "type": "CONDITIONING",+ "slot_index": 1,+ "links": [+ 5228,+ 5275+ ]+ }+ ],+ "properties": {+ "Node name for S&R": "LTXVConditioning",+ "cnr_id": "comfy-core",+ "ver": "0.3.28"+ },+ "widgets_values": [+ 24.000000000000004+ ]+ },+ {+ "id": 7,+ "type": "CLIPTextEncode",+ "pos": [+ 730.2447509765625,+ 2399.255615234375+ ],+ "size": [+ 317.832275390625,+ 213.2843780517578+ ],+ "flags": {},+ "order": 18,+ "mode": 0,+ "inputs": [+ {+ "localized_name": "clip",+ "name": "clip",+ "type": "CLIP",+ "link": 75+ },+ {+ "localized_name": "text",+ "name": "text",+ "type": "STRING",+ "widget": {+ "name": "text"+ },+ "link": null+ }+ ],+ "outputs": [+ {+ "localized_name": "CONDITIONING",+ "name": "CONDITIONING",+ "type": "CONDITIONING",+ "slot_index": 0,+ "links": [+ 3365+ ]+ }+ ],+ "title": "CLIP Text Encode (Negative Prompt)",+ "properties": {+ "Node name for S&R": "CLIPTextEncode",+ "cnr_id": "comfy-core",+ "ver": "0.3.28"+ },+ "widgets_values": [+ "low quality, worst quality, deformed, distorted, disfigured, motion smear, motion artifacts, fused fingers, bad anatomy, weird hand, ugly"+ ],+ "color": "#322",+ "bgcolor": "#533"+ },+ {+ "id": 38,+ "type": "CLIPLoader",+ "pos": [+ 347.74371337890625,+ 2311.21337890625+ ],+ "size": [+ 315,+ 106+ ],+ "flags": {},+ "order": 0,+ "mode": 0,+ "inputs": [+ {+ "localized_name": "clip_name",+ "name": "clip_name",+ "type": "COMBO",+ "widget": {+ "name": "clip_name"+ },+ "link": null+ },+ {+ "localized_name": "type",+ "name": "type",+ "type": "COMBO",+ "widget": {+ "name": "type"+ },+ "link": null+ },+ {+ "localized_name": "device",+ "name": "device",+ "shape": 7,+ "type": "COMBO",+ "widget": {+ "name": "device"+ },+ "link": null+ }+ ],+ "outputs": [+ {+ "localized_name": "CLIP",+ "name": "CLIP",+ "type": "CLIP",+ "slot_index": 0,+ "links": [+ 74,+ 75+ ]+ }+ ],+ "properties": {+ "Node name for S&R": "CLIPLoader",+ "cnr_id": "comfy-core",+ "ver": "0.3.28"+ },+ "widgets_values": [+ "t5xxl_fp16.safetensors",+ "ltxv",+ "default"+ ]+ },+ {+ "id": 1828,+ "type": "LTXVLatentUpsamplerModelLoader",+ "pos": [+ 3338.0751953125,+ 2116.379638671875+ ],+ "size": [+ 344.3999938964844,+ 106+ ],+ "flags": {},+ "order": 1,+ "mode": 0,+ "inputs": [+ {+ "localized_name": "upscale_model",+ "name": "upscale_model",+ "type": "COMBO",+ "widget": {+ "name": "upscale_model"+ },+ "link": null+ },+ {+ "localized_name": "spatial_upsample",+ "name": "spatial_upsample",+ "type": "BOOLEAN",+ "widget": {+ "name": "spatial_upsample"+ },+ "link": null+ },+ {+ "localized_name": "temporal_upsample",+ "name": "temporal_upsample",+ "type": "BOOLEAN",+ "widget": {+ "name": "temporal_upsample"+ },+ "link": null+ }+ ],+ "outputs": [+ {+ "localized_name": "UPSCALE_MODEL",+ "name": "UPSCALE_MODEL",+ "type": "UPSCALE_MODEL",+ "links": [+ 5303+ ]+ }+ ],+ "properties": {+ "Node name for S&R": "LTXVLatentUpsamplerModelLoader"+ },+ "widgets_values": [+ "ltxv-spatial-upscaler-0.9.7.safetensors",+ true,+ false+ ]+ },+ {+ "id": 1796,+ "type": "LTXVTiledSampler",+ "pos": [+ 4184.95068359375,+ 2168.989501953125+ ],+ "size": [+ 346,+ 342+ ],+ "flags": {},+ "order": 30,+ "mode": 0,+ "inputs": [+ {+ "localized_name": "model",+ "name": "model",+ "type": "MODEL",+ "link": 5265+ },+ {+ "localized_name": "vae",+ "name": "vae",+ "type": "VAE",+ "link": 5288+ },+ {+ "localized_name": "noise",+ "name": "noise",+ "type": "NOISE",+ "link": 5126+ },+ {+ "localized_name": "sampler",+ "name": "sampler",+ "type": "SAMPLER",+ "link": 5260+ },+ {+ "localized_name": "sigmas",+ "name": "sigmas",+ "type": "SIGMAS",+ "link": 5353+ },+ {+ "localized_name": "guider",+ "name": "guider",+ "type": "GUIDER",+ "link": 5193+ },+ {+ "localized_name": "latents",+ "name": "latents",+ "type": "LATENT",+ "link": 5281+ },+ {+ "localized_name": "optional_cond_image",+ "name": "optional_cond_image",+ "shape": 7,+ "type": "IMAGE",+ "link": 5285+ },+ {+ "localized_name": "horizontal_tiles",+ "name": "horizontal_tiles",+ "type": "INT",+ "widget": {+ "name": "horizontal_tiles"+ },+ "link": null+ },+ {+ "localized_name": "vertical_tiles",+ "name": "vertical_tiles",+ "type": "INT",+ "widget": {+ "name": "vertical_tiles"+ },+ "link": null+ },+ {+ "localized_name": "overlap",+ "name": "overlap",+ "type": "INT",+ "widget": {+ "name": "overlap"+ },+ "link": null+ },+ {+ "localized_name": "first_frame_cond_strength",+ "name": "first_frame_cond_strength",+ "type": "FLOAT",+ "widget": {+ "name": "first_frame_cond_strength"+ },+ "link": null+ },+ {+ "localized_name": "latents_cond_strength",+ "name": "latents_cond_strength",+ "type": "FLOAT",+ "widget": {+ "name": "latents_cond_strength"+ },+ "link": null+ },+ {+ "localized_name": "boost_latent_similarity",+ "name": "boost_latent_similarity",+ "type": "BOOLEAN",+ "widget": {+ "name": "boost_latent_similarity"+ },+ "link": null+ },+ {+ "localized_name": "crop",+ "name": "crop",+ "type": "COMBO",+ "widget": {+ "name": "crop"+ },+ "link": null+ }+ ],+ "outputs": [+ {+ "localized_name": "output",+ "name": "output",+ "type": "LATENT",+ "links": [+ 5306+ ]+ },+ {+ "localized_name": "denoised_output",+ "name": "denoised_output",+ "type": "LATENT",+ "links": []+ }+ ],+ "properties": {+ "Node name for S&R": "LTXVTiledSampler"+ },+ "widgets_values": [+ 1,+ 1,+ 3,+ 0.9,+ 0.15,+ true,+ "center"+ ]+ },+ {+ "id": 1661,+ "type": "ImageResizeKJ",+ "pos": [+ 4825.6025390625,+ 2168.989501953125+ ],+ "size": [+ 315,+ 238+ ],+ "flags": {},+ "order": 32,+ "mode": 0,+ "inputs": [+ {+ "localized_name": "image",+ "name": "image",+ "type": "IMAGE",+ "link": 4749+ },+ {+ "localized_name": "width_input",+ "name": "width_input",+ "shape": 7,+ "type": "INT",+ "link": null+ },+ {+ "localized_name": "height_input",+ "name": "height_input",+ "shape": 7,+ "type": "INT",+ "link": null+ },+ {+ "localized_name": "get_image_size",+ "name": "get_image_size",+ "shape": 7,+ "type": "IMAGE",+ "link": null+ },+ {+ "localized_name": "width",+ "name": "width",+ "type": "INT",+ "widget": {+ "name": "width"+ },+ "link": null+ },+ {+ "localized_name": "height",+ "name": "height",+ "type": "INT",+ "widget": {+ "name": "height"+ },+ "link": null+ },+ {+ "localized_name": "upscale_method",+ "name": "upscale_method",+ "type": "COMBO",+ "widget": {+ "name": "upscale_method"+ },+ "link": null+ },+ {+ "localized_name": "keep_proportion",+ "name": "keep_proportion",+ "type": "BOOLEAN",+ "widget": {+ "name": "keep_proportion"+ },+ "link": null+ },+ {+ "localized_name": "divisible_by",+ "name": "divisible_by",+ "type": "INT",+ "widget": {+ "name": "divisible_by"+ },+ "link": null+ },+ {+ "localized_name": "crop",+ "name": "crop",+ "shape": 7,+ "type": "COMBO",+ "widget": {+ "name": "crop"+ },+ "link": null+ }+ ],+ "outputs": [+ {+ "localized_name": "IMAGE",+ "name": "IMAGE",+ "type": "IMAGE",+ "links": [+ 4751+ ]+ },+ {+ "localized_name": "width",+ "name": "width",+ "type": "INT",+ "links": null+ },+ {+ "localized_name": "height",+ "name": "height",+ "type": "INT",+ "links": null+ }+ ],+ "properties": {+ "Node name for S&R": "ImageResizeKJ"+ },+ "widgets_values": [+ 1280,+ 1280,+ "bicubic",+ true,+ 2,+ "center"+ ]+ },+ {+ "id": 44,+ "type": "CheckpointLoaderSimple",+ "pos": [+ 1084.624267578125,+ 2417.698486328125+ ],+ "size": [+ 334.6303405761719,+ 98+ ],+ "flags": {},+ "order": 2,+ "mode": 0,+ "inputs": [+ {+ "localized_name": "ckpt_name",+ "name": "ckpt_name",+ "type": "COMBO",+ "widget": {+ "name": "ckpt_name"+ },+ "link": null+ }+ ],+ "outputs": [+ {+ "localized_name": "MODEL",+ "name": "MODEL",+ "type": "MODEL",+ "slot_index": 0,+ "links": [+ 2951,+ 5236,+ 5239,+ 5240,+ 5265+ ]+ },+ {+ "localized_name": "CLIP",+ "name": "CLIP",+ "type": "CLIP",+ "links": []+ },+ {+ "localized_name": "VAE",+ "name": "VAE",+ "type": "VAE",+ "slot_index": 2,+ "links": [+ 5243,+ 5287,+ 5288,+ 5362+ ]+ }+ ],+ "properties": {+ "Node name for S&R": "CheckpointLoaderSimple",+ "cnr_id": "comfy-core",+ "ver": "0.3.28"+ },+ "widgets_values": [+ "ltxv-13b-0.9.7-dev.safetensors"+ ]+ },+ {+ "id": 1335,+ "type": "VAEDecode",+ "pos": [+ 2515.01953125,+ 2253.726318359375+ ],+ "size": [+ 210,+ 46+ ],+ "flags": {},+ "order": 26,+ "mode": 0,+ "inputs": [+ {+ "localized_name": "samples",+ "name": "samples",+ "type": "LATENT",+ "link": 3576+ },+ {+ "localized_name": "vae",+ "name": "vae",+ "type": "VAE",+ "link": 5363+ }+ ],+ "outputs": [+ {+ "localized_name": "IMAGE",+ "name": "IMAGE",+ "type": "IMAGE",+ "links": [+ 3578+ ]+ }+ ],+ "properties": {+ "Node name for S&R": "VAEDecode",+ "cnr_id": "comfy-core",+ "ver": "0.3.29"+ },+ "widgets_values": []+ },+ {+ "id": 1699,+ "type": "LTXVFilmGrain",+ "pos": [+ 5175.60205078125,+ 2168.989501953125+ ],+ "size": [+ 210,+ 82+ ],+ "flags": {},+ "order": 33,+ "mode": 0,+ "inputs": [+ {+ "localized_name": "images",+ "name": "images",+ "type": "IMAGE",+ "link": 4751+ },+ {+ "localized_name": "grain_intensity",+ "name": "grain_intensity",+ "type": "FLOAT",+ "widget": {+ "name": "grain_intensity"+ },+ "link": null+ },+ {+ "localized_name": "saturation",+ "name": "saturation",+ "type": "FLOAT",+ "widget": {+ "name": "saturation"+ },+ "link": null+ }+ ],+ "outputs": [+ {+ "localized_name": "IMAGE",+ "name": "IMAGE",+ "type": "IMAGE",+ "links": [+ 4752+ ]+ }+ ],+ "properties": {+ "Node name for S&R": "LTXVFilmGrain"+ },+ "widgets_values": [+ 0.010000000000000002,+ 0.5+ ]+ },+ {+ "id": 1336,+ "type": "VHS_VideoCombine",+ "pos": [+ 2789.545166015625,+ 2253.726318359375+ ],+ "size": [+ 471.0374755859375,+ 624.691650390625+ ],+ "flags": {},+ "order": 28,+ "mode": 0,+ "inputs": [+ {+ "localized_name": "images",+ "name": "images",+ "shape": 7,+ "type": "IMAGE",+ "link": 3578+ },+ {+ "localized_name": "audio",+ "name": "audio",+ "shape": 7,+ "type": "AUDIO",+ "link": null+ },+ {+ "localized_name": "meta_batch",+ "name": "meta_batch",+ "shape": 7,+ "type": "VHS_BatchManager",+ "link": null+ },+ {+ "localized_name": "vae",+ "name": "vae",+ "shape": 7,+ "type": "VAE",+ "link": null+ },+ {+ "localized_name": "frame_rate",+ "name": "frame_rate",+ "type": "FLOAT",+ "widget": {+ "name": "frame_rate"+ },+ "link": null+ },+ {+ "localized_name": "loop_count",+ "name": "loop_count",+ "type": "INT",+ "widget": {+ "name": "loop_count"+ },+ "link": null+ },+ {+ "localized_name": "filename_prefix",+ "name": "filename_prefix",+ "type": "STRING",+ "widget": {+ "name": "filename_prefix"+ },+ "link": null+ },+ {+ "localized_name": "format",+ "name": "format",+ "type": "COMBO",+ "widget": {+ "name": "format"+ },+ "link": null+ },+ {+ "localized_name": "pingpong",+ "name": "pingpong",+ "type": "BOOLEAN",+ "widget": {+ "name": "pingpong"+ },+ "link": null+ },+ {+ "localized_name": "save_output",+ "name": "save_output",+ "type": "BOOLEAN",+ "widget": {+ "name": "save_output"+ },+ "link": null+ }+ ],+ "outputs": [+ {+ "localized_name": "Filenames",+ "name": "Filenames",+ "type": "VHS_FILENAMES",+ "links": null+ }+ ],+ "properties": {+ "Node name for S&R": "VHS_VideoCombine"+ },+ "widgets_values": {+ "frame_rate": 24,+ "loop_count": 0,+ "filename_prefix": "ltxv-base",+ "format": "video/h264-mp4",+ "pix_fmt": "yuv420p",+ "crf": 19,+ "save_metadata": true,+ "pingpong": false,+ "save_output": false,+ "videopreview": {+ "hidden": false,+ "paused": false,+ "params": {+ "filename": "ltxv-base_00002.mp4",+ "subfolder": "",+ "type": "temp",+ "format": "video/h264-mp4",+ "frame_rate": 24+ }+ }+ }+ },+ {+ "id": 6,+ "type": "CLIPTextEncode",+ "pos": [+ 725.3102416992188,+ 2114.966064453125+ ],+ "size": [+ 307.2346496582031,+ 204.2556610107422+ ],+ "flags": {},+ "order": 17,+ "mode": 0,+ "inputs": [+ {+ "localized_name": "clip",+ "name": "clip",+ "type": "CLIP",+ "link": 74+ },+ {+ "localized_name": "text",+ "name": "text",+ "type": "STRING",+ "widget": {+ "name": "text"+ },+ "link": null+ }+ ],+ "outputs": [+ {+ "localized_name": "CONDITIONING",+ "name": "CONDITIONING",+ "type": "CONDITIONING",+ "slot_index": 0,+ "links": [+ 3364+ ]+ }+ ],+ "title": "CLIP Text Encode (Positive Prompt)",+ "properties": {+ "Node name for S&R": "CLIPTextEncode",+ "cnr_id": "comfy-core",+ "ver": "0.3.28"+ },+ "widgets_values": [+ ""+ ],+ "color": "#232",+ "bgcolor": "#353"+ },+ {+ "id": 1507,+ "type": "RandomNoise",+ "pos": [+ 1847.874755859375,+ 2114.199462890625+ ],+ "size": [+ 210,+ 82+ ],+ "flags": {},+ "order": 3,+ "mode": 0,+ "inputs": [+ {+ "localized_name": "noise_seed",+ "name": "noise_seed",+ "type": "INT",+ "widget": {+ "name": "noise_seed"+ },+ "link": null+ }+ ],+ "outputs": [+ {+ "localized_name": "NOISE",+ "name": "NOISE",+ "type": "NOISE",+ "slot_index": 0,+ "links": [+ 4053+ ]+ }+ ],+ "properties": {+ "Node name for S&R": "RandomNoise",+ "cnr_id": "comfy-core",+ "ver": "0.3.28"+ },+ "widgets_values": [+ 108,+ "fixed"+ ]+ },+ {+ "id": 1858,+ "type": "Note",+ "pos": [+ 1098.473388671875,+ 2107.7099609375+ ],+ "size": [+ 313.80950927734375,+ 120.61924743652344+ ],+ "flags": {},+ "order": 4,+ "mode": 0,+ "inputs": [],+ "outputs": [],+ "properties": {},+ "widgets_values": [+ "Framerate can be adjusted, just make sure you are using the same framerate in your VideoCombine node to see proper playback.\n\n60FPS = Lower quality, more motion\n24 FPS = Higher quality, less motion"+ ],+ "color": "#432",+ "bgcolor": "#653"+ },+ {+ "id": 1859,+ "type": "Note",+ "pos": [+ 2134.832763671875,+ 2111.12353515625+ ],+ "size": [+ 298.2620544433594,+ 88+ ],+ "flags": {},+ "order": 5,+ "mode": 0,+ "inputs": [],+ "outputs": [],+ "properties": {},+ "widgets_values": [+ "We generate at a base resolution of 768x512.\nThe video will be upscaled later to FHD."+ ],+ "color": "#432",+ "bgcolor": "#653"+ },+ {+ "id": 1823,+ "type": "Note",+ "pos": [+ 1779.07470703125,+ 2575.503662109375+ ],+ "size": [+ 276.017578125,+ 171.05442810058594+ ],+ "flags": {},+ "order": 6,+ "mode": 0,+ "inputs": [],+ "outputs": [],+ "properties": {},+ "widgets_values": [+ "The Advanced STG Guider dynamically controls the diffusion model's denoising process by mapping sigma values to specific configuration parameters (CFG scale, STG scale/rescale factors, and attention layer skipping patterns), enabling precise control at different denoising stages independently of step numbers while supporting additional techniques like CFG-Zero rescaling and threshold-based noise prediction zeroing."+ ],+ "color": "#432",+ "bgcolor": "#653"+ },+ {+ "id": 1807,+ "type": "STGGuiderAdvanced",+ "pos": [+ 1779.07470703125,+ 2253.726318359375+ ],+ "size": [+ 278.79998779296875,+ 262+ ],+ "flags": {},+ "order": 23,+ "mode": 0,+ "inputs": [+ {+ "localized_name": "model",+ "name": "model",+ "type": "MODEL",+ "link": 5239+ },+ {+ "localized_name": "positive",+ "name": "positive",+ "type": "CONDITIONING",+ "link": 5227+ },+ {+ "localized_name": "negative",+ "name": "negative",+ "type": "CONDITIONING",+ "link": 5228+ },+ {+ "localized_name": "preset",+ "name": "preset",+ "shape": 7,+ "type": "STG_ADVANCED_PRESET",+ "link": 5351+ },+ {+ "localized_name": "skip_steps_sigma_threshold",+ "name": "skip_steps_sigma_threshold",+ "type": "FLOAT",+ "widget": {+ "name": "skip_steps_sigma_threshold"+ },+ "link": null+ },+ {+ "localized_name": "cfg_star_rescale",+ "name": "cfg_star_rescale",+ "type": "BOOLEAN",+ "widget": {+ "name": "cfg_star_rescale"+ },+ "link": null+ },+ {+ "localized_name": "sigmas",+ "name": "sigmas",+ "type": "STRING",+ "widget": {+ "name": "sigmas"+ },+ "link": null+ },+ {+ "localized_name": "cfg_values",+ "name": "cfg_values",+ "type": "STRING",+ "widget": {+ "name": "cfg_values"+ },+ "link": null+ },+ {+ "localized_name": "stg_scale_values",+ "name": "stg_scale_values",+ "type": "STRING",+ "widget": {+ "name": "stg_scale_values"+ },+ "link": null+ },+ {+ "localized_name": "stg_rescale_values",+ "name": "stg_rescale_values",+ "type": "STRING",+ "widget": {+ "name": "stg_rescale_values"+ },+ "link": null+ },+ {+ "localized_name": "stg_layers_indices",+ "name": "stg_layers_indices",+ "type": "STRING",+ "widget": {+ "name": "stg_layers_indices"+ },+ "link": null+ }+ ],+ "outputs": [+ {+ "localized_name": "GUIDER",+ "name": "GUIDER",+ "type": "GUIDER",+ "links": [+ 5167+ ]+ }+ ],+ "properties": {+ "Node name for S&R": "STGGuiderAdvanced"+ },+ "widgets_values": [+ 0.9970000000000002,+ true,+ "1.0, 0.9933, 0.9850, 0.9767, 0.9008, 0.6180",+ "1,16,8,8,4,1",+ "0, 4, 4, 2, 1, 1",+ "1, 1, 1, 1, 1, 1",+ "[35], [35], [35], [42], [42], [42]"+ ]+ },+ {+ "id": 1861,+ "type": "Note",+ "pos": [+ 1510,+ 2368.19873046875+ ],+ "size": [+ 216.66220092773438,+ 88+ ],+ "flags": {},+ "order": 7,+ "mode": 0,+ "inputs": [],+ "outputs": [],+ "properties": {},+ "widgets_values": [+ "Presets override the values inside 🅛🅣🅧 STG Guider Advanced node."+ ],+ "color": "#432",+ "bgcolor": "#653"+ },+ {+ "id": 1103,+ "type": "BasicScheduler",+ "pos": [+ 1510,+ 2718.19873046875+ ],+ "size": [+ 245.24002075195312,+ 106+ ],+ "flags": {},+ "order": 19,+ "mode": 0,+ "inputs": [+ {+ "localized_name": "model",+ "name": "model",+ "type": "MODEL",+ "link": 2951+ },+ {+ "localized_name": "scheduler",+ "name": "scheduler",+ "type": "COMBO",+ "widget": {+ "name": "scheduler"+ },+ "link": null+ },+ {+ "localized_name": "steps",+ "name": "steps",+ "type": "INT",+ "widget": {+ "name": "steps"+ },+ "link": null+ },+ {+ "localized_name": "denoise",+ "name": "denoise",+ "type": "FLOAT",+ "widget": {+ "name": "denoise"+ },+ "link": null+ }+ ],+ "outputs": [+ {+ "localized_name": "SIGMAS",+ "name": "SIGMAS",+ "type": "SIGMAS",+ "links": [+ 5225,+ 5258+ ]+ }+ ],+ "properties": {+ "Node name for S&R": "BasicScheduler",+ "cnr_id": "comfy-core",+ "ver": "0.3.29"+ },+ "widgets_values": [+ "linear_quadratic",+ 30,+ 1+ ]+ },+ {+ "id": 73,+ "type": "KSamplerSelect",+ "pos": [+ 1510,+ 2608.19873046875+ ],+ "size": [+ 251.94110107421875,+ 58+ ],+ "flags": {},+ "order": 8,+ "mode": 0,+ "inputs": [+ {+ "localized_name": "sampler_name",+ "name": "sampler_name",+ "type": "COMBO",+ "widget": {+ "name": "sampler_name"+ },+ "link": null+ }+ ],+ "outputs": [+ {+ "localized_name": "SAMPLER",+ "name": "SAMPLER",+ "type": "SAMPLER",+ "links": [+ 5224,+ 5260+ ]+ }+ ],+ "properties": {+ "Node name for S&R": "KSamplerSelect",+ "cnr_id": "comfy-core",+ "ver": "0.3.28"+ },+ "widgets_values": [+ "gradient_estimation"+ ]+ },+ {+ "id": 1825,+ "type": "Note",+ "pos": [+ 452.24432373046875,+ 2122.3583984375+ ],+ "size": [+ 232.79998779296875,+ 88+ ],+ "flags": {},+ "order": 9,+ "mode": 0,+ "inputs": [],+ "outputs": [],+ "properties": {},+ "widgets_values": [+ "Best use descriptive prompt, but you can even leave it empty in i2v case."+ ],+ "color": "#432",+ "bgcolor": "#653"+ },+ {+ "id": 1691,+ "type": "LTXVLatentUpsampler",+ "pos": [+ 3447.275146484375,+ 2285.2890625+ ],+ "size": [+ 235.1999969482422,+ 66+ ],+ "flags": {},+ "order": 27,+ "mode": 0,+ "inputs": [+ {+ "localized_name": "samples",+ "name": "samples",+ "type": "LATENT",+ "link": 5295+ },+ {+ "localized_name": "upscale_model",+ "name": "upscale_model",+ "type": "UPSCALE_MODEL",+ "link": 5303+ },+ {+ "localized_name": "vae",+ "name": "vae",+ "type": "VAE",+ "link": 5287+ }+ ],+ "outputs": [+ {+ "localized_name": "LATENT",+ "name": "LATENT",+ "type": "LATENT",+ "links": [+ 5297+ ]+ }+ ],+ "properties": {+ "Node name for S&R": "LTXVLatentUpsampler"+ },+ "widgets_values": []+ },+ {+ "id": 1593,+ "type": "LTXVAdainLatent",+ "pos": [+ 3472.47509765625,+ 2415.978271484375+ ],+ "size": [+ 210,+ 78+ ],+ "flags": {},+ "order": 29,+ "mode": 0,+ "inputs": [+ {+ "localized_name": "latents",+ "name": "latents",+ "type": "LATENT",+ "link": 5297+ },+ {+ "localized_name": "reference",+ "name": "reference",+ "type": "LATENT",+ "link": 5302+ },+ {+ "localized_name": "factor",+ "name": "factor",+ "type": "FLOAT",+ "widget": {+ "name": "factor"+ },+ "link": null+ }+ ],+ "outputs": [+ {+ "localized_name": "LATENT",+ "name": "LATENT",+ "type": "LATENT",+ "links": [+ 5281+ ]+ }+ ],+ "properties": {+ "Node name for S&R": "LTXVAdainLatent"+ },+ "widgets_values": [+ 0.25+ ]+ },+ {+ "id": 1863,+ "type": "Note",+ "pos": [+ 3360.09912109375,+ 2549.0048828125+ ],+ "size": [+ 322.3760986328125,+ 88+ ],+ "flags": {},+ "order": 10,+ "mode": 0,+ "inputs": [],+ "outputs": [],+ "properties": {},+ "widgets_values": [+ "Depending on the latent upscaler model used, it can increase either spatial or temporal resolution, without moving to/from pixel space. "+ ],+ "color": "#432",+ "bgcolor": "#653"+ },+ {+ "id": 1598,+ "type": "RandomNoise",+ "pos": [+ 3834.480224609375,+ 2120.607666015625+ ],+ "size": [+ 210,+ 82+ ],+ "flags": {},+ "order": 11,+ "mode": 0,+ "inputs": [+ {+ "localized_name": "noise_seed",+ "name": "noise_seed",+ "type": "INT",+ "widget": {+ "name": "noise_seed"+ },+ "link": null+ }+ ],+ "outputs": [+ {+ "localized_name": "NOISE",+ "name": "NOISE",+ "type": "NOISE",+ "links": [+ 5126+ ]+ }+ ],+ "properties": {+ "Node name for S&R": "RandomNoise",+ "cnr_id": "comfy-core",+ "ver": "0.3.30"+ },+ "widgets_values": [+ 191,+ "fixed"+ ]+ },+ {+ "id": 1596,+ "type": "SplitSigmas",+ "pos": [+ 4184.95068359375,+ 2566.927001953125+ ],+ "size": [+ 271.1412048339844,+ 78+ ],+ "flags": {},+ "order": 22,+ "mode": 0,+ "inputs": [+ {+ "localized_name": "sigmas",+ "name": "sigmas",+ "type": "SIGMAS",+ "link": 5258+ },+ {+ "localized_name": "step",+ "name": "step",+ "type": "INT",+ "widget": {+ "name": "step"+ },+ "link": null+ }+ ],+ "outputs": [+ {+ "localized_name": "high_sigmas",+ "name": "high_sigmas",+ "type": "SIGMAS",+ "links": null+ },+ {+ "localized_name": "low_sigmas",+ "name": "low_sigmas",+ "type": "SIGMAS",+ "links": [+ 5353+ ]+ }+ ],+ "properties": {+ "Node name for S&R": "SplitSigmas",+ "cnr_id": "comfy-core",+ "ver": "0.3.30"+ },+ "widgets_values": [+ 18+ ]+ },+ {+ "id": 1862,+ "type": "Note",+ "pos": [+ 4184.95068359375,+ 2704.816650390625+ ],+ "size": [+ 335.1761474609375,+ 148.08804321289062+ ],+ "flags": {},+ "order": 12,+ "mode": 0,+ "inputs": [],+ "outputs": [],+ "properties": {},+ "widgets_values": [+ "If you are not constrained in VRAM, run 1x1 tile starting from step 18 \nIf you are constrained in your available VRAM, run 2x2 tiles and use somewhat lower noies levels, starting from step 23.\n\n"+ ],+ "color": "#432",+ "bgcolor": "#653"+ },+ {+ "id": 1599,+ "type": "VHS_VideoCombine",+ "pos": [+ 5415.6015625,+ 2168.989501953125+ ],+ "size": [+ 610.8043212890625,+ 719.1004028320312+ ],+ "flags": {},+ "order": 34,+ "mode": 0,+ "inputs": [+ {+ "localized_name": "images",+ "name": "images",+ "shape": 7,+ "type": "IMAGE",+ "link": 4752+ },+ {+ "localized_name": "audio",+ "name": "audio",+ "shape": 7,+ "type": "AUDIO",+ "link": null+ },+ {+ "localized_name": "meta_batch",+ "name": "meta_batch",+ "shape": 7,+ "type": "VHS_BatchManager",+ "link": null+ },+ {+ "localized_name": "vae",+ "name": "vae",+ "shape": 7,+ "type": "VAE",+ "link": null+ },+ {+ "localized_name": "frame_rate",+ "name": "frame_rate",+ "type": "FLOAT",+ "widget": {+ "name": "frame_rate"+ },+ "link": null+ },+ {+ "localized_name": "loop_count",+ "name": "loop_count",+ "type": "INT",+ "widget": {+ "name": "loop_count"+ },+ "link": null+ },+ {+ "localized_name": "filename_prefix",+ "name": "filename_prefix",+ "type": "STRING",+ "widget": {+ "name": "filename_prefix"+ },+ "link": null+ },+ {+ "localized_name": "format",+ "name": "format",+ "type": "COMBO",+ "widget": {+ "name": "format"+ },+ "link": null+ },+ {+ "localized_name": "pingpong",+ "name": "pingpong",+ "type": "BOOLEAN",+ "widget": {+ "name": "pingpong"+ },+ "link": null+ },+ {+ "localized_name": "save_output",+ "name": "save_output",+ "type": "BOOLEAN",+ "widget": {+ "name": "save_output"+ },+ "link": null+ }+ ],+ "outputs": [+ {+ "localized_name": "Filenames",+ "name": "Filenames",+ "type": "VHS_FILENAMES",+ "links": null+ }+ ],+ "properties": {+ "Node name for S&R": "VHS_VideoCombine",+ "cnr_id": "comfyui-videohelpersuite",+ "ver": "2c25b8b53835aaeb63f831b3137c705cf9f85dce"+ },+ "widgets_values": {+ "frame_rate": 24,+ "loop_count": 0,+ "filename_prefix": "ltxv-hd",+ "format": "video/h264-mp4",+ "pix_fmt": "yuv420p",+ "crf": 18,+ "save_metadata": false,+ "pingpong": false,+ "save_output": false,+ "videopreview": {+ "hidden": false,+ "paused": true,+ "params": {+ "filename": "ltxv-hd_00001.mp4",+ "subfolder": "",+ "type": "temp",+ "format": "video/h264-mp4",+ "frame_rate": 24,+ "workflow": "ltxv_00055.png",+ "fullpath": "C:\\Users\\Zeev\\Projects\\ComfyUI\\temp\\ltxv_00055.mp4"+ },+ "muted": true+ }+ }+ },+ {+ "id": 1813,+ "type": "STGGuiderAdvanced",+ "pos": [+ 3768.236572265625,+ 2261.949462890625+ ],+ "size": [+ 278.79998779296875,+ 262+ ],+ "flags": {},+ "order": 24,+ "mode": 0,+ "inputs": [+ {+ "localized_name": "model",+ "name": "model",+ "type": "MODEL",+ "link": 5240+ },+ {+ "localized_name": "positive",+ "name": "positive",+ "type": "CONDITIONING",+ "link": 5274+ },+ {+ "localized_name": "negative",+ "name": "negative",+ "type": "CONDITIONING",+ "link": 5275+ },+ {+ "localized_name": "preset",+ "name": "preset",+ "shape": 7,+ "type": "STG_ADVANCED_PRESET",+ "link": 5354+ },+ {+ "localized_name": "skip_steps_sigma_threshold",+ "name": "skip_steps_sigma_threshold",+ "type": "FLOAT",+ "widget": {+ "name": "skip_steps_sigma_threshold"+ },+ "link": null+ },+ {+ "localized_name": "cfg_star_rescale",+ "name": "cfg_star_rescale",+ "type": "BOOLEAN",+ "widget": {+ "name": "cfg_star_rescale"+ },+ "link": null+ },+ {+ "localized_name": "sigmas",+ "name": "sigmas",+ "type": "STRING",+ "widget": {+ "name": "sigmas"+ },+ "link": null+ },+ {+ "localized_name": "cfg_values",+ "name": "cfg_values",+ "type": "STRING",+ "widget": {+ "name": "cfg_values"+ },+ "link": null+ },+ {+ "localized_name": "stg_scale_values",+ "name": "stg_scale_values",+ "type": "STRING",+ "widget": {+ "name": "stg_scale_values"+ },+ "link": null+ },+ {+ "localized_name": "stg_rescale_values",+ "name": "stg_rescale_values",+ "type": "STRING",+ "widget": {+ "name": "stg_rescale_values"+ },+ "link": null+ },+ {+ "localized_name": "stg_layers_indices",+ "name": "stg_layers_indices",+ "type": "STRING",+ "widget": {+ "name": "stg_layers_indices"+ },+ "link": null+ }+ ],+ "outputs": [+ {+ "localized_name": "GUIDER",+ "name": "GUIDER",+ "type": "GUIDER",+ "links": [+ 5193+ ]+ }+ ],+ "properties": {+ "Node name for S&R": "STGGuiderAdvanced"+ },+ "widgets_values": [+ 0.9970000000000002,+ true,+ "1",+ "1",+ "1",+ "1",+ "[42]"+ ]+ },+ {+ "id": 1860,+ "type": "Note",+ "pos": [+ 2134.832763671875,+ 2658.40869140625+ ],+ "size": [+ 300,+ 130+ ],+ "flags": {},+ "order": 13,+ "mode": 0,+ "inputs": [],+ "outputs": [],+ "properties": {},+ "widgets_values": [+ "crop decides if the conditioning image(s) is center-cropped or resized by stretching \n\ncrf and blur are preprocessing parameters for conditioning image(s) to make them look more like video frames, which helps with the dynamicity of the generated video"+ ],+ "color": "#432",+ "bgcolor": "#653"+ },+ {+ "id": 1864,+ "type": "STGAdvancedPresets",+ "pos": [+ 3780.39501953125,+ 2595.4013671875+ ],+ "size": [+ 264.6961364746094,+ 58+ ],+ "flags": {},+ "order": 14,+ "mode": 0,+ "inputs": [+ {+ "localized_name": "preset",+ "name": "preset",+ "type": "COMBO",+ "widget": {+ "name": "preset"+ },+ "link": null+ }+ ],+ "outputs": [+ {+ "localized_name": "STG_ADVANCED_PRESET",+ "name": "STG_ADVANCED_PRESET",+ "type": "STG_ADVANCED_PRESET",+ "links": [+ 5354+ ]+ }+ ],+ "properties": {+ "Node name for S&R": "STGAdvancedPresets"+ },+ "widgets_values": [+ "13b Upscale"+ ]+ },+ {+ "id": 1809,+ "type": "STGAdvancedPresets",+ "pos": [+ 1510,+ 2258.19873046875+ ],+ "size": [+ 226.8000030517578,+ 58+ ],+ "flags": {},+ "order": 15,+ "mode": 0,+ "inputs": [+ {+ "localized_name": "preset",+ "name": "preset",+ "type": "COMBO",+ "widget": {+ "name": "preset"+ },+ "link": null+ }+ ],+ "outputs": [+ {+ "localized_name": "STG_ADVANCED_PRESET",+ "name": "STG_ADVANCED_PRESET",+ "type": "STG_ADVANCED_PRESET",+ "links": [+ 5351+ ]+ }+ ],+ "properties": {+ "Node name for S&R": "STGAdvancedPresets"+ },+ "widgets_values": [+ "13b Dynamic"+ ]+ },+ {+ "id": 1338,+ "type": "LTXVBaseSampler",+ "pos": [+ 2134.832763671875,+ 2253.726318359375+ ],+ "size": [+ 312.3999938964844,+ 346+ ],+ "flags": {},+ "order": 25,+ "mode": 0,+ "inputs": [+ {+ "localized_name": "model",+ "name": "model",+ "type": "MODEL",+ "link": 5236+ },+ {+ "localized_name": "vae",+ "name": "vae",+ "type": "VAE",+ "link": 5243+ },+ {+ "localized_name": "guider",+ "name": "guider",+ "type": "GUIDER",+ "link": 5167+ },+ {+ "localized_name": "sampler",+ "name": "sampler",+ "type": "SAMPLER",+ "link": 5224+ },+ {+ "localized_name": "sigmas",+ "name": "sigmas",+ "type": "SIGMAS",+ "link": 5225+ },+ {+ "localized_name": "noise",+ "name": "noise",+ "type": "NOISE",+ "link": 4053+ },+ {+ "localized_name": "optional_cond_images",+ "name": "optional_cond_images",+ "shape": 7,+ "type": "IMAGE",+ "link": 5361+ },+ {+ "localized_name": "width",+ "name": "width",+ "type": "INT",+ "widget": {+ "name": "width"+ },+ "link": null+ },+ {+ "localized_name": "height",+ "name": "height",+ "type": "INT",+ "widget": {+ "name": "height"+ },+ "link": null+ },+ {+ "localized_name": "num_frames",+ "name": "num_frames",+ "type": "INT",+ "widget": {+ "name": "num_frames"+ },+ "link": null+ },+ {+ "localized_name": "optional_cond_indices",+ "name": "optional_cond_indices",+ "shape": 7,+ "type": "STRING",+ "widget": {+ "name": "optional_cond_indices"+ },+ "link": null+ },+ {+ "localized_name": "strength",+ "name": "strength",+ "shape": 7,+ "type": "FLOAT",+ "widget": {+ "name": "strength"+ },+ "link": null+ },+ {+ "localized_name": "crop",+ "name": "crop",+ "shape": 7,+ "type": "COMBO",+ "widget": {+ "name": "crop"+ },+ "link": null+ },+ {+ "localized_name": "crf",+ "name": "crf",+ "shape": 7,+ "type": "INT",+ "widget": {+ "name": "crf"+ },+ "link": null+ },+ {+ "localized_name": "blur",+ "name": "blur",+ "shape": 7,+ "type": "INT",+ "widget": {+ "name": "blur"+ },+ "link": null+ }+ ],+ "outputs": [+ {+ "localized_name": "denoised_output",+ "name": "denoised_output",+ "type": "LATENT",+ "links": [+ 3576,+ 5295,+ 5302+ ]+ }+ ],+ "properties": {+ "Node name for S&R": "LTXVBaseSampler"+ },+ "widgets_values": [+ 768,+ 512,+ 97,+ "0",+ 0.8,+ "center",+ 30,+ 0+ ]+ },+ {+ "id": 1870,+ "type": "Set VAE Decoder Noise",+ "pos": [+ 2487.063232421875,+ 2389.69189453125+ ],+ "size": [+ 273.458740234375,+ 130+ ],+ "flags": {},+ "order": 20,+ "mode": 0,+ "inputs": [+ {+ "localized_name": "vae",+ "name": "vae",+ "type": "VAE",+ "link": 5362+ },+ {+ "localized_name": "timestep",+ "name": "timestep",+ "type": "FLOAT",+ "widget": {+ "name": "timestep"+ },+ "link": null+ },+ {+ "localized_name": "scale",+ "name": "scale",+ "type": "FLOAT",+ "widget": {+ "name": "scale"+ },+ "link": null+ },+ {+ "localized_name": "seed",+ "name": "seed",+ "type": "INT",+ "widget": {+ "name": "seed"+ },+ "link": null+ }+ ],+ "outputs": [+ {+ "localized_name": "VAE",+ "name": "VAE",+ "type": "VAE",+ "links": [+ 5363,+ 5364+ ]+ }+ ],+ "properties": {+ "Node name for S&R": "Set VAE Decoder Noise"+ },+ "widgets_values": [+ 0.05,+ 0.025,+ 174870987696784,+ "randomize"+ ]+ },+ {+ "id": 1206,+ "type": "LoadImage",+ "pos": [+ 1066.6751708984375,+ 2599.134765625+ ],+ "size": [+ 342.5999755859375,+ 314+ ],+ "flags": {},+ "order": 16,+ "mode": 0,+ "inputs": [+ {+ "localized_name": "image",+ "name": "image",+ "type": "COMBO",+ "widget": {+ "name": "image"+ },+ "link": null+ },+ {+ "localized_name": "choose file to upload",+ "name": "upload",+ "type": "IMAGEUPLOAD",+ "widget": {+ "name": "upload"+ },+ "link": null+ }+ ],+ "outputs": [+ {+ "localized_name": "IMAGE",+ "name": "IMAGE",+ "type": "IMAGE",+ "links": [+ 5285,+ 5361+ ]+ },+ {+ "localized_name": "MASK",+ "name": "MASK",+ "type": "MASK",+ "links": null+ }+ ],+ "properties": {+ "Node name for S&R": "LoadImage",+ "cnr_id": "comfy-core",+ "ver": "0.3.30"+ },+ "widgets_values": [+ "1.png",+ "image"+ ]+ }+ ],+ "links": [+ [+ 74,+ 38,+ 0,+ 6,+ 0,+ "CLIP"+ ],+ [+ 75,+ 38,+ 0,+ 7,+ 0,+ "CLIP"+ ],+ [+ 2951,+ 44,+ 0,+ 1103,+ 0,+ "MODEL"+ ],+ [+ 3364,+ 6,+ 0,+ 1241,+ 0,+ "CONDITIONING"+ ],+ [+ 3365,+ 7,+ 0,+ 1241,+ 1,+ "CONDITIONING"+ ],+ [+ 3576,+ 1338,+ 0,+ 1335,+ 0,+ "LATENT"+ ],+ [+ 3578,+ 1335,+ 0,+ 1336,+ 0,+ "IMAGE"+ ],+ [+ 4053,+ 1507,+ 0,+ 1338,+ 5,+ "NOISE"+ ],+ [+ 4749,+ 1601,+ 0,+ 1661,+ 0,+ "IMAGE"+ ],+ [+ 4751,+ 1661,+ 0,+ 1699,+ 0,+ "IMAGE"+ ],+ [+ 4752,+ 1699,+ 0,+ 1599,+ 0,+ "IMAGE"+ ],+ [+ 5126,+ 1598,+ 0,+ 1796,+ 2,+ "NOISE"+ ],+ [+ 5167,+ 1807,+ 0,+ 1338,+ 2,+ "GUIDER"+ ],+ [+ 5193,+ 1813,+ 0,+ 1796,+ 5,+ "GUIDER"+ ],+ [+ 5224,+ 73,+ 0,+ 1338,+ 3,+ "SAMPLER"+ ],+ [+ 5225,+ 1103,+ 0,+ 1338,+ 4,+ "SIGMAS"+ ],+ [+ 5227,+ 1241,+ 0,+ 1807,+ 1,+ "CONDITIONING"+ ],+ [+ 5228,+ 1241,+ 1,+ 1807,+ 2,+ "CONDITIONING"+ ],+ [+ 5236,+ 44,+ 0,+ 1338,+ 0,+ "MODEL"+ ],+ [+ 5239,+ 44,+ 0,+ 1807,+ 0,+ "MODEL"+ ],+ [+ 5240,+ 44,+ 0,+ 1813,+ 0,+ "MODEL"+ ],+ [+ 5243,+ 44,+ 2,+ 1338,+ 1,+ "VAE"+ ],+ [+ 5258,+ 1103,+ 0,+ 1596,+ 0,+ "SIGMAS"+ ],+ [+ 5260,+ 73,+ 0,+ 1796,+ 3,+ "SAMPLER"+ ],+ [+ 5265,+ 44,+ 0,+ 1796,+ 0,+ "MODEL"+ ],+ [+ 5274,+ 1241,+ 0,+ 1813,+ 1,+ "CONDITIONING"+ ],+ [+ 5275,+ 1241,+ 1,+ 1813,+ 2,+ "CONDITIONING"+ ],+ [+ 5281,+ 1593,+ 0,+ 1796,+ 6,+ "LATENT"+ ],+ [+ 5285,+ 1206,+ 0,+ 1796,+ 7,+ "IMAGE"+ ],+ [+ 5287,+ 44,+ 2,+ 1691,+ 2,+ "VAE"+ ],+ [+ 5288,+ 44,+ 2,+ 1796,+ 1,+ "VAE"+ ],+ [+ 5295,+ 1338,+ 0,+ 1691,+ 0,+ "LATENT"+ ],+ [+ 5297,+ 1691,+ 0,+ 1593,+ 0,+ "LATENT"+ ],+ [+ 5302,+ 1338,+ 0,+ 1593,+ 1,+ "LATENT"+ ],+ [+ 5303,+ 1828,+ 0,+ 1691,+ 1,+ "UPSCALE_MODEL"+ ],+ [+ 5306,+ 1796,+ 0,+ 1601,+ 0,+ "LATENT"+ ],+ [+ 5351,+ 1809,+ 0,+ 1807,+ 3,+ "STG_ADVANCED_PRESET"+ ],+ [+ 5353,+ 1596,+ 1,+ 1796,+ 4,+ "SIGMAS"+ ],+ [+ 5354,+ 1864,+ 0,+ 1813,+ 3,+ "STG_ADVANCED_PRESET"+ ],+ [+ 5361,+ 1206,+ 0,+ 1338,+ 6,+ "IMAGE"+ ],+ [+ 5362,+ 44,+ 2,+ 1870,+ 0,+ "VAE"+ ],+ [+ 5363,+ 1870,+ 0,+ 1335,+ 1,+ "VAE"+ ],+ [+ 5364,+ 1870,+ 0,+ 1601,+ 1,+ "VAE"+ ]+ ],+ "groups": [+ {+ "id": 20,+ "title": "Base Low Res Generation ",+ "bounding": [+ 1500,+ 2037.5235595703125,+ 1770.58251953125,+ 850.8944091796875+ ],+ "color": "#3f789e",+ "font_size": 24,+ "flags": {},+ "nodes": [+ 1335,+ 1336,+ 1507,+ 1859,+ 1823,+ 1807,+ 1861,+ 1103,+ 73,+ 1860,+ 1809,+ 1338,+ 1870+ ]+ },+ {+ "id": 34,+ "title": "Latent Upscaler",+ "bounding": [+ 3328.0751953125,+ 2042.7794189453125,+ 364.39990234375,+ 604.2252197265625+ ],+ "color": "#3f789e",+ "font_size": 24,+ "flags": {},+ "nodes": [+ 1828,+ 1691,+ 1593,+ 1863+ ]+ },+ {+ "id": 41,+ "title": "Setup",+ "bounding": [+ 337.74371337890625,+ 2034.1099853515625,+ 1091.510986328125,+ 889.0247802734375+ ],+ "color": "#3f789e",+ "font_size": 24,+ "flags": {},+ "nodes": [+ 1241,+ 7,+ 38,+ 44,+ 6,+ 1858,+ 1825,+ 1206+ ]+ },+ {+ "id": 42,+ "title": "Add Details",+ "bounding": [+ 3758.236572265625,+ 2047.007568359375,+ 2278.168701171875,+ 851.0821533203125+ ],+ "color": "#3f789e",+ "font_size": 24,+ "flags": {},+ "nodes": [+ 1601,+ 1796,+ 1661,+ 1699,+ 1598,+ 1596,+ 1862,+ 1599,+ 1813,+ 1864+ ]+ }+ ],+ "config": {},+ "extra": {+ "ds": {+ "scale": 0.6741546927603917,+ "offset": [+ -3158.720102022699,+ -1942.7603650685653+ ]+ },+ "frontendVersion": "1.17.11",+ "VHS_latentpreview": true,+ "VHS_latentpreviewrate": 0,+ "VHS_MetadataImage": true,+ "VHS_KeepIntermediate": true,+ "prompt": {+ "6": {+ "inputs": {+ "text": "",+ "clip": [+ "38",+ 0+ ]+ },+ "class_type": "CLIPTextEncode",+ "_meta": {+ "title": "CLIP Text Encode (Positive Prompt)"+ }+ },+ "7": {+ "inputs": {+ "text": "low quality, worst quality, deformed, distorted, disfigured, motion smear, motion artifacts, fused fingers, bad anatomy, weird hand, ugly",+ "clip": [+ "38",+ 0+ ]+ },+ "class_type": "CLIPTextEncode",+ "_meta": {+ "title": "CLIP Text Encode (Negative Prompt)"+ }+ },+ "38": {+ "inputs": {+ "clip_name": "t5xxl_fp16.safetensors",+ "type": "ltxv",+ "device": "default"+ },+ "class_type": "CLIPLoader",+ "_meta": {+ "title": "Load CLIP"+ }+ },+ "44": {+ "inputs": {+ "ckpt_name": "ltxv-13b-0.9.7-dev.safetensors"+ },+ "class_type": "CheckpointLoaderSimple",+ "_meta": {+ "title": "Load Checkpoint"+ }+ },+ "73": {+ "inputs": {+ "sampler_name": "gradient_estimation"+ },+ "class_type": "KSamplerSelect",+ "_meta": {+ "title": "KSamplerSelect"+ }+ },+ "1103": {+ "inputs": {+ "scheduler": "linear_quadratic",+ "steps": 30,+ "denoise": 1,+ "model": [+ "44",+ 0+ ]+ },+ "class_type": "BasicScheduler",+ "_meta": {+ "title": "BasicScheduler"+ }+ },+ "1206": {+ "inputs": {+ "image": "1.png"+ },+ "class_type": "LoadImage",+ "_meta": {+ "title": "Load Image"+ }+ },+ "1241": {+ "inputs": {+ "frame_rate": 24.000000000000004,+ "positive": [+ "6",+ 0+ ],+ "negative": [+ "7",+ 0+ ]+ },+ "class_type": "LTXVConditioning",+ "_meta": {+ "title": "LTXVConditioning"+ }+ },+ "1335": {+ "inputs": {+ "samples": [+ "1338",+ 0+ ],+ "vae": [+ "1870",+ 0+ ]+ },+ "class_type": "VAEDecode",+ "_meta": {+ "title": "VAE Decode"+ }+ },+ "1336": {+ "inputs": {+ "frame_rate": 24,+ "loop_count": 0,+ "filename_prefix": "ltxv-base",+ "format": "video/h264-mp4",+ "pix_fmt": "yuv420p",+ "crf": 19,+ "save_metadata": true,+ "pingpong": false,+ "save_output": false,+ "images": [+ "1335",+ 0+ ]+ },+ "class_type": "VHS_VideoCombine",+ "_meta": {+ "title": "Video Combine 🎥🅥🅗🅢"+ }+ },+ "1338": {+ "inputs": {+ "width": 768,+ "height": 512,+ "num_frames": 97,+ "optional_cond_indices": "0",+ "strength": 0.8,+ "crop": "center",+ "crf": 30,+ "blur": 0,+ "model": [+ "44",+ 0+ ],+ "vae": [+ "44",+ 2+ ],+ "guider": [+ "1807",+ 0+ ],+ "sampler": [+ "73",+ 0+ ],+ "sigmas": [+ "1103",+ 0+ ],+ "noise": [+ "1507",+ 0+ ],+ "optional_cond_images": [+ "1206",+ 0+ ]+ },+ "class_type": "LTXVBaseSampler",+ "_meta": {+ "title": "🅛🅣🅧 LTXV Base Sampler"+ }+ },+ "1507": {+ "inputs": {+ "noise_seed": 108+ },+ "class_type": "RandomNoise",+ "_meta": {+ "title": "RandomNoise"+ }+ },+ "1593": {+ "inputs": {+ "factor": 0.25,+ "latents": [+ "1691",+ 0+ ],+ "reference": [+ "1338",+ 0+ ]+ },+ "class_type": "LTXVAdainLatent",+ "_meta": {+ "title": "🅛🅣🅧 LTXV Adain Latent"+ }+ },+ "1596": {+ "inputs": {+ "step": 18,+ "sigmas": [+ "1103",+ 0+ ]+ },+ "class_type": "SplitSigmas",+ "_meta": {+ "title": "SplitSigmas"+ }+ },+ "1598": {+ "inputs": {+ "noise_seed": 191+ },+ "class_type": "RandomNoise",+ "_meta": {+ "title": "RandomNoise"+ }+ },+ "1599": {+ "inputs": {+ "frame_rate": 24,+ "loop_count": 0,+ "filename_prefix": "ltxv-hd",+ "format": "video/h264-mp4",+ "pix_fmt": "yuv420p",+ "crf": 18,+ "save_metadata": false,+ "pingpong": false,+ "save_output": false,+ "images": [+ "1699",+ 0+ ]+ },+ "class_type": "VHS_VideoCombine",+ "_meta": {+ "title": "Video Combine 🎥🅥🅗🅢"+ }+ },+ "1601": {+ "inputs": {+ "tile_size": 1280,+ "overlap": 128,+ "temporal_size": 256,+ "temporal_overlap": 32,+ "samples": [+ "1796",+ 0+ ],+ "vae": [+ "1870",+ 0+ ]+ },+ "class_type": "VAEDecodeTiled",+ "_meta": {+ "title": "VAE Decode (Tiled)"+ }+ },+ "1661": {+ "inputs": {+ "width": 1280,+ "height": 1280,+ "upscale_method": "bicubic",+ "keep_proportion": true,+ "divisible_by": 2,+ "crop": "center",+ "image": [+ "1601",+ 0+ ]+ },+ "class_type": "ImageResizeKJ",+ "_meta": {+ "title": "Resize Image"+ }+ },+ "1691": {+ "inputs": {+ "samples": [+ "1338",+ 0+ ],+ "upscale_model": [+ "1828",+ 0+ ],+ "vae": [+ "44",+ 2+ ]+ },+ "class_type": "LTXVLatentUpsampler",+ "_meta": {+ "title": "🅛🅣🅧 LTXV Latent Upsampler"+ }+ },+ "1699": {+ "inputs": {+ "grain_intensity": 0.010000000000000002,+ "saturation": 0.5,+ "images": [+ "1661",+ 0+ ]+ },+ "class_type": "LTXVFilmGrain",+ "_meta": {+ "title": "🅛🅣🅧 LTXV Film Grain"+ }+ },+ "1796": {+ "inputs": {+ "horizontal_tiles": 1,+ "vertical_tiles": 1,+ "overlap": 3,+ "first_frame_cond_strength": 0.9,+ "latents_cond_strength": 0.15,+ "boost_latent_similarity": true,+ "crop": "center",+ "model": [+ "44",+ 0+ ],+ "vae": [+ "44",+ 2+ ],+ "noise": [+ "1598",+ 0+ ],+ "sampler": [+ "73",+ 0+ ],+ "sigmas": [+ "1596",+ 1+ ],+ "guider": [+ "1813",+ 0+ ],+ "latents": [+ "1593",+ 0+ ],+ "optional_cond_image": [+ "1206",+ 0+ ]+ },+ "class_type": "LTXVTiledSampler",+ "_meta": {+ "title": "🅛🅣🅧 LTXV Tiled Sampler"+ }+ },+ "1807": {+ "inputs": {+ "skip_steps_sigma_threshold": 0.9970000000000002,+ "cfg_star_rescale": true,+ "sigmas": "1.0, 0.9933, 0.9850, 0.9767, 0.9008, 0.6180",+ "cfg_values": "1,16,8,8,4,1",+ "stg_scale_values": "0, 4, 4, 2, 1, 1",+ "stg_rescale_values": "1, 1, 1, 1, 1, 1",+ "stg_layers_indices": "[35], [35], [35], [42], [42], [42]",+ "model": [+ "44",+ 0+ ],+ "positive": [+ "1241",+ 0+ ],+ "negative": [+ "1241",+ 1+ ],+ "preset": [+ "1809",+ 0+ ]+ },+ "class_type": "STGGuiderAdvanced",+ "_meta": {+ "title": "🅛🅣🅧 STG Guider Advanced"+ }+ },+ "1809": {+ "inputs": {+ "preset": "13b Dynamic"+ },+ "class_type": "STGAdvancedPresets",+ "_meta": {+ "title": "🅛🅣🅧 STG Advanced Presets"+ }+ },+ "1813": {+ "inputs": {+ "skip_steps_sigma_threshold": 0.9970000000000002,+ "cfg_star_rescale": true,+ "sigmas": "1",+ "cfg_values": "1",+ "stg_scale_values": "1",+ "stg_rescale_values": "1",+ "stg_layers_indices": "[42]",+ "model": [+ "44",+ 0+ ],+ "positive": [+ "1241",+ 0+ ],+ "negative": [+ "1241",+ 1+ ],+ "preset": [+ "1864",+ 0+ ]+ },+ "class_type": "STGGuiderAdvanced",+ "_meta": {+ "title": "🅛🅣🅧 STG Guider Advanced"+ }+ },+ "1828": {+ "inputs": {+ "upscale_model": "ltxv-spatial-upscaler-0.9.7.safetensors",+ "spatial_upsample": true,+ "temporal_upsample": false+ },+ "class_type": "LTXVLatentUpsamplerModelLoader",+ "_meta": {+ "title": "🅛🅣🅧 LTXV Latent Upsampler Model Loader"+ }+ },+ "1864": {+ "inputs": {+ "preset": "13b Upscale"+ },+ "class_type": "STGAdvancedPresets",+ "_meta": {+ "title": "🅛🅣🅧 STG Advanced Presets"+ }+ },+ "1870": {+ "inputs": {+ "timestep": 0.05,+ "scale": 0.025,+ "seed": 174870987696784,+ "vae": [+ "44",+ 2+ ]+ },+ "class_type": "Set VAE Decoder Noise",+ "_meta": {+ "title": "🅛🅣🅧 Set VAE Decoder Noise"+ }+ }+ },+ "comfy_fork_version": "develop@311c9b81",+ "workspace_info": {+ "id": "elBQFQknIoLYTEwIloQuw"+ },+ "node_versions": {+ "comfy-core": "0.3.30",+ "comfyui-kjnodes": "1.0.8"+ }+ },+ "version": 0.4+}diff --git a/example_workflows/ltxv-13b-i2v-extend.json b/example_workflows/ltxv-13b-i2v-extend.jsonnew file mode 100644index 0000000..108cbc4--- /dev/null+++ b/example_workflows/ltxv-13b-i2v-extend.json@@ -0,0 +1,3778 @@+{+ "id": "394ed254-7306-42a2-9ae6-aa880ce4456d",+ "revision": 0,+ "last_node_id": 1871,+ "last_link_id": 5370,+ "nodes": [+ {+ "id": 1241,+ "type": "LTXVConditioning",+ "pos": [+ 1082.930419921875,+ 2271.91064453125+ ],+ "size": [+ 328.21636962890625,+ 78+ ],+ "flags": {},+ "order": 23,+ "mode": 0,+ "inputs": [+ {+ "localized_name": "positive",+ "name": "positive",+ "type": "CONDITIONING",+ "link": 3364+ },+ {+ "localized_name": "negative",+ "name": "negative",+ "type": "CONDITIONING",+ "link": 3365+ },+ {+ "localized_name": "frame_rate",+ "name": "frame_rate",+ "type": "FLOAT",+ "widget": {+ "name": "frame_rate"+ },+ "link": null+ }+ ],+ "outputs": [+ {+ "localized_name": "positive",+ "name": "positive",+ "type": "CONDITIONING",+ "slot_index": 0,+ "links": [+ 5227,+ 5274+ ]+ },+ {+ "localized_name": "negative",+ "name": "negative",+ "type": "CONDITIONING",+ "slot_index": 1,+ "links": [+ 5228,+ 5275+ ]+ }+ ],+ "properties": {+ "Node name for S&R": "LTXVConditioning",+ "cnr_id": "comfy-core",+ "ver": "0.3.28"+ },+ "widgets_values": [+ 24.000000000000004+ ]+ },+ {+ "id": 7,+ "type": "CLIPTextEncode",+ "pos": [+ 722.5008544921875,+ 2398.3359375+ ],+ "size": [+ 317.832275390625,+ 213.2843780517578+ ],+ "flags": {},+ "order": 20,+ "mode": 0,+ "inputs": [+ {+ "localized_name": "clip",+ "name": "clip",+ "type": "CLIP",+ "link": 75+ },+ {+ "localized_name": "text",+ "name": "text",+ "type": "STRING",+ "widget": {+ "name": "text"+ },+ "link": null+ }+ ],+ "outputs": [+ {+ "localized_name": "CONDITIONING",+ "name": "CONDITIONING",+ "type": "CONDITIONING",+ "slot_index": 0,+ "links": [+ 3365+ ]+ }+ ],+ "title": "CLIP Text Encode (Negative Prompt)",+ "properties": {+ "Node name for S&R": "CLIPTextEncode",+ "cnr_id": "comfy-core",+ "ver": "0.3.28"+ },+ "widgets_values": [+ "low quality, worst quality, deformed, distorted, disfigured, motion smear, motion artifacts, fused fingers, bad anatomy, weird hand, ugly"+ ],+ "color": "#322",+ "bgcolor": "#533"+ },+ {+ "id": 38,+ "type": "CLIPLoader",+ "pos": [+ 339.99981689453125,+ 2310.293701171875+ ],+ "size": [+ 315,+ 106+ ],+ "flags": {},+ "order": 0,+ "mode": 0,+ "inputs": [+ {+ "localized_name": "clip_name",+ "name": "clip_name",+ "type": "COMBO",+ "widget": {+ "name": "clip_name"+ },+ "link": null+ },+ {+ "localized_name": "type",+ "name": "type",+ "type": "COMBO",+ "widget": {+ "name": "type"+ },+ "link": null+ },+ {+ "localized_name": "device",+ "name": "device",+ "shape": 7,+ "type": "COMBO",+ "widget": {+ "name": "device"+ },+ "link": null+ }+ ],+ "outputs": [+ {+ "localized_name": "CLIP",+ "name": "CLIP",+ "type": "CLIP",+ "slot_index": 0,+ "links": [+ 74,+ 75+ ]+ }+ ],+ "properties": {+ "Node name for S&R": "CLIPLoader",+ "cnr_id": "comfy-core",+ "ver": "0.3.28"+ },+ "widgets_values": [+ "t5xxl_fp16.safetensors",+ "ltxv",+ "default"+ ]+ },+ {+ "id": 1338,+ "type": "LTXVBaseSampler",+ "pos": [+ 2134.832763671875,+ 2253.726318359375+ ],+ "size": [+ 312.3999938964844,+ 346+ ],+ "flags": {},+ "order": 27,+ "mode": 0,+ "inputs": [+ {+ "localized_name": "model",+ "name": "model",+ "type": "MODEL",+ "link": 5236+ },+ {+ "localized_name": "vae",+ "name": "vae",+ "type": "VAE",+ "link": 5243+ },+ {+ "localized_name": "guider",+ "name": "guider",+ "type": "GUIDER",+ "link": 5167+ },+ {+ "localized_name": "sampler",+ "name": "sampler",+ "type": "SAMPLER",+ "link": 5224+ },+ {+ "localized_name": "sigmas",+ "name": "sigmas",+ "type": "SIGMAS",+ "link": 5225+ },+ {+ "localized_name": "noise",+ "name": "noise",+ "type": "NOISE",+ "link": 4053+ },+ {+ "localized_name": "optional_cond_images",+ "name": "optional_cond_images",+ "shape": 7,+ "type": "IMAGE",+ "link": 5162+ },+ {+ "localized_name": "width",+ "name": "width",+ "type": "INT",+ "widget": {+ "name": "width"+ },+ "link": null+ },+ {+ "localized_name": "height",+ "name": "height",+ "type": "INT",+ "widget": {+ "name": "height"+ },+ "link": null+ },+ {+ "localized_name": "num_frames",+ "name": "num_frames",+ "type": "INT",+ "widget": {+ "name": "num_frames"+ },+ "link": null+ },+ {+ "localized_name": "optional_cond_indices",+ "name": "optional_cond_indices",+ "shape": 7,+ "type": "STRING",+ "widget": {+ "name": "optional_cond_indices"+ },+ "link": null+ },+ {+ "localized_name": "strength",+ "name": "strength",+ "shape": 7,+ "type": "FLOAT",+ "widget": {+ "name": "strength"+ },+ "link": null+ },+ {+ "localized_name": "crop",+ "name": "crop",+ "shape": 7,+ "type": "COMBO",+ "widget": {+ "name": "crop"+ },+ "link": null+ },+ {+ "localized_name": "crf",+ "name": "crf",+ "shape": 7,+ "type": "INT",+ "widget": {+ "name": "crf"+ },+ "link": null+ },+ {+ "localized_name": "blur",+ "name": "blur",+ "shape": 7,+ "type": "INT",+ "widget": {+ "name": "blur"+ },+ "link": null+ }+ ],+ "outputs": [+ {+ "localized_name": "denoised_output",+ "name": "denoised_output",+ "type": "LATENT",+ "links": [+ 3576,+ 5360+ ]+ }+ ],+ "properties": {+ "Node name for S&R": "LTXVBaseSampler"+ },+ "widgets_values": [+ 768,+ 512,+ 97,+ "0",+ 0.8,+ "center",+ 30,+ 0+ ]+ },+ {+ "id": 1828,+ "type": "LTXVLatentUpsamplerModelLoader",+ "pos": [+ 4692.08154296875,+ 2119.833251953125+ ],+ "size": [+ 344.3999938964844,+ 106+ ],+ "flags": {},+ "order": 1,+ "mode": 0,+ "inputs": [+ {+ "localized_name": "upscale_model",+ "name": "upscale_model",+ "type": "COMBO",+ "widget": {+ "name": "upscale_model"+ },+ "link": null+ },+ {+ "localized_name": "spatial_upsample",+ "name": "spatial_upsample",+ "type": "BOOLEAN",+ "widget": {+ "name": "spatial_upsample"+ },+ "link": null+ },+ {+ "localized_name": "temporal_upsample",+ "name": "temporal_upsample",+ "type": "BOOLEAN",+ "widget": {+ "name": "temporal_upsample"+ },+ "link": null+ }+ ],+ "outputs": [+ {+ "localized_name": "UPSCALE_MODEL",+ "name": "UPSCALE_MODEL",+ "type": "UPSCALE_MODEL",+ "links": [+ 5303+ ]+ }+ ],+ "properties": {+ "Node name for S&R": "LTXVLatentUpsamplerModelLoader"+ },+ "widgets_values": [+ "ltxv-spatial-upscaler-0.9.7.safetensors",+ true,+ false+ ]+ },+ {+ "id": 1796,+ "type": "LTXVTiledSampler",+ "pos": [+ 5547.77685546875,+ 2173.679931640625+ ],+ "size": [+ 346,+ 342+ ],+ "flags": {},+ "order": 35,+ "mode": 0,+ "inputs": [+ {+ "localized_name": "model",+ "name": "model",+ "type": "MODEL",+ "link": 5265+ },+ {+ "localized_name": "vae",+ "name": "vae",+ "type": "VAE",+ "link": 5288+ },+ {+ "localized_name": "noise",+ "name": "noise",+ "type": "NOISE",+ "link": 5126+ },+ {+ "localized_name": "sampler",+ "name": "sampler",+ "type": "SAMPLER",+ "link": 5260+ },+ {+ "localized_name": "sigmas",+ "name": "sigmas",+ "type": "SIGMAS",+ "link": 5353+ },+ {+ "localized_name": "guider",+ "name": "guider",+ "type": "GUIDER",+ "link": 5193+ },+ {+ "localized_name": "latents",+ "name": "latents",+ "type": "LATENT",+ "link": 5281+ },+ {+ "localized_name": "optional_cond_image",+ "name": "optional_cond_image",+ "shape": 7,+ "type": "IMAGE",+ "link": 5285+ },+ {+ "localized_name": "horizontal_tiles",+ "name": "horizontal_tiles",+ "type": "INT",+ "widget": {+ "name": "horizontal_tiles"+ },+ "link": null+ },+ {+ "localized_name": "vertical_tiles",+ "name": "vertical_tiles",+ "type": "INT",+ "widget": {+ "name": "vertical_tiles"+ },+ "link": null+ },+ {+ "localized_name": "overlap",+ "name": "overlap",+ "type": "INT",+ "widget": {+ "name": "overlap"+ },+ "link": null+ },+ {+ "localized_name": "first_frame_cond_strength",+ "name": "first_frame_cond_strength",+ "type": "FLOAT",+ "widget": {+ "name": "first_frame_cond_strength"+ },+ "link": null+ },+ {+ "localized_name": "latents_cond_strength",+ "name": "latents_cond_strength",+ "type": "FLOAT",+ "widget": {+ "name": "latents_cond_strength"+ },+ "link": null+ },+ {+ "localized_name": "boost_latent_similarity",+ "name": "boost_latent_similarity",+ "type": "BOOLEAN",+ "widget": {+ "name": "boost_latent_similarity"+ },+ "link": null+ },+ {+ "localized_name": "crop",+ "name": "crop",+ "type": "COMBO",+ "widget": {+ "name": "crop"+ },+ "link": null+ }+ ],+ "outputs": [+ {+ "localized_name": "output",+ "name": "output",+ "type": "LATENT",+ "links": [+ 5306+ ]+ },+ {+ "localized_name": "denoised_output",+ "name": "denoised_output",+ "type": "LATENT",+ "links": []+ }+ ],+ "properties": {+ "Node name for S&R": "LTXVTiledSampler"+ },+ "widgets_values": [+ 1,+ 1,+ 3,+ 0.9,+ 0.15,+ true,+ "center"+ ]+ },+ {+ "id": 1661,+ "type": "ImageResizeKJ",+ "pos": [+ 6183.54443359375,+ 2173.679931640625+ ],+ "size": [+ 315,+ 238+ ],+ "flags": {},+ "order": 37,+ "mode": 0,+ "inputs": [+ {+ "localized_name": "image",+ "name": "image",+ "type": "IMAGE",+ "link": 4749+ },+ {+ "localized_name": "width_input",+ "name": "width_input",+ "shape": 7,+ "type": "INT",+ "link": null+ },+ {+ "localized_name": "height_input",+ "name": "height_input",+ "shape": 7,+ "type": "INT",+ "link": null+ },+ {+ "localized_name": "get_image_size",+ "name": "get_image_size",+ "shape": 7,+ "type": "IMAGE",+ "link": null+ },+ {+ "localized_name": "width",+ "name": "width",+ "type": "INT",+ "widget": {+ "name": "width"+ },+ "link": null+ },+ {+ "localized_name": "height",+ "name": "height",+ "type": "INT",+ "widget": {+ "name": "height"+ },+ "link": null+ },+ {+ "localized_name": "upscale_method",+ "name": "upscale_method",+ "type": "COMBO",+ "widget": {+ "name": "upscale_method"+ },+ "link": null+ },+ {+ "localized_name": "keep_proportion",+ "name": "keep_proportion",+ "type": "BOOLEAN",+ "widget": {+ "name": "keep_proportion"+ },+ "link": null+ },+ {+ "localized_name": "divisible_by",+ "name": "divisible_by",+ "type": "INT",+ "widget": {+ "name": "divisible_by"+ },+ "link": null+ },+ {+ "localized_name": "crop",+ "name": "crop",+ "shape": 7,+ "type": "COMBO",+ "widget": {+ "name": "crop"+ },+ "link": null+ }+ ],+ "outputs": [+ {+ "localized_name": "IMAGE",+ "name": "IMAGE",+ "type": "IMAGE",+ "links": [+ 4751+ ]+ },+ {+ "localized_name": "width",+ "name": "width",+ "type": "INT",+ "links": null+ },+ {+ "localized_name": "height",+ "name": "height",+ "type": "INT",+ "links": null+ }+ ],+ "properties": {+ "Node name for S&R": "ImageResizeKJ"+ },+ "widgets_values": [+ 1280,+ 1280,+ "bicubic",+ true,+ 2,+ "center"+ ]+ },+ {+ "id": 1335,+ "type": "VAEDecode",+ "pos": [+ 2515.01953125,+ 2253.726318359375+ ],+ "size": [+ 210,+ 46+ ],+ "flags": {},+ "order": 28,+ "mode": 0,+ "inputs": [+ {+ "localized_name": "samples",+ "name": "samples",+ "type": "LATENT",+ "link": 3576+ },+ {+ "localized_name": "vae",+ "name": "vae",+ "type": "VAE",+ "link": 5368+ }+ ],+ "outputs": [+ {+ "localized_name": "IMAGE",+ "name": "IMAGE",+ "type": "IMAGE",+ "links": [+ 3578+ ]+ }+ ],+ "properties": {+ "Node name for S&R": "VAEDecode",+ "cnr_id": "comfy-core",+ "ver": "0.3.29"+ },+ "widgets_values": []+ },+ {+ "id": 1699,+ "type": "LTXVFilmGrain",+ "pos": [+ 6538.42822265625,+ 2173.679931640625+ ],+ "size": [+ 210,+ 82+ ],+ "flags": {},+ "order": 38,+ "mode": 0,+ "inputs": [+ {+ "localized_name": "images",+ "name": "images",+ "type": "IMAGE",+ "link": 4751+ },+ {+ "localized_name": "grain_intensity",+ "name": "grain_intensity",+ "type": "FLOAT",+ "widget": {+ "name": "grain_intensity"+ },+ "link": null+ },+ {+ "localized_name": "saturation",+ "name": "saturation",+ "type": "FLOAT",+ "widget": {+ "name": "saturation"+ },+ "link": null+ }+ ],+ "outputs": [+ {+ "localized_name": "IMAGE",+ "name": "IMAGE",+ "type": "IMAGE",+ "links": [+ 4752+ ]+ }+ ],+ "properties": {+ "Node name for S&R": "LTXVFilmGrain"+ },+ "widgets_values": [+ 0.010000000000000002,+ 0.5+ ]+ },+ {+ "id": 6,+ "type": "CLIPTextEncode",+ "pos": [+ 717.5663452148438,+ 2114.04638671875+ ],+ "size": [+ 307.2346496582031,+ 204.2556610107422+ ],+ "flags": {},+ "order": 19,+ "mode": 0,+ "inputs": [+ {+ "localized_name": "clip",+ "name": "clip",+ "type": "CLIP",+ "link": 74+ },+ {+ "localized_name": "text",+ "name": "text",+ "type": "STRING",+ "widget": {+ "name": "text"+ },+ "link": null+ }+ ],+ "outputs": [+ {+ "localized_name": "CONDITIONING",+ "name": "CONDITIONING",+ "type": "CONDITIONING",+ "slot_index": 0,+ "links": [+ 3364+ ]+ }+ ],+ "title": "CLIP Text Encode (Positive Prompt)",+ "properties": {+ "Node name for S&R": "CLIPTextEncode",+ "cnr_id": "comfy-core",+ "ver": "0.3.28"+ },+ "widgets_values": [+ ""+ ],+ "color": "#232",+ "bgcolor": "#353"+ },+ {+ "id": 1507,+ "type": "RandomNoise",+ "pos": [+ 1847.874755859375,+ 2114.199462890625+ ],+ "size": [+ 210,+ 82+ ],+ "flags": {},+ "order": 2,+ "mode": 0,+ "inputs": [+ {+ "localized_name": "noise_seed",+ "name": "noise_seed",+ "type": "INT",+ "widget": {+ "name": "noise_seed"+ },+ "link": null+ }+ ],+ "outputs": [+ {+ "localized_name": "NOISE",+ "name": "NOISE",+ "type": "NOISE",+ "slot_index": 0,+ "links": [+ 4053+ ]+ }+ ],+ "properties": {+ "Node name for S&R": "RandomNoise",+ "cnr_id": "comfy-core",+ "ver": "0.3.28"+ },+ "widgets_values": [+ 108,+ "fixed"+ ]+ },+ {+ "id": 1858,+ "type": "Note",+ "pos": [+ 1090.729736328125,+ 2106.790283203125+ ],+ "size": [+ 313.80950927734375,+ 120.61924743652344+ ],+ "flags": {},+ "order": 3,+ "mode": 0,+ "inputs": [],+ "outputs": [],+ "properties": {},+ "widgets_values": [+ "Framerate can be adjusted, just make sure you are using the same framerate in your VideoCombine node to see proper playback.\n\n60FPS = Lower quality, more motion\n24 FPS = Higher quality, less motion"+ ],+ "color": "#432",+ "bgcolor": "#653"+ },+ {+ "id": 1859,+ "type": "Note",+ "pos": [+ 2134.832763671875,+ 2111.12353515625+ ],+ "size": [+ 298.2620544433594,+ 88+ ],+ "flags": {},+ "order": 4,+ "mode": 0,+ "inputs": [],+ "outputs": [],+ "properties": {},+ "widgets_values": [+ "We generate at a base resolution of 768x512.\nThe video will be upscaled later to FHD."+ ],+ "color": "#432",+ "bgcolor": "#653"+ },+ {+ "id": 1823,+ "type": "Note",+ "pos": [+ 1779.07470703125,+ 2575.503662109375+ ],+ "size": [+ 276.017578125,+ 171.05442810058594+ ],+ "flags": {},+ "order": 5,+ "mode": 0,+ "inputs": [],+ "outputs": [],+ "properties": {},+ "widgets_values": [+ "The Advanced STG Guider dynamically controls the diffusion model's denoising process by mapping sigma values to specific configuration parameters (CFG scale, STG scale/rescale factors, and attention layer skipping patterns), enabling precise control at different denoising stages independently of step numbers while supporting additional techniques like CFG-Zero rescaling and threshold-based noise prediction zeroing."+ ],+ "color": "#432",+ "bgcolor": "#653"+ },+ {+ "id": 1860,+ "type": "Note",+ "pos": [+ 2134.832763671875,+ 2658.40869140625+ ],+ "size": [+ 300,+ 130+ ],+ "flags": {},+ "order": 6,+ "mode": 0,+ "inputs": [],+ "outputs": [],+ "properties": {},+ "widgets_values": [+ "crop decides if the conditioning image(s) is center-cropped or resized by stretching \n\ncrf and blur are preprocessing parameters for conditioning image(s) to make them look more like video frames, which helps with the dynamicity of the generated video"+ ],+ "color": "#432",+ "bgcolor": "#653"+ },+ {+ "id": 1807,+ "type": "STGGuiderAdvanced",+ "pos": [+ 1779.07470703125,+ 2253.726318359375+ ],+ "size": [+ 278.79998779296875,+ 262+ ],+ "flags": {},+ "order": 25,+ "mode": 0,+ "inputs": [+ {+ "localized_name": "model",+ "name": "model",+ "type": "MODEL",+ "link": 5239+ },+ {+ "localized_name": "positive",+ "name": "positive",+ "type": "CONDITIONING",+ "link": 5227+ },+ {+ "localized_name": "negative",+ "name": "negative",+ "type": "CONDITIONING",+ "link": 5228+ },+ {+ "localized_name": "preset",+ "name": "preset",+ "shape": 7,+ "type": "STG_ADVANCED_PRESET",+ "link": 5351+ },+ {+ "localized_name": "skip_steps_sigma_threshold",+ "name": "skip_steps_sigma_threshold",+ "type": "FLOAT",+ "widget": {+ "name": "skip_steps_sigma_threshold"+ },+ "link": null+ },+ {+ "localized_name": "cfg_star_rescale",+ "name": "cfg_star_rescale",+ "type": "BOOLEAN",+ "widget": {+ "name": "cfg_star_rescale"+ },+ "link": null+ },+ {+ "localized_name": "sigmas",+ "name": "sigmas",+ "type": "STRING",+ "widget": {+ "name": "sigmas"+ },+ "link": null+ },+ {+ "localized_name": "cfg_values",+ "name": "cfg_values",+ "type": "STRING",+ "widget": {+ "name": "cfg_values"+ },+ "link": null+ },+ {+ "localized_name": "stg_scale_values",+ "name": "stg_scale_values",+ "type": "STRING",+ "widget": {+ "name": "stg_scale_values"+ },+ "link": null+ },+ {+ "localized_name": "stg_rescale_values",+ "name": "stg_rescale_values",+ "type": "STRING",+ "widget": {+ "name": "stg_rescale_values"+ },+ "link": null+ },+ {+ "localized_name": "stg_layers_indices",+ "name": "stg_layers_indices",+ "type": "STRING",+ "widget": {+ "name": "stg_layers_indices"+ },+ "link": null+ }+ ],+ "outputs": [+ {+ "localized_name": "GUIDER",+ "name": "GUIDER",+ "type": "GUIDER",+ "links": [+ 5167,+ 5361+ ]+ }+ ],+ "properties": {+ "Node name for S&R": "STGGuiderAdvanced"+ },+ "widgets_values": [+ 0.9970000000000002,+ true,+ "1.0, 0.9933, 0.9850, 0.9767, 0.9008, 0.6180",+ "1,16,8,8,4,1",+ "0, 4, 4, 2, 1, 1",+ "1, 1, 1, 1, 1, 1",+ "[35], [35], [35], [42], [42], [42]"+ ]+ },+ {+ "id": 1861,+ "type": "Note",+ "pos": [+ 1510,+ 2368.19873046875+ ],+ "size": [+ 216.66220092773438,+ 88+ ],+ "flags": {},+ "order": 7,+ "mode": 0,+ "inputs": [],+ "outputs": [],+ "properties": {},+ "widgets_values": [+ "Presets override the values inside 🅛🅣🅧 STG Guider Advanced node."+ ],+ "color": "#432",+ "bgcolor": "#653"+ },+ {+ "id": 1103,+ "type": "BasicScheduler",+ "pos": [+ 1510,+ 2718.19873046875+ ],+ "size": [+ 245.24002075195312,+ 106+ ],+ "flags": {},+ "order": 21,+ "mode": 0,+ "inputs": [+ {+ "localized_name": "model",+ "name": "model",+ "type": "MODEL",+ "link": 2951+ },+ {+ "localized_name": "scheduler",+ "name": "scheduler",+ "type": "COMBO",+ "widget": {+ "name": "scheduler"+ },+ "link": null+ },+ {+ "localized_name": "steps",+ "name": "steps",+ "type": "INT",+ "widget": {+ "name": "steps"+ },+ "link": null+ },+ {+ "localized_name": "denoise",+ "name": "denoise",+ "type": "FLOAT",+ "widget": {+ "name": "denoise"+ },+ "link": null+ }+ ],+ "outputs": [+ {+ "localized_name": "SIGMAS",+ "name": "SIGMAS",+ "type": "SIGMAS",+ "links": [+ 5225,+ 5258,+ 5363+ ]+ }+ ],+ "properties": {+ "Node name for S&R": "BasicScheduler",+ "cnr_id": "comfy-core",+ "ver": "0.3.29"+ },+ "widgets_values": [+ "linear_quadratic",+ 30,+ 1+ ]+ },+ {+ "id": 73,+ "type": "KSamplerSelect",+ "pos": [+ 1510,+ 2608.19873046875+ ],+ "size": [+ 251.94110107421875,+ 58+ ],+ "flags": {},+ "order": 8,+ "mode": 0,+ "inputs": [+ {+ "localized_name": "sampler_name",+ "name": "sampler_name",+ "type": "COMBO",+ "widget": {+ "name": "sampler_name"+ },+ "link": null+ }+ ],+ "outputs": [+ {+ "localized_name": "SAMPLER",+ "name": "SAMPLER",+ "type": "SAMPLER",+ "links": [+ 5224,+ 5260,+ 5362+ ]+ }+ ],+ "properties": {+ "Node name for S&R": "KSamplerSelect",+ "cnr_id": "comfy-core",+ "ver": "0.3.28"+ },+ "widgets_values": [+ "gradient_estimation"+ ]+ },+ {+ "id": 1825,+ "type": "Note",+ "pos": [+ 444.50042724609375,+ 2121.438720703125+ ],+ "size": [+ 232.79998779296875,+ 88+ ],+ "flags": {},+ "order": 9,+ "mode": 0,+ "inputs": [],+ "outputs": [],+ "properties": {},+ "widgets_values": [+ "Best use descriptive prompt, but you can even leave it empty in i2v case."+ ],+ "color": "#432",+ "bgcolor": "#653"+ },+ {+ "id": 1691,+ "type": "LTXVLatentUpsampler",+ "pos": [+ 4801.28125,+ 2288.74267578125+ ],+ "size": [+ 235.1999969482422,+ 66+ ],+ "flags": {},+ "order": 32,+ "mode": 0,+ "inputs": [+ {+ "localized_name": "samples",+ "name": "samples",+ "type": "LATENT",+ "link": 5364+ },+ {+ "localized_name": "upscale_model",+ "name": "upscale_model",+ "type": "UPSCALE_MODEL",+ "link": 5303+ },+ {+ "localized_name": "vae",+ "name": "vae",+ "type": "VAE",+ "link": 5287+ }+ ],+ "outputs": [+ {+ "localized_name": "LATENT",+ "name": "LATENT",+ "type": "LATENT",+ "links": [+ 5297+ ]+ }+ ],+ "properties": {+ "Node name for S&R": "LTXVLatentUpsampler"+ },+ "widgets_values": []+ },+ {+ "id": 1593,+ "type": "LTXVAdainLatent",+ "pos": [+ 4826.4814453125,+ 2419.431884765625+ ],+ "size": [+ 210,+ 78+ ],+ "flags": {},+ "order": 34,+ "mode": 0,+ "inputs": [+ {+ "localized_name": "latents",+ "name": "latents",+ "type": "LATENT",+ "link": 5297+ },+ {+ "localized_name": "reference",+ "name": "reference",+ "type": "LATENT",+ "link": 5365+ },+ {+ "localized_name": "factor",+ "name": "factor",+ "type": "FLOAT",+ "widget": {+ "name": "factor"+ },+ "link": null+ }+ ],+ "outputs": [+ {+ "localized_name": "LATENT",+ "name": "LATENT",+ "type": "LATENT",+ "links": [+ 5281+ ]+ }+ ],+ "properties": {+ "Node name for S&R": "LTXVAdainLatent"+ },+ "widgets_values": [+ 0.25+ ]+ },+ {+ "id": 1863,+ "type": "Note",+ "pos": [+ 4714.10546875,+ 2552.45849609375+ ],+ "size": [+ 322.3760986328125,+ 88+ ],+ "flags": {},+ "order": 10,+ "mode": 0,+ "inputs": [],+ "outputs": [],+ "properties": {},+ "widgets_values": [+ "Depending on the latent upscaler model used, it can increase either spatial or temporal resolution, without moving to/from pixel space. "+ ],+ "color": "#432",+ "bgcolor": "#653"+ },+ {+ "id": 1598,+ "type": "RandomNoise",+ "pos": [+ 5197.30615234375,+ 2125.298095703125+ ],+ "size": [+ 210,+ 82+ ],+ "flags": {},+ "order": 11,+ "mode": 0,+ "inputs": [+ {+ "localized_name": "noise_seed",+ "name": "noise_seed",+ "type": "INT",+ "widget": {+ "name": "noise_seed"+ },+ "link": null+ }+ ],+ "outputs": [+ {+ "localized_name": "NOISE",+ "name": "NOISE",+ "type": "NOISE",+ "links": [+ 5126+ ]+ }+ ],+ "properties": {+ "Node name for S&R": "RandomNoise",+ "cnr_id": "comfy-core",+ "ver": "0.3.30"+ },+ "widgets_values": [+ 191,+ "fixed"+ ]+ },+ {+ "id": 1596,+ "type": "SplitSigmas",+ "pos": [+ 5547.77685546875,+ 2571.617431640625+ ],+ "size": [+ 271.1412048339844,+ 78+ ],+ "flags": {},+ "order": 24,+ "mode": 0,+ "inputs": [+ {+ "localized_name": "sigmas",+ "name": "sigmas",+ "type": "SIGMAS",+ "link": 5258+ },+ {+ "localized_name": "step",+ "name": "step",+ "type": "INT",+ "widget": {+ "name": "step"+ },+ "link": null+ }+ ],+ "outputs": [+ {+ "localized_name": "high_sigmas",+ "name": "high_sigmas",+ "type": "SIGMAS",+ "links": null+ },+ {+ "localized_name": "low_sigmas",+ "name": "low_sigmas",+ "type": "SIGMAS",+ "links": [+ 5353+ ]+ }+ ],+ "properties": {+ "Node name for S&R": "SplitSigmas",+ "cnr_id": "comfy-core",+ "ver": "0.3.30"+ },+ "widgets_values": [+ 18+ ]+ },+ {+ "id": 1862,+ "type": "Note",+ "pos": [+ 5547.77685546875,+ 2709.507080078125+ ],+ "size": [+ 335.1761474609375,+ 148.08804321289062+ ],+ "flags": {},+ "order": 12,+ "mode": 0,+ "inputs": [],+ "outputs": [],+ "properties": {},+ "widgets_values": [+ "If you are not constrained in VRAM, run 1x1 tile starting from step 18 \nIf you are constrained in your available VRAM, run 2x2 tiles and use somewhat lower noies levels, starting from step 23.\n\n"+ ],+ "color": "#432",+ "bgcolor": "#653"+ },+ {+ "id": 1599,+ "type": "VHS_VideoCombine",+ "pos": [+ 6778.427734375,+ 2173.679931640625+ ],+ "size": [+ 610.8043212890625,+ 719.1004028320312+ ],+ "flags": {},+ "order": 39,+ "mode": 0,+ "inputs": [+ {+ "localized_name": "images",+ "name": "images",+ "shape": 7,+ "type": "IMAGE",+ "link": 4752+ },+ {+ "localized_name": "audio",+ "name": "audio",+ "shape": 7,+ "type": "AUDIO",+ "link": null+ },+ {+ "localized_name": "meta_batch",+ "name": "meta_batch",+ "shape": 7,+ "type": "VHS_BatchManager",+ "link": null+ },+ {+ "localized_name": "vae",+ "name": "vae",+ "shape": 7,+ "type": "VAE",+ "link": null+ },+ {+ "localized_name": "frame_rate",+ "name": "frame_rate",+ "type": "FLOAT",+ "widget": {+ "name": "frame_rate"+ },+ "link": null+ },+ {+ "localized_name": "loop_count",+ "name": "loop_count",+ "type": "INT",+ "widget": {+ "name": "loop_count"+ },+ "link": null+ },+ {+ "localized_name": "filename_prefix",+ "name": "filename_prefix",+ "type": "STRING",+ "widget": {+ "name": "filename_prefix"+ },+ "link": null+ },+ {+ "localized_name": "format",+ "name": "format",+ "type": "COMBO",+ "widget": {+ "name": "format"+ },+ "link": null+ },+ {+ "localized_name": "pingpong",+ "name": "pingpong",+ "type": "BOOLEAN",+ "widget": {+ "name": "pingpong"+ },+ "link": null+ },+ {+ "localized_name": "save_output",+ "name": "save_output",+ "type": "BOOLEAN",+ "widget": {+ "name": "save_output"+ },+ "link": null+ }+ ],+ "outputs": [+ {+ "localized_name": "Filenames",+ "name": "Filenames",+ "type": "VHS_FILENAMES",+ "links": null+ }+ ],+ "properties": {+ "Node name for S&R": "VHS_VideoCombine",+ "cnr_id": "comfyui-videohelpersuite",+ "ver": "2c25b8b53835aaeb63f831b3137c705cf9f85dce"+ },+ "widgets_values": {+ "frame_rate": 24,+ "loop_count": 0,+ "filename_prefix": "ltxv-hd",+ "format": "video/h264-mp4",+ "pix_fmt": "yuv420p",+ "crf": 18,+ "save_metadata": false,+ "pingpong": false,+ "save_output": false,+ "videopreview": {+ "hidden": false,+ "paused": true,+ "params": {+ "filename": "ltxv-hd_00001.mp4",+ "subfolder": "",+ "type": "temp",+ "format": "video/h264-mp4",+ "frame_rate": 24,+ "workflow": "ltxv_00055.png",+ "fullpath": "C:\\Users\\Zeev\\Projects\\ComfyUI\\temp\\ltxv_00055.mp4"+ },+ "muted": true+ }+ }+ },+ {+ "id": 1813,+ "type": "STGGuiderAdvanced",+ "pos": [+ 5131.06298828125,+ 2266.639892578125+ ],+ "size": [+ 278.79998779296875,+ 262+ ],+ "flags": {},+ "order": 26,+ "mode": 0,+ "inputs": [+ {+ "localized_name": "model",+ "name": "model",+ "type": "MODEL",+ "link": 5240+ },+ {+ "localized_name": "positive",+ "name": "positive",+ "type": "CONDITIONING",+ "link": 5274+ },+ {+ "localized_name": "negative",+ "name": "negative",+ "type": "CONDITIONING",+ "link": 5275+ },+ {+ "localized_name": "preset",+ "name": "preset",+ "shape": 7,+ "type": "STG_ADVANCED_PRESET",+ "link": 5354+ },+ {+ "localized_name": "skip_steps_sigma_threshold",+ "name": "skip_steps_sigma_threshold",+ "type": "FLOAT",+ "widget": {+ "name": "skip_steps_sigma_threshold"+ },+ "link": null+ },+ {+ "localized_name": "cfg_star_rescale",+ "name": "cfg_star_rescale",+ "type": "BOOLEAN",+ "widget": {+ "name": "cfg_star_rescale"+ },+ "link": null+ },+ {+ "localized_name": "sigmas",+ "name": "sigmas",+ "type": "STRING",+ "widget": {+ "name": "sigmas"+ },+ "link": null+ },+ {+ "localized_name": "cfg_values",+ "name": "cfg_values",+ "type": "STRING",+ "widget": {+ "name": "cfg_values"+ },+ "link": null+ },+ {+ "localized_name": "stg_scale_values",+ "name": "stg_scale_values",+ "type": "STRING",+ "widget": {+ "name": "stg_scale_values"+ },+ "link": null+ },+ {+ "localized_name": "stg_rescale_values",+ "name": "stg_rescale_values",+ "type": "STRING",+ "widget": {+ "name": "stg_rescale_values"+ },+ "link": null+ },+ {+ "localized_name": "stg_layers_indices",+ "name": "stg_layers_indices",+ "type": "STRING",+ "widget": {+ "name": "stg_layers_indices"+ },+ "link": null+ }+ ],+ "outputs": [+ {+ "localized_name": "GUIDER",+ "name": "GUIDER",+ "type": "GUIDER",+ "links": [+ 5193+ ]+ }+ ],+ "properties": {+ "Node name for S&R": "STGGuiderAdvanced"+ },+ "widgets_values": [+ 0.9970000000000002,+ true,+ "1",+ "1",+ "1",+ "1",+ "[42]"+ ]+ },+ {+ "id": 1865,+ "type": "VAEDecode",+ "pos": [+ 3763.29150390625,+ 2248.952880859375+ ],+ "size": [+ 210,+ 46+ ],+ "flags": {},+ "order": 31,+ "mode": 0,+ "inputs": [+ {+ "localized_name": "samples",+ "name": "samples",+ "type": "LATENT",+ "link": 5355+ },+ {+ "localized_name": "vae",+ "name": "vae",+ "type": "VAE",+ "link": 5370+ }+ ],+ "outputs": [+ {+ "localized_name": "IMAGE",+ "name": "IMAGE",+ "type": "IMAGE",+ "links": [+ 5356+ ]+ }+ ],+ "properties": {+ "Node name for S&R": "VAEDecode",+ "cnr_id": "comfy-core",+ "ver": "0.3.30"+ },+ "widgets_values": []+ },+ {+ "id": 1866,+ "type": "VHS_VideoCombine",+ "pos": [+ 4038.7578125,+ 2250.240234375+ ],+ "size": [+ 553.4302368164062,+ 310+ ],+ "flags": {},+ "order": 33,+ "mode": 0,+ "inputs": [+ {+ "localized_name": "images",+ "name": "images",+ "shape": 7,+ "type": "IMAGE",+ "link": 5356+ },+ {+ "localized_name": "audio",+ "name": "audio",+ "shape": 7,+ "type": "AUDIO",+ "link": null+ },+ {+ "localized_name": "meta_batch",+ "name": "meta_batch",+ "shape": 7,+ "type": "VHS_BatchManager",+ "link": null+ },+ {+ "localized_name": "vae",+ "name": "vae",+ "shape": 7,+ "type": "VAE",+ "link": null+ },+ {+ "localized_name": "frame_rate",+ "name": "frame_rate",+ "type": "FLOAT",+ "widget": {+ "name": "frame_rate"+ },+ "link": null+ },+ {+ "localized_name": "loop_count",+ "name": "loop_count",+ "type": "INT",+ "widget": {+ "name": "loop_count"+ },+ "link": null+ },+ {+ "localized_name": "filename_prefix",+ "name": "filename_prefix",+ "type": "STRING",+ "widget": {+ "name": "filename_prefix"+ },+ "link": null+ },+ {+ "localized_name": "format",+ "name": "format",+ "type": "COMBO",+ "widget": {+ "name": "format"+ },+ "link": null+ },+ {+ "localized_name": "pingpong",+ "name": "pingpong",+ "type": "BOOLEAN",+ "widget": {+ "name": "pingpong"+ },+ "link": null+ },+ {+ "localized_name": "save_output",+ "name": "save_output",+ "type": "BOOLEAN",+ "widget": {+ "name": "save_output"+ },+ "link": null+ }+ ],+ "outputs": [+ {+ "localized_name": "Filenames",+ "name": "Filenames",+ "type": "VHS_FILENAMES",+ "links": null+ }+ ],+ "properties": {+ "Node name for S&R": "VHS_VideoCombine"+ },+ "widgets_values": {+ "frame_rate": 24,+ "loop_count": 0,+ "filename_prefix": "ltxv-extend",+ "format": "video/h264-mp4",+ "pix_fmt": "yuv420p",+ "crf": 19,+ "save_metadata": true,+ "pingpong": false,+ "save_output": false,+ "videopreview": {+ "hidden": false,+ "paused": true,+ "params": {+ "filename": "ltxv-extend_00003.mp4",+ "subfolder": "",+ "type": "temp",+ "format": "video/h264-mp4",+ "frame_rate": 24+ }+ }+ }+ },+ {+ "id": 1868,+ "type": "RandomNoise",+ "pos": [+ 3500,+ 2120+ ],+ "size": [+ 210,+ 82+ ],+ "flags": {},+ "order": 13,+ "mode": 0,+ "inputs": [+ {+ "localized_name": "noise_seed",+ "name": "noise_seed",+ "type": "INT",+ "widget": {+ "name": "noise_seed"+ },+ "link": null+ }+ ],+ "outputs": [+ {+ "localized_name": "NOISE",+ "name": "NOISE",+ "type": "NOISE",+ "links": [+ 5357+ ]+ }+ ],+ "properties": {+ "Node name for S&R": "RandomNoise",+ "cnr_id": "comfy-core",+ "ver": "0.3.30"+ },+ "widgets_values": [+ 2840,+ "fixed"+ ]+ },+ {+ "id": 1867,+ "type": "LTXVExtendSampler",+ "pos": [+ 3360,+ 2260+ ],+ "size": [+ 305.9637451171875,+ 202+ ],+ "flags": {},+ "order": 29,+ "mode": 0,+ "inputs": [+ {+ "localized_name": "model",+ "name": "model",+ "type": "MODEL",+ "link": 5358+ },+ {+ "localized_name": "vae",+ "name": "vae",+ "type": "VAE",+ "link": 5359+ },+ {+ "localized_name": "latents",+ "name": "latents",+ "type": "LATENT",+ "link": 5360+ },+ {+ "localized_name": "guider",+ "name": "guider",+ "type": "GUIDER",+ "link": 5361+ },+ {+ "localized_name": "sampler",+ "name": "sampler",+ "type": "SAMPLER",+ "link": 5362+ },+ {+ "localized_name": "sigmas",+ "name": "sigmas",+ "type": "SIGMAS",+ "link": 5363+ },+ {+ "localized_name": "noise",+ "name": "noise",+ "type": "NOISE",+ "link": 5357+ },+ {+ "localized_name": "num_new_frames",+ "name": "num_new_frames",+ "type": "INT",+ "widget": {+ "name": "num_new_frames"+ },+ "link": null+ },+ {+ "localized_name": "frame_overlap",+ "name": "frame_overlap",+ "type": "INT",+ "widget": {+ "name": "frame_overlap"+ },+ "link": null+ }+ ],+ "outputs": [+ {+ "localized_name": "denoised_output",+ "name": "denoised_output",+ "type": "LATENT",+ "links": [+ 5355,+ 5364,+ 5365+ ]+ }+ ],+ "properties": {+ "Node name for S&R": "LTXVExtendSampler"+ },+ "widgets_values": [+ 80,+ 24+ ]+ },+ {+ "id": 1870,+ "type": "Note",+ "pos": [+ 3372.0966796875,+ 2521.112060546875+ ],+ "size": [+ 300,+ 130+ ],+ "flags": {},+ "order": 14,+ "mode": 0,+ "inputs": [],+ "outputs": [],+ "properties": {},+ "widgets_values": [+ "Overlap decides how many of the last frames in the input video are used to condition the new video generation. The total number of frames generated is frame_overlap + num_new_frames, and then the new video and the previous video are fused by this node and the full extended video is returned."+ ],+ "color": "#432",+ "bgcolor": "#653"+ },+ {+ "id": 1601,+ "type": "VAEDecodeTiled",+ "pos": [+ 5933.66064453125,+ 2173.679931640625+ ],+ "size": [+ 210,+ 150+ ],+ "flags": {},+ "order": 36,+ "mode": 0,+ "inputs": [+ {+ "localized_name": "samples",+ "name": "samples",+ "type": "LATENT",+ "link": 5306+ },+ {+ "localized_name": "vae",+ "name": "vae",+ "type": "VAE",+ "link": 5369+ },+ {+ "localized_name": "tile_size",+ "name": "tile_size",+ "type": "INT",+ "widget": {+ "name": "tile_size"+ },+ "link": null+ },+ {+ "localized_name": "overlap",+ "name": "overlap",+ "type": "INT",+ "widget": {+ "name": "overlap"+ },+ "link": null+ },+ {+ "localized_name": "temporal_size",+ "name": "temporal_size",+ "type": "INT",+ "widget": {+ "name": "temporal_size"+ },+ "link": null+ },+ {+ "localized_name": "temporal_overlap",+ "name": "temporal_overlap",+ "type": "INT",+ "widget": {+ "name": "temporal_overlap"+ },+ "link": null+ }+ ],+ "outputs": [+ {+ "localized_name": "IMAGE",+ "name": "IMAGE",+ "type": "IMAGE",+ "links": [+ 4749+ ]+ }+ ],+ "properties": {+ "Node name for S&R": "VAEDecodeTiled",+ "cnr_id": "comfy-core",+ "ver": "0.3.29"+ },+ "widgets_values": [+ 1280,+ 128,+ 256,+ 32+ ]+ },+ {+ "id": 1809,+ "type": "STGAdvancedPresets",+ "pos": [+ 1510,+ 2258.19873046875+ ],+ "size": [+ 226.8000030517578,+ 58+ ],+ "flags": {},+ "order": 15,+ "mode": 0,+ "inputs": [+ {+ "localized_name": "preset",+ "name": "preset",+ "type": "COMBO",+ "widget": {+ "name": "preset"+ },+ "link": null+ }+ ],+ "outputs": [+ {+ "localized_name": "STG_ADVANCED_PRESET",+ "name": "STG_ADVANCED_PRESET",+ "type": "STG_ADVANCED_PRESET",+ "links": [+ 5351+ ]+ }+ ],+ "properties": {+ "Node name for S&R": "STGAdvancedPresets"+ },+ "widgets_values": [+ "13b Dynamic"+ ]+ },+ {+ "id": 1864,+ "type": "STGAdvancedPresets",+ "pos": [+ 5133.6767578125,+ 2581.273193359375+ ],+ "size": [+ 264.6961364746094,+ 58+ ],+ "flags": {},+ "order": 16,+ "mode": 0,+ "inputs": [+ {+ "localized_name": "preset",+ "name": "preset",+ "type": "COMBO",+ "widget": {+ "name": "preset"+ },+ "link": null+ }+ ],+ "outputs": [+ {+ "localized_name": "STG_ADVANCED_PRESET",+ "name": "STG_ADVANCED_PRESET",+ "type": "STG_ADVANCED_PRESET",+ "links": [+ 5354+ ]+ }+ ],+ "properties": {+ "Node name for S&R": "STGAdvancedPresets"+ },+ "widgets_values": [+ "13b Upscale"+ ]+ },+ {+ "id": 1336,+ "type": "VHS_VideoCombine",+ "pos": [+ 2789.545166015625,+ 2253.726318359375+ ],+ "size": [+ 471.0374755859375,+ 310+ ],+ "flags": {},+ "order": 30,+ "mode": 0,+ "inputs": [+ {+ "localized_name": "images",+ "name": "images",+ "shape": 7,+ "type": "IMAGE",+ "link": 3578+ },+ {+ "localized_name": "audio",+ "name": "audio",+ "shape": 7,+ "type": "AUDIO",+ "link": null+ },+ {+ "localized_name": "meta_batch",+ "name": "meta_batch",+ "shape": 7,+ "type": "VHS_BatchManager",+ "link": null+ },+ {+ "localized_name": "vae",+ "name": "vae",+ "shape": 7,+ "type": "VAE",+ "link": null+ },+ {+ "localized_name": "frame_rate",+ "name": "frame_rate",+ "type": "FLOAT",+ "widget": {+ "name": "frame_rate"+ },+ "link": null+ },+ {+ "localized_name": "loop_count",+ "name": "loop_count",+ "type": "INT",+ "widget": {+ "name": "loop_count"+ },+ "link": null+ },+ {+ "localized_name": "filename_prefix",+ "name": "filename_prefix",+ "type": "STRING",+ "widget": {+ "name": "filename_prefix"+ },+ "link": null+ },+ {+ "localized_name": "format",+ "name": "format",+ "type": "COMBO",+ "widget": {+ "name": "format"+ },+ "link": null+ },+ {+ "localized_name": "pingpong",+ "name": "pingpong",+ "type": "BOOLEAN",+ "widget": {+ "name": "pingpong"+ },+ "link": null+ },+ {+ "localized_name": "save_output",+ "name": "save_output",+ "type": "BOOLEAN",+ "widget": {+ "name": "save_output"+ },+ "link": null+ }+ ],+ "outputs": [+ {+ "localized_name": "Filenames",+ "name": "Filenames",+ "type": "VHS_FILENAMES",+ "links": null+ }+ ],+ "properties": {+ "Node name for S&R": "VHS_VideoCombine"+ },+ "widgets_values": {+ "frame_rate": 24,+ "loop_count": 0,+ "filename_prefix": "ltxv-base",+ "format": "video/h264-mp4",+ "pix_fmt": "yuv420p",+ "crf": 19,+ "save_metadata": true,+ "pingpong": false,+ "save_output": false,+ "videopreview": {+ "hidden": false,+ "paused": true,+ "params": {+ "filename": "ltxv-base_00037.mp4",+ "subfolder": "",+ "type": "temp",+ "format": "video/h264-mp4",+ "frame_rate": 24+ }+ }+ }+ },+ {+ "id": 1871,+ "type": "Set VAE Decoder Noise",+ "pos": [+ 2465.600341796875,+ 2384.06494140625+ ],+ "size": [+ 310.7855529785156,+ 130+ ],+ "flags": {},+ "order": 22,+ "mode": 0,+ "inputs": [+ {+ "localized_name": "vae",+ "name": "vae",+ "type": "VAE",+ "link": 5367+ },+ {+ "localized_name": "timestep",+ "name": "timestep",+ "type": "FLOAT",+ "widget": {+ "name": "timestep"+ },+ "link": null+ },+ {+ "localized_name": "scale",+ "name": "scale",+ "type": "FLOAT",+ "widget": {+ "name": "scale"+ },+ "link": null+ },+ {+ "localized_name": "seed",+ "name": "seed",+ "type": "INT",+ "widget": {+ "name": "seed"+ },+ "link": null+ }+ ],+ "outputs": [+ {+ "localized_name": "VAE",+ "name": "VAE",+ "type": "VAE",+ "links": [+ 5368,+ 5369,+ 5370+ ]+ }+ ],+ "properties": {+ "Node name for S&R": "Set VAE Decoder Noise"+ },+ "widgets_values": [+ 0.05,+ 0.025,+ 42,+ "fixed"+ ]+ },+ {+ "id": 1206,+ "type": "LoadImage",+ "pos": [+ 1069.734375,+ 2577.37060546875+ ],+ "size": [+ 342.5999755859375,+ 314+ ],+ "flags": {},+ "order": 17,+ "mode": 0,+ "inputs": [+ {+ "localized_name": "image",+ "name": "image",+ "type": "COMBO",+ "widget": {+ "name": "image"+ },+ "link": null+ },+ {+ "localized_name": "choose file to upload",+ "name": "upload",+ "type": "IMAGEUPLOAD",+ "widget": {+ "name": "upload"+ },+ "link": null+ }+ ],+ "outputs": [+ {+ "localized_name": "IMAGE",+ "name": "IMAGE",+ "type": "IMAGE",+ "links": [+ 5162,+ 5285+ ]+ },+ {+ "localized_name": "MASK",+ "name": "MASK",+ "type": "MASK",+ "links": null+ }+ ],+ "properties": {+ "Node name for S&R": "LoadImage",+ "cnr_id": "comfy-core",+ "ver": "0.3.30"+ },+ "widgets_values": [+ "1.png",+ "image"+ ]+ },+ {+ "id": 44,+ "type": "CheckpointLoaderSimple",+ "pos": [+ 1076.880615234375,+ 2416.77880859375+ ],+ "size": [+ 334.6303405761719,+ 98+ ],+ "flags": {},+ "order": 18,+ "mode": 0,+ "inputs": [+ {+ "localized_name": "ckpt_name",+ "name": "ckpt_name",+ "type": "COMBO",+ "widget": {+ "name": "ckpt_name"+ },+ "link": null+ }+ ],+ "outputs": [+ {+ "localized_name": "MODEL",+ "name": "MODEL",+ "type": "MODEL",+ "slot_index": 0,+ "links": [+ 2951,+ 5236,+ 5239,+ 5240,+ 5265,+ 5358+ ]+ },+ {+ "localized_name": "CLIP",+ "name": "CLIP",+ "type": "CLIP",+ "links": []+ },+ {+ "localized_name": "VAE",+ "name": "VAE",+ "type": "VAE",+ "slot_index": 2,+ "links": [+ 5243,+ 5287,+ 5288,+ 5359,+ 5367+ ]+ }+ ],+ "properties": {+ "Node name for S&R": "CheckpointLoaderSimple",+ "cnr_id": "comfy-core",+ "ver": "0.3.28"+ },+ "widgets_values": [+ "ltxv-13b-0.9.7-dev.safetensors"+ ]+ }+ ],+ "links": [+ [+ 74,+ 38,+ 0,+ 6,+ 0,+ "CLIP"+ ],+ [+ 75,+ 38,+ 0,+ 7,+ 0,+ "CLIP"+ ],+ [+ 2951,+ 44,+ 0,+ 1103,+ 0,+ "MODEL"+ ],+ [+ 3364,+ 6,+ 0,+ 1241,+ 0,+ "CONDITIONING"+ ],+ [+ 3365,+ 7,+ 0,+ 1241,+ 1,+ "CONDITIONING"+ ],+ [+ 3576,+ 1338,+ 0,+ 1335,+ 0,+ "LATENT"+ ],+ [+ 3578,+ 1335,+ 0,+ 1336,+ 0,+ "IMAGE"+ ],+ [+ 4053,+ 1507,+ 0,+ 1338,+ 5,+ "NOISE"+ ],+ [+ 4749,+ 1601,+ 0,+ 1661,+ 0,+ "IMAGE"+ ],+ [+ 4751,+ 1661,+ 0,+ 1699,+ 0,+ "IMAGE"+ ],+ [+ 4752,+ 1699,+ 0,+ 1599,+ 0,+ "IMAGE"+ ],+ [+ 5126,+ 1598,+ 0,+ 1796,+ 2,+ "NOISE"+ ],+ [+ 5162,+ 1206,+ 0,+ 1338,+ 6,+ "IMAGE"+ ],+ [+ 5167,+ 1807,+ 0,+ 1338,+ 2,+ "GUIDER"+ ],+ [+ 5193,+ 1813,+ 0,+ 1796,+ 5,+ "GUIDER"+ ],+ [+ 5224,+ 73,+ 0,+ 1338,+ 3,+ "SAMPLER"+ ],+ [+ 5225,+ 1103,+ 0,+ 1338,+ 4,+ "SIGMAS"+ ],+ [+ 5227,+ 1241,+ 0,+ 1807,+ 1,+ "CONDITIONING"+ ],+ [+ 5228,+ 1241,+ 1,+ 1807,+ 2,+ "CONDITIONING"+ ],+ [+ 5236,+ 44,+ 0,+ 1338,+ 0,+ "MODEL"+ ],+ [+ 5239,+ 44,+ 0,+ 1807,+ 0,+ "MODEL"+ ],+ [+ 5240,+ 44,+ 0,+ 1813,+ 0,+ "MODEL"+ ],+ [+ 5243,+ 44,+ 2,+ 1338,+ 1,+ "VAE"+ ],+ [+ 5258,+ 1103,+ 0,+ 1596,+ 0,+ "SIGMAS"+ ],+ [+ 5260,+ 73,+ 0,+ 1796,+ 3,+ "SAMPLER"+ ],+ [+ 5265,+ 44,+ 0,+ 1796,+ 0,+ "MODEL"+ ],+ [+ 5274,+ 1241,+ 0,+ 1813,+ 1,+ "CONDITIONING"+ ],+ [+ 5275,+ 1241,+ 1,+ 1813,+ 2,+ "CONDITIONING"+ ],+ [+ 5281,+ 1593,+ 0,+ 1796,+ 6,+ "LATENT"+ ],+ [+ 5285,+ 1206,+ 0,+ 1796,+ 7,+ "IMAGE"+ ],+ [+ 5287,+ 44,+ 2,+ 1691,+ 2,+ "VAE"+ ],+ [+ 5288,+ 44,+ 2,+ 1796,+ 1,+ "VAE"+ ],+ [+ 5297,+ 1691,+ 0,+ 1593,+ 0,+ "LATENT"+ ],+ [+ 5303,+ 1828,+ 0,+ 1691,+ 1,+ "UPSCALE_MODEL"+ ],+ [+ 5306,+ 1796,+ 0,+ 1601,+ 0,+ "LATENT"+ ],+ [+ 5351,+ 1809,+ 0,+ 1807,+ 3,+ "STG_ADVANCED_PRESET"+ ],+ [+ 5353,+ 1596,+ 1,+ 1796,+ 4,+ "SIGMAS"+ ],+ [+ 5354,+ 1864,+ 0,+ 1813,+ 3,+ "STG_ADVANCED_PRESET"+ ],+ [+ 5355,+ 1867,+ 0,+ 1865,+ 0,+ "LATENT"+ ],+ [+ 5356,+ 1865,+ 0,+ 1866,+ 0,+ "IMAGE"+ ],+ [+ 5357,+ 1868,+ 0,+ 1867,+ 6,+ "NOISE"+ ],+ [+ 5358,+ 44,+ 0,+ 1867,+ 0,+ "MODEL"+ ],+ [+ 5359,+ 44,+ 2,+ 1867,+ 1,+ "VAE"+ ],+ [+ 5360,+ 1338,+ 0,+ 1867,+ 2,+ "LATENT"+ ],+ [+ 5361,+ 1807,+ 0,+ 1867,+ 3,+ "GUIDER"+ ],+ [+ 5362,+ 73,+ 0,+ 1867,+ 4,+ "SAMPLER"+ ],+ [+ 5363,+ 1103,+ 0,+ 1867,+ 5,+ "SIGMAS"+ ],+ [+ 5364,+ 1867,+ 0,+ 1691,+ 0,+ "LATENT"+ ],+ [+ 5365,+ 1867,+ 0,+ 1593,+ 1,+ "LATENT"+ ],+ [+ 5367,+ 44,+ 2,+ 1871,+ 0,+ "VAE"+ ],+ [+ 5368,+ 1871,+ 0,+ 1335,+ 1,+ "VAE"+ ],+ [+ 5369,+ 1871,+ 0,+ 1601,+ 1,+ "VAE"+ ],+ [+ 5370,+ 1871,+ 0,+ 1865,+ 1,+ "VAE"+ ]+ ],+ "groups": [+ {+ "id": 20,+ "title": "Base Low Res Generation ",+ "bounding": [+ 1500,+ 2037.5235595703125,+ 1770.58251953125,+ 850.8944091796875+ ],+ "color": "#3f789e",+ "font_size": 24,+ "flags": {},+ "nodes": [+ 1338,+ 1335,+ 1507,+ 1859,+ 1823,+ 1860,+ 1807,+ 1861,+ 1103,+ 73,+ 1809,+ 1336,+ 1871+ ]+ },+ {+ "id": 34,+ "title": "Latent Upscaler",+ "bounding": [+ 4682.08154296875,+ 2046.2330322265625,+ 364.39990234375,+ 604.2252197265625+ ],+ "color": "#3f789e",+ "font_size": 24,+ "flags": {},+ "nodes": [+ 1828,+ 1691,+ 1593,+ 1863+ ]+ },+ {+ "id": 41,+ "title": "Setup",+ "bounding": [+ 329.9997863769531,+ 2040.44580078125,+ 1092.333984375,+ 860.9241943359375+ ],+ "color": "#3f789e",+ "font_size": 24,+ "flags": {},+ "nodes": [+ 1241,+ 7,+ 38,+ 6,+ 1858,+ 1825,+ 1206,+ 44+ ]+ },+ {+ "id": 42,+ "title": "Add Details",+ "bounding": [+ 5121.06298828125,+ 2051.697998046875,+ 2278.168701171875,+ 851.0821533203125+ ],+ "color": "#3f789e",+ "font_size": 24,+ "flags": {},+ "nodes": [+ 1796,+ 1661,+ 1699,+ 1598,+ 1596,+ 1862,+ 1599,+ 1813,+ 1601,+ 1864+ ]+ },+ {+ "id": 43,+ "title": "Extend",+ "bounding": [+ 3340.832275390625,+ 2042.8255615234375,+ 1261.35595703125,+ 897.0347900390625+ ],+ "color": "#3f789e",+ "font_size": 24,+ "flags": {},+ "nodes": [+ 1865,+ 1866,+ 1868,+ 1867,+ 1870+ ]+ }+ ],+ "config": {},+ "extra": {+ "ds": {+ "scale": 0.6741546927603917,+ "offset": [+ -725.4008484948705,+ -1969.3677597698513+ ]+ },+ "frontendVersion": "1.17.11",+ "VHS_latentpreview": true,+ "VHS_latentpreviewrate": 0,+ "VHS_MetadataImage": true,+ "VHS_KeepIntermediate": true,+ "prompt": {+ "6": {+ "inputs": {+ "text": "",+ "clip": [+ "38",+ 0+ ]+ },+ "class_type": "CLIPTextEncode",+ "_meta": {+ "title": "CLIP Text Encode (Positive Prompt)"+ }+ },+ "7": {+ "inputs": {+ "text": "low quality, worst quality, deformed, distorted, disfigured, motion smear, motion artifacts, fused fingers, bad anatomy, weird hand, ugly",+ "clip": [+ "38",+ 0+ ]+ },+ "class_type": "CLIPTextEncode",+ "_meta": {+ "title": "CLIP Text Encode (Negative Prompt)"+ }+ },+ "38": {+ "inputs": {+ "clip_name": "t5xxl_fp16.safetensors",+ "type": "ltxv",+ "device": "default"+ },+ "class_type": "CLIPLoader",+ "_meta": {+ "title": "Load CLIP"+ }+ },+ "44": {+ "inputs": {+ "ckpt_name": "ltxv-13b-0.9.7-dev.safetensors"+ },+ "class_type": "CheckpointLoaderSimple",+ "_meta": {+ "title": "Load Checkpoint"+ }+ },+ "73": {+ "inputs": {+ "sampler_name": "gradient_estimation"+ },+ "class_type": "KSamplerSelect",+ "_meta": {+ "title": "KSamplerSelect"+ }+ },+ "1103": {+ "inputs": {+ "scheduler": "linear_quadratic",+ "steps": 30,+ "denoise": 1,+ "model": [+ "44",+ 0+ ]+ },+ "class_type": "BasicScheduler",+ "_meta": {+ "title": "BasicScheduler"+ }+ },+ "1206": {+ "inputs": {+ "image": "1.png"+ },+ "class_type": "LoadImage",+ "_meta": {+ "title": "Load Image"+ }+ },+ "1241": {+ "inputs": {+ "frame_rate": 24.000000000000004,+ "positive": [+ "6",+ 0+ ],+ "negative": [+ "7",+ 0+ ]+ },+ "class_type": "LTXVConditioning",+ "_meta": {+ "title": "LTXVConditioning"+ }+ },+ "1335": {+ "inputs": {+ "samples": [+ "1338",+ 0+ ],+ "vae": [+ "1871",+ 0+ ]+ },+ "class_type": "VAEDecode",+ "_meta": {+ "title": "VAE Decode"+ }+ },+ "1336": {+ "inputs": {+ "frame_rate": 24,+ "loop_count": 0,+ "filename_prefix": "ltxv-base",+ "format": "video/h264-mp4",+ "pix_fmt": "yuv420p",+ "crf": 19,+ "save_metadata": true,+ "pingpong": false,+ "save_output": false,+ "images": [+ "1335",+ 0+ ]+ },+ "class_type": "VHS_VideoCombine",+ "_meta": {+ "title": "Video Combine 🎥🅥🅗🅢"+ }+ },+ "1338": {+ "inputs": {+ "width": 768,+ "height": 512,+ "num_frames": 97,+ "optional_cond_indices": "0",+ "strength": 0.8,+ "crop": "center",+ "crf": 30,+ "blur": 0,+ "model": [+ "44",+ 0+ ],+ "vae": [+ "44",+ 2+ ],+ "guider": [+ "1807",+ 0+ ],+ "sampler": [+ "73",+ 0+ ],+ "sigmas": [+ "1103",+ 0+ ],+ "noise": [+ "1507",+ 0+ ],+ "optional_cond_images": [+ "1206",+ 0+ ]+ },+ "class_type": "LTXVBaseSampler",+ "_meta": {+ "title": "🅛🅣🅧 LTXV Base Sampler"+ }+ },+ "1507": {+ "inputs": {+ "noise_seed": 108+ },+ "class_type": "RandomNoise",+ "_meta": {+ "title": "RandomNoise"+ }+ },+ "1593": {+ "inputs": {+ "factor": 0.25,+ "latents": [+ "1691",+ 0+ ],+ "reference": [+ "1867",+ 0+ ]+ },+ "class_type": "LTXVAdainLatent",+ "_meta": {+ "title": "🅛🅣🅧 LTXV Adain Latent"+ }+ },+ "1596": {+ "inputs": {+ "step": 18,+ "sigmas": [+ "1103",+ 0+ ]+ },+ "class_type": "SplitSigmas",+ "_meta": {+ "title": "SplitSigmas"+ }+ },+ "1598": {+ "inputs": {+ "noise_seed": 191+ },+ "class_type": "RandomNoise",+ "_meta": {+ "title": "RandomNoise"+ }+ },+ "1599": {+ "inputs": {+ "frame_rate": 24,+ "loop_count": 0,+ "filename_prefix": "ltxv-hd",+ "format": "video/h264-mp4",+ "pix_fmt": "yuv420p",+ "crf": 18,+ "save_metadata": false,+ "pingpong": false,+ "save_output": false,+ "images": [+ "1699",+ 0+ ]+ },+ "class_type": "VHS_VideoCombine",+ "_meta": {+ "title": "Video Combine 🎥🅥🅗🅢"+ }+ },+ "1601": {+ "inputs": {+ "tile_size": 1280,+ "overlap": 128,+ "temporal_size": 256,+ "temporal_overlap": 32,+ "samples": [+ "1796",+ 0+ ],+ "vae": [+ "1871",+ 0+ ]+ },+ "class_type": "VAEDecodeTiled",+ "_meta": {+ "title": "VAE Decode (Tiled)"+ }+ },+ "1661": {+ "inputs": {+ "width": 1280,+ "height": 1280,+ "upscale_method": "bicubic",+ "keep_proportion": true,+ "divisible_by": 2,+ "crop": "center",+ "image": [+ "1601",+ 0+ ]+ },+ "class_type": "ImageResizeKJ",+ "_meta": {+ "title": "Resize Image"+ }+ },+ "1691": {+ "inputs": {+ "samples": [+ "1867",+ 0+ ],+ "upscale_model": [+ "1828",+ 0+ ],+ "vae": [+ "44",+ 2+ ]+ },+ "class_type": "LTXVLatentUpsampler",+ "_meta": {+ "title": "🅛🅣🅧 LTXV Latent Upsampler"+ }+ },+ "1699": {+ "inputs": {+ "grain_intensity": 0.010000000000000002,+ "saturation": 0.5,+ "images": [+ "1661",+ 0+ ]+ },+ "class_type": "LTXVFilmGrain",+ "_meta": {+ "title": "🅛🅣🅧 LTXV Film Grain"+ }+ },+ "1796": {+ "inputs": {+ "horizontal_tiles": 1,+ "vertical_tiles": 1,+ "overlap": 3,+ "first_frame_cond_strength": 0.9,+ "latents_cond_strength": 0.15,+ "boost_latent_similarity": true,+ "crop": "center",+ "model": [+ "44",+ 0+ ],+ "vae": [+ "44",+ 2+ ],+ "noise": [+ "1598",+ 0+ ],+ "sampler": [+ "73",+ 0+ ],+ "sigmas": [+ "1596",+ 1+ ],+ "guider": [+ "1813",+ 0+ ],+ "latents": [+ "1593",+ 0+ ],+ "optional_cond_image": [+ "1206",+ 0+ ]+ },+ "class_type": "LTXVTiledSampler",+ "_meta": {+ "title": "🅛🅣🅧 LTXV Tiled Sampler"+ }+ },+ "1807": {+ "inputs": {+ "skip_steps_sigma_threshold": 0.9970000000000002,+ "cfg_star_rescale": true,+ "sigmas": "1.0, 0.9933, 0.9850, 0.9767, 0.9008, 0.6180",+ "cfg_values": "1,16,8,8,4,1",+ "stg_scale_values": "0, 4, 4, 2, 1, 1",+ "stg_rescale_values": "1, 1, 1, 1, 1, 1",+ "stg_layers_indices": "[35], [35], [35], [42], [42], [42]",+ "model": [+ "44",+ 0+ ],+ "positive": [+ "1241",+ 0+ ],+ "negative": [+ "1241",+ 1+ ],+ "preset": [+ "1809",+ 0+ ]+ },+ "class_type": "STGGuiderAdvanced",+ "_meta": {+ "title": "🅛🅣🅧 STG Guider Advanced"+ }+ },+ "1809": {+ "inputs": {+ "preset": "13b Dynamic"+ },+ "class_type": "STGAdvancedPresets",+ "_meta": {+ "title": "🅛🅣🅧 STG Advanced Presets"+ }+ },+ "1813": {+ "inputs": {+ "skip_steps_sigma_threshold": 0.9970000000000002,+ "cfg_star_rescale": true,+ "sigmas": "1",+ "cfg_values": "1",+ "stg_scale_values": "1",+ "stg_rescale_values": "1",+ "stg_layers_indices": "[42]",+ "model": [+ "44",+ 0+ ],+ "positive": [+ "1241",+ 0+ ],+ "negative": [+ "1241",+ 1+ ],+ "preset": [+ "1864",+ 0+ ]+ },+ "class_type": "STGGuiderAdvanced",+ "_meta": {+ "title": "🅛🅣🅧 STG Guider Advanced"+ }+ },+ "1828": {+ "inputs": {+ "upscale_model": "ltxv-spatial-upscaler-0.9.7.safetensors",+ "spatial_upsample": true,+ "temporal_upsample": false+ },+ "class_type": "LTXVLatentUpsamplerModelLoader",+ "_meta": {+ "title": "🅛🅣🅧 LTXV Latent Upsampler Model Loader"+ }+ },+ "1864": {+ "inputs": {+ "preset": "13b Upscale"+ },+ "class_type": "STGAdvancedPresets",+ "_meta": {+ "title": "🅛🅣🅧 STG Advanced Presets"+ }+ },+ "1865": {+ "inputs": {+ "samples": [+ "1867",+ 0+ ],+ "vae": [+ "1871",+ 0+ ]+ },+ "class_type": "VAEDecode",+ "_meta": {+ "title": "VAE Decode"+ }+ },+ "1866": {+ "inputs": {+ "frame_rate": 24,+ "loop_count": 0,+ "filename_prefix": "ltxv-extend",+ "format": "video/h264-mp4",+ "pix_fmt": "yuv420p",+ "crf": 19,+ "save_metadata": true,+ "pingpong": false,+ "save_output": false,+ "images": [+ "1865",+ 0+ ]+ },+ "class_type": "VHS_VideoCombine",+ "_meta": {+ "title": "Video Combine 🎥🅥🅗🅢"+ }+ },+ "1867": {+ "inputs": {+ "num_new_frames": 80,+ "frame_overlap": 24,+ "model": [+ "44",+ 0+ ],+ "vae": [+ "44",+ 2+ ],+ "latents": [+ "1338",+ 0+ ],+ "guider": [+ "1807",+ 0+ ],+ "sampler": [+ "73",+ 0+ ],+ "sigmas": [+ "1103",+ 0+ ],+ "noise": [+ "1868",+ 0+ ]+ },+ "class_type": "LTXVExtendSampler",+ "_meta": {+ "title": "🅛🅣🅧 LTXV Extend Sampler"+ }+ },+ "1868": {+ "inputs": {+ "noise_seed": 2840+ },+ "class_type": "RandomNoise",+ "_meta": {+ "title": "RandomNoise"+ }+ },+ "1871": {+ "inputs": {+ "timestep": 0.05,+ "scale": 0.025,+ "seed": 42,+ "vae": [+ "44",+ 2+ ]+ },+ "class_type": "Set VAE Decoder Noise",+ "_meta": {+ "title": "🅛🅣🅧 Set VAE Decoder Noise"+ }+ }+ },+ "comfy_fork_version": "develop@311c9b81",+ "workspace_info": {+ "id": "elBQFQknIoLYTEwIloQuw"+ },+ "node_versions": {+ "comfy-core": "0.3.30",+ "comfyui-kjnodes": "1.0.8"+ }+ },+ "version": 0.4+}diff --git a/example_workflows/ltxv-13b-i2v-keyframes.json b/example_workflows/ltxv-13b-i2v-keyframes.jsonnew file mode 100644index 0000000..85d45d2--- /dev/null+++ b/example_workflows/ltxv-13b-i2v-keyframes.json@@ -0,0 +1,3568 @@+{+ "id": "394ed254-7306-42a2-9ae6-aa880ce4456d",+ "revision": 0,+ "last_node_id": 1870,+ "last_link_id": 5362,+ "nodes": [+ {+ "id": 1601,+ "type": "VAEDecodeTiled",+ "pos": [+ 4565.6015625,+ 2168.989501953125+ ],+ "size": [+ 210,+ 150+ ],+ "flags": {},+ "order": 36,+ "mode": 0,+ "inputs": [+ {+ "localized_name": "samples",+ "name": "samples",+ "type": "LATENT",+ "link": 5306+ },+ {+ "localized_name": "vae",+ "name": "vae",+ "type": "VAE",+ "link": 5362+ },+ {+ "localized_name": "tile_size",+ "name": "tile_size",+ "type": "INT",+ "widget": {+ "name": "tile_size"+ },+ "link": null+ },+ {+ "localized_name": "overlap",+ "name": "overlap",+ "type": "INT",+ "widget": {+ "name": "overlap"+ },+ "link": null+ },+ {+ "localized_name": "temporal_size",+ "name": "temporal_size",+ "type": "INT",+ "widget": {+ "name": "temporal_size"+ },+ "link": null+ },+ {+ "localized_name": "temporal_overlap",+ "name": "temporal_overlap",+ "type": "INT",+ "widget": {+ "name": "temporal_overlap"+ },+ "link": null+ }+ ],+ "outputs": [+ {+ "localized_name": "IMAGE",+ "name": "IMAGE",+ "type": "IMAGE",+ "links": [+ 4749+ ]+ }+ ],+ "properties": {+ "Node name for S&R": "VAEDecodeTiled",+ "cnr_id": "comfy-core",+ "ver": "0.3.29"+ },+ "widgets_values": [+ 1280,+ 128,+ 256,+ 32+ ]+ },+ {+ "id": 1241,+ "type": "LTXVConditioning",+ "pos": [+ 1090.674072265625,+ 2272.830322265625+ ],+ "size": [+ 328.21636962890625,+ 78+ ],+ "flags": {},+ "order": 25,+ "mode": 0,+ "inputs": [+ {+ "localized_name": "positive",+ "name": "positive",+ "type": "CONDITIONING",+ "link": 3364+ },+ {+ "localized_name": "negative",+ "name": "negative",+ "type": "CONDITIONING",+ "link": 3365+ },+ {+ "localized_name": "frame_rate",+ "name": "frame_rate",+ "type": "FLOAT",+ "widget": {+ "name": "frame_rate"+ },+ "link": null+ }+ ],+ "outputs": [+ {+ "localized_name": "positive",+ "name": "positive",+ "type": "CONDITIONING",+ "slot_index": 0,+ "links": [+ 5227,+ 5274+ ]+ },+ {+ "localized_name": "negative",+ "name": "negative",+ "type": "CONDITIONING",+ "slot_index": 1,+ "links": [+ 5228,+ 5275+ ]+ }+ ],+ "properties": {+ "Node name for S&R": "LTXVConditioning",+ "cnr_id": "comfy-core",+ "ver": "0.3.28"+ },+ "widgets_values": [+ 24.000000000000004+ ]+ },+ {+ "id": 7,+ "type": "CLIPTextEncode",+ "pos": [+ 730.2447509765625,+ 2399.255615234375+ ],+ "size": [+ 317.832275390625,+ 213.2843780517578+ ],+ "flags": {},+ "order": 21,+ "mode": 0,+ "inputs": [+ {+ "localized_name": "clip",+ "name": "clip",+ "type": "CLIP",+ "link": 75+ },+ {+ "localized_name": "text",+ "name": "text",+ "type": "STRING",+ "widget": {+ "name": "text"+ },+ "link": null+ }+ ],+ "outputs": [+ {+ "localized_name": "CONDITIONING",+ "name": "CONDITIONING",+ "type": "CONDITIONING",+ "slot_index": 0,+ "links": [+ 3365+ ]+ }+ ],+ "title": "CLIP Text Encode (Negative Prompt)",+ "properties": {+ "Node name for S&R": "CLIPTextEncode",+ "cnr_id": "comfy-core",+ "ver": "0.3.28"+ },+ "widgets_values": [+ "low quality, worst quality, deformed, distorted, disfigured, motion smear, motion artifacts, fused fingers, bad anatomy, weird hand, ugly"+ ],+ "color": "#322",+ "bgcolor": "#533"+ },+ {+ "id": 38,+ "type": "CLIPLoader",+ "pos": [+ 347.74371337890625,+ 2311.21337890625+ ],+ "size": [+ 315,+ 106+ ],+ "flags": {},+ "order": 0,+ "mode": 0,+ "inputs": [+ {+ "localized_name": "clip_name",+ "name": "clip_name",+ "type": "COMBO",+ "widget": {+ "name": "clip_name"+ },+ "link": null+ },+ {+ "localized_name": "type",+ "name": "type",+ "type": "COMBO",+ "widget": {+ "name": "type"+ },+ "link": null+ },+ {+ "localized_name": "device",+ "name": "device",+ "shape": 7,+ "type": "COMBO",+ "widget": {+ "name": "device"+ },+ "link": null+ }+ ],+ "outputs": [+ {+ "localized_name": "CLIP",+ "name": "CLIP",+ "type": "CLIP",+ "slot_index": 0,+ "links": [+ 74,+ 75+ ]+ }+ ],+ "properties": {+ "Node name for S&R": "CLIPLoader",+ "cnr_id": "comfy-core",+ "ver": "0.3.28"+ },+ "widgets_values": [+ "t5xxl_fp16.safetensors",+ "ltxv",+ "default"+ ]+ },+ {+ "id": 1828,+ "type": "LTXVLatentUpsamplerModelLoader",+ "pos": [+ 3338.0751953125,+ 2116.379638671875+ ],+ "size": [+ 344.3999938964844,+ 106+ ],+ "flags": {},+ "order": 1,+ "mode": 0,+ "inputs": [+ {+ "localized_name": "upscale_model",+ "name": "upscale_model",+ "type": "COMBO",+ "widget": {+ "name": "upscale_model"+ },+ "link": null+ },+ {+ "localized_name": "spatial_upsample",+ "name": "spatial_upsample",+ "type": "BOOLEAN",+ "widget": {+ "name": "spatial_upsample"+ },+ "link": null+ },+ {+ "localized_name": "temporal_upsample",+ "name": "temporal_upsample",+ "type": "BOOLEAN",+ "widget": {+ "name": "temporal_upsample"+ },+ "link": null+ }+ ],+ "outputs": [+ {+ "localized_name": "UPSCALE_MODEL",+ "name": "UPSCALE_MODEL",+ "type": "UPSCALE_MODEL",+ "links": [+ 5303+ ]+ }+ ],+ "properties": {+ "Node name for S&R": "LTXVLatentUpsamplerModelLoader"+ },+ "widgets_values": [+ "ltxv-spatial-upscaler-0.9.7.safetensors",+ true,+ false+ ]+ },+ {+ "id": 1796,+ "type": "LTXVTiledSampler",+ "pos": [+ 4184.95068359375,+ 2168.989501953125+ ],+ "size": [+ 346,+ 342+ ],+ "flags": {},+ "order": 35,+ "mode": 0,+ "inputs": [+ {+ "localized_name": "model",+ "name": "model",+ "type": "MODEL",+ "link": 5265+ },+ {+ "localized_name": "vae",+ "name": "vae",+ "type": "VAE",+ "link": 5288+ },+ {+ "localized_name": "noise",+ "name": "noise",+ "type": "NOISE",+ "link": 5126+ },+ {+ "localized_name": "sampler",+ "name": "sampler",+ "type": "SAMPLER",+ "link": 5260+ },+ {+ "localized_name": "sigmas",+ "name": "sigmas",+ "type": "SIGMAS",+ "link": 5353+ },+ {+ "localized_name": "guider",+ "name": "guider",+ "type": "GUIDER",+ "link": 5193+ },+ {+ "localized_name": "latents",+ "name": "latents",+ "type": "LATENT",+ "link": 5281+ },+ {+ "localized_name": "optional_cond_image",+ "name": "optional_cond_image",+ "shape": 7,+ "type": "IMAGE",+ "link": 5285+ },+ {+ "localized_name": "horizontal_tiles",+ "name": "horizontal_tiles",+ "type": "INT",+ "widget": {+ "name": "horizontal_tiles"+ },+ "link": null+ },+ {+ "localized_name": "vertical_tiles",+ "name": "vertical_tiles",+ "type": "INT",+ "widget": {+ "name": "vertical_tiles"+ },+ "link": null+ },+ {+ "localized_name": "overlap",+ "name": "overlap",+ "type": "INT",+ "widget": {+ "name": "overlap"+ },+ "link": null+ },+ {+ "localized_name": "first_frame_cond_strength",+ "name": "first_frame_cond_strength",+ "type": "FLOAT",+ "widget": {+ "name": "first_frame_cond_strength"+ },+ "link": null+ },+ {+ "localized_name": "latents_cond_strength",+ "name": "latents_cond_strength",+ "type": "FLOAT",+ "widget": {+ "name": "latents_cond_strength"+ },+ "link": null+ },+ {+ "localized_name": "boost_latent_similarity",+ "name": "boost_latent_similarity",+ "type": "BOOLEAN",+ "widget": {+ "name": "boost_latent_similarity"+ },+ "link": null+ },+ {+ "localized_name": "crop",+ "name": "crop",+ "type": "COMBO",+ "widget": {+ "name": "crop"+ },+ "link": null+ }+ ],+ "outputs": [+ {+ "localized_name": "output",+ "name": "output",+ "type": "LATENT",+ "links": [+ 5306+ ]+ },+ {+ "localized_name": "denoised_output",+ "name": "denoised_output",+ "type": "LATENT",+ "links": []+ }+ ],+ "properties": {+ "Node name for S&R": "LTXVTiledSampler"+ },+ "widgets_values": [+ 1,+ 1,+ 3,+ 0.9,+ 0.15,+ true,+ "center"+ ]+ },+ {+ "id": 1661,+ "type": "ImageResizeKJ",+ "pos": [+ 4825.6025390625,+ 2168.989501953125+ ],+ "size": [+ 315,+ 238+ ],+ "flags": {},+ "order": 37,+ "mode": 0,+ "inputs": [+ {+ "localized_name": "image",+ "name": "image",+ "type": "IMAGE",+ "link": 4749+ },+ {+ "localized_name": "width_input",+ "name": "width_input",+ "shape": 7,+ "type": "INT",+ "link": null+ },+ {+ "localized_name": "height_input",+ "name": "height_input",+ "shape": 7,+ "type": "INT",+ "link": null+ },+ {+ "localized_name": "get_image_size",+ "name": "get_image_size",+ "shape": 7,+ "type": "IMAGE",+ "link": null+ },+ {+ "localized_name": "width",+ "name": "width",+ "type": "INT",+ "widget": {+ "name": "width"+ },+ "link": null+ },+ {+ "localized_name": "height",+ "name": "height",+ "type": "INT",+ "widget": {+ "name": "height"+ },+ "link": null+ },+ {+ "localized_name": "upscale_method",+ "name": "upscale_method",+ "type": "COMBO",+ "widget": {+ "name": "upscale_method"+ },+ "link": null+ },+ {+ "localized_name": "keep_proportion",+ "name": "keep_proportion",+ "type": "BOOLEAN",+ "widget": {+ "name": "keep_proportion"+ },+ "link": null+ },+ {+ "localized_name": "divisible_by",+ "name": "divisible_by",+ "type": "INT",+ "widget": {+ "name": "divisible_by"+ },+ "link": null+ },+ {+ "localized_name": "crop",+ "name": "crop",+ "shape": 7,+ "type": "COMBO",+ "widget": {+ "name": "crop"+ },+ "link": null+ }+ ],+ "outputs": [+ {+ "localized_name": "IMAGE",+ "name": "IMAGE",+ "type": "IMAGE",+ "links": [+ 4751+ ]+ },+ {+ "localized_name": "width",+ "name": "width",+ "type": "INT",+ "links": null+ },+ {+ "localized_name": "height",+ "name": "height",+ "type": "INT",+ "links": null+ }+ ],+ "properties": {+ "Node name for S&R": "ImageResizeKJ"+ },+ "widgets_values": [+ 1280,+ 1280,+ "bicubic",+ true,+ 2,+ "center"+ ]+ },+ {+ "id": 44,+ "type": "CheckpointLoaderSimple",+ "pos": [+ 1084.624267578125,+ 2417.698486328125+ ],+ "size": [+ 334.6303405761719,+ 98+ ],+ "flags": {},+ "order": 2,+ "mode": 0,+ "inputs": [+ {+ "localized_name": "ckpt_name",+ "name": "ckpt_name",+ "type": "COMBO",+ "widget": {+ "name": "ckpt_name"+ },+ "link": null+ }+ ],+ "outputs": [+ {+ "localized_name": "MODEL",+ "name": "MODEL",+ "type": "MODEL",+ "slot_index": 0,+ "links": [+ 2951,+ 5236,+ 5239,+ 5240,+ 5265+ ]+ },+ {+ "localized_name": "CLIP",+ "name": "CLIP",+ "type": "CLIP",+ "links": []+ },+ {+ "localized_name": "VAE",+ "name": "VAE",+ "type": "VAE",+ "slot_index": 2,+ "links": [+ 5243,+ 5287,+ 5288,+ 5360+ ]+ }+ ],+ "properties": {+ "Node name for S&R": "CheckpointLoaderSimple",+ "cnr_id": "comfy-core",+ "ver": "0.3.28"+ },+ "widgets_values": [+ "ltxv-13b-0.9.7-dev.safetensors"+ ]+ },+ {+ "id": 1335,+ "type": "VAEDecode",+ "pos": [+ 2515.01953125,+ 2253.726318359375+ ],+ "size": [+ 210,+ 46+ ],+ "flags": {},+ "order": 31,+ "mode": 0,+ "inputs": [+ {+ "localized_name": "samples",+ "name": "samples",+ "type": "LATENT",+ "link": 3576+ },+ {+ "localized_name": "vae",+ "name": "vae",+ "type": "VAE",+ "link": 5361+ }+ ],+ "outputs": [+ {+ "localized_name": "IMAGE",+ "name": "IMAGE",+ "type": "IMAGE",+ "links": [+ 3578+ ]+ }+ ],+ "properties": {+ "Node name for S&R": "VAEDecode",+ "cnr_id": "comfy-core",+ "ver": "0.3.29"+ },+ "widgets_values": []+ },+ {+ "id": 1699,+ "type": "LTXVFilmGrain",+ "pos": [+ 5175.60205078125,+ 2168.989501953125+ ],+ "size": [+ 210,+ 82+ ],+ "flags": {},+ "order": 38,+ "mode": 0,+ "inputs": [+ {+ "localized_name": "images",+ "name": "images",+ "type": "IMAGE",+ "link": 4751+ },+ {+ "localized_name": "grain_intensity",+ "name": "grain_intensity",+ "type": "FLOAT",+ "widget": {+ "name": "grain_intensity"+ },+ "link": null+ },+ {+ "localized_name": "saturation",+ "name": "saturation",+ "type": "FLOAT",+ "widget": {+ "name": "saturation"+ },+ "link": null+ }+ ],+ "outputs": [+ {+ "localized_name": "IMAGE",+ "name": "IMAGE",+ "type": "IMAGE",+ "links": [+ 4752+ ]+ }+ ],+ "properties": {+ "Node name for S&R": "LTXVFilmGrain"+ },+ "widgets_values": [+ 0.010000000000000002,+ 0.5+ ]+ },+ {+ "id": 1336,+ "type": "VHS_VideoCombine",+ "pos": [+ 2789.545166015625,+ 2253.726318359375+ ],+ "size": [+ 471.0374755859375,+ 624.691650390625+ ],+ "flags": {},+ "order": 33,+ "mode": 0,+ "inputs": [+ {+ "localized_name": "images",+ "name": "images",+ "shape": 7,+ "type": "IMAGE",+ "link": 3578+ },+ {+ "localized_name": "audio",+ "name": "audio",+ "shape": 7,+ "type": "AUDIO",+ "link": null+ },+ {+ "localized_name": "meta_batch",+ "name": "meta_batch",+ "shape": 7,+ "type": "VHS_BatchManager",+ "link": null+ },+ {+ "localized_name": "vae",+ "name": "vae",+ "shape": 7,+ "type": "VAE",+ "link": null+ },+ {+ "localized_name": "frame_rate",+ "name": "frame_rate",+ "type": "FLOAT",+ "widget": {+ "name": "frame_rate"+ },+ "link": null+ },+ {+ "localized_name": "loop_count",+ "name": "loop_count",+ "type": "INT",+ "widget": {+ "name": "loop_count"+ },+ "link": null+ },+ {+ "localized_name": "filename_prefix",+ "name": "filename_prefix",+ "type": "STRING",+ "widget": {+ "name": "filename_prefix"+ },+ "link": null+ },+ {+ "localized_name": "format",+ "name": "format",+ "type": "COMBO",+ "widget": {+ "name": "format"+ },+ "link": null+ },+ {+ "localized_name": "pingpong",+ "name": "pingpong",+ "type": "BOOLEAN",+ "widget": {+ "name": "pingpong"+ },+ "link": null+ },+ {+ "localized_name": "save_output",+ "name": "save_output",+ "type": "BOOLEAN",+ "widget": {+ "name": "save_output"+ },+ "link": null+ }+ ],+ "outputs": [+ {+ "localized_name": "Filenames",+ "name": "Filenames",+ "type": "VHS_FILENAMES",+ "links": null+ }+ ],+ "properties": {+ "Node name for S&R": "VHS_VideoCombine"+ },+ "widgets_values": {+ "frame_rate": 24,+ "loop_count": 0,+ "filename_prefix": "ltxv-base",+ "format": "video/h264-mp4",+ "pix_fmt": "yuv420p",+ "crf": 19,+ "save_metadata": true,+ "pingpong": false,+ "save_output": false,+ "videopreview": {+ "hidden": false,+ "paused": false,+ "params": {+ "filename": "ltxv-base_00002.mp4",+ "subfolder": "",+ "type": "temp",+ "format": "video/h264-mp4",+ "frame_rate": 24+ }+ }+ }+ },+ {+ "id": 6,+ "type": "CLIPTextEncode",+ "pos": [+ 725.3102416992188,+ 2114.966064453125+ ],+ "size": [+ 307.2346496582031,+ 204.2556610107422+ ],+ "flags": {},+ "order": 20,+ "mode": 0,+ "inputs": [+ {+ "localized_name": "clip",+ "name": "clip",+ "type": "CLIP",+ "link": 74+ },+ {+ "localized_name": "text",+ "name": "text",+ "type": "STRING",+ "widget": {+ "name": "text"+ },+ "link": null+ }+ ],+ "outputs": [+ {+ "localized_name": "CONDITIONING",+ "name": "CONDITIONING",+ "type": "CONDITIONING",+ "slot_index": 0,+ "links": [+ 3364+ ]+ }+ ],+ "title": "CLIP Text Encode (Positive Prompt)",+ "properties": {+ "Node name for S&R": "CLIPTextEncode",+ "cnr_id": "comfy-core",+ "ver": "0.3.28"+ },+ "widgets_values": [+ ""+ ],+ "color": "#232",+ "bgcolor": "#353"+ },+ {+ "id": 1507,+ "type": "RandomNoise",+ "pos": [+ 1847.874755859375,+ 2114.199462890625+ ],+ "size": [+ 210,+ 82+ ],+ "flags": {},+ "order": 3,+ "mode": 0,+ "inputs": [+ {+ "localized_name": "noise_seed",+ "name": "noise_seed",+ "type": "INT",+ "widget": {+ "name": "noise_seed"+ },+ "link": null+ }+ ],+ "outputs": [+ {+ "localized_name": "NOISE",+ "name": "NOISE",+ "type": "NOISE",+ "slot_index": 0,+ "links": [+ 4053+ ]+ }+ ],+ "properties": {+ "Node name for S&R": "RandomNoise",+ "cnr_id": "comfy-core",+ "ver": "0.3.28"+ },+ "widgets_values": [+ 108,+ "fixed"+ ]+ },+ {+ "id": 1858,+ "type": "Note",+ "pos": [+ 1098.473388671875,+ 2107.7099609375+ ],+ "size": [+ 313.80950927734375,+ 120.61924743652344+ ],+ "flags": {},+ "order": 4,+ "mode": 0,+ "inputs": [],+ "outputs": [],+ "properties": {},+ "widgets_values": [+ "Framerate can be adjusted, just make sure you are using the same framerate in your VideoCombine node to see proper playback.\n\n60FPS = Lower quality, more motion\n24 FPS = Higher quality, less motion"+ ],+ "color": "#432",+ "bgcolor": "#653"+ },+ {+ "id": 1859,+ "type": "Note",+ "pos": [+ 2134.832763671875,+ 2111.12353515625+ ],+ "size": [+ 298.2620544433594,+ 88+ ],+ "flags": {},+ "order": 5,+ "mode": 0,+ "inputs": [],+ "outputs": [],+ "properties": {},+ "widgets_values": [+ "We generate at a base resolution of 768x512.\nThe video will be upscaled later to FHD."+ ],+ "color": "#432",+ "bgcolor": "#653"+ },+ {+ "id": 1823,+ "type": "Note",+ "pos": [+ 1779.07470703125,+ 2575.503662109375+ ],+ "size": [+ 276.017578125,+ 171.05442810058594+ ],+ "flags": {},+ "order": 6,+ "mode": 0,+ "inputs": [],+ "outputs": [],+ "properties": {},+ "widgets_values": [+ "The Advanced STG Guider dynamically controls the diffusion model's denoising process by mapping sigma values to specific configuration parameters (CFG scale, STG scale/rescale factors, and attention layer skipping patterns), enabling precise control at different denoising stages independently of step numbers while supporting additional techniques like CFG-Zero rescaling and threshold-based noise prediction zeroing."+ ],+ "color": "#432",+ "bgcolor": "#653"+ },+ {+ "id": 1807,+ "type": "STGGuiderAdvanced",+ "pos": [+ 1779.07470703125,+ 2253.726318359375+ ],+ "size": [+ 278.79998779296875,+ 262+ ],+ "flags": {},+ "order": 28,+ "mode": 0,+ "inputs": [+ {+ "localized_name": "model",+ "name": "model",+ "type": "MODEL",+ "link": 5239+ },+ {+ "localized_name": "positive",+ "name": "positive",+ "type": "CONDITIONING",+ "link": 5227+ },+ {+ "localized_name": "negative",+ "name": "negative",+ "type": "CONDITIONING",+ "link": 5228+ },+ {+ "localized_name": "preset",+ "name": "preset",+ "shape": 7,+ "type": "STG_ADVANCED_PRESET",+ "link": 5351+ },+ {+ "localized_name": "skip_steps_sigma_threshold",+ "name": "skip_steps_sigma_threshold",+ "type": "FLOAT",+ "widget": {+ "name": "skip_steps_sigma_threshold"+ },+ "link": null+ },+ {+ "localized_name": "cfg_star_rescale",+ "name": "cfg_star_rescale",+ "type": "BOOLEAN",+ "widget": {+ "name": "cfg_star_rescale"+ },+ "link": null+ },+ {+ "localized_name": "sigmas",+ "name": "sigmas",+ "type": "STRING",+ "widget": {+ "name": "sigmas"+ },+ "link": null+ },+ {+ "localized_name": "cfg_values",+ "name": "cfg_values",+ "type": "STRING",+ "widget": {+ "name": "cfg_values"+ },+ "link": null+ },+ {+ "localized_name": "stg_scale_values",+ "name": "stg_scale_values",+ "type": "STRING",+ "widget": {+ "name": "stg_scale_values"+ },+ "link": null+ },+ {+ "localized_name": "stg_rescale_values",+ "name": "stg_rescale_values",+ "type": "STRING",+ "widget": {+ "name": "stg_rescale_values"+ },+ "link": null+ },+ {+ "localized_name": "stg_layers_indices",+ "name": "stg_layers_indices",+ "type": "STRING",+ "widget": {+ "name": "stg_layers_indices"+ },+ "link": null+ }+ ],+ "outputs": [+ {+ "localized_name": "GUIDER",+ "name": "GUIDER",+ "type": "GUIDER",+ "links": [+ 5167+ ]+ }+ ],+ "properties": {+ "Node name for S&R": "STGGuiderAdvanced"+ },+ "widgets_values": [+ 0.9970000000000002,+ true,+ "1.0, 0.9933, 0.9850, 0.9767, 0.9008, 0.6180",+ "1,16,8,8,4,1",+ "0, 4, 4, 2, 1, 1",+ "1, 1, 1, 1, 1, 1",+ "[35], [35], [35], [42], [42], [42]"+ ]+ },+ {+ "id": 1861,+ "type": "Note",+ "pos": [+ 1510,+ 2368.19873046875+ ],+ "size": [+ 216.66220092773438,+ 88+ ],+ "flags": {},+ "order": 7,+ "mode": 0,+ "inputs": [],+ "outputs": [],+ "properties": {},+ "widgets_values": [+ "Presets override the values inside 🅛🅣🅧 STG Guider Advanced node."+ ],+ "color": "#432",+ "bgcolor": "#653"+ },+ {+ "id": 1103,+ "type": "BasicScheduler",+ "pos": [+ 1510,+ 2718.19873046875+ ],+ "size": [+ 245.24002075195312,+ 106+ ],+ "flags": {},+ "order": 22,+ "mode": 0,+ "inputs": [+ {+ "localized_name": "model",+ "name": "model",+ "type": "MODEL",+ "link": 2951+ },+ {+ "localized_name": "scheduler",+ "name": "scheduler",+ "type": "COMBO",+ "widget": {+ "name": "scheduler"+ },+ "link": null+ },+ {+ "localized_name": "steps",+ "name": "steps",+ "type": "INT",+ "widget": {+ "name": "steps"+ },+ "link": null+ },+ {+ "localized_name": "denoise",+ "name": "denoise",+ "type": "FLOAT",+ "widget": {+ "name": "denoise"+ },+ "link": null+ }+ ],+ "outputs": [+ {+ "localized_name": "SIGMAS",+ "name": "SIGMAS",+ "type": "SIGMAS",+ "links": [+ 5225,+ 5258+ ]+ }+ ],+ "properties": {+ "Node name for S&R": "BasicScheduler",+ "cnr_id": "comfy-core",+ "ver": "0.3.29"+ },+ "widgets_values": [+ "linear_quadratic",+ 30,+ 1+ ]+ },+ {+ "id": 73,+ "type": "KSamplerSelect",+ "pos": [+ 1510,+ 2608.19873046875+ ],+ "size": [+ 251.94110107421875,+ 58+ ],+ "flags": {},+ "order": 8,+ "mode": 0,+ "inputs": [+ {+ "localized_name": "sampler_name",+ "name": "sampler_name",+ "type": "COMBO",+ "widget": {+ "name": "sampler_name"+ },+ "link": null+ }+ ],+ "outputs": [+ {+ "localized_name": "SAMPLER",+ "name": "SAMPLER",+ "type": "SAMPLER",+ "links": [+ 5224,+ 5260+ ]+ }+ ],+ "properties": {+ "Node name for S&R": "KSamplerSelect",+ "cnr_id": "comfy-core",+ "ver": "0.3.28"+ },+ "widgets_values": [+ "gradient_estimation"+ ]+ },+ {+ "id": 1809,+ "type": "STGAdvancedPresets",+ "pos": [+ 1510,+ 2258.19873046875+ ],+ "size": [+ 226.8000030517578,+ 58+ ],+ "flags": {},+ "order": 9,+ "mode": 0,+ "inputs": [+ {+ "localized_name": "preset",+ "name": "preset",+ "type": "COMBO",+ "widget": {+ "name": "preset"+ },+ "link": null+ }+ ],+ "outputs": [+ {+ "localized_name": "STG_ADVANCED_PRESET",+ "name": "STG_ADVANCED_PRESET",+ "type": "STG_ADVANCED_PRESET",+ "links": [+ 5351+ ]+ }+ ],+ "properties": {+ "Node name for S&R": "STGAdvancedPresets"+ },+ "widgets_values": [+ "13b Dynamic"+ ]+ },+ {+ "id": 1825,+ "type": "Note",+ "pos": [+ 452.24432373046875,+ 2122.3583984375+ ],+ "size": [+ 232.79998779296875,+ 88+ ],+ "flags": {},+ "order": 10,+ "mode": 0,+ "inputs": [],+ "outputs": [],+ "properties": {},+ "widgets_values": [+ "Best use descriptive prompt, but you can even leave it empty in i2v case."+ ],+ "color": "#432",+ "bgcolor": "#653"+ },+ {+ "id": 1691,+ "type": "LTXVLatentUpsampler",+ "pos": [+ 3447.275146484375,+ 2285.2890625+ ],+ "size": [+ 235.1999969482422,+ 66+ ],+ "flags": {},+ "order": 32,+ "mode": 0,+ "inputs": [+ {+ "localized_name": "samples",+ "name": "samples",+ "type": "LATENT",+ "link": 5295+ },+ {+ "localized_name": "upscale_model",+ "name": "upscale_model",+ "type": "UPSCALE_MODEL",+ "link": 5303+ },+ {+ "localized_name": "vae",+ "name": "vae",+ "type": "VAE",+ "link": 5287+ }+ ],+ "outputs": [+ {+ "localized_name": "LATENT",+ "name": "LATENT",+ "type": "LATENT",+ "links": [+ 5297+ ]+ }+ ],+ "properties": {+ "Node name for S&R": "LTXVLatentUpsampler"+ },+ "widgets_values": []+ },+ {+ "id": 1593,+ "type": "LTXVAdainLatent",+ "pos": [+ 3472.47509765625,+ 2415.978271484375+ ],+ "size": [+ 210,+ 78+ ],+ "flags": {},+ "order": 34,+ "mode": 0,+ "inputs": [+ {+ "localized_name": "latents",+ "name": "latents",+ "type": "LATENT",+ "link": 5297+ },+ {+ "localized_name": "reference",+ "name": "reference",+ "type": "LATENT",+ "link": 5302+ },+ {+ "localized_name": "factor",+ "name": "factor",+ "type": "FLOAT",+ "widget": {+ "name": "factor"+ },+ "link": null+ }+ ],+ "outputs": [+ {+ "localized_name": "LATENT",+ "name": "LATENT",+ "type": "LATENT",+ "links": [+ 5281+ ]+ }+ ],+ "properties": {+ "Node name for S&R": "LTXVAdainLatent"+ },+ "widgets_values": [+ 0.25+ ]+ },+ {+ "id": 1863,+ "type": "Note",+ "pos": [+ 3360.09912109375,+ 2549.0048828125+ ],+ "size": [+ 322.3760986328125,+ 88+ ],+ "flags": {},+ "order": 11,+ "mode": 0,+ "inputs": [],+ "outputs": [],+ "properties": {},+ "widgets_values": [+ "Depending on the latent upscaler model used, it can increase either spatial or temporal resolution, without moving to/from pixel space. "+ ],+ "color": "#432",+ "bgcolor": "#653"+ },+ {+ "id": 1598,+ "type": "RandomNoise",+ "pos": [+ 3834.480224609375,+ 2120.607666015625+ ],+ "size": [+ 210,+ 82+ ],+ "flags": {},+ "order": 12,+ "mode": 0,+ "inputs": [+ {+ "localized_name": "noise_seed",+ "name": "noise_seed",+ "type": "INT",+ "widget": {+ "name": "noise_seed"+ },+ "link": null+ }+ ],+ "outputs": [+ {+ "localized_name": "NOISE",+ "name": "NOISE",+ "type": "NOISE",+ "links": [+ 5126+ ]+ }+ ],+ "properties": {+ "Node name for S&R": "RandomNoise",+ "cnr_id": "comfy-core",+ "ver": "0.3.30"+ },+ "widgets_values": [+ 191,+ "fixed"+ ]+ },+ {+ "id": 1596,+ "type": "SplitSigmas",+ "pos": [+ 4184.95068359375,+ 2566.927001953125+ ],+ "size": [+ 271.1412048339844,+ 78+ ],+ "flags": {},+ "order": 26,+ "mode": 0,+ "inputs": [+ {+ "localized_name": "sigmas",+ "name": "sigmas",+ "type": "SIGMAS",+ "link": 5258+ },+ {+ "localized_name": "step",+ "name": "step",+ "type": "INT",+ "widget": {+ "name": "step"+ },+ "link": null+ }+ ],+ "outputs": [+ {+ "localized_name": "high_sigmas",+ "name": "high_sigmas",+ "type": "SIGMAS",+ "links": null+ },+ {+ "localized_name": "low_sigmas",+ "name": "low_sigmas",+ "type": "SIGMAS",+ "links": [+ 5353+ ]+ }+ ],+ "properties": {+ "Node name for S&R": "SplitSigmas",+ "cnr_id": "comfy-core",+ "ver": "0.3.30"+ },+ "widgets_values": [+ 18+ ]+ },+ {+ "id": 1862,+ "type": "Note",+ "pos": [+ 4184.95068359375,+ 2704.816650390625+ ],+ "size": [+ 335.1761474609375,+ 148.08804321289062+ ],+ "flags": {},+ "order": 13,+ "mode": 0,+ "inputs": [],+ "outputs": [],+ "properties": {},+ "widgets_values": [+ "If you are not constrained in VRAM, run 1x1 tile starting from step 18 \nIf you are constrained in your available VRAM, run 2x2 tiles and use somewhat lower noies levels, starting from step 23.\n\n"+ ],+ "color": "#432",+ "bgcolor": "#653"+ },+ {+ "id": 1599,+ "type": "VHS_VideoCombine",+ "pos": [+ 5415.6015625,+ 2168.989501953125+ ],+ "size": [+ 610.8043212890625,+ 719.1004028320312+ ],+ "flags": {},+ "order": 39,+ "mode": 0,+ "inputs": [+ {+ "localized_name": "images",+ "name": "images",+ "shape": 7,+ "type": "IMAGE",+ "link": 4752+ },+ {+ "localized_name": "audio",+ "name": "audio",+ "shape": 7,+ "type": "AUDIO",+ "link": null+ },+ {+ "localized_name": "meta_batch",+ "name": "meta_batch",+ "shape": 7,+ "type": "VHS_BatchManager",+ "link": null+ },+ {+ "localized_name": "vae",+ "name": "vae",+ "shape": 7,+ "type": "VAE",+ "link": null+ },+ {+ "localized_name": "frame_rate",+ "name": "frame_rate",+ "type": "FLOAT",+ "widget": {+ "name": "frame_rate"+ },+ "link": null+ },+ {+ "localized_name": "loop_count",+ "name": "loop_count",+ "type": "INT",+ "widget": {+ "name": "loop_count"+ },+ "link": null+ },+ {+ "localized_name": "filename_prefix",+ "name": "filename_prefix",+ "type": "STRING",+ "widget": {+ "name": "filename_prefix"+ },+ "link": null+ },+ {+ "localized_name": "format",+ "name": "format",+ "type": "COMBO",+ "widget": {+ "name": "format"+ },+ "link": null+ },+ {+ "localized_name": "pingpong",+ "name": "pingpong",+ "type": "BOOLEAN",+ "widget": {+ "name": "pingpong"+ },+ "link": null+ },+ {+ "localized_name": "save_output",+ "name": "save_output",+ "type": "BOOLEAN",+ "widget": {+ "name": "save_output"+ },+ "link": null+ }+ ],+ "outputs": [+ {+ "localized_name": "Filenames",+ "name": "Filenames",+ "type": "VHS_FILENAMES",+ "links": null+ }+ ],+ "properties": {+ "Node name for S&R": "VHS_VideoCombine",+ "cnr_id": "comfyui-videohelpersuite",+ "ver": "2c25b8b53835aaeb63f831b3137c705cf9f85dce"+ },+ "widgets_values": {+ "frame_rate": 24,+ "loop_count": 0,+ "filename_prefix": "ltxv-hd",+ "format": "video/h264-mp4",+ "pix_fmt": "yuv420p",+ "crf": 18,+ "save_metadata": false,+ "pingpong": false,+ "save_output": false,+ "videopreview": {+ "hidden": false,+ "paused": true,+ "params": {+ "filename": "ltxv-hd_00002.mp4",+ "subfolder": "",+ "type": "temp",+ "format": "video/h264-mp4",+ "frame_rate": 24,+ "workflow": "ltxv_00055.png",+ "fullpath": "C:\\Users\\Zeev\\Projects\\ComfyUI\\temp\\ltxv_00055.mp4"+ },+ "muted": true+ }+ }+ },+ {+ "id": 1813,+ "type": "STGGuiderAdvanced",+ "pos": [+ 3768.236572265625,+ 2261.949462890625+ ],+ "size": [+ 278.79998779296875,+ 262+ ],+ "flags": {},+ "order": 29,+ "mode": 0,+ "inputs": [+ {+ "localized_name": "model",+ "name": "model",+ "type": "MODEL",+ "link": 5240+ },+ {+ "localized_name": "positive",+ "name": "positive",+ "type": "CONDITIONING",+ "link": 5274+ },+ {+ "localized_name": "negative",+ "name": "negative",+ "type": "CONDITIONING",+ "link": 5275+ },+ {+ "localized_name": "preset",+ "name": "preset",+ "shape": 7,+ "type": "STG_ADVANCED_PRESET",+ "link": 5354+ },+ {+ "localized_name": "skip_steps_sigma_threshold",+ "name": "skip_steps_sigma_threshold",+ "type": "FLOAT",+ "widget": {+ "name": "skip_steps_sigma_threshold"+ },+ "link": null+ },+ {+ "localized_name": "cfg_star_rescale",+ "name": "cfg_star_rescale",+ "type": "BOOLEAN",+ "widget": {+ "name": "cfg_star_rescale"+ },+ "link": null+ },+ {+ "localized_name": "sigmas",+ "name": "sigmas",+ "type": "STRING",+ "widget": {+ "name": "sigmas"+ },+ "link": null+ },+ {+ "localized_name": "cfg_values",+ "name": "cfg_values",+ "type": "STRING",+ "widget": {+ "name": "cfg_values"+ },+ "link": null+ },+ {+ "localized_name": "stg_scale_values",+ "name": "stg_scale_values",+ "type": "STRING",+ "widget": {+ "name": "stg_scale_values"+ },+ "link": null+ },+ {+ "localized_name": "stg_rescale_values",+ "name": "stg_rescale_values",+ "type": "STRING",+ "widget": {+ "name": "stg_rescale_values"+ },+ "link": null+ },+ {+ "localized_name": "stg_layers_indices",+ "name": "stg_layers_indices",+ "type": "STRING",+ "widget": {+ "name": "stg_layers_indices"+ },+ "link": null+ }+ ],+ "outputs": [+ {+ "localized_name": "GUIDER",+ "name": "GUIDER",+ "type": "GUIDER",+ "links": [+ 5193+ ]+ }+ ],+ "properties": {+ "Node name for S&R": "STGGuiderAdvanced"+ },+ "widgets_values": [+ 0.9970000000000002,+ true,+ "1",+ "1",+ "1",+ "1",+ "[42]"+ ]+ },+ {+ "id": 1206,+ "type": "LoadImage",+ "pos": [+ 347.743896484375,+ 2700.919677734375+ ],+ "size": [+ 342.5999755859375,+ 314+ ],+ "flags": {},+ "order": 14,+ "mode": 0,+ "inputs": [+ {+ "localized_name": "image",+ "name": "image",+ "type": "COMBO",+ "widget": {+ "name": "image"+ },+ "link": null+ },+ {+ "localized_name": "choose file to upload",+ "name": "upload",+ "type": "IMAGEUPLOAD",+ "widget": {+ "name": "upload"+ },+ "link": null+ }+ ],+ "outputs": [+ {+ "localized_name": "IMAGE",+ "name": "IMAGE",+ "type": "IMAGE",+ "links": [+ 5285,+ 5355+ ]+ },+ {+ "localized_name": "MASK",+ "name": "MASK",+ "type": "MASK",+ "links": null+ }+ ],+ "properties": {+ "Node name for S&R": "LoadImage",+ "cnr_id": "comfy-core",+ "ver": "0.3.30"+ },+ "widgets_values": [+ "2A.png",+ "image"+ ]+ },+ {+ "id": 1865,+ "type": "LoadImage",+ "pos": [+ 707.743896484375,+ 2700.919677734375+ ],+ "size": [+ 342.5999755859375,+ 314+ ],+ "flags": {},+ "order": 15,+ "mode": 0,+ "inputs": [+ {+ "localized_name": "image",+ "name": "image",+ "type": "COMBO",+ "widget": {+ "name": "image"+ },+ "link": null+ },+ {+ "localized_name": "choose file to upload",+ "name": "upload",+ "type": "IMAGEUPLOAD",+ "widget": {+ "name": "upload"+ },+ "link": null+ }+ ],+ "outputs": [+ {+ "localized_name": "IMAGE",+ "name": "IMAGE",+ "type": "IMAGE",+ "links": [+ 5356+ ]+ },+ {+ "localized_name": "MASK",+ "name": "MASK",+ "type": "MASK",+ "links": null+ }+ ],+ "properties": {+ "Node name for S&R": "LoadImage",+ "cnr_id": "comfy-core",+ "ver": "0.3.30"+ },+ "widgets_values": [+ "2B.png",+ "image"+ ]+ },+ {+ "id": 1866,+ "type": "LoadImage",+ "pos": [+ 1067.74365234375,+ 2700.919677734375+ ],+ "size": [+ 342.5999755859375,+ 314+ ],+ "flags": {},+ "order": 16,+ "mode": 0,+ "inputs": [+ {+ "localized_name": "image",+ "name": "image",+ "type": "COMBO",+ "widget": {+ "name": "image"+ },+ "link": null+ },+ {+ "localized_name": "choose file to upload",+ "name": "upload",+ "type": "IMAGEUPLOAD",+ "widget": {+ "name": "upload"+ },+ "link": null+ }+ ],+ "outputs": [+ {+ "localized_name": "IMAGE",+ "name": "IMAGE",+ "type": "IMAGE",+ "links": [+ 5358+ ]+ },+ {+ "localized_name": "MASK",+ "name": "MASK",+ "type": "MASK",+ "links": null+ }+ ],+ "properties": {+ "Node name for S&R": "LoadImage",+ "cnr_id": "comfy-core",+ "ver": "0.3.30"+ },+ "widgets_values": [+ "2C (1).png",+ "image"+ ]+ },+ {+ "id": 1867,+ "type": "ImageBatch",+ "pos": [+ 1197.74365234375,+ 3080.919677734375+ ],+ "size": [+ 210,+ 46+ ],+ "flags": {},+ "order": 24,+ "mode": 0,+ "inputs": [+ {+ "localized_name": "image1",+ "name": "image1",+ "type": "IMAGE",+ "link": 5355+ },+ {+ "localized_name": "image2",+ "name": "image2",+ "type": "IMAGE",+ "link": 5356+ }+ ],+ "outputs": [+ {+ "localized_name": "IMAGE",+ "name": "IMAGE",+ "type": "IMAGE",+ "links": [+ 5357+ ]+ }+ ],+ "properties": {+ "Node name for S&R": "ImageBatch",+ "cnr_id": "comfy-core",+ "ver": "0.3.30"+ },+ "widgets_values": []+ },+ {+ "id": 1868,+ "type": "ImageBatch",+ "pos": [+ 1197.74365234375,+ 3180.919677734375+ ],+ "size": [+ 210,+ 46+ ],+ "flags": {},+ "order": 27,+ "mode": 0,+ "inputs": [+ {+ "localized_name": "image1",+ "name": "image1",+ "type": "IMAGE",+ "link": 5357+ },+ {+ "localized_name": "image2",+ "name": "image2",+ "type": "IMAGE",+ "link": 5358+ }+ ],+ "outputs": [+ {+ "localized_name": "IMAGE",+ "name": "IMAGE",+ "type": "IMAGE",+ "links": [+ 5359+ ]+ }+ ],+ "properties": {+ "Node name for S&R": "ImageBatch",+ "cnr_id": "comfy-core",+ "ver": "0.3.30"+ },+ "widgets_values": []+ },+ {+ "id": 1860,+ "type": "Note",+ "pos": [+ 2134.832763671875,+ 2658.40869140625+ ],+ "size": [+ 300,+ 130+ ],+ "flags": {},+ "order": 17,+ "mode": 0,+ "inputs": [],+ "outputs": [],+ "properties": {},+ "widgets_values": [+ "crop decides if the conditioning image(s) is center-cropped or resized by stretching \n\ncrf and blur are preprocessing parameters for conditioning image(s) to make them look more like video frames, which helps with the dynamicity of the generated video"+ ],+ "color": "#432",+ "bgcolor": "#653"+ },+ {+ "id": 1338,+ "type": "LTXVBaseSampler",+ "pos": [+ 2134.832763671875,+ 2253.726318359375+ ],+ "size": [+ 312.3999938964844,+ 346+ ],+ "flags": {},+ "order": 30,+ "mode": 0,+ "inputs": [+ {+ "localized_name": "model",+ "name": "model",+ "type": "MODEL",+ "link": 5236+ },+ {+ "localized_name": "vae",+ "name": "vae",+ "type": "VAE",+ "link": 5243+ },+ {+ "localized_name": "guider",+ "name": "guider",+ "type": "GUIDER",+ "link": 5167+ },+ {+ "localized_name": "sampler",+ "name": "sampler",+ "type": "SAMPLER",+ "link": 5224+ },+ {+ "localized_name": "sigmas",+ "name": "sigmas",+ "type": "SIGMAS",+ "link": 5225+ },+ {+ "localized_name": "noise",+ "name": "noise",+ "type": "NOISE",+ "link": 4053+ },+ {+ "localized_name": "optional_cond_images",+ "name": "optional_cond_images",+ "shape": 7,+ "type": "IMAGE",+ "link": 5359+ },+ {+ "localized_name": "width",+ "name": "width",+ "type": "INT",+ "widget": {+ "name": "width"+ },+ "link": null+ },+ {+ "localized_name": "height",+ "name": "height",+ "type": "INT",+ "widget": {+ "name": "height"+ },+ "link": null+ },+ {+ "localized_name": "num_frames",+ "name": "num_frames",+ "type": "INT",+ "widget": {+ "name": "num_frames"+ },+ "link": null+ },+ {+ "localized_name": "optional_cond_indices",+ "name": "optional_cond_indices",+ "shape": 7,+ "type": "STRING",+ "widget": {+ "name": "optional_cond_indices"+ },+ "link": null+ },+ {+ "localized_name": "strength",+ "name": "strength",+ "shape": 7,+ "type": "FLOAT",+ "widget": {+ "name": "strength"+ },+ "link": null+ },+ {+ "localized_name": "crop",+ "name": "crop",+ "shape": 7,+ "type": "COMBO",+ "widget": {+ "name": "crop"+ },+ "link": null+ },+ {+ "localized_name": "crf",+ "name": "crf",+ "shape": 7,+ "type": "INT",+ "widget": {+ "name": "crf"+ },+ "link": null+ },+ {+ "localized_name": "blur",+ "name": "blur",+ "shape": 7,+ "type": "INT",+ "widget": {+ "name": "blur"+ },+ "link": null+ }+ ],+ "outputs": [+ {+ "localized_name": "denoised_output",+ "name": "denoised_output",+ "type": "LATENT",+ "links": [+ 3576,+ 5295,+ 5302+ ]+ }+ ],+ "properties": {+ "Node name for S&R": "LTXVBaseSampler"+ },+ "widgets_values": [+ 768,+ 512,+ 97,+ "0, 40, 90",+ 0.8,+ "center",+ 30,+ 0+ ]+ },+ {+ "id": 1869,+ "type": "Note",+ "pos": [+ 727.5205688476562,+ 3077.712890625+ ],+ "size": [+ 300,+ 130+ ],+ "flags": {},+ "order": 18,+ "mode": 0,+ "inputs": [],+ "outputs": [],+ "properties": {},+ "widgets_values": [+ "This flow shows keyframe interpolation, where keyframes are positioned in indices 0, 40 and 90 in 🅛🅣🅧 LTXV Base Sampler."+ ],+ "color": "#432",+ "bgcolor": "#653"+ },+ {+ "id": 1864,+ "type": "STGAdvancedPresets",+ "pos": [+ 3780.39501953125,+ 2595.4013671875+ ],+ "size": [+ 264.6961364746094,+ 58+ ],+ "flags": {},+ "order": 19,+ "mode": 0,+ "inputs": [+ {+ "localized_name": "preset",+ "name": "preset",+ "type": "COMBO",+ "widget": {+ "name": "preset"+ },+ "link": null+ }+ ],+ "outputs": [+ {+ "localized_name": "STG_ADVANCED_PRESET",+ "name": "STG_ADVANCED_PRESET",+ "type": "STG_ADVANCED_PRESET",+ "links": [+ 5354+ ]+ }+ ],+ "properties": {+ "Node name for S&R": "STGAdvancedPresets"+ },+ "widgets_values": [+ "13b Upscale"+ ]+ },+ {+ "id": 1870,+ "type": "Set VAE Decoder Noise",+ "pos": [+ 2494.045654296875,+ 2376.8134765625+ ],+ "size": [+ 257.5447082519531,+ 130+ ],+ "flags": {},+ "order": 23,+ "mode": 0,+ "inputs": [+ {+ "localized_name": "vae",+ "name": "vae",+ "type": "VAE",+ "link": 5360+ },+ {+ "localized_name": "timestep",+ "name": "timestep",+ "type": "FLOAT",+ "widget": {+ "name": "timestep"+ },+ "link": null+ },+ {+ "localized_name": "scale",+ "name": "scale",+ "type": "FLOAT",+ "widget": {+ "name": "scale"+ },+ "link": null+ },+ {+ "localized_name": "seed",+ "name": "seed",+ "type": "INT",+ "widget": {+ "name": "seed"+ },+ "link": null+ }+ ],+ "outputs": [+ {+ "localized_name": "VAE",+ "name": "VAE",+ "type": "VAE",+ "links": [+ 5361,+ 5362+ ]+ }+ ],+ "properties": {+ "Node name for S&R": "Set VAE Decoder Noise"+ },+ "widgets_values": [+ 0.05,+ 0.025,+ 42,+ "randomize"+ ]+ }+ ],+ "links": [+ [+ 74,+ 38,+ 0,+ 6,+ 0,+ "CLIP"+ ],+ [+ 75,+ 38,+ 0,+ 7,+ 0,+ "CLIP"+ ],+ [+ 2951,+ 44,+ 0,+ 1103,+ 0,+ "MODEL"+ ],+ [+ 3364,+ 6,+ 0,+ 1241,+ 0,+ "CONDITIONING"+ ],+ [+ 3365,+ 7,+ 0,+ 1241,+ 1,+ "CONDITIONING"+ ],+ [+ 3576,+ 1338,+ 0,+ 1335,+ 0,+ "LATENT"+ ],+ [+ 3578,+ 1335,+ 0,+ 1336,+ 0,+ "IMAGE"+ ],+ [+ 4053,+ 1507,+ 0,+ 1338,+ 5,+ "NOISE"+ ],+ [+ 4749,+ 1601,+ 0,+ 1661,+ 0,+ "IMAGE"+ ],+ [+ 4751,+ 1661,+ 0,+ 1699,+ 0,+ "IMAGE"+ ],+ [+ 4752,+ 1699,+ 0,+ 1599,+ 0,+ "IMAGE"+ ],+ [+ 5126,+ 1598,+ 0,+ 1796,+ 2,+ "NOISE"+ ],+ [+ 5167,+ 1807,+ 0,+ 1338,+ 2,+ "GUIDER"+ ],+ [+ 5193,+ 1813,+ 0,+ 1796,+ 5,+ "GUIDER"+ ],+ [+ 5224,+ 73,+ 0,+ 1338,+ 3,+ "SAMPLER"+ ],+ [+ 5225,+ 1103,+ 0,+ 1338,+ 4,+ "SIGMAS"+ ],+ [+ 5227,+ 1241,+ 0,+ 1807,+ 1,+ "CONDITIONING"+ ],+ [+ 5228,+ 1241,+ 1,+ 1807,+ 2,+ "CONDITIONING"+ ],+ [+ 5236,+ 44,+ 0,+ 1338,+ 0,+ "MODEL"+ ],+ [+ 5239,+ 44,+ 0,+ 1807,+ 0,+ "MODEL"+ ],+ [+ 5240,+ 44,+ 0,+ 1813,+ 0,+ "MODEL"+ ],+ [+ 5243,+ 44,+ 2,+ 1338,+ 1,+ "VAE"+ ],+ [+ 5258,+ 1103,+ 0,+ 1596,+ 0,+ "SIGMAS"+ ],+ [+ 5260,+ 73,+ 0,+ 1796,+ 3,+ "SAMPLER"+ ],+ [+ 5265,+ 44,+ 0,+ 1796,+ 0,+ "MODEL"+ ],+ [+ 5274,+ 1241,+ 0,+ 1813,+ 1,+ "CONDITIONING"+ ],+ [+ 5275,+ 1241,+ 1,+ 1813,+ 2,+ "CONDITIONING"+ ],+ [+ 5281,+ 1593,+ 0,+ 1796,+ 6,+ "LATENT"+ ],+ [+ 5285,+ 1206,+ 0,+ 1796,+ 7,+ "IMAGE"+ ],+ [+ 5287,+ 44,+ 2,+ 1691,+ 2,+ "VAE"+ ],+ [+ 5288,+ 44,+ 2,+ 1796,+ 1,+ "VAE"+ ],+ [+ 5295,+ 1338,+ 0,+ 1691,+ 0,+ "LATENT"+ ],+ [+ 5297,+ 1691,+ 0,+ 1593,+ 0,+ "LATENT"+ ],+ [+ 5302,+ 1338,+ 0,+ 1593,+ 1,+ "LATENT"+ ],+ [+ 5303,+ 1828,+ 0,+ 1691,+ 1,+ "UPSCALE_MODEL"+ ],+ [+ 5306,+ 1796,+ 0,+ 1601,+ 0,+ "LATENT"+ ],+ [+ 5351,+ 1809,+ 0,+ 1807,+ 3,+ "STG_ADVANCED_PRESET"+ ],+ [+ 5353,+ 1596,+ 1,+ 1796,+ 4,+ "SIGMAS"+ ],+ [+ 5354,+ 1864,+ 0,+ 1813,+ 3,+ "STG_ADVANCED_PRESET"+ ],+ [+ 5355,+ 1206,+ 0,+ 1867,+ 0,+ "IMAGE"+ ],+ [+ 5356,+ 1865,+ 0,+ 1867,+ 1,+ "IMAGE"+ ],+ [+ 5357,+ 1867,+ 0,+ 1868,+ 0,+ "IMAGE"+ ],+ [+ 5358,+ 1866,+ 0,+ 1868,+ 1,+ "IMAGE"+ ],+ [+ 5359,+ 1868,+ 0,+ 1338,+ 6,+ "IMAGE"+ ],+ [+ 5360,+ 44,+ 2,+ 1870,+ 0,+ "VAE"+ ],+ [+ 5361,+ 1870,+ 0,+ 1335,+ 1,+ "VAE"+ ],+ [+ 5362,+ 1870,+ 0,+ 1601,+ 1,+ "VAE"+ ]+ ],+ "groups": [+ {+ "id": 20,+ "title": "Base Low Res Generation ",+ "bounding": [+ 1500,+ 2037.5235595703125,+ 1770.58251953125,+ 850.8944091796875+ ],+ "color": "#3f789e",+ "font_size": 24,+ "flags": {},+ "nodes": [+ 1335,+ 1336,+ 1507,+ 1859,+ 1823,+ 1807,+ 1861,+ 1103,+ 73,+ 1809,+ 1860,+ 1338,+ 1870+ ]+ },+ {+ "id": 34,+ "title": "Latent Upscaler",+ "bounding": [+ 3328.0751953125,+ 2042.7794189453125,+ 364.39990234375,+ 604.2252197265625+ ],+ "color": "#3f789e",+ "font_size": 24,+ "flags": {},+ "nodes": [+ 1828,+ 1691,+ 1593,+ 1863+ ]+ },+ {+ "id": 41,+ "title": "Setup",+ "bounding": [+ 337.74371337890625,+ 2034.1099853515625,+ 1091.51123046875,+ 1202.8096923828125+ ],+ "color": "#3f789e",+ "font_size": 24,+ "flags": {},+ "nodes": [+ 1241,+ 7,+ 38,+ 44,+ 6,+ 1858,+ 1825,+ 1206,+ 1865,+ 1866,+ 1867,+ 1868,+ 1869+ ]+ },+ {+ "id": 42,+ "title": "Add Details",+ "bounding": [+ 3758.236572265625,+ 2047.007568359375,+ 2278.168701171875,+ 851.0821533203125+ ],+ "color": "#3f789e",+ "font_size": 24,+ "flags": {},+ "nodes": [+ 1601,+ 1796,+ 1661,+ 1699,+ 1598,+ 1596,+ 1862,+ 1599,+ 1813,+ 1864+ ]+ }+ ],+ "config": {},+ "extra": {+ "ds": {+ "scale": 0.612867902509447,+ "offset": [+ -979.4767957914036,+ -2044.4785750434414+ ]+ },+ "frontendVersion": "1.17.11",+ "VHS_latentpreview": true,+ "VHS_latentpreviewrate": 0,+ "VHS_MetadataImage": true,+ "VHS_KeepIntermediate": true,+ "prompt": {+ "6": {+ "inputs": {+ "text": "",+ "clip": [+ "38",+ 0+ ]+ },+ "class_type": "CLIPTextEncode",+ "_meta": {+ "title": "CLIP Text Encode (Positive Prompt)"+ }+ },+ "7": {+ "inputs": {+ "text": "low quality, worst quality, deformed, distorted, disfigured, motion smear, motion artifacts, fused fingers, bad anatomy, weird hand, ugly",+ "clip": [+ "38",+ 0+ ]+ },+ "class_type": "CLIPTextEncode",+ "_meta": {+ "title": "CLIP Text Encode (Negative Prompt)"+ }+ },+ "38": {+ "inputs": {+ "clip_name": "t5xxl_fp16.safetensors",+ "type": "ltxv",+ "device": "default"+ },+ "class_type": "CLIPLoader",+ "_meta": {+ "title": "Load CLIP"+ }+ },+ "44": {+ "inputs": {+ "ckpt_name": "ltxv-13b-0.9.7-dev.safetensors"+ },+ "class_type": "CheckpointLoaderSimple",+ "_meta": {+ "title": "Load Checkpoint"+ }+ },+ "73": {+ "inputs": {+ "sampler_name": "gradient_estimation"+ },+ "class_type": "KSamplerSelect",+ "_meta": {+ "title": "KSamplerSelect"+ }+ },+ "1103": {+ "inputs": {+ "scheduler": "linear_quadratic",+ "steps": 30,+ "denoise": 1,+ "model": [+ "44",+ 0+ ]+ },+ "class_type": "BasicScheduler",+ "_meta": {+ "title": "BasicScheduler"+ }+ },+ "1206": {+ "inputs": {+ "image": "2A.png"+ },+ "class_type": "LoadImage",+ "_meta": {+ "title": "Load Image"+ }+ },+ "1241": {+ "inputs": {+ "frame_rate": 24.000000000000004,+ "positive": [+ "6",+ 0+ ],+ "negative": [+ "7",+ 0+ ]+ },+ "class_type": "LTXVConditioning",+ "_meta": {+ "title": "LTXVConditioning"+ }+ },+ "1335": {+ "inputs": {+ "samples": [+ "1338",+ 0+ ],+ "vae": [+ "1870",+ 0+ ]+ },+ "class_type": "VAEDecode",+ "_meta": {+ "title": "VAE Decode"+ }+ },+ "1336": {+ "inputs": {+ "frame_rate": 24,+ "loop_count": 0,+ "filename_prefix": "ltxv-base",+ "format": "video/h264-mp4",+ "pix_fmt": "yuv420p",+ "crf": 19,+ "save_metadata": true,+ "pingpong": false,+ "save_output": false,+ "images": [+ "1335",+ 0+ ]+ },+ "class_type": "VHS_VideoCombine",+ "_meta": {+ "title": "Video Combine 🎥🅥🅗🅢"+ }+ },+ "1338": {+ "inputs": {+ "width": 768,+ "height": 512,+ "num_frames": 97,+ "optional_cond_indices": "0, 40, 90",+ "strength": 0.8,+ "crop": "center",+ "crf": 30,+ "blur": 0,+ "model": [+ "44",+ 0+ ],+ "vae": [+ "44",+ 2+ ],+ "guider": [+ "1807",+ 0+ ],+ "sampler": [+ "73",+ 0+ ],+ "sigmas": [+ "1103",+ 0+ ],+ "noise": [+ "1507",+ 0+ ],+ "optional_cond_images": [+ "1868",+ 0+ ]+ },+ "class_type": "LTXVBaseSampler",+ "_meta": {+ "title": "🅛🅣🅧 LTXV Base Sampler"+ }+ },+ "1507": {+ "inputs": {+ "noise_seed": 108+ },+ "class_type": "RandomNoise",+ "_meta": {+ "title": "RandomNoise"+ }+ },+ "1593": {+ "inputs": {+ "factor": 0.25,+ "latents": [+ "1691",+ 0+ ],+ "reference": [+ "1338",+ 0+ ]+ },+ "class_type": "LTXVAdainLatent",+ "_meta": {+ "title": "🅛🅣🅧 LTXV Adain Latent"+ }+ },+ "1596": {+ "inputs": {+ "step": 18,+ "sigmas": [+ "1103",+ 0+ ]+ },+ "class_type": "SplitSigmas",+ "_meta": {+ "title": "SplitSigmas"+ }+ },+ "1598": {+ "inputs": {+ "noise_seed": 191+ },+ "class_type": "RandomNoise",+ "_meta": {+ "title": "RandomNoise"+ }+ },+ "1599": {+ "inputs": {+ "frame_rate": 24,+ "loop_count": 0,+ "filename_prefix": "ltxv-hd",+ "format": "video/h264-mp4",+ "pix_fmt": "yuv420p",+ "crf": 18,+ "save_metadata": false,+ "pingpong": false,+ "save_output": false,+ "images": [+ "1699",+ 0+ ]+ },+ "class_type": "VHS_VideoCombine",+ "_meta": {+ "title": "Video Combine 🎥🅥🅗🅢"+ }+ },+ "1601": {+ "inputs": {+ "tile_size": 1280,+ "overlap": 128,+ "temporal_size": 256,+ "temporal_overlap": 32,+ "samples": [+ "1796",+ 0+ ],+ "vae": [+ "1870",+ 0+ ]+ },+ "class_type": "VAEDecodeTiled",+ "_meta": {+ "title": "VAE Decode (Tiled)"+ }+ },+ "1661": {+ "inputs": {+ "width": 1280,+ "height": 1280,+ "upscale_method": "bicubic",+ "keep_proportion": true,+ "divisible_by": 2,+ "crop": "center",+ "image": [+ "1601",+ 0+ ]+ },+ "class_type": "ImageResizeKJ",+ "_meta": {+ "title": "Resize Image"+ }+ },+ "1691": {+ "inputs": {+ "samples": [+ "1338",+ 0+ ],+ "upscale_model": [+ "1828",+ 0+ ],+ "vae": [+ "44",+ 2+ ]+ },+ "class_type": "LTXVLatentUpsampler",+ "_meta": {+ "title": "🅛🅣🅧 LTXV Latent Upsampler"+ }+ },+ "1699": {+ "inputs": {+ "grain_intensity": 0.010000000000000002,+ "saturation": 0.5,+ "images": [+ "1661",+ 0+ ]+ },+ "class_type": "LTXVFilmGrain",+ "_meta": {+ "title": "🅛🅣🅧 LTXV Film Grain"+ }+ },+ "1796": {+ "inputs": {+ "horizontal_tiles": 1,+ "vertical_tiles": 1,+ "overlap": 3,+ "first_frame_cond_strength": 0.9,+ "latents_cond_strength": 0.15,+ "boost_latent_similarity": true,+ "crop": "center",+ "model": [+ "44",+ 0+ ],+ "vae": [+ "44",+ 2+ ],+ "noise": [+ "1598",+ 0+ ],+ "sampler": [+ "73",+ 0+ ],+ "sigmas": [+ "1596",+ 1+ ],+ "guider": [+ "1813",+ 0+ ],+ "latents": [+ "1593",+ 0+ ],+ "optional_cond_image": [+ "1206",+ 0+ ]+ },+ "class_type": "LTXVTiledSampler",+ "_meta": {+ "title": "🅛🅣🅧 LTXV Tiled Sampler"+ }+ },+ "1807": {+ "inputs": {+ "skip_steps_sigma_threshold": 0.9970000000000002,+ "cfg_star_rescale": true,+ "sigmas": "1.0, 0.9933, 0.9850, 0.9767, 0.9008, 0.6180",+ "cfg_values": "1,16,8,8,4,1",+ "stg_scale_values": "0, 4, 4, 2, 1, 1",+ "stg_rescale_values": "1, 1, 1, 1, 1, 1",+ "stg_layers_indices": "[35], [35], [35], [42], [42], [42]",+ "model": [+ "44",+ 0+ ],+ "positive": [+ "1241",+ 0+ ],+ "negative": [+ "1241",+ 1+ ],+ "preset": [+ "1809",+ 0+ ]+ },+ "class_type": "STGGuiderAdvanced",+ "_meta": {+ "title": "🅛🅣🅧 STG Guider Advanced"+ }+ },+ "1809": {+ "inputs": {+ "preset": "13b Dynamic"+ },+ "class_type": "STGAdvancedPresets",+ "_meta": {+ "title": "🅛🅣🅧 STG Advanced Presets"+ }+ },+ "1813": {+ "inputs": {+ "skip_steps_sigma_threshold": 0.9970000000000002,+ "cfg_star_rescale": true,+ "sigmas": "1",+ "cfg_values": "1",+ "stg_scale_values": "1",+ "stg_rescale_values": "1",+ "stg_layers_indices": "[42]",+ "model": [+ "44",+ 0+ ],+ "positive": [+ "1241",+ 0+ ],+ "negative": [+ "1241",+ 1+ ],+ "preset": [+ "1864",+ 0+ ]+ },+ "class_type": "STGGuiderAdvanced",+ "_meta": {+ "title": "🅛🅣🅧 STG Guider Advanced"+ }+ },+ "1828": {+ "inputs": {+ "upscale_model": "ltxv-spatial-upscaler-0.9.7.safetensors",+ "spatial_upsample": true,+ "temporal_upsample": false+ },+ "class_type": "LTXVLatentUpsamplerModelLoader",+ "_meta": {+ "title": "🅛🅣🅧 LTXV Latent Upsampler Model Loader"+ }+ },+ "1864": {+ "inputs": {+ "preset": "13b Upscale"+ },+ "class_type": "STGAdvancedPresets",+ "_meta": {+ "title": "🅛🅣🅧 STG Advanced Presets"+ }+ },+ "1865": {+ "inputs": {+ "image": "2B.png"+ },+ "class_type": "LoadImage",+ "_meta": {+ "title": "Load Image"+ }+ },+ "1866": {+ "inputs": {+ "image": "2C (1).png"+ },+ "class_type": "LoadImage",+ "_meta": {+ "title": "Load Image"+ }+ },+ "1867": {+ "inputs": {+ "image1": [+ "1206",+ 0+ ],+ "image2": [+ "1865",+ 0+ ]+ },+ "class_type": "ImageBatch",+ "_meta": {+ "title": "Batch Images"+ }+ },+ "1868": {+ "inputs": {+ "image1": [+ "1867",+ 0+ ],+ "image2": [+ "1866",+ 0+ ]+ },+ "class_type": "ImageBatch",+ "_meta": {+ "title": "Batch Images"+ }+ },+ "1870": {+ "inputs": {+ "timestep": 0.05,+ "scale": 0.025,+ "seed": 42,+ "vae": [+ "44",+ 2+ ]+ },+ "class_type": "Set VAE Decoder Noise",+ "_meta": {+ "title": "🅛🅣🅧 Set VAE Decoder Noise"+ }+ }+ },+ "comfy_fork_version": "develop@311c9b81",+ "workspace_info": {+ "id": "elBQFQknIoLYTEwIloQuw"+ },+ "node_versions": {+ "comfy-core": "0.3.30",+ "comfyui-kjnodes": "1.0.8"+ }+ },+ "version": 0.4+}diff --git a/tricks/assets/ltxvideo-flow-edit.json b/example_workflows/tricks/ltxvideo-flow-edit.jsonsimilarity index 100%rename from tricks/assets/ltxvideo-flow-edit.jsonrename to example_workflows/tricks/ltxvideo-flow-edit.jsondiff --git a/tricks/assets/ltxvideo-flow-edit.png b/example_workflows/tricks/ltxvideo-flow-edit.pngsimilarity index 100%rename from tricks/assets/ltxvideo-flow-edit.pngrename to example_workflows/tricks/ltxvideo-flow-edit.pngdiff --git a/tricks/assets/ltxvideo-rf-edit.json b/example_workflows/tricks/ltxvideo-rf-edit.jsonsimilarity index 100%rename from tricks/assets/ltxvideo-rf-edit.jsonrename to example_workflows/tricks/ltxvideo-rf-edit.jsondiff --git a/tricks/assets/ltxvideo-rf-edit.png b/example_workflows/tricks/ltxvideo-rf-edit.pngsimilarity index 100%rename from tricks/assets/ltxvideo-rf-edit.pngrename to example_workflows/tricks/ltxvideo-rf-edit.pngdiff --git a/tricks/assets/ref.png b/example_workflows/tricks/ref.pngsimilarity index 100%rename from tricks/assets/ref.pngrename to example_workflows/tricks/ref.pngdiff --git a/tricks/assets/shot.mp4 b/example_workflows/tricks/shot.mp4similarity index 100%rename from tricks/assets/shot.mp4rename to example_workflows/tricks/shot.mp4diff --git a/tricks/assets/shot2.mp4 b/example_workflows/tricks/shot2.mp4similarity index 100%rename from tricks/assets/shot2.mp4rename to example_workflows/tricks/shot2.mp4diff --git a/tricks/assets/shrek2.jpg b/example_workflows/tricks/shrek2.jpgsimilarity index 100%rename from tricks/assets/shrek2.jpgrename to example_workflows/tricks/shrek2.jpgdiff --git a/tricks/assets/shrek3.jpg b/example_workflows/tricks/shrek3.jpgsimilarity index 100%rename from tricks/assets/shrek3.jpgrename to example_workflows/tricks/shrek3.jpgdiff --git a/film_grain.py b/film_grain.pynew file mode 100644index 0000000..67d6dd9--- /dev/null+++ b/film_grain.py@@ -0,0 +1,56 @@+from typing import Tuple++import comfy+import torch++from .nodes_registry import comfy_node+++@comfy_node(+ name="LTXVFilmGrain",+)+class LTXVFilmGrain:+ @classmethod+ def INPUT_TYPES(s):+ return {+ "required": {+ "images": ("IMAGE",),+ "grain_intensity": (+ "FLOAT",+ {"default": 0.1, "min": 0.0, "max": 1.0, "step": 0.01},+ ),+ "saturation": (+ "FLOAT",+ {"default": 0.5, "min": 0.0, "max": 1.0, "step": 0.01},+ ),+ },+ "optional": {},+ }++ RETURN_TYPES = ("IMAGE",)+ FUNCTION = "add_film_grain"+ CATEGORY = "effects"+ DESCRIPTION = "Adds film grain to the image."++ def add_film_grain(+ self, images: torch.Tensor, grain_intensity: float, saturation: float+ ) -> Tuple[torch.Tensor]:+ if grain_intensity < 0 or grain_intensity > 1:+ raise ValueError("Grain intensity must be between 0 and 1.")++ device = comfy.model_management.get_torch_device()+ images = images.to(device)++ grain = torch.randn_like(images, device=device)+ grain[:, :, :, 0] *= 2+ grain[:, :, :, 2] *= 3+ grain = grain * saturation + grain[:, :, :, 1].unsqueeze(3).repeat(+ 1, 1, 1, 3+ ) * (1 - saturation)++ # Blend the grain with the image+ noised_images = images + grain_intensity * grain+ noised_images.clamp_(0, 1)+ noised_images = noised_images.to(comfy.model_management.intermediate_device())++ return (noised_images,)diff --git a/guide.py b/guide.pynew file mode 100644index 0000000..d696976--- /dev/null+++ b/guide.py@@ -0,0 +1,250 @@+import comfy+import comfy_extras.nodes_lt as nodes_lt+import comfy_extras.nodes_post_processing as post_processing+import nodes++from .nodes_registry import comfy_node+++def blur_internal(image, blur_radius):+ if blur_radius > 0:+ # https://docs.opencv.org/2.4/modules/imgproc/doc/filtering.html#getgaussiankernel+ # sigma = 0.3 * blur_radius + 0.5 is what is recommended in the OpenCV doc for the+ # relationshoip between sigma and kernel size 2*blur_radius + 1, hwoever we want somewhat weaker+ # blurring, so we use 0.3 * blur_radius instead, reducing the sigma value by 0.5+ sigma = 0.3 * blur_radius+ image = post_processing.Blur().blur(image, blur_radius, sigma)[0]+ return image+++@comfy_node(name="LTXVAddGuideAdvanced")+class LTXVAddGuideAdvanced:+ @classmethod+ def INPUT_TYPES(s):+ return {+ "required": {+ "positive": ("CONDITIONING",),+ "negative": ("CONDITIONING",),+ "vae": ("VAE",),+ "latent": ("LATENT",),+ "image": ("IMAGE",),+ "frame_idx": (+ "INT",+ {+ "default": 0,+ "min": -9999,+ "max": 9999,+ "tooltip": "Frame index to start the conditioning at. For single-frame images or "+ "videos with 1-8 frames, any frame_idx value is acceptable. For videos with 9+ "+ "frames, frame_idx must be divisible by 8, otherwise it will be rounded down to "+ "the nearest multiple of 8. Negative values are counted from the end of the video.",+ },+ ),+ "strength": (+ "FLOAT",+ {+ "default": 1.0,+ "min": 0.0,+ "max": 1.0,+ "tooltip": "Strength of the conditioning. Higher values will make the conditioning more exact.",+ },+ ),+ "crf": (+ "INT",+ {+ "default": 29,+ "min": 0,+ "max": 51,+ "step": 1,+ "tooltip": "CRF value for the video. Higher values mean more motion, lower values mean higher quality.",+ },+ ),+ "blur_radius": (+ "INT",+ {+ "default": 0,+ "min": 0,+ "max": 7,+ "step": 1,+ "tooltip": "Blur kernel radius size. Higher values mean more motion, lower values mean higher quality.",+ },+ ),+ "interpolation": (+ [+ "lanczos",+ "bislerp",+ "nearest",+ "bilinear",+ "bicubic",+ "area",+ "nearest-exact",+ ],+ {"default": "lanczos"},+ ),+ "crop": (["center", "disabled"], {"default": "disabled"}),+ }+ }++ RETURN_TYPES = ("CONDITIONING", "CONDITIONING", "LATENT")+ RETURN_NAMES = ("positive", "negative", "latent")++ CATEGORY = "conditioning/video_models"+ FUNCTION = "generate"++ DESCRIPTION = (+ "Adds a conditioning frame or a video at a specific frame index. "+ "This node is used to add a keyframe or a video segment which should appear in the "+ "generated video at a specified index. It resizes the image to the correct size and "+ "applies preprocessing to it."+ )++ def generate(+ self,+ positive,+ negative,+ vae,+ latent,+ image,+ frame_idx,+ strength,+ crf,+ blur_radius,+ interpolation,+ crop,+ ):+ _, width_scale_factor, height_scale_factor = vae.downscale_index_formula+ width, height = (+ latent["samples"].shape[4] * width_scale_factor,+ latent["samples"].shape[3] * height_scale_factor,+ )+ image = comfy.utils.common_upscale(+ image.movedim(-1, 1), width, height, interpolation, crop=crop+ ).movedim(1, -1)+ image = nodes_lt.LTXVPreprocess().preprocess(image, crf)[0]+ image = blur_internal(image, blur_radius)+ return nodes_lt.LTXVAddGuide().generate(+ positive=positive,+ negative=negative,+ vae=vae,+ latent=latent,+ image=image,+ frame_idx=frame_idx,+ strength=strength,+ )+++@comfy_node(name="LTXVImgToVideoAdvanced")+class LTXVImgToVideoAdvanced:+ @classmethod+ def INPUT_TYPES(s):+ return {+ "required": {+ "positive": ("CONDITIONING",),+ "negative": ("CONDITIONING",),+ "vae": ("VAE",),+ "image": ("IMAGE",),+ "width": (+ "INT",+ {+ "default": 768,+ "min": 64,+ "max": nodes.MAX_RESOLUTION,+ "step": 32,+ },+ ),+ "height": (+ "INT",+ {+ "default": 512,+ "min": 64,+ "max": nodes.MAX_RESOLUTION,+ "step": 32,+ },+ ),+ "length": (+ "INT",+ {"default": 97, "min": 9, "max": nodes.MAX_RESOLUTION, "step": 8},+ ),+ "batch_size": ("INT", {"default": 1, "min": 1, "max": 4096}),+ "crf": (+ "INT",+ {+ "default": 29,+ "min": 0,+ "max": 51,+ "step": 1,+ "tooltip": "CRF value for the video. Higher values mean more motion, lower values mean higher quality.",+ },+ ),+ "blur_radius": (+ "INT",+ {+ "default": 0,+ "min": 0,+ "max": 7,+ "step": 1,+ "tooltip": "Blur kernel radius size. Higher values mean more motion, lower values mean higher quality.",+ },+ ),+ "interpolation": (+ [+ "lanczos",+ "bislerp",+ "nearest",+ "bilinear",+ "bicubic",+ "area",+ "nearest-exact",+ ],+ {"default": "lanczos"},+ ),+ "crop": (["center", "disabled"], {"default": "disabled"}),+ "strength": ("FLOAT", {"default": 0.9, "min": 0, "max": 1}),+ }+ }++ RETURN_TYPES = ("CONDITIONING", "CONDITIONING", "LATENT")+ RETURN_NAMES = ("positive", "negative", "latent")++ CATEGORY = "conditioning/video_models"+ FUNCTION = "generate"++ DESCRIPTION = (+ "Adds a conditioning frame or a video at index 0. "+ "This node is used to add a keyframe or a video segment which should appear in the "+ "generated video at index 0. It resizes the image to the correct size "+ "and applies preprocessing to it."+ )++ def generate(+ self,+ positive,+ negative,+ vae,+ image,+ width,+ height,+ length,+ batch_size,+ crf,+ blur_radius,+ interpolation,+ crop,+ strength,+ ):+ image = comfy.utils.common_upscale(+ image.movedim(-1, 1), width, height, interpolation, crop=crop+ ).movedim(1, -1)+ image = nodes_lt.LTXVPreprocess().preprocess(image, crf)[0]+ image = blur_internal(image, blur_radius)+ return nodes_lt.LTXVImgToVideo().generate(+ positive=positive,+ negative=negative,+ vae=vae,+ image=image,+ width=width,+ height=height,+ length=length,+ batch_size=batch_size,+ strength=strength,+ )diff --git a/latent_adain.py b/latent_adain.pynew file mode 100644index 0000000..f240a21--- /dev/null+++ b/latent_adain.py@@ -0,0 +1,51 @@+import copy++import torch++from .nodes_registry import comfy_node+++@comfy_node(name="LTXVAdainLatent")+class LTXVAdainLatent:+ def __init__(self):+ pass++ @classmethod+ def INPUT_TYPES(s):+ return {+ "required": {+ "latents": ("LATENT",),+ "reference": ("LATENT",),+ "factor": (+ "FLOAT",+ {+ "default": 1.0,+ "min": -10.0,+ "max": 10.0,+ "step": 0.01,+ "round": 0.01,+ },+ ),+ },+ }++ RETURN_TYPES = ("LATENT",)+ FUNCTION = "batch_normalize"++ CATEGORY = "Lightricks/latents"++ def batch_normalize(self, latents, reference, factor):+ latents_copy = copy.deepcopy(latents)+ t = latents_copy["samples"] # B x C x F x H x W++ for i in range(t.size(0)): # batch+ for c in range(t.size(1)): # channel+ r_sd, r_mean = torch.std_mean(+ reference["samples"][i, c], dim=None+ ) # index by original dim order+ i_sd, i_mean = torch.std_mean(t[i, c], dim=None)++ t[i, c] = ((t[i, c] - i_mean) / i_sd) * r_sd + r_mean++ latents_copy["samples"] = torch.lerp(latents["samples"], t, factor)+ return (latents_copy,)diff --git a/latent_upsampler.py b/latent_upsampler.pynew file mode 100644index 0000000..a22b671--- /dev/null+++ b/latent_upsampler.py@@ -0,0 +1,337 @@+from typing import Optional++import folder_paths+import torch+import torch.nn as nn+from comfy import model_management+from diffusers import ConfigMixin, ModelMixin+from einops import rearrange++from .nodes_registry import comfy_node+++class PixelShuffle3D(nn.Module):+ def __init__(self, upscale_factor: int = 2):+ super().__init__()+ self.r = upscale_factor++ def forward(self, x):+ b, c, f, h, w = x.shape+ r = self.r+ out_c = c // (r**3)+ x = x.view(b, out_c, r, r, r, f, h, w)+ x = x.permute(0, 1, 5, 2, 6, 3, 7, 4) # (b, out_c, f, r, h, r, w, r)+ x = x.reshape(b, out_c, f * r, h * r, w * r)+ return x+++class PixelShuffle2D(nn.Module):+ def __init__(self, upscale_factor: int = 2):+ super().__init__()+ self.r = upscale_factor++ def forward(self, x):+ b, c, h, w = x.size()+ r = self.r+ out_c = c // (r * r)+ x = x.view(b, out_c, r, r, h, w)+ x = x.permute(0, 1, 4, 2, 5, 3) # (b, out_c, h, r, w, r)+ x = x.reshape(b, out_c, h * r, w * r)+ return x+++class PixelShuffle1D(nn.Module):+ def __init__(self, upscale_factor: int = 2):+ super().__init__()+ self.r = upscale_factor++ def forward(self, x):+ b, c, f, h, w = x.shape+ r = self.r+ out_c = c // r+ x = x.view(b, out_c, r, f, h, w) # [B, C//r, r, F, H, W]+ x = x.permute(0, 1, 3, 2, 4, 5) # [B, C//r, F, r, H, W]+ x = x.reshape(b, out_c, f * r, h, w)+ return x+++class ResBlock(nn.Module):+ def __init__(+ self, channels: int, mid_channels: Optional[int] = None, dims: int = 3+ ):+ super().__init__()+ if mid_channels is None:+ mid_channels = channels++ Conv = nn.Conv2d if dims == 2 else nn.Conv3d++ self.conv1 = Conv(channels, mid_channels, kernel_size=3, padding=1)+ self.norm1 = nn.GroupNorm(32, mid_channels)+ self.conv2 = Conv(mid_channels, channels, kernel_size=3, padding=1)+ self.norm2 = nn.GroupNorm(32, channels)+ self.activation = nn.SiLU()++ def forward(self, x: torch.Tensor) -> torch.Tensor:+ residual = x+ x = self.conv1(x)+ x = self.norm1(x)+ x = self.activation(x)+ x = self.conv2(x)+ x = self.norm2(x)+ x = self.activation(x + residual)+ return x+++class LatentUpsampler(ModelMixin, ConfigMixin):+ """+ Model to spatially upsample VAE latents.++ Args:+ in_channels (`int`): Number of channels in the input latent+ mid_channels (`int`): Number of channels in the middle layers+ num_blocks_per_stage (`int`): Number of ResBlocks to use in each stage (pre/post upsampling)+ dims (`int`): Number of dimensions for convolutions (2 or 3)+ spatial_upsample (`bool`): Whether to spatially upsample the latent+ temporal_upsample (`bool`): Whether to temporally upsample the latent+ """++ def __init__(+ self,+ in_channels: int = 128,+ mid_channels: int = 512,+ num_blocks_per_stage: int = 4,+ dims: int = 3,+ spatial_upsample: bool = True,+ temporal_upsample: bool = False,+ ):+ super().__init__()++ self.in_channels = in_channels+ self.mid_channels = mid_channels+ self.num_blocks_per_stage = num_blocks_per_stage+ self.dims = dims+ self.spatial_upsample = spatial_upsample+ self.temporal_upsample = temporal_upsample++ Conv = nn.Conv2d if dims == 2 else nn.Conv3d++ self.initial_conv = Conv(in_channels, mid_channels, kernel_size=3, padding=1)+ self.initial_norm = nn.GroupNorm(32, mid_channels)+ self.initial_activation = nn.SiLU()++ self.res_blocks = nn.ModuleList(+ [ResBlock(mid_channels, dims=dims) for _ in range(num_blocks_per_stage)]+ )++ if spatial_upsample and temporal_upsample:+ self.upsampler = nn.Sequential(+ nn.Conv3d(mid_channels, 8 * mid_channels, kernel_size=3, padding=1),+ PixelShuffle3D(2),+ )+ elif spatial_upsample:+ self.upsampler = nn.Sequential(+ nn.Conv2d(mid_channels, 4 * mid_channels, kernel_size=3, padding=1),+ PixelShuffle2D(2),+ )+ elif temporal_upsample:+ self.upsampler = nn.Sequential(+ nn.Conv3d(mid_channels, 2 * mid_channels, kernel_size=3, padding=1),+ PixelShuffle1D(2),+ )+ else:+ raise ValueError(+ "Either spatial_upsample or temporal_upsample must be True"+ )++ self.post_upsample_res_blocks = nn.ModuleList(+ [ResBlock(mid_channels, dims=dims) for _ in range(num_blocks_per_stage)]+ )++ self.final_conv = Conv(mid_channels, in_channels, kernel_size=3, padding=1)++ def forward(self, latent: torch.Tensor) -> torch.Tensor:+ b, c, f, h, w = latent.shape++ if self.dims == 2:+ x = rearrange(latent, "b c f h w -> (b f) c h w")+ x = self.initial_conv(x)+ x = self.initial_norm(x)+ x = self.initial_activation(x)++ for block in self.res_blocks:+ x = block(x)++ x = self.upsampler(x)++ for block in self.post_upsample_res_blocks:+ x = block(x)++ x = self.final_conv(x)+ x = rearrange(x, "(b f) c h w -> b c f h w", b=b, f=f)+ else:+ x = self.initial_conv(latent)+ x = self.initial_norm(x)+ x = self.initial_activation(x)++ for block in self.res_blocks:+ x = block(x)++ if self.temporal_upsample:+ x = self.upsampler(x)+ x = x[:, :, 1:, :, :]+ else:+ x = rearrange(x, "b c f h w -> (b f) c h w")+ x = self.upsampler(x)+ x = rearrange(x, "(b f) c h w -> b c f h w", b=b, f=f)++ for block in self.post_upsample_res_blocks:+ x = block(x)++ x = self.final_conv(x)++ return x++ @classmethod+ def from_config(cls, config):+ return cls(+ in_channels=config.get("in_channels", 4),+ mid_channels=config.get("mid_channels", 128),+ num_blocks_per_stage=config.get("num_blocks_per_stage", 4),+ dims=config.get("dims", 2),+ spatial_upsample=config.get("spatial_upsample", True),+ temporal_upsample=config.get("temporal_upsample", False),+ )++ def config(self):+ return {+ "_class_name": "LatentUpsampler",+ "in_channels": self.in_channels,+ "mid_channels": self.mid_channels,+ "num_blocks_per_stage": self.num_blocks_per_stage,+ "dims": self.dims,+ "spatial_upsample": self.spatial_upsample,+ "temporal_upsample": self.temporal_upsample,+ }++ def load_weights(self, weights_path: str) -> None:+ """+ Load model weights from a .safetensors file and switch to evaluation mode.++ Args:+ weights_path (str): Path to the .safetensors file containing the model weights++ Raises:+ RuntimeError: If there are missing or unexpected keys in the state dict+ """+ import safetensors.torch++ sd = safetensors.torch.load_file(weights_path)+ self.load_state_dict(sd, strict=False, assign=True)+ # Switch to evaluation mode+ self.eval()+++@comfy_node(name="LTXVLatentUpsampler")+class LTXVLatentUpsampler:+ """+ Upsamples a video latent by a factor of 2.+ """++ @classmethod+ def INPUT_TYPES(s):+ return {+ "required": {+ "samples": ("LATENT",),+ "upscale_model": ("UPSCALE_MODEL",),+ "vae": ("VAE",),+ }+ }++ RETURN_TYPES = ("LATENT",)+ FUNCTION = "upsample_latent"+ CATEGORY = "latent/video"++ def upsample_latent(+ self, samples: dict, upscale_model: LatentUpsampler, vae+ ) -> tuple:+ """+ Upsample the input latent using the provided model.++ Args:+ samples (dict): Input latent samples+ upscale_model (LatentUpsampler): Loaded upscale model++ Returns:+ tuple: Tuple containing the upsampled latent+ """+ latents = samples["samples"]++ # Ensure latents are on the same device as the model+ if latents.device != upscale_model.device:+ latents = latents.to(upscale_model.device)+ latents = vae.first_stage_model.per_channel_statistics.un_normalize(latents)+ upsampled_latents = upscale_model(latents)+ upsampled_latents = vae.first_stage_model.per_channel_statistics.normalize(+ upsampled_latents+ )+ upsampled_latents = upsampled_latents.to(model_management.intermediate_device())+ return_dict = samples.copy()+ return_dict["samples"] = upsampled_latents+ return (return_dict,)+++@comfy_node(name="LTXVLatentUpsamplerModelLoader")+class LTXVLatentUpsamplerModelLoader:+ """+ Loads a latent upsampler model from a .safetensors file.+ """++ @classmethod+ def INPUT_TYPES(s):+ return {+ "required": {+ "upscale_model": (folder_paths.get_filename_list("upscale_models"),),+ "spatial_upsample": ("BOOLEAN", {"default": True}),+ "temporal_upsample": ("BOOLEAN", {"default": False}),+ }+ }++ RETURN_TYPES = ("UPSCALE_MODEL",)+ FUNCTION = "load_model"+ CATEGORY = "latent/video"++ def load_model(+ self, upscale_model: str, spatial_upsample: bool, temporal_upsample: bool+ ) -> tuple:+ """+ Load the upscale model from the specified file.++ Args:+ upscale_model (str): Name of the upscale model file++ Returns:+ tuple: Tuple containing the loaded model+ """+ upscale_model_path = folder_paths.get_full_path("upscale_models", upscale_model)+ if upscale_model_path is None:+ raise ValueError(f"Upscale model {upscale_model} not found")++ try:+ latent_upsampler = LatentUpsampler(+ num_blocks_per_stage=4,+ dims=3,+ spatial_upsample=spatial_upsample,+ temporal_upsample=temporal_upsample,+ )+ latent_upsampler.load_weights(upscale_model_path)+ except Exception as e:+ raise ValueError(+ f"Failed to initialize LatentUpsampler with this configuration: {str(e)}"+ )++ latent_upsampler.eval()+ # Move model to appropriate device+ device = model_management.get_torch_device()+ latent_upsampler.to(device)++ return (latent_upsampler,)diff --git a/latents.py b/latents.pyindex 5323c20..274634f 100644--- a/latents.py+++ b/latents.py@@ -37,6 +37,10 @@ class LTXVSelectLatents:RETURN_TYPES = ("LATENT",)FUNCTION = "select_latents"CATEGORY = "latent/video"+ DESCRIPTION = (+ "Selects a range of frames from the video latent. "+ "start_index and end_index define a closed interval (inclusive of both endpoints)."+ )def select_latents(self, samples: dict, start_index: int, end_index: int) -> tuple:"""@@ -106,6 +110,10 @@ class LTXVAddLatents:RETURN_TYPES = ("LATENT",)FUNCTION = "add_latents"CATEGORY = "latent/video"+ DESCRIPTION = (+ "Concatenates two video latents along the frames dimension. "+ "latents1 and latents2 must have the same dimensions except for the frames dimension."+ )def add_latents(self, latents1: torch.Tensor, latents2: torch.Tensor@@ -205,6 +213,11 @@ class LTXVSetVideoLatentNoiseMasks:RETURN_TYPES = ("LATENT",)FUNCTION = "set_mask"CATEGORY = "latent/video"+ DESCRIPTION = (+ "Applies multiple masks to a video latent. "+ "masks can be 2D, 3D, or 4D tensors. "+ "If there are fewer masks than frames, the last mask will be reused."+ )def set_mask(self, samples: dict, masks: torch.Tensor) -> tuple:"""@@ -320,6 +333,8 @@ class LTXVAddLatentGuide(nodes_lt.LTXVAddGuide):CATEGORY = "ltxtricks"FUNCTION = "generate"+ DESCRIPTION = "Adds a keyframe or a video segment at a specific frame index."+def generate(self, vae, positive, negative, latent, guiding_latent, latent_idx, strength):diff --git a/presets/stg_advanced_presets.json b/presets/stg_advanced_presets.jsonnew file mode 100644index 0000000..66d19d5--- /dev/null+++ b/presets/stg_advanced_presets.json@@ -0,0 +1,65 @@+[+ {+ "name": "Custom"+ },+ {+ "name": "2b",+ "skip_steps_sigma_threshold": 0.997,+ "cfg_star_rescale": true,+ "sigmas": [1.0, 0.9933, 0.9850, 0.9767, 0.9008, 0.6180],+ "cfg_values": [4, 4, 4, 4, 1, 1],+ "stg_scale_values": [2, 2, 2, 2, 1, 0],+ "stg_rescale_values": [1, 1, 1, 1, 1, 1],+ "stg_layers_indices": [[14], [14], [14], [14], [14], [14]]+ },+ {+ "name": "13b",+ "skip_steps_sigma_threshold": 0.997,+ "cfg_star_rescale": true,+ "sigmas": [1.0, 0.9933, 0.9850, 0.9767, 0.9008, 0.6180],+ "cfg_values": [1, 4, 4, 4, 1, 1],+ "stg_scale_values": [0, 2, 2, 2, 1, 0],+ "stg_rescale_values": [1, 1, 1, 1, 1, 1],+ "stg_layers_indices": [[42], [42], [42], [42], [42], [42]]+ },+ {+ "name": "13b Dynamic",+ "skip_steps_sigma_threshold": 0.997,+ "cfg_star_rescale": true,+ "sigmas": [1.0, 0.9933, 0.9850, 0.9767, 0.9008, 0.6180],+ "cfg_values": [1, 16, 8, 8, 4, 1],+ "stg_scale_values": [0, 4, 4, 4, 2, 1],+ "stg_rescale_values": [1, 0.5, 0.5, 1, 1, 1],+ "stg_layers_indices": [[33], [35], [35], [42], [42], [42]]+ },+ {+ "name": "13b Balanced",+ "skip_steps_sigma_threshold": 0.998,+ "cfg_star_rescale": true,+ "sigmas": [1.0, 0.9933, 0.9850, 0.9767, 0.9008, 0.6180],+ "cfg_values": [8, 6, 6, 4, 3, 1],+ "stg_scale_values": [4, 4, 3, 2, 1, 0],+ "stg_rescale_values": [1, 1, 1, 1, 1, 1],+ "stg_layers_indices": [[29], [29], [29], [42], [42], [42]]+ },+ {+ "name": "13b Fast",+ "skip_steps_sigma_threshold": 0.997,+ "cfg_star_rescale": true,+ "sigmas": [1.0, 0.9933, 0.9850, 0.9767, 0.9008, 0.6180],+ "cfg_values": [1, 4, 4, 4, 1, 1],+ "stg_scale_values": [0, 2, 2, 2, 1, 0],+ "stg_rescale_values": [1, 1, 1, 1, 1, 1],+ "stg_layers_indices": [[29], [29], [29], [42], [42], [42]]+ },+ {+ "name": "13b Upscale",+ "skip_steps_sigma_threshold": 0.997,+ "cfg_star_rescale": true,+ "sigmas": [1.0, 0.9933, 0.9850, 0.9767, 0.9008, 0.6180],+ "cfg_values": [1, 1, 1, 1, 1, 1],+ "stg_scale_values": [1, 1, 1, 1, 1, 1],+ "stg_rescale_values": [1, 1, 1, 1, 1, 1],+ "stg_layers_indices": [[42], [42], [42], [42], [42], [42]]+ }+]diff --git a/prompt_enhancer_nodes.py b/prompt_enhancer_nodes.pyindex d739b85..6dd1e4c 100644--- a/prompt_enhancer_nodes.py+++ b/prompt_enhancer_nodes.py@@ -90,6 +90,7 @@ class LTXVPromptEnhancerLoader:CATEGORY = "lightricks/LTXV"TITLE = "LTXV Prompt Enhancer (Down)Loader"OUTPUT_NODE = False+ DESCRIPTION = "Downloads and initializes LLM and image captioning models from Hugging Face to enhance text prompts for image generation."def model_path_download_if_needed(self, model_name):model_directory = os.path.join(folder_paths.models_dir, MODELS_PATH_KEY)@@ -180,6 +181,10 @@ class LTXVPromptEnhancer:CATEGORY = "lightricks/LTXV"TITLE = "LTXV Prompt Enhancer"OUTPUT_NODE = False+ DESCRIPTION = (+ "Enhances text prompts for image generation using LLMs. "+ "Optionally incorporates reference images to create more contextually relevant descriptions."+ )def enhance(self,diff --git a/pyproject.toml b/pyproject.tomlindex b6a70c6..eaa4716 100644--- a/pyproject.toml+++ b/pyproject.toml@@ -10,14 +10,15 @@ readme = "README.md"license = { file = "LICENSE" }dependencies = ["huggingface_hub>=0.25.2",- "transformers[timm]>=4.45.0"+ "transformers[timm]>=4.45.0",+ "einops"][project.optional-dependencies]internal = [- "ltx-video@git+https://github.com/Lightricks/[email protected]",+ "ltx-video@git+https://github.com/Lightricks/[email protected]","av>=10.0.0",- "q8-kernels>=0.0.2"+ "q8-kernels==0.0.3"]dev = ["pre-commit>=4.0.1",diff --git a/q8_nodes.py b/q8_nodes.pynew file mode 100644index 0000000..f93d768--- /dev/null+++ b/q8_nodes.py@@ -0,0 +1,54 @@+try:+ from q8_kernels.integration.patch_transformer import (+ patch_comfyui_native_transformer,+ patch_comfyui_transformer,+ )++ Q8_AVAILABLE = True+except ImportError:+ Q8_AVAILABLE = False++from .nodes_registry import comfy_node+++def check_q8_available():+ if not Q8_AVAILABLE:+ raise ImportError(+ "Q8 kernels are not available. Please install them to use this feature."+ )+++@comfy_node(name="LTXQ8Patch")+class LTXVQ8Patch:+ @classmethod+ def INPUT_TYPES(s):+ return {+ "required": {+ "model": ("MODEL",),+ "use_fp8_attention": (+ "BOOLEAN",+ {"default": False, "tooltip": "Use FP8 attention."},+ ),+ }+ }++ RETURN_TYPES = ("MODEL",)+ FUNCTION = "patch"+ CATEGORY = "lightricks/LTXV"+ TITLE = "LTXV Q8 Patcher"++ def patch(self, model, use_fp8_attention):+ check_q8_available()+ m = model.clone()+ diffusion_key = "diffusion_model"+ diffusion_model = m.get_model_object(diffusion_key)+ if diffusion_model.__class__.__name__ == "LTXVTransformer3D":+ transformer_key = "diffusion_model.transformer"+ patcher = patch_comfyui_transformer+ else:+ transformer_key = "diffusion_model"+ patcher = patch_comfyui_native_transformer+ transformer = m.get_model_object(transformer_key).cuda()+ patcher(transformer, use_fp8_attention)+ m.add_object_patch(transformer_key, transformer)+ return (m,)diff --git a/requirements.txt b/requirements.txtindex c52f3bc..3e47caf 100644--- a/requirements.txt+++ b/requirements.txt@@ -1,2 +1,3 @@+einopshuggingface_hub>=0.25.2transformers[timm]>=4.45.0diff --git a/stg.py b/stg.pyindex b6f1250..9eb68d8 100644--- a/stg.py+++ b/stg.py@@ -1,5 +1,7 @@import contextlib+import jsonimport math+import osfrom dataclasses import dataclassfrom typing import List@@ -56,6 +58,8 @@ class LTXVApplySTG:RETURN_NAMES = ("model",)CATEGORY = "lightricks/LTXV"+ DESCRIPTION = "Defines the blocks to apply the STG to."+def apply_stg(self, model: ModelPatcher, block_indices: str):skip_block_list = [int(i.strip()) for i in block_indices.split(",")]new_model = model.clone()@@ -298,9 +302,10 @@ class STGGuiderAdvanced(comfy.samplers.CFGGuider):# Find the closest higher sigma value and return corresponding cfghigher_sigmas = [s for s in self.sigma_list if s >= sigma]if not higher_sigmas:- return self.cfg_list[-1] # Return last cfg if no higher sigma exists- closest_higher = min(higher_sigmas)- closest_idx = self.sigma_list.index(closest_higher)+ closest_idx = -1 # Return last cfg if no higher sigma exists+ else:+ closest_higher = min(higher_sigmas)+ closest_idx = self.sigma_list.index(closest_higher)return (self.cfg_list[closest_idx],self.stg_scale_list[closest_idx],@@ -450,12 +455,35 @@ class STGGuiderNode:FUNCTION = "get_guider"CATEGORY = "lightricks/LTXV"+ DESCRIPTION = (+ "Implements Spatiotemporal Skip Guidance (STG), a training-free method enhancing transformer-based "+ "video diffusion models by selectively skipping layers during sampling. This approach improves video "+ "quality without sacrificing diversity or motion fidelity."+ "Reference: https://arxiv.org/abs/2411.18664."+ )+def get_guider(self, model, positive, negative, cfg, stg, rescale):guider = STGGuider(model, cfg, stg, rescale)guider.set_conds(positive, negative)return (guider,)+def load_stg_presets():+ preset_file_path = os.path.join(+ os.path.dirname(__file__), "presets", "stg_advanced_presets.json"+ )+ if os.path.exists(preset_file_path):+ presets = json.load(open(preset_file_path))+ preset_names = [preset["name"] for preset in presets]+ else:+ presets = []+ preset_names = ["Custom"]+ return presets, preset_names+++STG_ADVANCED_PRESETS, STG_ADVANCED_PRESET_NAMES = load_stg_presets()++@comfy_node(name="STGGuiderAdvanced")class STGGuiderAdvancedNode:@classmethod@@ -468,7 +496,7 @@ class STGGuiderAdvancedNode:"skip_steps_sigma_threshold": ("FLOAT",{- "default": 0.996,+ "default": 0.998,"min": 0.0,"max": 100.0,"step": 0.001,@@ -492,14 +520,14 @@ class STGGuiderAdvancedNode:"cfg_values": ("STRING",{- "default": "4, 4, 4, 4, 1, 1",+ "default": "8, 6, 6, 4, 3, 1","tooltip": "Comma-separated list of cfg values. Should be same length as sigmas list.",},),"stg_scale_values": ("STRING",{- "default": "2, 2, 2, 2, 1, 0",+ "default": "4, 4, 3, 2, 1, 0","tooltip": "Comma-separated list of stg scale values. Should be same length as sigmas list.",},),@@ -513,17 +541,52 @@ class STGGuiderAdvancedNode:"stg_layers_indices": ("STRING",{- "default": "[14], [14], [14], [14], [14], [14]",+ "default": "[29], [29], [29], [29], [29], [29]","tooltip": "Comma-separated list of list of layer indices. Should be same length as sigmas list.",},),- }+ },+ "optional": {+ "preset": (+ "STG_ADVANCED_PRESET",+ {+ "tooltip": "Preset resolution and frame count. Custom allows manual input.",+ },+ ),+ },}RETURN_TYPES = ("GUIDER",)FUNCTION = "get_guider"CATEGORY = "lightricks/LTXV"+ DESCRIPTION = """+ The Advanced STG Guider implements sophisticated techniques for controlling the denoising process:++ It creates a dynamic mapping from scheduler-defined sigma values to CFG and STG (Spatio-Temporal Skip Guidance [1]) parameters.+ This approach establishes distinct sigma value ranges that operate independently of step numbers, allowing precise control over:+ • CFG scale+ • STG scale and rescale factors+ • STG attention layer skipping patterns++ The guider also supports:+ • CFG-Zero* [2] rescaling, which dynamically adjusts negative predictions based on the dot product between positive and negative signals+ • Threshold-based noise prediction zeroing for steps with sigma values exceeding a specified threshold++ For example if the sigma ranges are defined as [1.0, 0.9, 0.85, 0.6] and the CFG values are defined as [4, 3, 2, 1] and STG scale values+ are defined as [2, 2, 2, 1] and STG rescale values are defined as [1, 1, 1, 1] and STG layers indices are defined as [[14, 17], [14, 16], [14], [14]], then the guider will:+ - use CFG=4, STG scale=2, STG rescale=1 and STG layers indices = [14, 17] for sigma in the range (0.9, 1.0]+ - use CFG=3, STG scale=2, STG rescale=1 and STG layers indices = [14, 16] for sigma in the range (0.85, 0.9]+ - use CFG=2, STG scale=2, STG rescale=1 and STG layers indices = [14] for sigma in the range (0.8, 0.85]+ - use CFG=1, STG scale=1, STG rescale=1 and STG layers indices = [14] for sigma in the range (0.6, 0.8]++ The guider will use the same parameters for the same sigma values, regardless of the step number.++ References:+ [1] https://arxiv.org/abs/2411.18664+ [2] https://arxiv.org/abs/2503.18886++ """@classmethoddef parse_stg_layers_indices(cls, stg_layers_indices: str) -> List[List[int]]:@@ -562,12 +625,37 @@ class STGGuiderAdvancedNode:stg_scale_values,stg_rescale_values,stg_layers_indices,+ preset=None,):- sigma_list = [float(s.strip()) for s in sigmas.split(",")]- cfg_list = [float(c.strip()) for c in cfg_values.split(",")]- stg_scale_list = [float(s.strip()) for s in stg_scale_values.split(",")]- stg_rescale_list = [float(s.strip()) for s in stg_rescale_values.split(",")]- stg_layers_indices_list = self.parse_stg_layers_indices(stg_layers_indices)+ if preset and preset != "Custom":+ preset_data = next(+ (item for item in STG_ADVANCED_PRESETS if item["name"] == preset), None+ )+ if preset_data:+ skip_steps_sigma_threshold = preset_data["skip_steps_sigma_threshold"]+ cfg_star_rescale = preset_data["cfg_star_rescale"]+ sigma_list = preset_data["sigmas"]+ cfg_list = preset_data["cfg_values"]+ stg_scale_list = preset_data["stg_scale_values"]+ stg_rescale_list = preset_data["stg_rescale_values"]+ stg_layers_indices_list = preset_data["stg_layers_indices"]+ else:+ raise ValueError(f"Preset {preset} not found in the presets list.")++ else:+ sigma_list = [float(s.strip()) for s in sigmas.split(",")]+ cfg_list = [float(c.strip()) for c in cfg_values.split(",")]+ stg_scale_list = [float(s.strip()) for s in stg_scale_values.split(",")]+ stg_rescale_list = [float(s.strip()) for s in stg_rescale_values.split(",")]+ stg_layers_indices_list = self.parse_stg_layers_indices(stg_layers_indices)+ print("Using preset: ", preset)+ print("Skip steps sigma threshold: ", skip_steps_sigma_threshold)+ print("Cfg star rescale: ", cfg_star_rescale)+ print("Sigma list: ", sigma_list)+ print("Cfg list: ", cfg_list)+ print("Stg scale list: ", stg_scale_list)+ print("Stg rescale list: ", stg_rescale_list)+ print("Stg layers indices list: ", stg_layers_indices_list)guider = STGGuiderAdvanced(model,@@ -580,4 +668,30 @@ class STGGuiderAdvancedNode:cfg_star_rescale,)guider.set_conds(positive, negative)+ guider.raw_conds = (positive, negative)return (guider,)+++@comfy_node(name="STGAdvancedPresets")+class STGAdvancedPresetsNode:+ @classmethod+ def INPUT_TYPES(s):+ return {+ "required": {+ "preset": (+ STG_ADVANCED_PRESET_NAMES,+ {+ "default": "13b Balanced",+ "tooltip": "Preset resolution and frame count. Custom allows manual input.",+ },+ ),+ },+ }++ RETURN_TYPES = ("STG_ADVANCED_PRESET",)++ FUNCTION = "get_preset"+ CATEGORY = "lightricks/LTXV"++ def get_preset(self, preset=None):+ return (preset,)diff --git a/tiled_sampler.py b/tiled_sampler.pynew file mode 100644index 0000000..0f2f38c--- /dev/null+++ b/tiled_sampler.py@@ -0,0 +1,298 @@+import copy++import comfy+import torch+from comfy_extras.nodes_custom_sampler import SamplerCustomAdvanced+from comfy_extras.nodes_lt import LTXVAddGuide, LTXVCropGuides++from .latents import LTXVAddLatentGuide, LTXVSelectLatents+from .nodes_registry import comfy_node+++@comfy_node(+ name="LTXVTiledSampler",+)+class LTXVTiledSampler:++ @classmethod+ def INPUT_TYPES(s):+ return {+ "required": {+ "model": ("MODEL",),+ "vae": ("VAE",),+ "noise": ("NOISE",),+ "sampler": ("SAMPLER",),+ "sigmas": ("SIGMAS",),+ "guider": ("GUIDER",),+ "latents": ("LATENT",),+ "horizontal_tiles": ("INT", {"default": 1, "min": 1, "max": 6}),+ "vertical_tiles": ("INT", {"default": 1, "min": 1, "max": 6}),+ "overlap": ("INT", {"default": 1, "min": 1, "max": 8}),+ "first_frame_cond_strength": (+ "FLOAT",+ {"default": 0.9, "min": 0.0, "max": 1.0, "step": 0.01},+ ),+ "latents_cond_strength": (+ "FLOAT",+ {"default": 0.15, "min": 0.0, "max": 1.0, "step": 0.01},+ ),+ "boost_latent_similarity": (+ "BOOLEAN",+ {"default": False},+ ),+ "crop": (["center", "disabled"], {"default": "disabled"}),+ },+ "optional": {+ "optional_cond_image": ("IMAGE",),+ },+ }++ RETURN_TYPES = (+ "LATENT",+ "LATENT",+ )+ RETURN_NAMES = (+ "output",+ "denoised_output",+ )++ FUNCTION = "sample"++ CATEGORY = "sampling"++ def sample(+ self,+ model,+ vae,+ noise,+ sampler,+ sigmas,+ guider,+ latents,+ horizontal_tiles,+ vertical_tiles,+ overlap,+ first_frame_cond_strength,+ latents_cond_strength,+ boost_latent_similarity,+ crop="disabled",+ optional_cond_image=None,+ ):++ # Get the latent samples+ samples = latents["samples"]++ batch, channels, frames, height, width = samples.shape+ time_scale_factor, width_scale_factor, height_scale_factor = (+ vae.downscale_index_formula+ )+ # Validate image dimensions if provided+ if optional_cond_image is not None:+ img_height = height * height_scale_factor+ img_width = width * width_scale_factor+ cond_image = comfy.utils.common_upscale(+ optional_cond_image.movedim(-1, 1),+ img_width,+ img_height,+ "bicubic",+ crop=crop,+ ).movedim(1, -1)+ print("cond_image shape after resize", cond_image.shape)+ img_batch, img_height, img_width, img_channels = cond_image.shape+ else:+ cond_image = None++ # Calculate tile sizes with overlap+ base_tile_height = (height + (vertical_tiles - 1) * overlap) // vertical_tiles+ base_tile_width = (width + (horizontal_tiles - 1) * overlap) // horizontal_tiles++ # Initialize output tensor and weight tensor+ output = torch.zeros_like(samples)+ denoised_output = torch.zeros_like(samples)+ weights = torch.zeros_like(samples)++ # Get positive and negative conditioning+ try:+ positive, negative = guider.raw_conds+ except AttributeError:+ raise ValueError(+ "Guider does not have raw conds, cannot use it as a guider. "+ "Please use STGGuiderAdvanced."+ )++ # Process each tile+ for v in range(vertical_tiles):+ for h in range(horizontal_tiles):+ # Calculate tile boundaries+ h_start = h * (base_tile_width - overlap)+ v_start = v * (base_tile_height - overlap)++ # Adjust end positions for edge tiles+ h_end = (+ min(h_start + base_tile_width, width)+ if h < horizontal_tiles - 1+ else width+ )+ v_end = (+ min(v_start + base_tile_height, height)+ if v < vertical_tiles - 1+ else height+ )++ # Calculate actual tile dimensions+ tile_height = v_end - v_start+ tile_width = h_end - h_start++ print(f"Processing tile at row {v}, col {h}:")+ print(f" Position: ({v_start}:{v_end}, {h_start}:{h_end})")+ print(f" Size: {tile_height}x{tile_width}")++ # Extract tile+ tile = samples[:, :, :, v_start:v_end, h_start:h_end]++ # Create tile latents dict+ tile_latents = {"samples": tile}+ unconditioned_tile_latents = tile_latents.copy()++ # Handle image conditioning if provided+ if cond_image is not None:+ # Scale coordinates for image+ img_h_start = v_start * height_scale_factor+ img_h_end = v_end * height_scale_factor+ img_w_start = h_start * width_scale_factor+ img_w_end = h_end * width_scale_factor++ # Extract image tile+ img_tile = cond_image[+ :, img_h_start:img_h_end, img_w_start:img_w_end, :+ ]++ print(f"Applying image conditioning for tile at row {v}, col {h}:")+ print(+ f" Image tile position: ({img_h_start}:{img_h_end}, {img_w_start}:{img_w_end})"+ )+ print(f" Image tile size: {img_tile.shape}")++ # Create copies of conditioning for this tile+ tile_positive = positive.copy()+ tile_negative = negative.copy()++ print(+ f"using LTXVAddGuide on tiled latent with frame index 0 and strength {first_frame_cond_strength}"+ )+ # Add guide from image tile+ (+ tile_positive,+ tile_negative,+ tile_latents,+ ) = LTXVAddGuide().generate(+ positive=tile_positive,+ negative=tile_negative,+ vae=vae,+ latent=tile_latents,+ image=img_tile,+ frame_idx=0,+ strength=first_frame_cond_strength,+ )+ if boost_latent_similarity:+ middle_latent_idx = (frames - 1) // 2+ middle_index_latent = LTXVSelectLatents().select_latents(+ samples=unconditioned_tile_latents,+ start_index=middle_latent_idx,+ end_index=middle_latent_idx,+ )[0]+ last_index_latent = LTXVSelectLatents().select_latents(+ samples=unconditioned_tile_latents,+ start_index=-1,+ end_index=-1,+ )[0]+ print(+ f"using LTXVAddLatentGuide on tiled latent with latent index {middle_latent_idx} and strength {latents_cond_strength}"+ )+ (+ tile_positive,+ tile_negative,+ tile_latents,+ ) = LTXVAddLatentGuide().generate(+ vae=vae,+ positive=tile_positive,+ negative=tile_negative,+ latent=tile_latents,+ guiding_latent=middle_index_latent,+ latent_idx=middle_latent_idx,+ strength=latents_cond_strength,+ )+ print(+ f"using LTXVAddLatentGuide on tiled latent with latent index {frames-1} and strength {latents_cond_strength}"+ )+ (+ tile_positive,+ tile_negative,+ tile_latents,+ ) = LTXVAddLatentGuide().generate(+ vae=vae,+ positive=tile_positive,+ negative=tile_negative,+ latent=tile_latents,+ guiding_latent=last_index_latent,+ latent_idx=frames - 1,+ strength=latents_cond_strength,+ )++ guider = copy.copy(guider)+ guider.set_conds(tile_positive, tile_negative)++ # Denoise the tile+ denoised_tile = SamplerCustomAdvanced().sample(+ noise=noise,+ guider=guider,+ sampler=sampler,+ sigmas=sigmas,+ latent_image=tile_latents,+ )[0]++ # Clean up guides if image conditioning was used+ if cond_image is not None:+ print("before guide crop", denoised_tile["samples"].shape)+ tile_positive, tile_negative, denoised_tile = LTXVCropGuides().crop(+ positive=tile_positive,+ negative=tile_negative,+ latent=denoised_tile,+ )+ print("after guide crop", denoised_tile["samples"].shape)++ # Create weight mask for this tile+ tile_weights = torch.ones_like(tile)++ # Apply horizontal blending weights+ if h > 0: # Left overlap+ h_blend = torch.linspace(0, 1, overlap, device=tile.device)+ tile_weights[:, :, :, :, :overlap] *= h_blend.view(1, 1, 1, 1, -1)+ if h < horizontal_tiles - 1: # Right overlap+ h_blend = torch.linspace(1, 0, overlap, device=tile.device)+ tile_weights[:, :, :, :, -overlap:] *= h_blend.view(1, 1, 1, 1, -1)++ # Apply vertical blending weights+ if v > 0: # Top overlap+ v_blend = torch.linspace(0, 1, overlap, device=tile.device)+ tile_weights[:, :, :, :overlap, :] *= v_blend.view(1, 1, 1, -1, 1)+ if v < vertical_tiles - 1: # Bottom overlap+ v_blend = torch.linspace(1, 0, overlap, device=tile.device)+ tile_weights[:, :, :, -overlap:, :] *= v_blend.view(1, 1, 1, -1, 1)++ # Add weighted tile to output+ output[:, :, :, v_start:v_end, h_start:h_end] += (+ denoised_tile["samples"] * tile_weights+ )+ denoised_output[:, :, :, v_start:v_end, h_start:h_end] += (+ denoised_tile["samples"] * tile_weights+ )++ # Add weights to weight tensor+ weights[:, :, :, v_start:v_end, h_start:h_end] += tile_weights++ # Normalize by weights+ output = output / (weights + 1e-8)+ denoised_output = denoised_output / (weights + 1e-8)++ return {"samples": output}, {"samples": denoised_output}