Nodes/VRGameDevGirl Video Enhancement Nodes/Video Enhance - Prepare Video and Anchors
ComfyUI Node

Video Enhance - Prepare Video and Anchors

Creates an independent full-frame Video Enhance job, temporary LTX video, and regularly spaced Z-Image anchors while preserving the exact source frames and metadata for final restoration.

By vrgamegirl19·Created about a year ago·Updated about 17 hours ago· 662
Video Enhance - Prepare Video and Anchors
  • video_frames
  • video_info
  • ltx_working_frames
  • anchor_images
  • anchor_count
  • anchor_indices
  • ltx_video_path
  • ltx_width
  • ltx_height
  • fps
  • video_enhance_context
anchor_interval16 frames (recommended)
anchor_width768
anchor_height432
ltx_width960
ltx_height544
dimension_multiple32 (recommended)
fit_modeFit with letterbox (preserve all)
resize_methodBicubic (recommended)
fallback_fps24.000
CategoryVRGameDevGirl/Video Enhance

Inputs (11)

NameTypeDefaultDescription
video_framesIMAGEConnect the full IMAGE batch from VHS Load Video. These original frames remain unchanged in the context and are used to enforce the exact final resolution and frame count.
anchor_intervalCOMBO16 frames (recommended)Spacing between full-frame Z-Image guide anchors. The first and final frames are always included. Smaller spacing gives LTX more enhanced references but requires more Z-Image runs.
anchor_widthINT768128–4096Requested width used only for Z-Image anchor enhancement. It does not change the source or final video resolution.
anchor_heightINT432128–4096Requested height used only for Z-Image anchor enhancement. Choose dimensions matching the source aspect ratio unless using Fit with letterbox.
ltx_widthINT960128–4096Temporary LTX working width. Higher values can improve spatial detail but substantially increase VRAM use and runtime. Final output is restored to the source width.
ltx_heightINT544128–4096Temporary LTX working height. Higher values can improve spatial detail but substantially increase VRAM use and runtime. Final output is restored to the source height.
dimension_multipleCOMBO32 (recommended)Rounds requested anchor and LTX dimensions to a model-friendly multiple. The resolved dimensions are exposed as outputs so downstream loaders can match them exactly.
fit_modeCOMBOFit with letterbox (preserve all)Fit preserves the entire frame and adds black bars if aspect ratios differ. Crop fills the dimensions while trimming edges. Stretch changes aspect ratio and is usually not recommended.
resize_methodCOMBOBicubic (recommended)Interpolation used for temporary anchor and LTX resizing. Bicubic is a strong general default. Area can be useful for large downscales.
fallback_fpsFLOAT24.0001–240Used only when video_info is not connected or lacks FPS metadata. Connect video_info to preserve exact source timing.
video_infooptVHS_VIDEOINFOConnect VHS Load Video video_info so the temporary LTX video uses the exact source FPS.

Outputs (9)

NameTypeDescription
ltx_working_framesIMAGE
anchor_imagesIMAGE
anchor_countINT
anchor_indicesSTRING
ltx_video_pathSTRING
ltx_widthINT
ltx_heightINT
fpsFLOAT
video_enhance_contextVRGDG_VIDEO_ENHANCE_CONTEXT