Mindket

LightVAE

Newversion 1 · updated

Overview

Swaps in lighter video autoencoder parts for Wan2.1, Wan2.2 and MiniMax-H3, through a ComfyUI node or a Python script. For video AI users who want compact VAE components.

LightVAE is a kit in the Developer category, listed by Mindket. It is free. This is version 1, last updated on . Download it on this page, a zip of its files. Nothing in it runs by itself.

At a glance

You need
  • ComfyUI with native MiniMax-H3 support, and the Python environment that starts it
  • The original H3 video VAE
  • For the optional INT8 decoder, a PyTorch build for CUDA 13.0 or newer and a compatible driver
Runs in
  • ComfyUI, in a version with native MiniMax-H3 support
  • Standalone Python scripts, using infer.py
  • Windows, macOS or Linux with Python, to download the files
Start with
cd /path/to/ComfyUI
python LightVAE/comfyui/install.py --comfy-root .
python -m pip install huggingface_hub

Platform

WindowsOperating system
macOSOperating system
LinuxOperating system

About

What it is

LightVAE shrinks the video autoencoders used by Wan2.1, Wan2.2 and MiniMax-H3. The smaller parts keep the same latent interface as the originals, so you can mix a compact part with an original one. For Wan models you get Pro and Lite decoders, and for MiniMax-H3 you get a Lite encoder and decoder plus an optional INT8 decoder for ComfyUI.

Who it suits

People who run Wan or MiniMax-H3 video models and want compact VAE parts, in ComfyUI or in a plain Python script.

IndustryWho uses itHow they use itExample
Video generationComfyUI usersSwap a lighter decoder or encoder into a MiniMax-H3 workflowUse the Load H3 LightVAE node in a first and last frame workflow
AI infrastructureInference engineersPair compressed VAE parts with the original backboneAn original Wan2.1 encoder with a Lite decoder
ResearchVideo model researchersTest pruned and low-rank autoencoders by reconstructing clipsRebuild a demo video with the infer script
Creative studiosPipeline buildersTry the INT8 decoder inside ComfyUIDecode H3 output with the quantized file

You can skip it if you do not use Wan2.1, Wan2.2 or MiniMax-H3, since the parts are matched to those backbones.

Where to use it

ComfyUI covers MiniMax-H3, and standalone Python scripts cover the Wan reconstruction example.

  • ComfyUI, in a version with native MiniMax-H3 support
  • Standalone Python scripts, using infer.py
  • Windows, macOS or Linux with Python, to download the files
Use caseWhoWhat they get back
Lighter H3 decodingComfyUI usersA Lite encoder or decoder in the H3 video workflow
Wan reconstructionResearchersA reconstructed video file made with the original Wan2.1 encoder and a Lite decoder
INT8 decodingComfyUI usersA quantized H3 Lite decoder, for ComfyUI only

How to set it up

For ComfyUI, add the LightVAE code, run its installer, then download the Lite files. The Python path needs the code, its requirements and the original Wan VAE.

  • ComfyUI with native MiniMax-H3 support, and the Python environment that starts it
  • The original H3 video VAE
  • For the optional INT8 decoder, a PyTorch build for CUDA 13.0 or newer and a compatible driver
  1. Get the LightVAE code from GitHub into your ComfyUI folder, and never clone it straight into custom_nodes.
  2. Run the installer script, which creates the custom node folder for you.
  3. Download the Lite H3 encoder and decoder files.
  4. Download the original H3 video VAE if you do not have it.
  5. Restart ComfyUI and search for the Load H3 LightVAE node.
cd /path/to/ComfyUI

python LightVAE/comfyui/install.py --comfy-root .

python -m pip install huggingface_hub
hf download lightx2v/LightVAE \
  lightvae-lite-h3-decoder.safetensors \
  lightvae-lite-h3-encoder.safetensors \
  --local-dir models/vae/LightVAE
hf download Comfy-Org/MiniMax-H3 \
  vae/minimax_h3_video_vae_fp16.safetensors \
  --local-dir models

How to use it

In ComfyUI, load the original H3 video VAE through the regular Load VAE node and wire its output into the base_vae input. Then pick the Lite parts inside Load H3 LightVAE, and load one of the three workflow files into ComfyUI.

  • First and last frame workflows: replace only the decoder, and leave encoder set to none.
  • Reference workflows: replace the encoder, the decoder or both.
  • Setting none: use the matching original part.

For the Python route, download the Lite Wan2.1 decoder and the original Wan2.1 VAE, then run the infer script from the LightVAE folder.

python -m pip install -r requirements.txt

hf download lightx2v/LightVAE \
  lightvae-lite-wan21-decoder.safetensors \
  --local-dir weights/LightVAE

hf download Wan-AI/Wan2.1-T2V-1.3B \
  Wan2.1_VAE.pth --local-dir weights/Wan2.1

python infer.py \
  --model wan21 --variant lite \
  --encoder weights/Wan2.1/Wan2.1_VAE.pth \
  --decoder weights/LightVAE/lightvae-lite-wan21-decoder.safetensors \
  --input demo.mp4 --frames 81 --height 480 --width 832 \
  --output outputs/wan21_lite_recon.mp4
ToolWhat it does
Load H3 LightVAEThe ComfyUI node that loads Lite H3 parts and reuses ComfyUI's native H3 VAE
base_vaeThe input where you connect the original H3 video VAE
install.pyInstalls the node into your ComfyUI folder
infer.pyReconstructs a video with chosen encoder and decoder files
lightvae-lite-h3-decoder-int8-convrot.safetensorsThe optional quantized H3 Lite decoder for ComfyUI

Example

Run infer.py with the original Wan2.1 encoder and the Lite decoder on demo.mp4, at 81 frames, 480 high and 832 wide. It writes the rebuilt clip to outputs/wan21_lite_recon.mp4 so you can compare it with the source.

For newcomers and experts

A video autoencoder squeezes video into a compact code and expands it back, and it is a big part of video model memory use. LightVAE swaps in smaller versions of those parts. A first small try is the Wan2.1 reconstruction command on a short clip.

For experts, Pro keeps the original decoder depth and adds temporal low-rank compression, while Lite adds block pruning on top. The H3 Lite encoder and decoder were pruned independently. The node reuses ComfyUI's native H3 VAE, so it needs no extra package or custom Triton kernels. The cost is that checkpoints must match their backbone.

  1. Pick the backbone: Wan or H3
  2. Choose Pro or Lite parts
  3. Pair them with the original encoder or decoder
  4. Run in ComfyUI or with infer.py
  5. Compare the output with the source

Good to know

Matching parts to the right backbone matters more than anything else here.

  • Matching: keep each checkpoint paired with its own backbone.
  • Wan2.2 choice: the 14B models use the Wan2.1 VAE, and TI2V-5B uses the Wan2.2 VAE.
  • Node scope: the current ComfyUI node supports H3 only, and the audio VAE stays unchanged.
  • INT8 limit: that file is ComfyUI-only and needs a CUDA 13.0 or newer PyTorch build for native acceleration.
  • Workflows: they are base-model workflows, not 4-step or 8-step turbo-LoRA workflows.
  • License: apache-2.0.
  • Cost to run: none named, no API key, account or paid service.
  • Data it reaches: the video files you reconstruct, and the files downloaded from Hugging Face.
  • Not for: using the INT8 file in the standalone Python scripts.

README and files

README

LightVAE

Swaps in lighter video autoencoder parts for Wan2.1, Wan2.2 and MiniMax-H3, through a ComfyUI node or a Python script. For video AI users who want compact VAE components.

Made by lightx2v on Hugging Face. These notes are Mindket's, written from its model page and model card; the model's own files and license are on Hugging Face.

About

What it is: LightVAE shrinks the video autoencoders used by Wan2.1, Wan2.2 and MiniMax-H3. The smaller parts keep the same latent interface as the originals, so you can mix a compact part with an original one. For Wan models you get Pro and Lite decoders, and for MiniMax-H3 you get a Lite encoder and decoder plus an optional INT8 decoder for ComfyUI.

Who it suits: People who run Wan or MiniMax-H3 video models and want compact VAE parts, in ComfyUI or in a plain Python script.

Industry | Who uses it | How they use it | Example
Video generation | ComfyUI users | Swap a lighter decoder or encoder into a MiniMax-H3 workflow | Use the Load H3 LightVAE node in a first and last frame workflow
AI infrastructure | Inference engineers | Pair compressed VAE parts with the original backbone | An original Wan2.1 encoder with a Lite decoder
Research | Video model researchers | Test pruned and low-rank autoencoders by reconstructing clips | Rebuild a demo video with the infer script
Creative studios | Pipeline builders | Try the INT8 decoder inside ComfyUI | Decode H3 output with the quantized file

You can skip it if you do not use Wan2.1, Wan2.2 or MiniMax-H3, since the parts are matched to those backbones.

Where to use it: ComfyUI covers MiniMax-H3, and standalone Python scripts cover the Wan reconstruction example.

  • ComfyUI, in a version with native MiniMax-H3 support
  • Standalone Python scripts, using infer.py
  • Windows, macOS or Linux with Python, to download the files
Use case | Who | What they get back
Lighter H3 decoding | ComfyUI users | A Lite encoder or decoder in the H3 video workflow
Wan reconstruction | Researchers | A reconstructed video file made with the original Wan2.1 encoder and a Lite decoder
INT8 decoding | ComfyUI users | A quantized H3 Lite decoder, for ComfyUI only

How to set it up: For ComfyUI, add the LightVAE code, run its installer, then download the Lite files. The Python path needs the code, its requirements and the original Wan VAE.

  • ComfyUI with native MiniMax-H3 support, and the Python environment that starts it
  • The original H3 video VAE
  • For the optional INT8 decoder, a PyTorch build for CUDA 13.0 or newer and a compatible driver
  1. Get the LightVAE code from GitHub into your ComfyUI folder, and never clone it straight into custom_nodes.
  2. Run the installer script, which creates the custom node folder for you.
  3. Download the Lite H3 encoder and decoder files.
  4. Download the original H3 video VAE if you do not have it.
  5. Restart ComfyUI and search for the Load H3 LightVAE node.
cd /path/to/ComfyUI

python LightVAE/comfyui/install.py --comfy-root .

python -m pip install huggingface_hub
hf download lightx2v/LightVAE \
  lightvae-lite-h3-decoder.safetensors \
  lightvae-lite-h3-encoder.safetensors \
  --local-dir models/vae/LightVAE
hf download Comfy-Org/MiniMax-H3 \
  vae/minimax_h3_video_vae_fp16.safetensors \
  --local-dir models

How to use it: In ComfyUI, load the original H3 video VAE through the regular Load VAE node and wire its output into the base_vae input. Then pick the Lite parts inside Load H3 LightVAE, and load one of the three workflow files into ComfyUI.

  • First and last frame workflows: replace only the decoder, and leave encoder set to none.
  • Reference workflows: replace the encoder, the decoder or both.
  • Setting none: use the matching original part.

For the Python route, download the Lite Wan2.1 decoder and the original Wan2.1 VAE, then run the infer script from the LightVAE folder.

python -m pip install -r requirements.txt

hf download lightx2v/LightVAE \
  lightvae-lite-wan21-decoder.safetensors \
  --local-dir weights/LightVAE

hf download Wan-AI/Wan2.1-T2V-1.3B \
  Wan2.1_VAE.pth --local-dir weights/Wan2.1

python infer.py \
  --model wan21 --variant lite \
  --encoder weights/Wan2.1/Wan2.1_VAE.pth \
  --decoder weights/LightVAE/lightvae-lite-wan21-decoder.safetensors \
  --input demo.mp4 --frames 81 --height 480 --width 832 \
  --output outputs/wan21_lite_recon.mp4
Tool | What it does
Load H3 LightVAE | The ComfyUI node that loads Lite H3 parts and reuses ComfyUI's native H3 VAE
base_vae | The input where you connect the original H3 video VAE
install.py | Installs the node into your ComfyUI folder
infer.py | Reconstructs a video with chosen encoder and decoder files
lightvae-lite-h3-decoder-int8-convrot.safetensors | The optional quantized H3 Lite decoder for ComfyUI

Example: Run infer.py with the original Wan2.1 encoder and the Lite decoder on demo.mp4, at 81 frames, 480 high and 832 wide. It writes the rebuilt clip to outputs/wan21_lite_recon.mp4 so you can compare it with the source.

For newcomers and experts: A video autoencoder squeezes video into a compact code and expands it back, and it is a big part of video model memory use. LightVAE swaps in smaller versions of those parts. A first small try is the Wan2.1 reconstruction command on a short clip.

For experts, Pro keeps the original decoder depth and adds temporal low-rank compression, while Lite adds block pruning on top. The H3 Lite encoder and decoder were pruned independently. The node reuses ComfyUI's native H3 VAE, so it needs no extra package or custom Triton kernels. The cost is that checkpoints must match their backbone.

Pick the backbone: Wan or H3
Choose Pro or Lite parts
Pair them with the original encoder or decoder
Run in ComfyUI or with infer.py
Compare the output with the source

Good to know: Matching parts to the right backbone matters more than anything else here.

  • Matching: keep each checkpoint paired with its own backbone.
  • Wan2.2 choice: the 14B models use the Wan2.1 VAE, and TI2V-5B uses the Wan2.2 VAE.
  • Node scope: the current ComfyUI node supports H3 only, and the audio VAE stays unchanged.
  • INT8 limit: that file is ComfyUI-only and needs a CUDA 13.0 or newer PyTorch build for native acceleration.
  • Workflows: they are base-model workflows, not 4-step or 8-step turbo-LoRA workflows.
  • License: apache-2.0.
  • Cost to run: none named, no API key, account or paid service.
  • Data it reaches: the video files you reconstruct, and the files downloaded from Hugging Face.
  • Not for: using the INT8 file in the standalone Python scripts.

On Hugging Face, 13 November 2026

  • Task: other
  • Library: wan2.2
  • Downloads in the last 30 days: 819
  • Likes: 40
  • License: apache-2.0
  • Tags: wan2.2, video-vae, video-generation, distillation, image-to-video, text-to-video, comfyui, wan2.1, minimax-h3, other

Links

Get the model

Download its files with Hugging Face's command line:

pip install -U huggingface_hub
hf download lightx2v/LightVAE

Then follow the usage in its model card. Nothing in this kit runs by itself.

Files
README.md  7 KB

1 file, 7 KB, downloaded as a zip.

What’s new

  • Version 1 · 2026-11-13

Compare with similar

Listed Hugging Face models in the same category that share the most tags with this one.

ProductDownloads, last 30 daysLikesLicenseLast change
LightVAE This page81940apache-2.0
Wan2.2-Fun-5B-ControlShares wan2.2 · video-generation · image-to-video25,52522apache-2.0
ClipProj-MiniMax-H3Shares minimax-h3 · text-to-video · comfyui0180mit
Wan2.2-TI2V-5BShares wan2.2 · text-to-video18,923973apache-2.0
Wan2.2-I2V-A14BShares wan2.2 · image-to-video8,500959apache-2.0
natural-face-speech-h3-loraShares video-generation · text-to-video18947apache-2.0
Numbers as Mindket last read them, from 2026-11-12 to 2026-11-13.

Reviews

No ratings yet

Write a review

No reviews yet.

More from Mindket

See all from Mindket

Huashu Design

alchaincyf · Skill

Turns a one-line request in your AI agent into a finished design: a launch animation, a clickable app prototype, an editable slide deck, an infographic or a se…

New29.4k

Guizang PPT Skill

op7418 · Skill

Skill that makes single-file HTML slide decks, slide illustrations and platform covers in two visual styles, with a presenter mode for rehearsal. For speakers…

New29.8k

Claude Code Skills & Plugins

alirezarezvani · Skill

Adds 411 ready-made skills for Claude Code and other coding agents, grouped by role from engineering and product to marketing, finance and compliance. Installs…

New29.8k

Similar in Developer

See all in Developer

buzz

block · Kit

Self-hostable workspace where people and AI agents share the same rooms, built on a Nostr relay that logs every action as a signed event. For teams that want t…

New37.3k

plannotator

backnotprop · Kit

Opens your AI coding agent's plans, specs and code changes in a browser so you can annotate or comment on them and send the feedback straight back to the agent.

New10.5k

open-code-review

alibaba · Kit

Reviews Git changes with an AI agent that reads files and searches the codebase, then writes comments tied to exact lines. It suits developers who want automat…

New50.7k