DEV Community

SOLRICKS
SOLRICKS

Posted on Edited on AI-assisted

MiniMax H3 Upscaler — VRAM-Aware Video Processing and Detail Refinement

MiniMax H3 Upscaler is an open-source custom node for ComfyUI, combining latent video upscaling, VRAM-aware processing, and LoRA-based detail refinement.

High-resolution video processing can be challenging, especially when working with limited GPU memory.

Features

  • Latent Upscaling: Learned latent-space video upscaling.
  • Detail Refinement: LoRA-based visual refinement.
  • Temporal Chunking: Overlapping frame windows for longer videos.
  • Spatial Tiling: Memory-aware processing of high-resolution frames.
  • INT8 Support: Optional quantized refiner LoRA.
  • Audio Preservation: Original audio is passed through unchanged.
  • Memory Management: Automatic retries with smaller processing windows when supported out-of-memory errors occur.

How It Works

Input Video → Latent Upscaling → LoRA Refinement → Video Output

The node uses ComfyUI's native model implementations and combines video upscaling and detail refinement in a single workflow.

Temporal chunking and spatial tiling help limit memory consumption during processing.

The following comparison demonstrates the upscaling process using an AI-generated video.

Original — 1376 × 768

Upscaled — 1952 × 1088

Both videos: 243 frames, 24 FPS, 10.125 seconds.

GPU Memory Optimization

The upscaler is designed with memory-aware processing in mind.

Temporal chunking and spatial tiling reduce the amount of model processing required per pass, making high-resolution video workflows more manageable.

An optional INT8 refiner LoRA is also available, reducing model storage requirements compared to the original BF16 version.

Actual processing speed, memory consumption, and visual quality depend on the hardware, model configuration, and input video.

Installation

Install the SOLRICKS Optimization Pack through ComfyUI Manager by searching for SOLRICKS.

The required MiniMax H3 upscaling models and example workflows are available on Hugging Face and GitHub.

Models & Workflows

The MiniMax H3 Upscaler models and example workflows are available on Hugging Face.

MiniMax H3 Upscaler — Hugging Face

  • FP16 latent upscaler
  • INT8 refiner LoRA
  • Example ComfyUI workflows
  • Before and after video comparisons

Open-Source Repository

The custom node is available as part of the SOLRICKS ComfyUI Optimization Pack.

Feedback, contributions, and suggestions from the open-source community are welcome.

Top comments (0)