[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"project-116599":3},{"id":4,"name":5,"fullName":6,"owner":7,"repo":5,"description":8,"homepage":9,"htmlUrl":10,"language":11,"languages":10,"totalLinesOfCode":10,"stars":12,"forks":13,"watchers":14,"openIssues":15,"contributorsCount":16,"subscribersCount":16,"size":16,"stars1d":16,"stars7d":17,"stars30d":17,"stars90d":16,"forks30d":16,"starsTrendScore":15,"compositeScore":18,"rankGlobal":10,"rankLanguage":10,"license":19,"archived":20,"fork":20,"defaultBranch":21,"hasWiki":20,"hasPages":20,"topics":22,"createdAt":10,"pushedAt":31,"updatedAt":32,"readmeContent":33,"aiSummary":34,"trendingCount":16,"starSnapshotCount":16,"syncStatus":17,"lastSyncTime":35,"discoverSource":36},116599,"ComfyUI-OpenH3Regenerate2KIC","slmonker\u002FComfyUI-OpenH3Regenerate2KIC","slmonker","ComfyUI nodes, workflow, and converted LoRA for Open-H3-Regenerate-2K-IC","https:\u002F\u002Fhuggingface.co\u002Fslmonker\u002FOpen-H3-Regenerate-2K-IC-ComfyUI",null,"Python",56,3,53,1,0,2,43.01,"Apache License 2.0",false,"main",[23,24,25,26,27,28,29,30],"ai-video","comfyui","comfyui-nodes","lora","minimax-h3","open-h3","video-refinement","video-super-resolution","2026-11-09 12:52:29","2026-11-20 20:28:43","# ComfyUI Open-H3-Regenerate-2K-IC\n\nEnglish | [简体中文](README.zh-CN.md)\n\nComfyUI nodes and example workflows for\n[NVlabs\u002FSana · Open-H3-Regenerate-2K\u002FIC](https:\u002F\u002Fgithub.com\u002FNVlabs\u002FSana\u002Ftree\u002Fsol-engine\u002Fmodels\u002FOpen-H3-Regenerate-2K\u002FIC).\n\nThis repository contains both:\n\n1. **Text-to-video example** — text → 768P H3 draft → IC 2K refinement.\n2. **Draft-to-2K example** — existing 768P draft → IC 2K refinement.\n\n- GitHub: \u003Chttps:\u002F\u002Fgithub.com\u002Fslmonker\u002FComfyUI-OpenH3Regenerate2KIC>\n- Converted ComfyUI LoRA: \u003Chttps:\u002F\u002Fhuggingface.co\u002Fslmonker\u002FOpen-H3-Regenerate-2K-IC-ComfyUI>\n- Upstream weights: \u003Chttps:\u002F\u002Fhuggingface.co\u002FEfficient-Large-Model\u002FOpen-H3-Regenerate-2K-IC>\n\n\n## Demo videos\n\nEach comparison shows the **768P draft on the left** and the **2K IC result on the right**. Click a preview to open the final MP4.\n\n### Demo 1\n\n[![Demo 1](demo\u002Fdemo_01.jpg)](https:\u002F\u002Fgithub.com\u002Fslmonker\u002FComfyUI-OpenH3Regenerate2KIC\u002Freleases\u002Fdownload\u002Fdemo-videos\u002FRegen2KIC_00002-audio.mp4)\n\n[Draft MP4](https:\u002F\u002Fgithub.com\u002Fslmonker\u002FComfyUI-OpenH3Regenerate2KIC\u002Freleases\u002Fdownload\u002Fdemo-videos\u002F768p_00001-audio.mp4) · [2K MP4](https:\u002F\u002Fgithub.com\u002Fslmonker\u002FComfyUI-OpenH3Regenerate2KIC\u002Freleases\u002Fdownload\u002Fdemo-videos\u002FRegen2KIC_00002-audio.mp4)\n\n### Demo 2\n\n[![Demo 2](demo\u002Fdemo_02.jpg)](https:\u002F\u002Fgithub.com\u002Fslmonker\u002FComfyUI-OpenH3Regenerate2KIC\u002Freleases\u002Fdownload\u002Fdemo-videos\u002FRegen2KIC_00003-audio.mp4)\n\n[Draft MP4](https:\u002F\u002Fgithub.com\u002Fslmonker\u002FComfyUI-OpenH3Regenerate2KIC\u002Freleases\u002Fdownload\u002Fdemo-videos\u002F768p_00002-audio.mp4) · [2K MP4](https:\u002F\u002Fgithub.com\u002Fslmonker\u002FComfyUI-OpenH3Regenerate2KIC\u002Freleases\u002Fdownload\u002Fdemo-videos\u002FRegen2KIC_00003-audio.mp4)\n\n### Demo 3\n\n[![Demo 3](demo\u002Fdemo_03.jpg)](https:\u002F\u002Fgithub.com\u002Fslmonker\u002FComfyUI-OpenH3Regenerate2KIC\u002Freleases\u002Fdownload\u002Fdemo-videos\u002FRegen2KIC_00004-audio.mp4)\n\n[Draft MP4](https:\u002F\u002Fgithub.com\u002Fslmonker\u002FComfyUI-OpenH3Regenerate2KIC\u002Freleases\u002Fdownload\u002Fdemo-videos\u002F768p_00004-audio.mp4) · [2K MP4](https:\u002F\u002Fgithub.com\u002Fslmonker\u002FComfyUI-OpenH3Regenerate2KIC\u002Freleases\u002Fdownload\u002Fdemo-videos\u002FRegen2KIC_00004-audio.mp4)\n\n[Open the demo release](https:\u002F\u002Fgithub.com\u002Fslmonker\u002FComfyUI-OpenH3Regenerate2KIC\u002Freleases\u002Ftag\u002Fdemo-videos)\n\n## Examples\n\n| Example | Workflow | Description |\n|---|---|---|\n| Text-to-video | [`workflows\u002Fregen2k_ic_T2VA.json`](workflows\u002Fregen2k_ic_T2VA.json) | Generates a 1344×768 draft from text, then refines it to 2560×1440 |\n| Reference-to-video | [`workflows\u002FH3_regen2k_ic_Ref2va.json`](workflows\u002FH3_regen2k_ic_Ref2va.json) | Enhances a reference image into a 768P Ref2VA draft, then refines it to 2560×1440 |\n| Draft-to-2K | [`workflows\u002Fopen_h3_regenerate_2k_ic.json`](workflows\u002Fopen_h3_regenerate_2k_ic.json) | Refines an existing 768P draft to 2560×1440 |\n\n\n## Text-to-video pipeline\n\n```text\nText prompt\n  -> MiniMax-H3 Image-to-Video + DMAD 4-step LoRA\n  -> 1344×768 \u002F 124 frames \u002F 24 fps draft\n  -> decode draft video + draft audio\n  -> draft becomes \u003CVideo 1> in Ref2VA\n  -> official 3D latent upscaler\n  -> HyperFlow + LMS Sharp + Open-H3 IC LoRA\n  -> up3 3-step refinement\n  -> 2560×1440 final video\n```\n\nThe T2VA workflow uses one text node that feeds both stages:\n\n- raw text into the H3 draft generator\n- official enhancement prefix + the same text into the IC Ref2VA stage\n\n## Draft-to-2K pipeline\n\n```text\nExisting 768P draft\n  -> \u003CVideo 1> Ref2VA conditioning\n  -> H3 VAE encode -> official 3D latent upscaler\n  -> HyperFlow + LMS Sharp + IC LoRA\n  -> up3 \u002F up4 \u002F hf8 sigma grid\n  -> fast H3 VAE decode\n  -> mux the draft's original audio\n```\n\n## Contents\n\n| Path | Purpose |\n|---|---|\n| `nodes.py` | Four ComfyUI helper nodes |\n| `workflows\u002Fopen_h3_regenerate_2k_ic.json` | Draft-to-2K UI workflow |\n| `workflows\u002Fopen_h3_regenerate_2k_ic_api.json` | Draft-to-2K API payload |\n| `tools\u002Fconvert_ic_lora.py` | Diffusers IC LoRA → ComfyUI generic LoRA |\n| `tools\u002Fbuild_workflow.py` | Rebuild the draft-to-2K workflow |\n| `assets\u002Fsilence_audio_124f.safetensors` | Official fixed-silence latent for the IC audio rows |\n| `tests\u002Ftest_nodes.py` | Unit tests for preprocessing and sigma grids |\n\n## Nodes\n\n### Open-H3 IC · Prepare Draft (124f \u002F 24fps)\n\n- samples 124 frames at 24 fps\n- cover-resizes and center-crops to 1344×768\n- trims or pads audio using its real sample rate\n- requires at least 113 real frames after resampling\n\n### Open-H3 IC · Official Prompt\n\nPrepends the official enhancement task and preserves the source caption as\n`Scene description`.\n\n### Open-H3 IC · Sigma Grid\n\n| Mode | Sigmas |\n|---|---|\n| `up3` | `0.834942, 0.696852, 0.468753, 0` |\n| `up4` | `0.923077, 0.834942, 0.696852, 0.468753, 0` |\n| `hf8` | `1.0, 0.99391, 0.984288, 0.966064, 0.923077, 0.834942, 0.696852, 0.468753, 0` |\n\n### Open-H3 IC · Compose Target Latent\n\nCombines the upscaled target video latent with the official 124-frame silence\nlatent and pins the audio stream with `noise_mask=0`.\n\n## Installation\n\n### ComfyUI Manager\n\nSearch for **Open-H3 Regenerate 2K IC** in ComfyUI Manager, or install Registry ID `comfyui-open-h3-regenerate-2k-ic`.\n\n[Comfy Registry page](https:\u002F\u002Fregistry.comfy.org\u002Fnodes\u002Fcomfyui-open-h3-regenerate-2k-ic)\n\n```bash\ncd ComfyUI\u002Fcustom_nodes\ngit clone https:\u002F\u002Fgithub.com\u002Fslmonker\u002FComfyUI-OpenH3Regenerate2KIC.git\n```\n\nRestart ComfyUI after installation.\n\nThe T2VA example also uses:\n\n- `ComfyUI-LynnReal` — attention\u002Ffeed-forward helpers\n- `ComfyUI-Spark-H3` — Sol-Attn sparse attention\n- `ComfyUI-VideoHelperSuite` — `VHS_VideoCombine`\n\nThe draft-to-2K example uses `LynnRealH3VAELoader` for the fast H3 VAE decoder.\n\n## Common models\n\nPlace these under `ComfyUI\u002Fmodels\u002F`:\n\n```text\nmodels\u002F\n├── text_encoders\u002F\n│   └── MiniMax-H3\u002Fqwen3vl_32b_minimax_h3_int8_convrot.safetensors\n├── vae\u002F\n│   └── MiniMax-H3\u002F\n│       ├── minimax_h3_video_vae_fp16.safetensors\n│       └── sol_h3_vae.safetensors\n├── latent_upscale_models\u002F\n│   └── minimax_h3_latent_upscaler_3d_conv_v1_bf16.safetensors\n└── loras\u002F\n    ├── minimax_h3_hyperflow_8step_v1.0_comfyui_bf16.safetensors\n    ├── minimax_h3_lms_v1.0_r64.safetensors\n    └── minimax_h3_open_regenerate_2k_ic_comfy_bf16.safetensors\n```\n\nDownload the converted IC LoRA from:\n\n\u003Chttps:\u002F\u002Fhuggingface.co\u002Fslmonker\u002FOpen-H3-Regenerate-2K-IC-ComfyUI>\n\nLoad the IC LoRAs in this order:\n\n1. HyperFlow 8-step\n2. LMS Sharp\n3. Open-H3 Regenerate 2K IC\n\n### T2VA-only models\n\n```text\nmodels\u002F\n├── diffusion_models\u002F\n│   └── minimax_h3_hybrid_fl2va_ref2va_b25-49-int8.safetensors\u002F\n│       └── minimax_h3_hybrid_fl2va_ref2va_b25-49-int8.safetensors\n├── vae\u002FMiniMax-H3\u002F\n│   └── minimax_h3_audio_vae_fp32.safetensors\n└── loras\u002F\n    └── dmad_minimax_h3_4step_full_critic_comfy.safetensors\n```\n\nThe hybrid FL2VA+Ref2VA checkpoint and DMAD LoRA come from the MiniMax-H3 \u002F\nTaoMate-HD ecosystem. The hybrid checkpoint is not included in this repository.\n\n## Running the T2VA example\n\n1. Open `workflows\u002Fregen2k_ic_T2VA.json`.\n2. Edit **T2VA prompt · edit this text** once.\n3. Run the graph.\n4. The 768P draft preview and 2K final video are written under `ComfyUI\u002Foutput\u002FOpenH3\u002F`.\n\nDefault settings:\n\n- draft: 1344×768, 124 frames, 24 fps, DMAD 4-step\n- IC refinement: `up3`, CFG 1, 2560×1440\n\n## Running the draft-to-2K example\n\n1. Put an existing 768P draft into `ComfyUI\u002Finput\u002F`.\n2. Open `workflows\u002Fopen_h3_regenerate_2k_ic.json`.\n3. Select the draft in **Load Video**.\n4. Enter the original prompt in **Open-H3 IC · Official Prompt**.\n5. Run the graph.\n\nFor 1080P, set both resolution-bearing nodes to `1920×1088`. For 4K use\n`3840×2176`, which is usually impractical on a 32 GB GPU.\n\n## Convert the official IC LoRA\n\n```bash\npython tools\u002Fconvert_ic_lora.py \\\n  open_h3_regenerate_2k_ic_lora.safetensors \\\n  minimax_h3_open_regenerate_2k_ic_comfy_bf16.safetensors \\\n  --dtype bf16\n```\n\nConversion details:\n\n- q\u002Fk\u002Fv → fused `qkv_proj` with block-diagonal B\n- `ff.net.0.proj` from Diffusers `[value;gate]` to ComfyUI `[gate;value]`\n- fused qkv `alpha = 3 × rank`\n- output BF16\n\nReleased conversion:\n\n- 312 source linear layers\n- 208 ComfyUI modules\n- 624 tensors\n- zero missing base-model mappings\n\n## Validation\n\n```bash\npython -m unittest discover -s tests -v\n```\n\nThe draft-to-2K workflow loads in ComfyUI and converts through `graphToPrompt()`\nwith zero input-schema errors. The converted LoRA was checked against\n`minimax_h3_ref2va_bf16.safetensors`.\n\n## Notes\n\n- Default clip length is 124 frames (about 5.17 seconds).\n- The T2VA example keeps H3-generated draft audio in stage 1.\n- The IC stage uses fixed silence internally and outputs the draft audio.\n- 2K on 32 GB VRAM requires model offload \u002F low-VRAM attention handling.\n- This is a community implementation, not an official MiniMax product.\n\n## Acknowledgements\n\n- [Open-H3-Regenerate-2K-IC](https:\u002F\u002Fgithub.com\u002FNVlabs\u002FSana\u002Ftree\u002Fsol-engine\u002Fmodels\u002FOpen-H3-Regenerate-2K\u002FIC)\n- [MiniMax-H3](https:\u002F\u002Fhuggingface.co\u002FMiniMaxAI\u002FMiniMax-H3)\n- [Comfy-Org\u002FMiniMax-H3](https:\u002F\u002Fhuggingface.co\u002FComfy-Org\u002FMiniMax-H3)\n- [HyperFlow](https:\u002F\u002Fgithub.com\u002FVideo-Rebirth\u002Fhyperflow)\n- [H3 latent upscaler](https:\u002F\u002Fgithub.com\u002FLBH-123-AI\u002FComfyui_Minimax_h3_latent_Upscaler)\n\n## License\n\nNode code is Apache-2.0. MiniMax-H3 weights and derivative assets remain subject\nto the MiniMax-H3 Community License. See `NOTICE.md`.\n","这是一个为 ComfyUI 设计的视频超分辨率增强工具包，专用于将 768P（1344×768）AI 生成视频草案提升至 2K 分辨率（2560×1440），基于 Open-H3-Regenerate-2K-IC 模型实现。核心功能包括文本到视频全流程（T2V → Draft → 2K IC）、已有视频草案的无损精修（Draft-to-2K），以及参考图驱动的视频生成与升级；技术上整合了 MiniMax-H3 视频生成主干、3D 空间上采样器、HyperFlow 运动建模及定制 LoRA 微调模块。适用于需要高质量、高帧率 AI 视频输出的内容创作、影视预演与模型研究场景。","2026-11-24 04:53:59","CREATED_QUERY"]