MiniMaxH3 • Hi-Res Regenerate
The 2K refine recipe as one node, one LoRA conversion from working
- model
- conditioning
- latent
- director_guide
- vae
- start_image
- noise
- continuity_context
- latent
- plan
Your H3 draft looks right and isn't big enough. H3 tops out around 2K natively, so most people generate smaller - faster, cheaper, easier to iterate - then want to land it at 1440p or 4K. The community answer was published as Open-H3-Regenerate-2K: a learned latent upscaler, a refiner LoRA and a very specific three-step schedule. It works, and it is also four or five nodes, two model downloads and a sigma table you copy out of a pipeline file.
This node is that recipe with a face on it: upscale the latent to a target grid, run three pinned Euler steps at CFG 1 with the refiner LoRA, hand back a packed video+audio latent. Audio passes through untouched, so there is nothing to re-sync. The author is the DaSiWa name behind those all-in-one Wan 2.2 workflows - same instinct, a fiddly multi-step reference collapsed into one node.
How it works
The upscale is a learned latent upscale from whatever you have in ComfyUI/models/latent_upscale_models/; the picker prefers an installed 3d_conv checkpoint, then 2d_conv, and falls back to plain interpolation. Interpolation is genuinely useful for diagnosing (is this the upscaler or the refinement?), but it is not the reference recipe, and the author says so rather than pretending otherwise. Pick 4K and the node goes through 2K first, because that's the upscaler's trained range.
The refinement is where the recipe lives. The published schedule is the sigmas 0.909375, 0.857143, 0.666667, 0 - three Euler steps, CFG 1, and unshifted, so your model's shift setting doesn't apply. They aren't widgets because they aren't yours to tune. What is exposed is denoise (default 1), which keeps all three steps; lower values take the tail of the same schedule with native SplitSigmasDenoise rounding, so 0.5 gives two steps, 0.2 gives one, and 0 or 0.05 gives none. Zero steps skip diffusion but still upscale - a useful "make it bigger, don't reinterpret it" mode.
Then the LoRA, patched onto a clone of the connected model so the generation chain upstream stays untouched. The refiner LoRA already has LightX2V Turbo and LMS Sharp merged in, which is why the tooltip says to connect the plain H3 model with neither on top. Add them again and you've double-dosed the model.
Spatial tiling and temporal windows come from the pack's Enhanced Upscale core, so a 4K refine runs in windows instead of one enormous full-canvas pass. That's why tile_memory_estimate exists: ComfyUI sizes its pre-sampling memory estimate from the latent it's handed, and a 3840×2176 thirty-token window is estimated near 105 GB, at which point it offloads your whole model. The estimate tells it to budget for one tile instead. Residency only, never pixels.
The inputs that matter
Required: model (plain H3), conditioning (the positive H3 conditioning - there's no negative input because CFG is fixed at 1), latent (the completed sampler's packed AV latent), lora_name, strength, upscale_model, target, seed.
target is the one you'll set most: 1080P, 2K (default), 4K, or Original. Near-16:9 drafts get the exact 16:9 grid at that target - 1344×768 becomes 2560×1440. Other aspects keep their aspect on the target's short side, so a square draft goes to 1440×1440, and if you need precisely 1080 or 2160 rows you decode and crop. Original is the sleeper: no upscaler, no resize, just the LoRA and the three steps at your draft's resolution. It reinterprets detail rather than preserving it, so don't read it as lossless.
Optional, and you'll skip most: denoise for fewer steps, spatial_tiling / temporal_chunking if you're memory-constrained or want the reference's single full-canvas pass, upscale_sharpness (1–6, 2D upscaler only; 1 = most faithful, 6 = sharper with more colour shift), vae plus director_guide or start_image for endpoint re-encoding at target size, noise to override the seeded refinement noise, and continuity_context for continuations, where it stops the old prefix being refined along with the new section.
Two outputs: latent (packed AV, into your AV decode chain) and plan, a string describing what it's about to do. Read the plan - it's the cheapest debug you'll get here.
Install
LoRA into ComfyUI/models/loras/, upscaler into ComfyUI/models/latent_upscale_models/, then the pack itself:
cd ComfyUI/custom_nodes
git clone https://github.com/darksidewalker/ComfyUI-DaSiWa-Nodes
cd ComfyUI-DaSiWa-Nodes
pip install -r requirements.txt
Or ComfyUI Manager, searching DaSiWa-Nodes. Restart and look under DaSiWa / MiniMax H3.
Where people get burned
"…has Diffusers keys. Convert it to native H3 keys first." The wall everybody hits. The published LoRA uses Diffusers key names, and ComfyUI would skip every one silently and run your "refined" video with no refiner at all - so the node refuses instead. You need the DaSiWa Quant Station Diffusers → H3 conversion (exact or SVD). The error also mentions a tools/convert_open_h3_regenerate_lora.py, which isn't in the repo - grep the clone and the only hit is the message itself.
"Expected native H3 packed video+audio LATENT." You handed it an image, a video-only latent or an unpacked tensor; it wants the completed sampler output, audio included. Same for "Requires a native MiniMax H3 model" - fine-tunes that aren't real H3 bases won't fly, and the shared core rejects masked latents and ControlNet conditioning too. Don't stack it behind another patch that wraps the model function either; the tiler needs that slot.
OOM at 4K. Leave spatial_tiling and tile_memory_estimate on; if you're tight, set weight_residency to stream or cap max_resident_gb. On a 16 GB 4070 Ti Super the pack measured the memory estimate saving gigabytes of residency at the same wall time - it isn't costing you speed.
Unverified ground. The refiner LoRA was trained on the FL2VA base; behaviour on Ref2VA and fine-tunes isn't established. It also follows the MiniMax H3 Community License, which excludes the US, EU, UK and Korea.
Inputs (22)
| Name | Type | Default | Description |
|---|---|---|---|
| model | MODEL | Native MiniMax H3 model without Turbo/Sharp LoRAs. | |
| conditioning | CONDITIONING | Positive H3 conditioning for refinement. CFG is fixed at 1; no negative conditioning is needed. | |
| latent | LATENT | Completed native H3 packed video+audio latent. Original audio passes through unchanged. | |
| lora_name | COMBO | Open-H3-Regenerate-2K LoRA converted to native H3 keys (exact or SVD). | |
| strength | FLOAT | 1.000–2 | Refiner LoRA strength, default 1 as in the reference recipe. Zero disables the LoRA, not diffusion refinement; use denoise to control refinement. |
| upscale_model | COMBO | interpolation | Learned latent upscaler from latent_upscale_models. Prefers 3D, then 2D when installed; interpolation uses no learned checkpoint and differs from the reference recipe. Ignored for target Original. |
| target | COMBO | 2K | 1080P/4K are computed at 1088/2176 rows like the reference; crop after decode if needed. Near-16:9 drafts get the exact 16:9 grid, other aspects keep their aspect at this short side. Original regenerates at the input draft resolution without resizing or loading an upscaler. |
| seed | INT | 00–18446744073709550000 | Refinement noise seed. A connected noise input supplies the noise instead. |
| director_guideopt | MINIMAX_H3_DIRECTOR_GUIDE | Optional matching Director Guide for endpoint re-encoding at the target size; also connect the H3 video VAE. | |
| vaeopt | VAE | H3 video VAE for optional endpoint image re-encoding, not the audio VAE. | |
| start_imageopt | IMAGE | Optional explicit first-frame image for target-size re-encoding; requires the H3 video VAE. | |
| noiseopt | NOISE | Optional ComfyUI noise source replacing the seed-generated refinement noise. | |
| continuity_contextopt | DF_H3_CONTINUITY_CONTEXT | Matching continuity context: Append & Stage context, or Segment Prepare.segment_context in New segment only mode (render_latent → this node → Segment Decode). Protects the old prefix from diffusion refinement. | |
| spatial_tilingopt | BOOLEAN | true | Allow automatic spatial tiling. Off samples the full canvas like the reference (more VRAM). |
| temporal_chunkingopt | BOOLEAN | true | Allow automatic temporal windows (up to 30 latent tokens each). Every window runs the complete refinement schedule, so a long video shows the same steps once per window. Off refines the whole video in one window like the reference (more VRAM). |
| denoiseopt | FLOAT | 1.000–1 | Refinement denoise, independent of LoRA strength. 1 keeps the published three-step schedule; lower values take its tail with native SplitSigmasDenoise rounding. 0 (or zero retained steps) skips diffusion, not latent upscaling. Original audio is unchanged. |
| upscale_sharpnessopt | INT | 11–6 | 2D learned upscaler tier: 1 = most faithful (default), 6 = sharpest with slightly more color shift. Ignored by the 3D upscaler, interpolation and target Original (no upscale). |
| temporal_joinopt | COMBO | crossfade | How refinement windows after the first continue from the previous one (only with more than one temporal window). crossfade (default, previous behaviour): the next window gets the previous window's overlap token as an anchor keyframe and the overlap is crossfaded. prefix: the previous window's finished overlap tokens start the next window frozen (denoise mask 0), so the hand-off is exact, nothing is crossfaded and no anchor-keyframe tokens are added (less memory). |
| tile_referencesopt | COMBO | full | With spatial tiles: what each tile sees of Reference to Video blocks. full (default): every reference, uncropped (character, product or style references). crop_video: reference videos are cropped to the tile, so each tile follows its own part of the plate and attends to a tile-sized share of its tokens (video edits). crop_all: reference images are cropped too (only when the picture is a frame of this shot). Audio references are never cropped. |
| tile_memory_estimateopt | BOOLEAN | true | With spatial tiles: size ComfyUI's pre-sampling memory reservation for one tile instead of the whole frame, so the model is not offloaded for memory a tiled step never uses (a 4K window is otherwise estimated at ~100 GB). Changes model residency only, never the result. Turn off only to compare or diagnose out-of-memory errors. |
| weight_residencyopt | COMBO | auto | With the tile memory estimate: how much of the model stays on the GPU while tiles are refined. auto (default): keep the whole model loaded when it fits beside one tile's working memory, otherwise stream it from RAM with almost nothing resident (a partly loaded model was not faster on a compute-bound card, and streaming uses less VRAM). keep: load as much as fits. stream: always keep as little as possible loaded. Never changes the result. |
| max_resident_gbopt | FLOAT | 0.00–1024 | With the tile memory estimate, auto/keep: cap the model weights kept on the GPU, for example to leave room for other programs. 0 (default) = no cap. Ignored by stream. |
Outputs (2)
| Name | Type | Description |
|---|---|---|
| latent | LATENT | — |
| plan | STRING | — |