CivArchive
    MiniMax H3 Dual Layer Skip Workflow (8GB VRAM Turbo Speed + Custom Nodes) - v2.0 — Auto-Chained 2-Par

    ### MiniMax H3 Dual Layer Skip Workflow — Up to +35% Faster Generation on 8GB VRAM (NVFP4 / FP8 / BF16)

    A complete, memory-optimized **ComfyUI Video + Audio workflow** for **MiniMax H3**, bundled with **two custom NVFP4-safe nodes** that bypass redundant transformer layers on the fly—accelerating both the video diffusion model and the heavy 32B Qwen3-VL text encoder without needing Turbo checkpoints, Turbo LoRAs, or modifying model files on disk.

    ---

    ### What This Workflow Does & What It's Good For

    * **On-the-Fly Video Layer Skipping MiniMax Layer Cutter):** Dynamically bypasses redundant middle transformer blocks inside any MiniMax H3 model NVFP4, FP8, or BF16). Includes **5 one-click speed presets** Off, Light Fast, Turbo Safe, Ultra Turbo) plus a **50-button Manual mode** to toggle individual layers. Cuts 4-step sampling time on an RTX 5050 (8GB VRAM) from ~55s down to ~36s.

    * **32B Text Encoder Acceleration MiniMax CLIP Layer Cutter):** Safely skips top redundant layers inside Qwen3-VL 32B NVFP4 Light Trim, Balanced Fast, Aggressive Fast, or Manual), reducing prompt encoding time and RAM overhead while preserving prompt accuracy.

    * **Seamless Multi-Clip Scene Chaining:** Built-in ImageFromBatch index: -1) automatically extracts and previews the exact final frame of every clip, letting you chain multiple shots into longer stories effortlessly.

    * **End-to-End 10-Bit Video + Native Audio:** Includes synchronized Audio VAE decoding, RTX Frame Generation (2x FPS interpolation), and chunked RTX Upscaling chunk_frames: 8, empty_cache: true) tuned for 8GB VRAM / 32GB RAM systems.

    ---

    ### How to Install & Use (2 Simple Steps)

    1. **Install Custom Nodes:** Download the .zip archive from the files section, extract it, and place **both** Python scripts minimax_layer_cutter.py and minimax_clip_layer_cutter.py) into your ComfyUI/custom_nodes/ folder.

    2. **Load Workflow:** Restart ComfyUI and drag & drop the .json workflow file onto your canvas.

    ---

    ### Recommended Settings & Limitations

    * **Best For:** Fast Image-to-Video and Text-to-Video generation with synchronized audio on 8GB–12GB VRAM GPUs RTX 30/40/50 series).

    * **Important Note:** If you are already using a pre-pruned checkpoint (e.g., a 36-layer pruned model), set MiniMax Layer Cutter to Off so layers are not skipped twice.

    * **Required Base Models:** Any standard MiniMax H3 diffusion checkpoint NVFP4FP8BF16), qwen3vl_32b_minimax_h3 CLIP, and MiniMax H3 Video + Audio VAEs.

    Description

    ### What's New in v2.0 — Seamless 2-Part Scene Chaining & Dual Layer Acceleration

    This major update transforms the single-shot pipeline into an **automated 2-part story generator on a single canvas**, while adding on-the-fly layer skipping for both the video diffusion model and the 32B Qwen3-VL text encoder.

    #### Key Upgrades in v2.0

    * **1. Automated 2-Part Scene Chaining Part 1 -> Last Frame -> Part 2):**

    * Part 1 generates your opening shot, upscales it in 10-bit color RGB10A2), and automatically extracts the exact final frame via ImageFromBatch index: -1).

    * Part 2 seamlessly picks up that final frame as its first_frame reference, generates the continuation with an independent Seed Control, and merges both video clips ImageBatchMulti) and audio tracks AudioConcat) into a single final .mp4 file _MERGED_FINAL).

    * **2. Dual NVFP4-Safe Layer Skipping (+35% Speed on 8GB VRAM):**

    * **Video Diffusion MiniMax Layer Cutter):** Dynamically bypasses redundant middle transformer blocks using 5 speed presets Off, Light Fast, Turbo Safe, Ultra Turbo) or a 50-button Manual mode.

    * **32B Text Encoder MiniMax CLIP Layer Cutter):** Safely skips top redundant layers in Qwen3-VL 32B NVFP4 Light Trim, Balanced Fast, Aggressive Fast, or Manual) to speed up prompt encoding and save RAM.

    * **3. 8GB VRAM / 32GB RAM Memory Tuning:**

    * Shared model loaders across both branches prevent duplicate weights in system RAM, paired with chunked 10-bit RTX Upscaling chunk_frames: 8, empty_cache: true) and RTX 2x Frame Generation.

    ---

    #### Quick Setup Guide

    1. Extract the .zip archive and copy **both** custom node files minimax_layer_cutter.py and minimax_clip_layer_cutter.py) into ComfyUI/custom_nodes/.

    2. Restart ComfyUI, load the .json workflow, enter your opening prompt in **Part 1** and continuation prompt in **Part 2**, and hit **Queue Prompt**.

    (Tip: Once Part 1 generates a great shot, switch Part 1's Seed Control to Fixed so you can re-roll Part 2 instantly from cache).

    Workflows
    MiniMax H3

    Details

    Downloads
    10
    Platform
    CivitAI
    Platform Status
    Available
    Created
    11/29/2026
    Updated
    11/29/2026
    Deleted
    -

    Files

    workflow_v2_api.zip

    Mirrors

    CivitAI (1 mirrors)