latents_to_video

Create Video from Latents (Helper)

Description

Convenience function to decode latents and save video in one step.

Usage

latents_to_video(latents, vae, file, fps = 24, ...)

Arguments

  • latents: Tensor of latents from generation.
  • vae: VAE decoder module.
  • file: Output file path.
  • fps: Frames per second.
  • ...: Additional arguments to save_video.

Value

Invisibly returns the output file path.