【ComfyUI】MiniMax H3 Imageの使い方|テキストから画像生成と画像編集

MiniMax H3 Imageで雨の街の女性の画像に男性を追加した編集例

MiniMax H3シリーズの画像生成モデル「MiniMax H3 Image」が、ComfyUIの公式ワークフローに追加されました。

テキストからの画像生成と、参照画像を使った画像編集を1つのチェックポイントでこなせるのが特徴です。

この記事では、必要なモデルの配置とワークフローの読み込み方法を紹介します。

MiniMax H3 Imageとは?

MiniMax H3 Imageは、MiniMax H3ファミリーに属するオープンウェイトの画像生成・編集モデルです。

テキストから画像を作るtext-to-imageと、1枚以上の参照画像を編集するimage editingを、1つのチェックポイントにまとめています。

アスペクト比を問わず、約16メガピクセルの画像をアップスケーラーなしで直接出力する仕組みです。

サンプリングは6ステップに蒸留されていて、CFGは使いません。

DiTは音声層を除いたH3のアーキテクチャで、テキストエンコーダにはMiniMax H3のものをそのまま使います。

主な特徴

  • text-to-imageと画像編集を1つのチェックポイントで行える
  • 1:1の4096×4096から21:9の6272×2688まで、約16MPの画像を直接生成する
  • 6ステップ(6 NFE)に蒸留済みで、CFGを使わない
  • 参照画像は最大16枚まで使える
  • テキストエンコーダはMiniMax H3のQwen3-VLテキストエンコーダをそのまま使う
MiniMaxAI/MiniMax-H3-Image · Hugging Face
Text-to-Image model. Download, explore files and run it on Hugging Face.

ライセンス

MiniMax H3 Imageのライセンスは、MiniMax H3 Image Community License Agreementです。

元のMiniMax H3のライセンスとは別の契約なので、内容は個別に確認してください。

自分や関連会社の年間売上が100万米ドルを超える場合や、第三者へホステッドサービスを提供する場合は、事前にMiniMaxから書面での許可を得る必要があります。

申請先はMiniMaxのライセンス申請ページです。

LICENSE · MiniMaxAI/MiniMax-H3-Image at main
We’re on a journey to advance and democratize artificial intelligence through open source and open science.

ComfyUIのインストール

ComfyUIをまだインストールしていない方は、こちらを参考にしてみてください。

ComfyUIの使い方・始め方まとめ|インストールから基本操作・カスタムノードまで
ComfyUIの導入方法はポータブル版・Desktop版・StabilityMatrixの3つがあり、初心者にはDesktop版がおすすめです。この記事では3つの違いと選び方、テンプレートを使った基本的な画像生成手順、カスタムノードの管理方法までまとめて紹介します。

MiniMax H3 Imageは、ComfyUI 0.45.0が対応してるため、それ以下の場合はアップデートが必要です。

Stability Matrixならパッケージ画面から更新、ポータブル版ならupdateフォルダのupdate_comfyui_stable.batで更新できます。

詳細は公式のドキュメントでご確認ください。

必要なモデルのダウンロードと配置

拡散モデル・テキストエンコーダ・VAEに加えて、プロンプト拡張用のQwen3.5 9Bが必要です。

Comfy-Orgは、プロンプト拡張にqwen3.5_9b_w4a8_gptqをGenerate Textノードと組み合わせて使うよう推奨しています。

種類ファイル名配置先
拡散モデルminimax_h3_image_pruned_int8_convrot.safetensorsdiffusion_models
テキストエンコーダqwen3vl_32b_minimax_h3_int8_convrot.safetensorstext_encoders
プロンプト拡張qwen3.5_9b_w4a8_gptq.safetensorstext_encoders
VAEminimax_h3_image_vae_fp16.safetensorsvae
ComfyUI/
└── models/
    ├── diffusion_models/
    │   └── minimax_h3_image_pruned_int8_convrot.safetensors
    ├── text_encoders/
    │   ├── qwen3vl_32b_minimax_h3_int8_convrot.safetensors
    │   └── qwen3.5_9b_w4a8_gptq.safetensors
    └── vae/
        └── minimax_h3_image_vae_fp16.safetensors
Comfy-Org/MiniMax-H3-Image · Hugging Face
Text-to-Image model. Download, explore files and run it on Hugging Face.
Comfy-Org/MiniMax-H3 · Hugging Face
We’re on a journey to advance and democratize artificial intelligence through open source and open science.
Comfy-Org/Qwen3.5 · Hugging Face
Machine learning model. Download, explore files and run it on Hugging Face.

ワークフローの読み込み

ワークフローは、テキストから画像を生成するものと、画像を編集するものの2種類があります。

テキストから画像生成:image_minimax_h3_image_t2i.json
画像編集用:image_minimax_h3_image_edit.json

またはComfyUIの左上のメニュー→テンプレート参照からも読み込めます。

ComfyUIテンプレートのMiniMax-H3-Image Text to ImageとImage Edit

MiniMax H3 Imageでテキストから画像生成

Resolution Selectorでアスペクト比と解像度を決められます。

ComfyUIのResolution Selectorノードの設定画面

あとはText to Image (MiniMax H3 Image)というサブグラフで生成したい内容を入力し、指定のモデルをセットするだけです。

enable_PE(Prompt Enhancer)はプロンプト拡張なので、短いプロンプトなどから詳細に書かせたい場合は有効だと思います。

ただ自分やLLMに詳細書かせたものはオンでもあまり結果は変わりません。

Text to Image (MiniMax H3 Image)サブグラフのプロンプト入力とモデル設定

結果:

Resolution Selectorはデフォルト、RTX4060Ti(VRAM16GB/RAM64GB)で約14秒でした。

リアル調:

MiniMax H3 Imageで生成した雨の夜のカフェ前に立つ女性のリアル調画像
The image is a candid street photograph of a young woman standing under the awning of a small corner coffee shop on a rainy evening in Tokyo, shot on a 50mm lens at f/1.8 with natural colour: deep wet asphalt greys, warm amber light spilling from the shop window, cool blue-teal ambient dusk, and small red and green reflections from traffic signals on the puddles. She is the clear subject, framed waist-up in a front three-quarter view, facing slightly to screen-left, holding a white paper coffee cup in her right hand close to her chest while her left hand loosely holds a folded transparent umbrella. She wears a beige wool trench coat with the collar turned up over a cream knit sweater, a few strands of her shoulder-length dark brown hair stuck to her cheek from the rain, light natural makeup, and a calm, slightly tired smile, with visible skin texture, fine peach fuzz catching the window light, and small raindrops beaded on the coat’s shoulders. Behind her the shop window shows blurred warm interior lights, a chalkboard menu and stacked cups, and to the right the street falls into soft bokeh with streaks of rain, a passing taxi’s headlights, and glowing vending machines. Rain falls in thin visible lines in front of the dark background, the pavement reflects the amber window light in long broken streaks, and the overall look is a sharp, realistic photograph with shallow depth of field, gentle film grain, and no text anywhere in the image.

アニメ調:

MiniMax H3 Imageで生成した屋上に座るセーラー服の少女のアニメ調画像
The image is a bright Japanese anime-style key visual of a high-school girl sitting on the edge of a rooftop water tank on a clear summer afternoon, drawn with clean thin line art and cel shading in a fresh, saturated palette: deep cobalt sky fading to pale cyan at the horizon, towering white cumulus clouds, warm sunlight from the upper right, crisp blue-violet shadows, and small accents of cherry red and sunflower yellow. She is the hero, shown full-body in a front three-quarter view, legs dangling over the edge, leaning back on both hands with her face turned up toward the sky and her eyes half-closed in a relaxed smile. She has long black hair in a high ponytail tied with a red ribbon, strands lifted by the wind with bright rim highlights, large expressive dark-blue eyes with layered reflections, and a white short-sleeved sailor uniform with a navy collar, a red neckerchief, a navy pleated skirt, white socks and brown loafers, the fabric folds drawn with two-tone shading. Beside her on the tank lie an opened bottle of ramune soda with a glass marble inside, catching the sun as a small sparkle, and a pair of wired earphones trailing off the edge. Below and behind her a dense town of tiled roofs, power lines and a distant green hillside stretches to the horizon, a passenger jet leaves a long white contrail diagonally across the sky, and a few small birds fly in silhouette. The finish is a polished anime illustration with soft bloom on the highlights, light lens flare from the sun, and no text or logos anywhere in the image.

文字入れ指定:

MiniMax H3 Imageで文字入れを指定して生成したSUNSET BAYのレトロなポスター
The image is a vertical retro travel poster for a seaside town, printed in a flat screen-print style with a limited warm palette: dusty coral, deep teal, sand beige, off-white paper, and small navy accents, with soft paper grain and slightly misregistered ink edges. The hero visual fills the middle of the poster: a white lighthouse with a red top stands on a rocky cape at the right, a small fishing boat with a teal hull sails across calm water at the lower left, and a large coral sun sits low behind the lighthouse with three horizontal stripes cut through it. Across the top of the frame the headline “SUNSET BAY” is set in a heavy, rounded art-deco sans-serif in off-white with a thin navy drop shadow, spanning almost the full width and slightly arched. Directly beneath it, smaller and centred, a thin tracked line reads “SUMMER FESTIVAL 2026” in deep teal. At the bottom of the poster a solid navy band holds two lines of off-white text, centred: the first line reads “AUGUST 14 – 16” in a bold condensed sans-serif, and the second smaller line reads “FIREWORKS · MARKETS · LIVE MUSIC”. In the lower right corner, just above the navy band, a small circular badge in coral reads “FREE ENTRY” in white capitals. All lettering is English only, spelled exactly as written, with no extra words, no Chinese characters, and no watermark, and the light is flat and even like a printed poster.

PEオンだと大体1分40秒~2分の間くらいでした。

MiniMax H3 ImageのPEで短いプロンプトを拡張して生成した雨の東京の女性
拡張前:
A young woman holding a coffee cup under a cafe awning on a rainy evening in Tokyo, realistic photo.

拡張後:
A photorealistic portrait photograph of a young woman standing under a black fabric cafe awning on a wet Tokyo street at night. She is facing the camera in a front-facing pose, wearing a beige trench coat and holding a white disposable coffee cup with both hands at chest level. Rain streaks vertically across the lens and drips onto the awning's surface. In the background, out-of-focus illuminated signs display red and blue Japanese kanji characters, reflected on the glossy pavement below. The lighting is atmospheric, combining warm yellow glow from the cafe interior and cool ambient streetlights. Her dark hair is slightly damp. The composition is vertical, focusing on the subject and the immediate rainy environment.

MiniMax H3 Imageで画像編集

まずModelsグループでモデルをセットします。

MiniMax H3 Image編集用ワークフローのModelsグループ

編集したい画像をLoad Imageに取り込んで、Text (user_prompt)にその画像をどう編集したいか入力します。

編集用ワークフローのText (user_prompt)とLoad Imageノード

画像を複数入力する場合はLoad ImageとResize Image/Mask×2をセットで追加して、MiniMax H3 Image Conditioning・Generate Textに繋ぎます。

低解像度に弱いため、Resize Image/Maskで4MPへアップスケールして、縦横を32の倍数に丸めているそうです。

あと下の画像はGenerate Textに繋いでますが、PE使わない場合はGenerate Textに繋ぐ必要はありません。

Load ImageとResize Image/Mask×2を追加して2枚の画像を繋いだ編集用ワークフロー

Boolean (Enable PE?)をオンにするとプロンプトが拡張され、下のText (system_prompt)・Text (task_prompt)でどう拡張するかを指定できます。

Boolean (Enable PE?)とPrompt Enhancerグループのノード

結果:

処理はPEオフが約58秒、オンだと約2分15秒でした。

1枚だけでやったもので、左から元画像、PEオフ、PEオンです。

MiniMax H3 Imageで雨を雪に変えた編集結果(元画像・PEオフ・PEオン)

プロンプト:

拡張前::
Change the rain in <Picture 1> to falling snow, keeping the woman the same.

拡張後:
The woman with short dark hair wearing a beige coat in <Picture 1> is <Subject 1>. The target image shows a street scene where the falling rain is transformed into falling snow, while keeping the woman the same. <Subject 1> is partially preserved; the ambient weather shifts from rain to snow while her appearance remains unchanged. The raindrops falling in the air are replaced by gentle snowflakes drifting downwards. The wet, reflective pavement in the foreground and background streets now features accumulated white snow, with some puddles still catching the reflection of the shop lights. The warm yellow glow from the storefront cafe on the left illuminates the scene, casting light on the woman's face and the wet ground. The background, featuring blurred city lights, traffic signals, and vending machines, remains visible through the new snowy atmosphere. The woman holds a white paper coffee cup and a closed transparent umbrella.

あと男女の画像2枚で会話してる風の編集にしてみました。

使用した元画像:

2枚の画像の編集に使った雨の街の女性と黄色いジャケットの男性の元画像

結果:

左がPEオフ、右がPEオンで、PEオフが約1分44秒、PEオンで約4分でした。

MiniMax H3 Imageで2枚の画像から男女が会話する場面に編集した結果(PEオフ・PEオン)
拡張前:
Add the man from <Picture 2> next to the woman in <Picture 1>, and make them face each other and talk happily in front of the cafe in the rain.

拡張後:
The woman in a beige coat holding a coffee cup and an umbrella in <Picture 1> is <Subject 1>. The man with a beard wearing sunglasses and a yellow jacket in <Picture 2> is <Subject 2>. The cafe storefront with warm interior lights in <Picture 1> is <Subject 3>. The target image shows <Subject 1> and <Subject 2> standing side by side on a wet street in the rain, facing each other and smiling as they talk. <Subject 1> is partially preserved; her body remains but her face turns to face the man while her umbrella is adjusted to shield both. <Subject 2> is partially preserved; his identity and clothing transfer fully, his head tilts up and he looks at the woman with a smile. <Subject 3> is fully preserved. The man stands to the right of the woman, occupying the previously empty negative space beside her. Their proximity creates a new focal point of interaction. Raindrops streak down between their heads and shoulders, connecting them visually. The wet pavement stretches out between them, reflecting the ambient light.

推奨される画像サイズ

ワークフローのNoteによると、MiniMax H3 Imageの有効な範囲はおよそ4MP〜20MPで、16MP前後で最も良い結果になりやすいようです。

テキストから画像生成のワークフローは初期値を4MPに抑えているので、GPUのメモリに余裕があればサイズを上げてください。

編集用のワークフローでは、低解像度に弱い点に合わせて、最初に入力画像を4MPへアップスケールしています。

16MPの主なサイズは以下の通りです。

アスペクト比サイズ(幅x高さ)
1:14096×4096
4:3 / 3:44736×3552 / 3552×4736
3:2 / 2:35024×3360 / 3360×5024
16:9 / 9:165472×3072 / 3072×5472
21:96272×2688

まとめ

まずT2Iはどのスタイルでも細かい部分の描写崩れが気になりました。

Redditでも評価分かれてましたが、リアル・アニメ共にどっちもちょっと微妙です。

何らかの補正処理使えば多少マシになりそうですが、なんか派生モデルが出たり、対処方法が出ない限り、画像生成は既存のモデルで十分な気がします。

編集についてはプロンプトの追従性が良くて、わりと使いやすそうに感じました。

まだ試行回数少ないので実用できるかはわかりませんが、これでI2V用の素材だったり、漫画の構図だったり自由に作れるなら、いろんなシーンで役立つと思います。

以上MiniMax H3 Imageについて紹介しました。

参考になれば幸いです。

タイトルとURLをコピーしました