ComfyUI 워크플로우/MiniMax H3
Workflow
MiniMax H3 Audio to Video오디오 구간과 레퍼런스 이미지로 뮤직 비디오MiniMax H3 Audio to VideoMake a music video from an audio clip and reference imagesMiniMax H3 Audio to Video用音频片段和参考图制作音乐视频
다운로드
로그인 없이 다운로드할 수 있어요.Download without signing in.无需登录即可下载。
관련 비디오Related video相关视频MiniMax H3 Audio-to-Video 워크플로 | 멀티 이미지부터 립싱크까지MiniMax H3 Audio-to-Video Workflow | Multi-Image to Lip SyncMiniMax H3 Audio-to-Video 工作流|从多图到口型同步01이 워크플로는
오디오 구간 하나와 레퍼런스 이미지로 MiniMax H3 R2V 비디오를 만드는 워크플로입니다. 순정 H3 R2V에 오디오 레퍼런스와 자동 프롬프트 작성을 붙인 초보용 구성입니다.
고른 오디오 구간이 <Audio 1>로 H3에 들어가고, 구간 길이가 비디오 길이를 정합니다. 오디오는 세 단계로 분석합니다. Whisper large-v3가 가사와 구간 시간을 받아쓰고, Gemma 4 E4B가 리듬 · 에너지 · 사운드 소스를 분석하고, 로컬 LLM이 두 결과와 이미지를 합쳐 영어 H3 프롬프트를 씁니다. 정확한 가사나 대사를 직접 적으면 받아쓴 결과보다 그 문구가 우선합니다.
완성된 MP4의 오디오는 H3가 만든 것이 아니라 고른 원본 오디오 구간입니다. 오디오 잠금이나 sync_strength 같은 것은 쓰지 않는 순정 오디오 레퍼런스 방식이라, 프레임 단위로 입 모양을 강제로 맞추는 립싱크는 보장되지 않습니다. 디노는 오디오를 강제로 고정하는 노드까지 만들어 시험했지만 립싱크에는 차이가 거의 없었고, 결론은 프롬프트가 가장 중요하다는 것이었습니다. 그래서 이 판은 순정 방식을 씁니다. 가사와 음악을 구체적으로 적는 것이 핵심입니다.
02준비물
- ComfyUI 0.30.0 이상 — MiniMax H3 노드와 TextGenerate 노드가 들어온 판입니다.
- 노드 팩 — Deno Custom Nodes · ComfyUI-VideoHelperSuite
- 로컬 LLM — LM Studio에서 Gemma 4 12B QAT(
google/gemma-4-12b-qat)를 받고, 실행 전에 로컬 서버(기본127.0.0.1:1234)를 켭니다. 이 모델은 ComfyUI 폴더가 아니라 LM Studio에서 관리합니다. - Whisper large-v3 — Audio Transcript 노드를 처음 실행할 때 자동으로 받습니다(
models/stt/whisper/아래). VRAM은 대략 12GB를 쓴다고 디노가 기억에 따라 안내했습니다. 더 작은 모델(medium · small · turbo)도 고를 수 있지만 가사에 실수가 날 수 있습니다. - 모델 — 다운로드할 곳은 워크플로 안의 「Model Downloads & Paths」와 「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 |
| text_encoders | gemma4_e4b_it_fp8_scaled.safetensors (오디오 분석용) | 9.06 GB |
| vae | minimax_h3_video_vae_fp16.safetensors | 5.21 GB |
| vae | minimax_h3_audio_vae_fp32.safetensors | 605 MB |
Gemma 4 E4B를 고르는 Load CLIP 노드의 파일 이름 앞에 [LLM]이 붙어 있습니다. 디노 PC의 정리용 이름표라서, 내 PC에서는 실제 파일 gemma4_e4b_it_fp8_scaled.safetensors를 고릅니다.
03쓰는 법
- 워크플로를 엽니다. 다운로드한
.json파일을 ComfyUI 화면에 끌어다 놓습니다. - 모델과 노드 팩을 갖춥니다. 위 표의 파일을 각 폴더에 두고 노드 팩을 설치한 뒤 ComfyUI를 다시 켭니다. LM Studio 로컬 서버를 켭니다.
- 오디오를 고릅니다. Load Audio (Upload)에서 음원을 고르고
start_time과duration으로 5.2~15.1초 구간을 정합니다. 시작 시간이 10이면 10초부터 시작합니다. - 이미지와 요청을 넣습니다. Multi Reference Image Loader에 레퍼런스 이미지를 쓸 순서대로 넣습니다. 정확한 가사나 대사를 알면 (Deno) Prompt Text에 그 구간에서 들리는 문구만 적습니다. (Deno) Local LLM Loader의 마지막 칸에 원하는 장면 · 행동 · 카메라 · 분위기를 한국어로 적습니다.
- 실행합니다. 아래쪽 「Audio analysis」 그룹은 자동으로 돌아가니 설정을 바꿀 필요가 없습니다. 처음에는 시작 해상도 0.3 메가픽셀 · 20스텝 그대로 돌려 보고, 내 PC가 버티는 값을 찾아 조금씩 올립니다.
04프롬프트
- 이미지는 로더 순서대로
<Picture 1>,<Picture 2>…, 고른 오디오는<Audio 1>이 됩니다. 「1번 이미지 인물이 노래하고 2번은 배경」처럼 역할만 한국어로 적으면 LLM이 태그 형식으로 정리합니다. - 인물이 여럿이면 인물마다 외모 · 의상 · 위치 · 행동을 따로 적습니다.
- 수동으로 적은 가사와 대사가 가장 우선합니다. 타임코드를 알면 같이 적습니다.
- 립싱크가 중요하면 누가
<Audio 1>을 부르는지 적고, 얼굴과 입이 보이는 구도를 지시합니다. - ref_image_size를
max로 두면 얼굴 재현력이 올라가는 대신 속도와 메모리가 더 듭니다.
05막힐 때
- LLM 연결이 안 되면 LM Studio 로컬 서버가 켜져 있는지,
google/gemma-4-12b-qat가 받아져 있는지 확인합니다. - 비디오가 오디오보다 조금 길어지면 H3가 길이를 프레임 격자에 맞춰 올림하기 때문입니다. 마지막 동작이 자연스럽게 멈추도록 지시합니다.
- 입 모양이 어긋나면 얼굴이 크게 보이는 구도와 정확한 가사 · 타이밍을 프롬프트에 넣어 다시 시도합니다.
- VRAM이 부족하면 분석 노드는 실행 뒤 모델을 VRAM에서 내리도록(Unload after run) 저장되어 있습니다. 이 설정을 바꾸지 않았는지 확인합니다.
- 처음 실행이 오래 걸리면 Whisper 모델을 받는 중일 수 있습니다.
06바뀐 점
- v1 (2026-11-21): 2026-08-11 영상과 함께 공개한 판을 옮겼습니다.
- v2 (2026-12-02): 워크플로 안에 남아 있던 예시 이미지 이름을 비웠습니다. 받은 PC에 없는 파일이라 이미지 칸이 X로 뜨고 실행이 그 노드에서 멈췄습니다. 레퍼런스 이미지는 직접 넣습니다.
01What this workflow does
Create a MiniMax H3 R2V video from one audio segment and reference images. This beginner-friendly setup adds audio references and automatic prompt writing to the standard H3 R2V workflow.
The selected segment goes into H3 as <Audio 1>, and its duration sets the video length. Audio analysis has three stages. Whisper large-v3 transcribes lyrics with timestamps. Gemma 4 E4B analyzes rhythm, energy, and sound sources. A local LLM combines both results with the images and writes an English H3 prompt. If you enter exact lyrics or dialogue, your text takes priority over the transcript.
The finished MP4 uses the selected segment of the original audio. This workflow uses standard H3 audio references and leaves out audio locking and options like sync_strength. Frame-accurate lip sync is therefore unreliable. Deno tested a custom node that forced the audio to stay fixed and saw little difference in lip sync. Prompt wording made the biggest difference, so this workflow uses the standard approach. Describe the lyrics and music in detail.
02Requirements
- ComfyUI 0.30.0 or newer — This version introduced the MiniMax H3 and TextGenerate nodes.
- Node packs — Deno Custom Nodes and ComfyUI-VideoHelperSuite
- Local LLM — Download Gemma 4 12B QAT (
google/gemma-4-12b-qat) in LM Studio and start its local server before running the workflow. The default address is127.0.0.1:1234. Manage the model in LM Studio. - Whisper large-v3 — The Audio Transcript node downloads it automatically on first run to
models/stt/whisper/. Deno estimates it uses about 12GB of VRAM. You can select a smaller model (medium, small, or turbo), but it may make mistakes in the lyrics. - Models — See the “Model Downloads & Paths” and “Model Links” notes 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 |
| text_encoders | gemma4_e4b_it_fp8_scaled.safetensors (audio analysis) | 9.06 GB |
| vae | minimax_h3_video_vae_fp16.safetensors | 5.21 GB |
| vae | minimax_h3_audio_vae_fp32.safetensors | 605 MB |
The Load CLIP node for Gemma 4 E4B shows a [LLM] prefix in the filename. Deno uses it to organize local files. Select the actual file gemma4_e4b_it_fp8_scaled.safetensors on your PC.
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, and restart ComfyUI. Start the LM Studio local server.
- Select the audio. Choose an audio file in Load Audio (Upload) and use
start_timeanddurationto select a 5.2–15.1-second segment. A start time of 10 begins at 10 seconds. - Add images and describe the scene. Add your reference images to Multi Reference Image Loader in the order you want to use them. If you know the exact lyrics or dialogue, enter only the words heard in that segment in (Deno) Prompt Text. In the last field of (Deno) Local LLM Loader, describe the scene, action, camera, and mood in Korean.
- Run the workflow. The “Audio analysis” group at the bottom runs automatically with its saved settings. Start at 0.3 megapixels and 20 steps, then increase the settings gradually to see what your PC can handle.
04Prompting
- The images become
<Picture 1>,<Picture 2>, and so on in loader order. The selected audio becomes<Audio 1>. Describe the roles in Korean, for example, “The person in image 1 sings and image 2 is the background.” The LLM formats the tags for you. - For multiple characters, describe each character’s appearance, clothing, position, and actions separately.
- Lyrics and dialogue you enter take priority. Include timecodes if you know them.
- If lip sync matters, specify who sings
<Audio 1>and frame the shot so the face and mouth are visible. - Setting ref_image_size to
maximproves facial likeness at the cost of speed and memory.
05Troubleshooting
- If the LLM fails to connect, check that the LM Studio local server is running and that
google/gemma-4-12b-qatis downloaded. - If the video runs slightly longer than the audio, H3 rounds the duration up to fit its frame grid. Prompt the final action to come to a natural stop.
- If the mouth movements are out of sync, try a close shot of the face and include the exact lyrics and timing in the prompt.
- If you run out of VRAM, check that the analysis nodes still have Unload after run enabled so they release their models after use.
- If the first run is slow, the workflow may be downloading Whisper.
06Changelog
- v1 (2026-11-21): Adapted the version released with the 2026-08-11 video.
- v2 (2026-12-02): Cleared the example image names left inside the workflow. Those files aren't on the downloader's PC, so the image slots showed an X and runs stopped at that node. Add your own reference images.
01工作流简介
这个工作流用一段音频和参考图生成 MiniMax H3 R2V 视频。它在原生 H3 R2V 的基础上加入音频参考和自动提示词,适合初学者。
选定的音频片段以 <Audio 1> 传给 H3,片段时长决定视频时长。音频分析分三步:Whisper large-v3 转写歌词和时间点,Gemma 4 E4B 分析节奏、能量和声源,本地 LLM 结合两份结果和参考图编写英文 H3 提示词。手动输入的准确歌词或对白优先于转写结果。
成片 MP4 使用选定的原始音频片段。工作流采用 H3 原生的音频参考方式,没有音频锁定或 sync_strength 等设置,因此无法保证逐帧对齐口型。Deno 也测试过强制锁定音频的自制节点,发现口型同步几乎没有变化,提示词的影响最大。因此这个版本采用原生方式。请具体描述歌词和音乐。
02准备工作
- ComfyUI 0.30.0 或更高版本 — 此版本加入了 MiniMax H3 和 TextGenerate 节点。
- 节点包 — Deno Custom Nodes · ComfyUI-VideoHelperSuite
- 本地 LLM — 在 LM Studio 下载 Gemma 4 12B QAT(
google/gemma-4-12b-qat),运行前启动本地服务器(默认127.0.0.1:1234)。此模型由 LM Studio 管理。 - Whisper large-v3 — 首次运行 Audio Transcript 节点时自动下载,存放在
models/stt/whisper/下。据 Deno 回忆,约占用 12GB 显存。也可以选较小的模型(medium · small · turbo),但歌词可能转写有误。 - 模型 — 下载地址见工作流中的“Model Downloads & Paths”和“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 |
| text_encoders | gemma4_e4b_it_fp8_scaled.safetensors(用于音频分析) | 9.06 GB |
| vae | minimax_h3_video_vae_fp16.safetensors | 5.21 GB |
| vae | minimax_h3_audio_vae_fp32.safetensors | 605 MB |
在用于选择 Gemma 4 E4B 的 Load CLIP 节点中,文件名前带有 [LLM]。这是 Deno 在自己电脑上用于归类的标签,请在本机选择实际文件 gemma4_e4b_it_fp8_scaled.safetensors。
03使用方法
- 打开工作流。 将下载的
.json文件拖入 ComfyUI。 - 准备模型和节点包。 将表中的文件放入对应文件夹,安装节点包后重启 ComfyUI。启动 LM Studio 本地服务器。
- 选择音频。 在 Load Audio (Upload) 中选择音源,通过
start_time和duration截取一段 5.2~15.1 秒的音频。开始时间设为 10 即从第 10 秒开始。 - 添加参考图和制作要求。 按使用顺序将参考图放入 Multi Reference Image Loader。知道准确歌词或对白时,在 (Deno) Prompt Text 中只写所选片段里能听到的内容。在 (Deno) Local LLM Loader 的最后一栏用韩语填写想要的场景、动作、运镜和氛围。
- 运行。 下方“Audio analysis”组会自动运行,无需修改设置。建议先用 0.3 百万像素的起始分辨率和 20 步试跑,再按本机性能逐步调高。
04提示词
- 图片按载入顺序对应
<Picture 1>、<Picture 2>等,选定的音频对应<Audio 1>。只需用韩语说明各自用途,例如“图 1 的人物唱歌,图 2 用作背景”,LLM 会整理成标签格式。 - 有多个人物时,分别描述每个人的外貌、服装、位置和动作。
- 手动填写的歌词和对白优先级最高。知道时间码时也一起写上。
- 需要口型同步时,写清谁演唱
<Audio 1>,并指定能看到脸和嘴的构图。 - 将 ref_image_size 设为
max可以提高面部还原度,同时增加耗时和内存占用。
05常见问题
- LLM 无法连接时,检查 LM Studio 本地服务器是否已启动,以及是否下载了
google/gemma-4-12b-qat。 - 视频比音频略长时,是因为 H3 会将时长向上取整到帧边界。可在提示词中要求最后一个动作自然停下。
- 口型对不上时,在提示词中加入能清楚看到脸部的近景构图,以及准确的歌词和时间点,再试一次。
- 显存不足时,检查分析节点是否仍设为运行后卸载显存中的模型(Unload after run)。
- 首次运行耗时较长时,可能正在下载 Whisper 模型。
06更新记录
- v1(2026-11-21):迁移了随 2026-08-11 视频发布的版本。
- v2(2026-12-02):清空了工作流中残留的示例图片名称。这些文件不在下载者的电脑上,图片栏会显示 X,运行也会在该节点停止。请自行放入参考图。
워크플로 파일은 GPL-3.0-only입니다. 모델과 노드 팩은 각자의 라이선스를 따릅니다.Workflow files are GPL-3.0-only. Models and node packs follow their own licenses.工作流文件采用 GPL-3.0-only 许可。模型和节点包遵循各自的许可。