ComfyUI-H3-Video-Upsampler / example_workflows /H3_Video_Upsampler_File.json
sandpies's picture
0.7.2: face_pass auto/on/off (Regen2K close-ups of small faces under ic); audio past the soundtrack's end padded with silence (PR #6, plz12345); rebuilt from HTC v4
53ae8de verified
Raw History Blame Contribute Delete
9.91 kB
{
"id": "h3-video-upsampler-file",
"revision": 0,
"last_node_id": 8,
"last_link_id": 6,
"nodes": [
{
"id": 1,
"type": "MarkdownNote",
"pos": [
-900,
-560
],
"size": [
640,
560
],
"flags": {},
"order": 0,
"mode": 0,
"inputs": [],
"outputs": [],
"properties": {
"Node name for S&R": "MarkdownNote"
},
"widgets_values": [
"## H3 Video Upsampler (file to file)\n\nSame result as the IMAGE workflow, for clips of any length on any machine: the video is read, upscaled and saved **a piece at a time**, so RAM stays low however long it is.\n\n1. **Load Video**: pick the clip. Frame rate and sound come from the file.\n2. **Queue.** The MP4 lands in `video/H3_upsampled` with the original soundtrack.\n\n**Models**\n\n| loader | file | folder |\n|---|---|---|\n| Load Diffusion Model | [`minimax_h3_fl2va_pruned_int8_convrot`](https://huggingface.co/Comfy-Org/MiniMax-H3/blob/main/diffusion_models/minimax_h3_fl2va_pruned_int8_convrot.safetensors) for `regen2k`; [`minimax_h3_ref2va_int8_convrot`](https://huggingface.co/Comfy-Org/MiniMax-H3/blob/main/diffusion_models/minimax_h3_ref2va_int8_convrot.safetensors) (no LoRAs) for `ic` | `diffusion_models` |\n| Load CLIP (optional, `ic` only) | [`qwen3vl_32b_minimax_h3_int8_convrot`](https://huggingface.co/Comfy-Org/MiniMax-H3/blob/main/text_encoders/qwen3vl_32b_minimax_h3_int8_convrot.safetensors) | `text_encoders` |\n| Video VAE | [`minimax_h3_video_vae_int8_convrot`](https://huggingface.co/Comfy-Org/MiniMax-H3/blob/main/vae/minimax_h3_video_vae_int8_convrot.safetensors) (about 20% faster overall, slightly softer hair edges: [`minimax_h3_sol_vae_fp16`](https://huggingface.co/Comfy-Org/MiniMax-H3/blob/main/vae/minimax_h3_sol_vae_fp16.safetensors)) | `vae` |\n| Audio VAE | [`minimax_h3_audio_vae_fp32`](https://huggingface.co/Comfy-Org/MiniMax-H3/blob/main/vae/minimax_h3_audio_vae_fp32.safetensors) | `vae` |\n| `upscale_model` | [`minimax_h3_latent_upscaler_3d_conv_v1_bf16`](https://huggingface.co/LBH-123-AI/Minimax_h3_latent_Upscaler/blob/main/minimax_h3_latent_upscaler_3d_conv_v1/minimax_h3_latent_upscaler_3d_conv_v1_bf16.safetensors) (the old name `minimax_h3_latent_upscaler_3d_bf16.safetensors` also loads). Or the 2D one, [`minimax_h3_latent_upscaler_2d_conv_v1_bf16`](https://huggingface.co/LBH-123-AI/Minimax_h3_latent_Upscaler/blob/main/minimax_h3_latent_upscaler_2d_conv_v1/minimax_h3_latent_upscaler_2d_conv_v1_bf16.safetensors), which takes `sharpness` 1-6 | `latent_upscale_models` |\n| `lora` for `regen2k` | [`open_h3_regenerate_2k_r256pp_bf16`](https://huggingface.co/sandpies/ComfyUI-H3-Video-Upsampler/blob/main/lora/open_h3_regenerate_2k_r256pp_bf16.safetensors) | `loras` |\n| `ic` only | [`minimax_h3_open_regenerate_2k_ic_lora_avg_rank_21_bf16`](https://huggingface.co/Kijai/MiniMax-H3-experimental/blob/main/loras/minimax_h3_open_regenerate_2k_ic_lora_avg_rank_21_bf16.safetensors) (200 MB) + [`minimax_h3_hyperflow_8step_v1.0`](https://huggingface.co/videorebirth/hyperflow/blob/main/minimax_h3_hyperflow_8step_v1.0.safetensors) (+ [`minimax_h3_lms_v1.0_r64`](https://huggingface.co/Alissonerdx/Minimax-H3-ComfyUI/blob/main/loras/minimax_h3_lms_v1.0_r64.safetensors) if you have it) | `loras` |\n\n### Settings worth knowing\n- **method**: `regen2k` (default) re-draws detail from the enlarged clip. `ic` keeps each piece's original frames in view while it re-draws and hears the soundtrack, so faces, lettering and mouths stay the clip's own; it is slower. For `ic`, switch **Load Diffusion Model** to `minimax_h3_ref2va_int8_convrot` (no LoRAs); the node stops before any work and says so if the model cannot run it. Load CLIP is optional for `ic`: unwired, a saved encoding of the task is used and the 26 GB text encoder never loads.\n- **megapixels**: output size (2 = about 1920x1080).\n- **denoise**: how strongly detail is re-drawn. 0.8 = normal, 0 = only enlarge.\n- **redraw_start** (`regen2k`): how much the re-draw may change. **0.6** (default) keeps faces close to your clip; 0.8 = the original recipe, sharper but faces drift more.\n- **redraw_steps**: 3 = the recipe; 2 = about a third faster and starts later, so less is re-drawn (also for `ic`).\n- **tile_tokens**: leave at 0 (automatic: it learns what your GPU can take).\n- **chunk_join**: leave on `stepped`: long clips are cut into overlapping pieces re-drawn together, so there are no seams.\n- **chunking / tiling**: leave on. They only split the work when your GPU needs it.\n- **attention**: `sparse` (default) is about 28% faster and looked the same in tests; `dense` is exact but slower. With a [ComfyUI-KJNodes](https://github.com/kijai/ComfyUI-KJNodes) older than 2026-09-06, sparse attention falls back to dense by itself and the log says so; update KJNodes to get it back.\n- **conditioning** (optional, `regen2k`): a text prompt describing the look. Unwired works well for most clips.\n- **frame_rate**: `24 (H3 native)` converts to 24 fps while reading: exact lip sync and half the work for 48 fps clips. Add `frame_gen` x2 to get 48 fps back.\n- **frame_gen / codec / quality**: how the MP4 is saved. x2 doubles the frame rate (RTX + `nvidia-vfx`).\n- **reuse_encoded**: re-running the same clip with other settings starts faster.\n"
]
},
{
"id": 2,
"type": "UNETLoader",
"pos": [
-900,
0
],
"size": [
420,
82
],
"flags": {},
"order": 1,
"mode": 0,
"inputs": [],
"outputs": [
{
"name": "MODEL",
"type": "MODEL",
"links": [
2
],
"slot_index": 0
}
],
"properties": {
"Node name for S&R": "UNETLoader"
},
"widgets_values": [
"minimax_h3_fl2va_pruned_int8_convrot.safetensors",
"default"
],
"title": "Load Diffusion Model (plain, no LoRAs)"
},
{
"id": 3,
"type": "VAELoader",
"pos": [
-900,
140
],
"size": [
420,
58
],
"flags": {},
"order": 2,
"mode": 0,
"inputs": [],
"outputs": [
{
"name": "VAE",
"type": "VAE",
"links": [
3
],
"slot_index": 0
}
],
"properties": {
"Node name for S&R": "VAELoader"
},
"widgets_values": [
"minimax_h3_video_vae_int8_convrot.safetensors"
]
},
{
"id": 4,
"type": "VAELoader",
"pos": [
-900,
240
],
"size": [
420,
58
],
"flags": {},
"order": 3,
"mode": 0,
"inputs": [],
"outputs": [
{
"name": "VAE",
"type": "VAE",
"links": [
4
],
"slot_index": 0
}
],
"properties": {
"Node name for S&R": "VAELoader"
},
"widgets_values": [
"minimax_h3_audio_vae_fp32.safetensors"
],
"title": "Load VAE (audio)"
},
{
"id": 5,
"type": "LoadVideo",
"pos": [
-420,
-560
],
"size": [
320,
420
],
"flags": {},
"order": 4,
"mode": 0,
"inputs": [],
"outputs": [
{
"name": "VIDEO",
"type": "VIDEO",
"links": [
1
],
"slot_index": 0
}
],
"properties": {
"Node name for S&R": "LoadVideo"
},
"widgets_values": [
"",
"image"
],
"title": "clip to upscale"
},
{
"id": 6,
"type": "H3VideoUpsamplerToFile",
"pos": [
-60,
-560
],
"size": [
420,
460
],
"flags": {},
"order": 5,
"mode": 0,
"inputs": [
{
"name": "video",
"type": "VIDEO",
"link": 1
},
{
"name": "model",
"type": "MODEL",
"link": 2
},
{
"name": "vae",
"type": "VAE",
"link": 3
},
{
"name": "audio_vae",
"type": "VAE",
"link": 4,
"shape": 7
},
{
"name": "conditioning",
"type": "CONDITIONING",
"link": null,
"shape": 7
},
{
"name": "clip",
"type": "CLIP",
"link": 6
}
],
"outputs": [
{
"name": "video",
"type": "VIDEO",
"links": [],
"slot_index": 0
},
{
"name": "filepath",
"type": "STRING",
"links": [],
"slot_index": 1
},
{
"name": "report",
"type": "STRING",
"links": [
5,
5
],
"slot_index": 2
}
],
"properties": {
"Node name for S&R": "H3VideoUpsamplerToFile"
},
"widgets_values": [
"minimax_h3_latent_upscaler_3d_conv_v1_bf16.safetensors",
2.0,
0.8,
"open_h3_regenerate_2k_r256pp_bf16.safetensors",
0,
"euler",
42,
"sparse",
"stepped",
true,
true,
0.6,
"3 (recipe)",
"off",
"auto",
"max",
"video/H3_upsampled",
"source",
true,
"regen2k",
1,
"auto"
]
},
{
"id": 7,
"type": "PreviewAny",
"pos": [
-60,
-60
],
"size": [
420,
120
],
"flags": {},
"order": 7,
"mode": 0,
"inputs": [
{
"name": "source",
"type": "*",
"link": 5
}
],
"outputs": [],
"properties": {
"Node name for S&R": "PreviewAny"
},
"title": "report"
},
{
"id": 8,
"type": "CLIPLoader",
"pos": [
-900,
340
],
"size": [
420,
106
],
"flags": {},
"order": 0,
"mode": 0,
"inputs": [],
"outputs": [
{
"name": "CLIP",
"type": "CLIP",
"links": [
6
]
}
],
"properties": {
"Node name for S&R": "CLIPLoader"
},
"widgets_values": [
"qwen3vl_32b_minimax_h3_int8_convrot.safetensors",
"minimax",
"default"
]
}
],
"links": [
[
1,
5,
0,
6,
0,
"VIDEO"
],
[
2,
2,
0,
6,
1,
"MODEL"
],
[
3,
3,
0,
6,
2,
"VAE"
],
[
4,
4,
0,
6,
3,
"VAE"
],
[
5,
6,
2,
7,
0,
"STRING"
],
[
6,
8,
0,
6,
5,
"CLIP"
]
],
"groups": [],
"config": {},
"extra": {
"ds": {
"scale": 0.7,
"offset": [
950,
620
]
}
},
"version": 0.4
}