ComfyUI Node

FmlfLtx23

## FMLFLTX 2.3 Prepares video and audio latents for LTX Video 2.3 from up to 6 guide images. Images are automatically placed at evenly-spaced positions: - **image_1** → frame 0 (First Frame). - **image_N** → frame (length - 1) (Last Frame — hard anchor, re-embedded by sampler in Pass 2). - **image_2 … image_N-1** → evenly spaced at `round((length-1) * i / (N-1))` for i = 1..N-2. Connect `width`, `height`, `length`, and `fps` from **LTX Resolution Selector**. `segment_lengths` output is calculated between all frames except the last anchor, and can be connected directly to **PromptRelayEncode**. --- ### Inputs | Pin | Description | |---|---| | `video_vae` | Video VAE for image encoding. | | `audio_vae` | Audio VAE for empty audio latent creation. | | `img_compression` | JPEG pre-compression strength (0 = disabled). Matches LTXVPreprocess. | | `width` | Latent width in pixels — connect from LTX Resolution Selector. | | `height` | Latent height in pixels — connect from LTX Resolution Selector. | | `length` | Frame count — connect from LTX Resolution Selector. | | `fps` | Frames per second — used for audio latent duration. Connect from LTX Resolution Selector. | | `batch_size` | Batch size (default 1). | | `image_1 … image_6` | Guide images (optional). Connect only the slots you need. | | `strength_1 … strength_6` | Conditioning strength per image (1.0 = fully conditioned, 0.0 = ignored). | ### Outputs | Pin | Description | |---|---| | `latent` | Combined video + audio NestedTensor — for direct sampler input (legacy). | | `video_latent` | Video latent only → connect to **SamplerLTXV_2.3** `video_latent`. | | `audio_latent` | Empty audio latent → connect to **SamplerLTXV_2.3** `audio_latent`. | | `segment_lengths` | Pixel-space frame counts per segment → connect to **PromptRelayEncode**. |

By Rogala·Created 5 months ago·Updated 4 months ago· 19
FmlfLtx23
  • video_vae
  • audio_vae
  • image_1
  • image_2
  • image_3
  • image_4
  • image_5
  • image_6
  • latent
  • video_latent
  • audio_latent
  • segment_lengths
img_compression18
width768
height512
length97
fps25.00
batch_size1
strength_11.00
strength_21.00
strength_31.00
strength_41.00
strength_51.00
strength_61.00
Categoryrogala/Video

Inputs (20)

NameTypeDefaultDescription
video_vaeVAE
audio_vaeVAE
img_compressionINT180–100JPEG pre-compression strength (0 = disabled). Matches LTXVPreprocess.
widthoptINT76864–4096Latent width — connect from LTX Resolution Selector.
heightoptINT51264–4096Latent height — connect from LTX Resolution Selector.
lengthoptINT979–1024Frame count — connect from LTX Resolution Selector.
fpsoptFLOAT25.001–120Frames per second — connect from LTX Resolution Selector.
batch_sizeoptINT11–16
image_1optIMAGE
strength_1optFLOAT1.000–1Conditioning strength: First frame (FF) — automatically placed at frame 0.
image_2optIMAGE
strength_2optFLOAT1.000–1Conditioning strength: Middle frame 1 — evenly spaced between FF and LF.
image_3optIMAGE
strength_3optFLOAT1.000–1Conditioning strength: Middle frame 2 — evenly spaced between FF and LF.
image_4optIMAGE
strength_4optFLOAT1.000–1Conditioning strength: Middle frame 3 — evenly spaced between FF and LF.
image_5optIMAGE
strength_5optFLOAT1.000–1Conditioning strength: Middle frame 4 — evenly spaced between FF and LF.
image_6optIMAGE
strength_6optFLOAT1.000–1Conditioning strength: Last connected image becomes the Last Frame (LF) — hard anchor for sampler Pass 2.

Outputs (4)

NameTypeDescription
latentLATENT
video_latentLATENT
audio_latentLATENT
segment_lengthsSTRING