ComfyUI 워크플로우/MiniMax H3
Workflow
MiniMax H3 Speed x6Sage · Sol 어텐션과 15+5 잠재 업스케일로 줄인 R2VMiniMax H3 Speed x6Faster R2V with Sage and Sol attention and 15+5 latent upscalingMiniMax H3 Speed x6用 SageAttention、Sol 注意力和 15+5 潜空间超分加速 R2V
다운로드
로그인 없이 다운로드할 수 있어요.Download without signing in.无需登录即可下载。
관련 비디오Related video相关视频MiniMax 생성속도 6배 향상 최적화 WorkflowMiniMax 6× Faster: Optimized ComfyUI WorkflowMiniMax 提速 6 倍:ComfyUI 优化工作流01이 워크플로는
MiniMax H3 R2V의 생성 시간을 줄이도록 짠 워크플로입니다. 같은 20스텝(res_multistep · simple)을 둘로 나눕니다. 앞 15스텝은 작은 시작 크기에서 구도를 잡고, 그 결과의 비디오 잠재만 LBH 2D 업스케일러로 가로 세로 각각 두 배로 키운 뒤, 마지막 5스텝을 큰 크기에서 마무리합니다. 1차에서 나온 소리는 마지막 5스텝에서 고정하고, 최종 MP4에는 1차 소리를 직접 붙입니다. LTX에서 쓰던 2단계 방식과 같은 발상입니다.
속도는 세 가지가 함께 만듭니다. SageAttention, 어텐션 계산을 줄이는 Sol 어텐션, 그리고 위의 15+5 구조입니다. 샘플링 전에 텍스트 인코더를 완전히 내리는 Text Encoder Unload 노드가 붙어 있어 VRAM을 더 쓸 수 있습니다. 터보 로라나 스펙트럼처럼 품질이 떨어질 수 있는 최적화는 넣지 않았습니다.
디노가 확인한 시간은 1메가픽셀 15초 비디오 기준으로 약 25분 걸리던 구성이 4분 16초까지 줄었습니다. 확인한 환경은 RTX 3060 Ti 8GB이고, 8초 비디오를 약 5분에 만들었습니다.
저장된 값은 설치 확인용 가벼운 설정입니다: 시작 0.15 메가픽셀(512×288), 최종 1024×576, 길이 5초. 이 값이 품질의 한계는 아닙니다.
02준비물
이 워크플로는 설치가 까다롭습니다. 디노는 직접 설치하기보다 Codex나 Claude 같은 코딩 에이전트에 맡기는 방법을 권했습니다.
- ComfyUI — 최신판.
comfy_api.latest가 있어야 합니다. - NVIDIA GPU — 컴퓨트 능력 8.0 이상이고 BF16을 지원해야 합니다.
- 노드 팩 — Deno Custom Nodes · ComfyUI-KJNodes · ComfyUI-VideoHelperSuite · Comfyui_Minimax_h3_latent_Upscaler(커밋
f34cadb이후 — 2D 업스케일러). 프레임 보간을 쓰려면 ComfyUI-VFI도 설치합니다. - SageAttention — ComfyUI가 쓰는 파이썬, Torch, CUDA, GPU에 맞는 판을 설치합니다. KJNodes 노드는 이 패키지를 설치해 주지 않습니다.
- comfy-kitchen PR #117 — Comfy-Org/comfy-kitchen의 PR #117(kijai의
sol_attn브랜치)이 있어야 Sol 어텐션 커널이 동작합니다. 디노가 시험한 커밋은23d1a665ecafd8a216a50108207816d1e133d646입니다. 환경에 맞는 휠이 없으면 소스에서 빌드해야 하고, 이때 CUDA Toolkit 12.8 이상(nvcc), CMake 3.26 이상, Ninja가 필요합니다. 일반 배포판 comfy-kitchen으로는 동작하지 않습니다. - SolAttnMiniMax 어댑터 —
ComfyUI/custom_nodes/에 넣는 커스텀 노드(sol_attn_minimax_pr117.py한 파일)입니다. 만드는 법은 워크플로 안의 「Build This Workflow」 메모에 있습니다. - 모델 — 다운로드할 곳은 워크플로 안의 「Model Links」 메모에 적혀 있습니다.
| 폴더 | 파일 | 크기 |
|---|---|---|
| diffusion_models | minimax_h3_ref2va_pruned_int8_convrot.safetensors | 21.0 GB |
| text_encoders | qwen3vl_32b_minimax_h3_int8_convrot.safetensors | 27.1 GB |
| vae | minimax_h3_video_vae_fp16.safetensors | 5.21 GB |
| vae | minimax_h3_audio_vae_fp32.safetensors | 605 MB |
| latent_upscale_models | minimax_h3_latent_upscaler_2d_conv_v1_bf16.safetensors | 364 MB |
텍스트 인코더는 더 작은 qwen3vl_32b_minimax_h3_nvfp4_awq.safetensors(15.7 GB)를 고를 수도 있습니다. 내 GPU에서 지원되는지 확인한 뒤 Load CLIP에서 파일 이름을 고릅니다.
03쓰는 법
- 워크플로를 엽니다. 다운로드한
.json파일을 ComfyUI 화면에 끌어다 놓습니다. - 모델과 노드 팩을 갖춥니다. 위 표의 파일을 각 폴더에 두고 노드 팩, SageAttention, comfy-kitchen PR #117, 어댑터를 설치한 뒤 ComfyUI를 다시 켭니다.
- 입력을 채웁니다. Multi Reference Image Loader에 레퍼런스 이미지를 순서대로 넣습니다. 이 워크플로는 이미지 레퍼런스만 연결되어 있습니다. R2V 노드의 프롬프트 칸은 비어 있으니 채운 뒤 실행합니다. 시작 크기는 「Start resolution」, 길이는 「Duration」에서 정합니다.
- 처음에는 저장된 값 그대로 한 번 돌립니다. 0.15 메가픽셀 · 5초로 오디오가 든 MP4가 끝까지 나오는지 확인합니다. 그다음 시작 크기와 길이를 단계별로 올립니다. 최종 크기는 시작 크기의 가로 세로 각각 2배입니다.
- 후처리는 따로 돌립니다. 오른쪽의 RTX Deblur + 업스케일 모델, 24fps에서 60fps 프레임 보간은 건너뛰기 상태입니다. 쓰려면 건너뛰기를 풀고, 완성된 MP4를 해당 그룹의 Load Video에 불러와 별도로 실행합니다.
04프롬프트
영어로 여섯 칸을 이 순서로 씁니다: subject_definitions → summary → retention_analysis → detailed_description → overall_soundscape → non_diegetic_music. 레퍼런스 이미지는 연결한 순서대로 <Picture 1>부터 부릅니다.
- 레퍼런스마다 역할을 한 문장씩 줍니다: 인물, 장소, 화풍, 목소리 중 무엇을 가져오는지 적습니다. 이미지에 이미 들어 있는 글자 · 색 · 화풍은 문장으로 바꿀 수 없으니, 다르게 보여야 하면 이미지를 바꿉니다.
- 인물 고정 — 이미지에서 가져오는 인물은
retention_analysis에 얼굴 · 눈 · 코 · 입술 · 피부색 · 나이 · 머리 모양을 지킨다는 문장과, 포즈 · 표정 · 움직임은 샷마다 자유롭다는 문장을 함께 씁니다. - 샷 —
[Shot 1]에는 타임스탬프를 붙이지 않고, 다음 샷부터[Shot 2] At 00:03.500, the shot cuts to ...처럼 시각을 적습니다. 위치, 움직임의 방향, 보이는 결과를 함께 씁니다. - 대사 —
The woman (S1) says in a quiet voice: <d>[Korean] 오늘도 끝났다.</d>처럼 한 문장에 화자와 대사를 씁니다. 대략 6초에 한 줄까지 둡니다. - 오디오 —
overall_soundscape에는 환경음과 효과음만, 배경 음악은non_diegetic_music에만 씁니다. 음악이 없으면N/A로 둡니다. - 길이 — 5~15초가 안정적인 구간이고, 20초가 넘으면 뒤쪽 샷 지시를 잘 따르지 않습니다. 프롬프트 속 모든 시각이 「Duration」 안에 들어와야 합니다.
05막힐 때
- 설치가 안 되면 먼저 GPU를 확인합니다. NVIDIA가 아니거나 컴퓨트 능력이 8.0 미만이거나 BF16을 지원하지 않으면 이 워크플로는 쓸 수 없습니다.
- Sol 어텐션이 켜졌는지 로그에서
[sol_attn] sparse ... cuda-int8줄이 한 번이라도 나오는지 봅니다. MP4가 나오는 것만으로는 Sol이 쓰였는지 알 수 없고,[sol_attn] kernel failed가 보이면 설치가 어긋난 것입니다. - ComfyUI를 업데이트한 뒤 느려지면 ComfyUI 요구 사항 업데이트가 PR #117 판 comfy-kitchen을 일반 판으로 덮어쓸 수 있습니다. 다시 설치하고 확인합니다.
- 같은 입력으로 다시 실행해도 결과가 같으면 이전 결과를 다시 돌려주는 것입니다. 시드를 바꿔 새 결과를 받습니다.
- 메모리가 모자라면 시작 크기와 길이부터 줄입니다.
06바뀐 점
- v1 (2026-11-21): 2026-08-26 영상과 함께 공개한 판을 옮겼습니다. 공개 때 소개한 Fused Modulation 노드는 오류가 있어 이 판에서 빠졌습니다.
- v2 (2026-12-02): 잠재 확대를 3D 업스케일러에서 LBH 2D 업스케일러로 바꿨습니다 — 한 번에 두 배로 키워도 픽셀이 찢어지는 얼룩이 생기지 않습니다. 워크플로 안 설명 메모의 업스케일러 안내도 함께 고쳤고, 나머지 노드와 값은 그대로입니다.
- v3 (2026-12-03): 1차 소리를 후반 샘플링에서 고정하고, 최종 MP4에 1차 소리를 직접 연결했습니다.
01What this workflow does
Generate MiniMax H3 R2V video faster by splitting the same 20 steps (res_multistep and simple) into two stages. The first 15 steps establish composition at a smaller size. The LBH 2D upscaler doubles the width and height of the video latent, and the final 5 steps refine it at the larger size. The final 5 steps keep the first-stage audio fixed, and the final MP4 uses that audio directly. This follows the same 2-stage approach used in LTX.
The 15+5 split, SageAttention, and Sol attention all reduce generation time. Sol attention reduces the amount of attention computation. Text Encoder Unload releases the text encoder completely before sampling to free up VRAM. The workflow skips optimizations that may reduce quality, such as Turbo LoRA and Spectrum.
In Deno’s tests, a 1-megapixel, 15-second video went from about 25 minutes to 4 minutes 16 seconds. Testing on an RTX 3060 Ti 8GB produced an 8-second video in about 5 minutes.
The saved settings are lightweight for testing installation. They start at 0.15 megapixels (512×288), finish at 1024×576, and run for 5 seconds. You can increase these settings later for higher quality.
02Requirements
Installation is involved. Deno recommends using a coding agent like Codex or Claude to help set it up.
- ComfyUI — Use the latest version with
comfy_api.latest. - NVIDIA GPU — Compute capability 8.0 or higher and BF16 support.
- Node packs — Deno Custom Nodes, ComfyUI-KJNodes, ComfyUI-VideoHelperSuite, and Comfyui_Minimax_h3_latent_Upscaler (commit
f34cadbor newer — the 2D upscaler). Install ComfyUI-VFI if you want frame interpolation. - SageAttention — Install the version that matches the Python, Torch, and CUDA versions ComfyUI uses and your GPU. Install this package separately from the KJNodes node.
- comfy-kitchen PR #117 — The Sol attention kernel requires PR #117 of Comfy-Org/comfy-kitchen (kijai’s
sol_attnbranch). Deno tested commit23d1a665ecafd8a216a50108207816d1e133d646. If a matching wheel is unavailable, build from source with CUDA Toolkit 12.8 or newer (nvcc), CMake 3.26 or newer, and Ninja. Use this PR build for Sol attention. - SolAttnMiniMax adapter — In
ComfyUI/custom_nodes/, add the single custom-node filesol_attn_minimax_pr117.py. The workflow’s “Build This Workflow” note explains how to create it. - Models — See the “Model Links” note in the workflow for download locations.
| Folder | File | Size |
|---|---|---|
| diffusion_models | minimax_h3_ref2va_pruned_int8_convrot.safetensors | 21.0 GB |
| text_encoders | qwen3vl_32b_minimax_h3_int8_convrot.safetensors | 27.1 GB |
| vae | minimax_h3_video_vae_fp16.safetensors | 5.21 GB |
| vae | minimax_h3_audio_vae_fp32.safetensors | 605 MB |
| latent_upscale_models | minimax_h3_latent_upscaler_2d_conv_v1_bf16.safetensors | 364 MB |
You can also use the smaller text encoder qwen3vl_32b_minimax_h3_nvfp4_awq.safetensors (15.7 GB). Check that your GPU supports it, then select the file in Load CLIP.
03How to use it
- Open the workflow. Drag the downloaded
.jsonfile onto the ComfyUI canvas. - Set up the models and node packs. Put the files in the folders shown above. Install the node packs, SageAttention, comfy-kitchen PR #117, and the adapter, then restart ComfyUI.
- Fill in the inputs. Add the reference images to Multi Reference Image Loader in order. The workflow connects image references only. Fill in the empty prompt field on the R2V node before you run it. Set the initial size in “Start resolution” and the length in “Duration.”
- Try the saved settings first. Check that the 0.15-megapixel, 5-second test produces a complete MP4 with audio. Then increase the starting size and duration gradually. The final width and height are each 2× the starting size.
- Run post-processing separately. RTX Deblur + upscale model and 24fps-to-60fps frame interpolation on the right are bypassed. Unbypass the group you want, open the finished MP4 in its Load Video node, and run it separately.
04Prompting
Write the six English sections in this order. subject_definitions → summary → retention_analysis → detailed_description → overall_soundscape → non_diegetic_music. Number your reference images from <Picture 1> in connection order.
- Give each reference one sentence describing its role. Specify which character, place, visual style, or voice to use. If an image already contains text, colors, or a style you want to change, use a different image.
- Preserve character identity. In
retention_analysis, state that the character’s face, eyes, nose, lips, skin tone, age, and hairstyle should stay consistent. Also state that pose, expression, and movement can change from shot to shot. - Describe the shots. Start
[Shot 1]without a timestamp. From the second shot onward, give a timestamp as in[Shot 2] At 00:03.500, the shot cuts to .... Include position, direction of movement, and the visible result. - Write dialogue. Put the speaker and the line in the same sentence, as in
The woman (S1) says in a quiet voice: <d>[Korean] 오늘도 끝났다.</d>. Use about one line per 6 seconds at most. - Describe audio. Use
overall_soundscapefor ambient sound and sound effects only, andnon_diegetic_musicfor background music only. If there is no music, useN/A. - Set the duration. The stable range is 5–15 seconds. Beyond 20 seconds, the model tends to follow later shot directions less reliably. Keep all timestamps within “Duration.”
05Troubleshooting
- If installation fails, check the GPU first. This workflow requires an NVIDIA GPU with compute capability 8.0 or higher and BF16 support.
- To confirm Sol attention is enabled, look for at least one
[sol_attn] sparse ... cuda-int8line in the log. A generated MP4 alone cannot confirm it. If you see[sol_attn] kernel failed, check the installation. - If the workflow slows down after a ComfyUI update, its dependency updates may have replaced the PR #117 build of comfy-kitchen with the standard package. Reinstall the PR build and check again.
- If the same input gives the same result, ComfyUI is returning the cached output. Change the seed for a new result.
- If you run out of memory, reduce the starting size and duration first.
06Changelog
- v1 (2026-11-21): Adapted the version released with the 2026-08-26 video. Removed the Fused Modulation node shown at release because it caused errors.
- v2 (2026-12-02): Switched the latent upscale from the 3D upscaler to the LBH 2D upscaler — doubling in one pass no longer leaves torn-pixel blotches. The upscaler notes inside the workflow were updated too; all other nodes and values are unchanged.
- v3 (2026-12-03): Kept first-stage audio fixed during the finishing pass and connected it directly to the final MP4.
01工作流简介
这个工作流用于缩短 MiniMax H3 R2V 的生成时间。将同样的 20 步(res_multistep · simple)分为两段。先用小尺寸跑 15 步确定构图,再用 LBH 2D 超分器将视频潜变量的宽高各放大至 2 倍,以大尺寸完成最后 5 步。最后 5 步会保留第一阶段的音频,最终 MP4 直接使用该音频。思路与 LTX 的两阶段做法相同。
提速来自三个方面:SageAttention、减少注意力计算量的 Sol 注意力,以及上述 15+5 结构。Text Encoder Unload 节点在采样前完全卸载文本编码器,腾出更多显存。没有采用 Turbo LoRA、Spectrum 等可能影响画质的优化。
Deno 测得,生成 1 百万像素、15 秒的视频从约 25 分钟缩短到 4 分 16 秒。在 RTX 3060 Ti 8GB 上测试时,生成 8 秒视频约需 5 分钟。
文件中保存的是用于验证安装的轻量设置:起始 0.15 百万像素(512×288),最终 1024×576,时长 5 秒。还可提高这些参数以获得更高画质。
02准备工作
这个工作流的安装步骤较多。Deno 建议交给 Codex 或 Claude 等编程智能体安装。
- ComfyUI — 使用包含
comfy_api.latest的最新版。 - NVIDIA GPU — 计算能力须为 8.0 或更高,并支持 BF16。
- 节点包 — Deno Custom Nodes · ComfyUI-KJNodes · ComfyUI-VideoHelperSuite · Comfyui_Minimax_h3_latent_Upscaler(提交
f34cadb或更新 — 2D 超分器)。需要插帧时另装 ComfyUI-VFI。 - SageAttention — 安装与 ComfyUI 使用的 Python、Torch、CUDA 和 GPU 匹配的版本。KJNodes 不会安装此软件包。
- comfy-kitchen PR #117 — Sol 注意力内核依赖 Comfy-Org/comfy-kitchen 的 PR #117(kijai 的
sol_attn分支)。Deno 测试的提交为23d1a665ecafd8a216a50108207816d1e133d646。没有适配当前环境的 wheel 时,需从源码构建,要求 CUDA Toolkit 12.8 或更高版本(nvcc)、CMake 3.26 或更高版本和 Ninja。常规发布版 comfy-kitchen 无法运行该内核。 - SolAttnMiniMax 适配器 — 这是放在
ComfyUI/custom_nodes/中的自定义节点,只含sol_attn_minimax_pr117.py一个文件。编写方法见工作流中的“Build This Workflow”备注。 - 模型 — 下载地址见工作流中的“Model Links”备注。
| 文件夹 | 文件 | 大小 |
|---|---|---|
| diffusion_models | minimax_h3_ref2va_pruned_int8_convrot.safetensors | 21.0 GB |
| text_encoders | qwen3vl_32b_minimax_h3_int8_convrot.safetensors | 27.1 GB |
| vae | minimax_h3_video_vae_fp16.safetensors | 5.21 GB |
| vae | minimax_h3_audio_vae_fp32.safetensors | 605 MB |
| latent_upscale_models | minimax_h3_latent_upscaler_2d_conv_v1_bf16.safetensors | 364 MB |
也可选较小的文本编码器 qwen3vl_32b_minimax_h3_nvfp4_awq.safetensors(15.7 GB)。确认本机 GPU 支持后,在 Load CLIP 中选择该文件。
03使用方法
- 打开工作流。 将下载的
.json文件拖入 ComfyUI。 - 准备模型和节点包。 将表中的文件放入对应文件夹,安装节点包、SageAttention、comfy-kitchen PR #117 和适配器,然后重启 ComfyUI。
- 填写输入。 按顺序将参考图放入 Multi Reference Image Loader。此工作流只连接了图片参考。运行前请填写 R2V 节点中留空的提示词。在“Start resolution”中设置起始尺寸,在“Duration”中设置时长。
- 先使用保存的值试跑一次。 确认能以 0.15 百万像素和 5 秒的设置完整输出带音频的 MP4,再逐步提高起始尺寸和时长。最终宽高各为起始值的 2 倍。
- 单独运行后处理。 右侧的 RTX Deblur + 超分模型和从 24fps 到 60fps 的插帧均处于旁路状态。使用时取消旁路,将成片 MP4 加载到对应组的 Load Video 中并单独运行。
04提示词
用英语按顺序填写六个字段:subject_definitions → summary → retention_analysis → detailed_description → overall_soundscape → non_diegetic_music。参考图按连线顺序从 <Picture 1> 开始编号。
- 每份参考用一句话说明用途,写清要参考人物、地点、画风还是声音。提示词无法更改图中已有的文字、颜色和画风,想要不同效果时请更换参考图。
- 固定人物 — 对于来自参考图的人物,在
retention_analysis中分别说明要保留脸部、眼睛、鼻子、嘴唇、肤色、年龄和发型,以及姿势、表情和动作可随镜头变化。 - 镜头 —
[Shot 1]不加时间戳,从下个镜头开始写明时间,例如[Shot 2] At 00:03.500, the shot cuts to ...。同时说明位置、运动方向和画面上可见的结果。 - 对白 — 在同一句里写明说话的人和台词,例如
The woman (S1) says in a quiet voice: <d>[Korean] 오늘도 끝났다.</d>。约每 6 秒最多安排一句。 - 音频 —
overall_soundscape只写环境音和音效,背景音乐只写入non_diegetic_music。没有音乐时填N/A。 - 时长 — 5~15 秒较稳定,超过 20 秒后模型容易忽略靠后的镜头指令。提示词中所有时间点都须落在“Duration”范围内。
05常见问题
- 安装失败时,先检查 GPU。必须使用计算能力至少为 8.0 且支持 BF16 的 NVIDIA GPU。
- 确认 Sol 注意力是否启用时,检查日志中是否至少出现过一次
[sol_attn] sparse ... cuda-int8。MP4 成功输出无法证明 Sol 已启用。若出现[sol_attn] kernel failed,说明安装有误。 - ComfyUI 更新后变慢时,更新依赖可能将 PR #117 版 comfy-kitchen 覆盖成常规版。重新安装并检查。
- 用同样的输入重跑仍得到同一结果时,工作流复用了上一次结果。更换种子可生成新结果。
- 内存不足时,先缩小起始尺寸、缩短时长。
06更新记录
- v1(2026-11-21):迁移了随 2026-08-26 视频发布的版本。发布时介绍的 Fused Modulation 节点存在错误,已从本版移除。
- v2(2026-12-02):潜空间放大由 3D 超分器改为 LBH 2D 超分器——一次放大至 2 倍也不会出现像素撕裂的斑块。工作流内说明备注中的超分器说明也一并更新,其余节点和数值不变。
- v3(2026-12-03):在最后一段采样中保留第一阶段的音频,并将该音频直接用于最终 MP4。
워크플로 파일은 GPL-3.0-only입니다. 모델과 노드 팩은 각자의 라이선스를 따릅니다.Workflow files are GPL-3.0-only. Models and node packs follow their own licenses.工作流文件采用 GPL-3.0-only 许可。模型和节点包遵循各自的许可。