🗓️ 公開日: 2026年10月14日 🔄 最終更新日: 2026年10月15日
今回は前回ワークフローに導入したMotion-Context-MultiRefの長尺動画をLatentアップスケールする方法を解説します。
前回の記事はコチラです。
MultiRefはLatentアップスケールが困難だった
ComfyUIにおけるMiniMax H3の長尺動画生成において、Motion-Context-MultiRef は非常に強力なツールです。
しかし、標準のノード構成では「結合された完成長尺動画に対してLatentアップスケールを仕掛ける」ということが構造上できませんでした。

① 出口が「デコード後の動画ファイル(VHS)」に固定されている
本家の結合ノードであるMiniMaxH3StreamLiveExtensionAVToVHS(H3 Stream AV Extensions to VHS)は、VRAMの節約を最優先にした設計になっています。 内部では、各クリップを1本ずつデコード(画像化・音声化)し、メモリを解放しながらVideo Helper Suite(VHS)へストリーミングで送り込んで直接mp4ファイルを書き出します。
そのため、ノードの出力ピンには動画ファイル情報(Filenames)しか用意されておらず、後段のLatentアップスケーラー(MMH3 Ultimate Upscaleなど)に渡すための肝心のLatentピンが存在しないのです。
② 各クリップ単体を個別にアップスケールできない理由
「結合ノードの前で、各クリップを生成するたびにLatentアップスケールすればいいのでは?」とも考えました。しかし、これは破綻します。 MultiRefのクリップ延長は、前のクリップの末尾(39フレーム分のコンテキスト)をマスクとして参照し、時間軸の整合性を保ちながら生成されます。アップスケールによって潜在変数のスケールやノイズの分布が変わってしまうと、次クリップへのコンテキスト引き継ぎが噛み合わなくなり、シームレスな接続どころかエラーや映像の崩壊を引き起こします。
③ 「一度動画にしてから再エンコード」では意味がない
デコードされた完成動画をもう一度 VAE Encode してLatentに戻せば、一応Latentアップスケールに潜らせることは可能です。 しかし、デコードとエンコードを往復(ラウンドトリップ)させると、色味の変化や圧縮ノイズ、ディテールの劣化が激しく発生します。 そもそもLatentアップスケールの最大の利点は「生成時の潜在空間が持つシャープな情報を損なわずにディテールを倍増させること」です。再エンコードによる劣化を挟むくらいなら、最初からピクセルアップスケーラーで直接高画質化したほうがマシという本末転倒な状態になっていました。
どうやってMutiRefで結合された動画をLatentアップスケールしたのか?
「ないなら、デコードする前のLatentを結合して取り出せばいい」 そう考えてH3 Stream AV Extensions to VHSのソースコードを徹底的に解析しました。
各延長クリップのサブグラフから結合ノードには、確かに LATENT 型のデータが渡されています。ということは、「重なり(Seam Overlap)を計算して時間軸方向にスライシングする処理」をLatent空間だけで完結させれば、純度100%の長尺Latentが手に入るはずです。
そして頭を悩ませながら数日、H3 Stream AV Extensions to VHSを基にFilenamesではなく、結合されたLatentと音声を取り出すノードの開発に成功しました!
その名もHKMC H3 Stream AV Extensions (with Latent Out)

使い方は従来の H3 Stream AV Extensions to VHS とほぼ同一です。 ノードを置き換え、出力された merged_latent をそのままLatentアップスケーラー(および通常生成との切り替えスイッチ)に接続するだけでワークフローが機能します。
当サイトで配布しているMinimaxH3ワークフローVer2.6にもこちらを導入しています。
同時にRTX Upscaler & Refinerも導入しています。
既にHKMC-Nodesをご利用の方はアップデートをする事で使えるようになります。
MultiRefで連続生成したものをLatentアップスケールしたサンプル動画
今回のMotion-Context-MultiRefで出来た長尺動画から自作ノードによってLatentを抽出してLatentアップスケールをかけたサンプル動画です。
生成環境
RTX 4060 ti / VRAM 16GB
RAM 64GB
CPU 骨董品

ベース生成プロンプトを開く
■ベースプロンプト
subject_definitions:
[Subject 1: akaonihime] Edokaiko (oni girl) in her teenage years with a horn on her forehead, pale skin, orange eyes, red eyeshadow, stinking eyes, black hair with red streaks, pointy ears, and wearing a black kimono with a red obi. She has white innerwear and the kimono’s hem is submerged in clear water.
Reference sheets for akaonihime include <Picture 1>, <Picture 2> and <Picture 3>.
summary:
A dark fantasy horror scene set in the Edo period. Akao Nihime stands silently by a dark pond surrounded by fully bloomed crimson zinnias at night. Her body is covered in a luxurious black and red kimono, with her wet hair and skirt gently floating on the calm water. The moonlight and petals of the flowers reflect on the surface, creating a mysterious and eerie atmosphere.
retention_analysis:
3D rendering not allowed. No CGI rendering. No plastic-like glossy skin. No smooth gradient shading. Maintain flat anime painting (cell animation). Reference images are for character design and appearance only. Strictly do not copy, project, or overlay reference sheet layouts, compositions, and poses onto video frames in a semi-transparent manner. Prohibit ghost outlines, unnatural torsos without necks, duplicate characters derived from sheets, or any overlapping drawings.
No rotation of the character allowed.
detailed_description:
[Shot 1 | 0:00.0-0:04.5]
The calm night pond is shown with moonlight and red zinnia petals reflecting on the surface. Akao Nihime in her black and red kimono stands by the water, walking into it before stopping to sit down, allowing part of her body to be submerged.
[Shot 2 | 0:04.5-0:10.0]
Akao Nihime’s two horns with a white base and red tips, sharp elf ears, and wet black hair that moves in the water are visible. She begins to move her kimono hem and wet hair submerged in the water.
S1: [Japanese] 永き眠りは、ここまで。……赤の血脈は、まだ途絶えてはおらぬ。
overall_soundscape:
N/A
non_diegetic_music:
N/A
クリッププロンプトを開く
クリッププロンプト
■クリップ1
Continue the existing scene from the previous generated H3 clip with no cut, reset, or re-establishment. The incoming protected H3 audiovisual latent prefix is authoritative for current pose, motion, camera trajectory, facial state, lighting, environment, object state, voice, ambience, and timing. Connected reference images are optional; use them only to preserve stable subject identity and appearance beneath that incoming state.
Do not continue, extend, imitate, or infer any human voice or vocalization from the incoming audio context. The character remains completely silent throughout this continuation. No speech, dialogue, chatter, whispering, mumbling, babbling, singing, or intelligible words in any language.
[Shot 1 | 0:00.0-0:02.0]
The Oni Princess slowly extends her right hand underwater. Her expressionless face maintains an eerie beauty from the beginning to the end of the video.
[Shot 2 | 0:02.0-0:08.4]
The Oni Princess also extends her left hand underwater, picking up a white and cold human skull with both hands. The skull drips with countless water droplets, causing ripples on the surface.
S1: [Japanese] 我の同胞よ。……秩序の礎となれ。
Continue the exact motion and existing non-vocal environmental sound already in progress, then develop the next action naturally. Preserve the silence: do not add or continue any human voice or speech-like vocalization. [DESCRIBE WHAT HAPPENS NEXT; DO NOT RESTART FROM REST.]
■クリップ2
Continue the existing scene from the previous generated H3 clip with no cut, reset, or re-establishment. The incoming protected H3 audiovisual latent prefix is authoritative for current pose, motion, camera trajectory, facial state, lighting, environment, object state, voice, ambience, and timing. Connected reference images are optional; use them only to preserve stable subject identity and appearance beneath that incoming state.
Do not continue, extend, imitate, or infer any human voice or vocalization from the incoming audio context. The character remains completely silent throughout this continuation. No speech, dialogue, chatter, whispering, mumbling, babbling, singing, or intelligible words in any language.
[Shot 1 | 0:00.0-0:02.0]
After lifting the skull, the Oni Princess does not change her expression and instead turns her enigmatic and cold gaze towards the camera with a blank face.
[Shot 2 | 0:02.0-0:08.4]
The Oni Princess raises the skull to her chest and sits quietly on it. Around her, water ripples and faint red phosphorescence can be seen.
S1: [Japanese] さぁ、滅びの続きを始めましょう。
◆リファレンス画像3枚



綺麗にLatentアップスケールが出来ています。
ちなみにこのキャラは赤鬼姫というキャラクターでSDXL時代によく使っていたキャラクターです。
さいごに
今回は、これまで構造上不可能とされていた「Motion-Context-MultiRef で生成した長尺動画に対する直接のLatentアップスケール」を、自作ノード『HKMC H3 Stream AV Extensions (with Latent Out)』で解決する方法を解説しました。
一度動画(VHS)へ書き出してから再エンコードする手法では避けられなかったディテールの喪失やノイズの発生も、Latent空間のまま結合してアップスケーラーへ渡すことで、本来のシャープさと緻密な質感を余すことなく引き出すことができます。今回のサンプル動画のように、水滴の透明感や着物の布目、髪の毛の一筋に至るまで、仕上がりの解像感には決定的な差が出ます。
本ノードを組み込んだ「MinimaxH3ワークフローVer2.6」や「HKMC-Nodes」はすでにアップデート・配布を開始しています。長尺動画の画質をもっと追い込みたい方は、ぜひ導入してこの圧倒的なディテール向上を体験してみてください!









