Skip to main content
LTXVImgToVideo converts an input image into a video latent representation for video generation models. It resizes the image to the requested width and height, encodes it with the VAE, and places the encoded frames at the start of a video-sized latent of zeros. The strength control determines how much of the original image content is preserved versus modified during video generation.

Inputs

Note: width and height change in steps of 32 pixels, and length changes in steps of 8 frames, matching the video latent compression (32x in the spatial dimensions and 8x in the temporal dimension). The video latent contains ((length - 1) // 8) + 1 frames.

Outputs

This documentation was AI-generated. If you find any errors or have suggestions for improvement, please feel free to contribute! Edit on GitHub

Source fingerprint (SHA-256): 4ebc7f80b4d9ac3329e3349c7048885de22b827b5bdd102976687afd7e07a16b