MiniMax H3 の参照機能を利用して画像を生成する

ポルニス
質問: MiniMax H3の参照機能で画像生成
MiniMax H3ですが、多くの画像が参照入力でき、参照の性能も高いので、この機能を使って、狙ったレイアウトでの画像を生成できるのではないかと思うのです。 うまくいくでしょうか?


MiniMax H3の参照機能を利用して非常に短い動画を生成して狙ったレイアウトの画像が生成できるかを検証します。

ワークフロー

ワークフローは下図です。MiniMax H3 の R2Vのワークフローです。VAEでコードの出力に画像の保存ノードを追加しています。
MiniMax H3 の参照機能を利用して画像を生成する:画像1

ピクセル数は少し大きく、0.9メガピクセルにしています。動画の生成時間は0.5秒です。
MiniMax H3 の参照機能を利用して画像を生成する:画像2

参照画像

以下の参照画像を設定します。

MiniMax H3 の参照機能を利用して画像を生成する:画像3 MiniMax H3 の参照機能を利用して画像を生成する:画像4


レイアウトの参照画像は以下の4つを用意します。

layout1
layout1 - MiniMax H3 の参照機能を利用して画像を生成する:画像5
layout2
layout2 - MiniMax H3 の参照機能を利用して画像を生成する:画像6
layout3
layout3 - MiniMax H3 の参照機能を利用して画像を生成する:画像7
layout4
layout4 - MiniMax H3 の参照機能を利用して画像を生成する:画像8

プロンプト

プロンプトは以下を利用します。

プロンプト
Use <Picture 1> (layout.png) as the strict composition and camera-layout reference.
Use <Picture 2> (girl.png) as the exact character appearance and clothing reference.
Use <Picture 3> (image-board.png) only as a loose visual reference for the overall anime background style, color palette, lighting, and atmosphere.

Do not copy the street layout, road width, café placement, building arrangement, architectural composition, or camera perspective from <Picture 3>. The spatial layout and composition must follow <Picture 1>, while the written description takes priority for the design of the city environment.

[Shot 1] A single continuous static shot in a polished cinematic anime style. Recreate the scene following the perspective, street placement, sidewalk width, café terrace position, building arrangement, and overall framing established by <Picture 1>. Do not change the camera angle or composition. The setting is a stylish European-style urban city street. It is a refined and lively city-center environment, not a small village street. A broad roadway runs through the scene, giving the space an open metropolitan feeling. Along the roadside is an open café terrace facing the wide street. The café extends outward from the storefront, and fabric sunshades project from the eaves above the terrace seating area. Between the roadway and the café terrace, there is a clear safety barrier or metal fence separating the traffic lane from the seating area. The architecture should feel elegant and urban: multi-story European-style buildings, clean storefront façades, large shop windows, subtle decorative details, street trees, and an upscale sidewalk café atmosphere. The terrace includes outdoor tables and chairs arranged neatly beside the storefront. The environment should feel like a European city boulevard rather than a narrow alley or a small-town street. The weather is clear and sunny, with a vivid blue sky, soft white clouds, and natural bright daytime light. Sunlight creates gentle shadows from the trees, fence, and café furniture across the pavement. On the café terrace, place the woman from <Picture 2> sitting naturally at one of the outdoor tables. Preserve her identity, facial features, brown hair tied in a loose high bun, dark green oversized T-shirt, beige wide-leg pants, white sneakers, body proportions, and anime character design. She sits casually and comfortably at the table, slightly angled toward the street rather than directly facing the camera. A small coffee cup or drink sits on the table in front of her. She remains mostly still. Keep all movement extremely subtle and natural: gentle breathing, an occasional blink, very slight movement of loose hair strands and clothing caused by a light breeze. Nearby tree leaves, the fabric sunshade, and small decorative plants move only faintly. A few distant cars may pass slowly on the wide roadway, and a few pedestrians may move subtly in the background, but all such motion must remain secondary and unobtrusive. The atmosphere should feel calm, quiet, and observational, like a peaceful everyday moment in an anime film. The camera remains completely fixed for the entire shot: no pan, no tilt, no zoom, no push-in, no pull-out, no dolly, no handheld movement, no camera shake, and no cuts. Preserve the same framing from beginning to end. Maintain strong visual consistency throughout the video. Do not alter the woman's face, hairstyle, clothing, body proportions, café furniture, fence placement, roadway width, street perspective, or architectural layout.
プロンプト(日本語訳)
<Picture 1>(layout.png) を、構図およびカメラレイアウトの厳密な参照として使用してください。
<Picture 2>(girl.png) を、キャラクターの外見および服装の正確な参照として使用してください。
<Picture 3>(image-board.png) は、全体的なアニメ背景の画風、配色、ライティング、雰囲気のための、あくまで緩やかな視覚参考としてのみ使用してください。

<Picture 3> から、街路のレイアウト、道路幅、カフェの配置、建物の配置、建築構成、カメラパースはコピーしないでください。 空間レイアウトと構図は <Picture 1> に従い、都市環境のデザインについては文章による説明を優先してください。

[Shot 1]
洗練されたシネマティックなアニメ調で、1カットの連続した固定ショットです。 <Picture 1> によって示されたパース、通りの配置、歩道の幅、カフェテラスの位置、建物の配置、全体のフレーミングに従ってシーンを再現してください。カメラアングルや構図は変更しないでください。

舞台は、スタイリッシュなヨーロッパ風の都市街路です。小さな村の通りではなく、洗練され活気のある都心環境です。 広い車道がシーンの中を通っており、空間に開放的な都会的印象を与えています。道路沿いには、広い通りに面したオープンカフェテラスがあります。カフェは店舗正面から外側へ張り出しており、テラス席の上には建物の軒先から布製のシェード(日よけ)が突き出しています。 また、車道とカフェテラスの間には、交通レーンと座席エリアを分けるための、はっきりとした安全柵または金属フェンスがあります。

建築は、上品で都会的な印象にしてください。 複数階建てのヨーロッパ風建築、整った店舗ファサード、大きなショーウィンドウ、控えめな装飾ディテール、街路樹、そして上質な歩道沿いカフェの雰囲気が感じられるようにします。 テラスには、店舗の脇に屋外テーブルと椅子が整然と配置されています。 環境全体は、細い路地や小さな町の通りではなく、ヨーロッパの都市大通りのように感じられるべきです。

天気は晴天で、鮮やかな青空、やわらかな白い雲、自然で明るい昼間の光に包まれています。 日差しによって、街路樹、フェンス、カフェの家具の影が歩道にやさしく落ちています。

カフェテラスには、<Picture 2> の女性を、屋外テーブルのひとつに自然に座らせてください。 彼女の人物性、顔立ち、ゆるく高い位置でまとめた茶色の髪、ダークグリーンのオーバーサイズTシャツ、ベージュのワイドパンツ、白いスニーカー、体型、そしてアニメ調のキャラクターデザインを維持してください。

彼女は、テーブルでくつろいで自然体に座っています。真正面にカメラを向くのではなく、やや通り側に体を向けています。 テーブルの上には、小さなコーヒーカップまたは飲み物が置かれています。 彼女はほとんど動かず、静かにそこにいます。

動きはすべて、ごく控えめで自然なものにしてください。 たとえば、穏やかな呼吸、ときどきのまばたき、そよ風による後れ毛や服のほんのわずかな揺れ程度です。 近くの街路樹の葉、布製シェード、小さな装飾植物も、ごくわずかに揺れるだけにしてください。 遠景では、広い車道を数台の車がゆっくり通り過ぎたり、少数の歩行者がさりげなく動いていても構いませんが、そうした動きはすべて副次的で目立たないものにしてください。

雰囲気は、静かで落ち着きがあり、観察的で、アニメ映画の中の穏やかな日常のひとときのように感じられるべきです。

カメラはショット全体を通して完全に固定してください。 パン、チルト、ズーム、前進移動、後退移動、ドリー移動、手持ち風の揺れ、カメラシェイク、カットは一切なしです。 最初から最後まで同じフレーミングを維持してください。

動画全体を通して、強い視覚的一貫性を維持してください。 女性の顔、髪型、服装、体型、カフェ家具、フェンスの配置、道路幅、街路のパース、建築レイアウトを変更しないでください。


4つ目のレイアウト画像(layout4)の場合は構図が大きく変わるため、以下のプロンプトとします。

プロンプト
For the target video, at 0.00 seconds into the target video, <Picture 1> (from [Shot 1]) is fully referenced.

integrated_multimodal_description: [Shot 1] Polished cinematic 2D anime style. Use <Picture 1> as the strict first-frame composition, perspective, and camera-layout reference. Use <Picture 2> as the exact character appearance and clothing reference. Use <Picture 3> only as a loose visual reference for the anime background rendering style, color palette, bright daylight, and overall European urban atmosphere.

Do not copy the exact street layout, road width, café placement, building arrangement, architectural composition, or camera perspective from <Picture 3>. The spatial composition must follow <Picture 1>, while the written description takes priority for the design of the city environment.

The shot begins exactly from the framing established by <Picture 1>: a young woman appears large in the foreground at an outdoor café terrace, viewed from across the café table, with the table edge prominently visible along the bottom foreground. She is the clear visual focus, framed around the upper body to mid torso, while the café terrace and urban street remain visible behind her.

The setting is a refined European-style metropolitan boulevard. It is a spacious city-center environment, not a narrow alley, small backstreet, or village street. A broad urban roadway runs beside the café terrace, creating an open metropolitan feeling.

The outdoor café terrace occupies the sidewalk along the storefront and faces the roadway. Fabric sunshades extend outward from the building eaves above the terrace seating area, shading the tables and chairs. A clearly visible metal safety fence separates the café terrace from the roadway.

The surrounding architecture consists of elegant multi-story European-style urban buildings with clean façades, large storefront windows, cafés and shops, restrained decorative details, and occasional street trees. Use <Picture 3> as inspiration only for the polished anime background quality, pleasant European atmosphere, vivid daytime colors, and natural sunlight. Do not reproduce the specific townscape or street configuration shown in <Picture 3>.

The weather is clear and sunny, with a vivid blue sky, soft white clouds, and bright natural daytime illumination. Sunlight creates gentle shadows from the buildings, sunshades, trees, fence, and café furniture.

The young woman from <Picture 2> is already seated on a café chair at the outdoor café table. She is clearly sitting down, not standing. She sits naturally and comfortably behind the table, facing generally toward the camera from her seat.

Preserve her identity, facial features, brown hair tied in a loose high bun, dark green oversized T-shirt, beige wide-leg pants, casual modern clothing, body proportions, and anime character design from <Picture 2>. Her seated posture must remain visually unambiguous. The café table is directly in front of her, and the chair is partially visible or clearly implied by her posture. One or both arms rest naturally on or near the tabletop. A small coffee cup or drink sits on the table in front of her.

Make sure she remains seated at the café table throughout the entire shot. Do not depict her standing beside the table, walking, getting up from the chair, or leaning against the terrace fence.

The camera holds a completely static shot for the entire scene. There is no cut and no camera movement. Motion is extremely minimal and delicate: the woman breathes gently, blinks occasionally, and a few loose strands of hair move slightly in the light breeze. Her clothing moves only subtly. The fabric sunshade shifts faintly, nearby leaves stir gently, and distant cars or pedestrians may move slowly in the background without drawing attention away from her.

The atmosphere is calm, quiet, and observational, like a peaceful everyday moment from a cinematic anime film.

Maintain strong visual consistency throughout the entire video. Do not alter the woman's face, hairstyle, clothing, body proportions, seated position, café furniture, fence placement, roadway width, street perspective, or architectural layout.

overall_soundscape: Soft urban ambience continues throughout the shot, with faint distant traffic from the broad roadway, occasional subtle pedestrian footsteps, a light breeze through the trees, and very quiet café sounds. No prominent foreground sounds.

non_diegetic_music: N/A
プロンプト(日本語訳)
対象動画では、動画の 0.00秒時点 において、<Picture 1>([Shot 1] のもの) を完全に参照してください。

integrated_multimodal_description:
[Shot 1] 洗練されたシネマティックな2Dアニメ調。
<Picture 1> を、最初のフレームにおける厳密な構図・パース・カメラレイアウトの参照として使用してください。
<Picture 2> を、キャラクターの外見および服装の正確な参照として使用してください。
<Picture 3> は、アニメ背景の描画スタイル、配色、明るい昼間の光、そして全体的なヨーロッパ都市の雰囲気のための、あくまで緩やかな視覚参考としてのみ使用してください。

<Picture 3> から、街路の正確なレイアウト、道路幅、カフェの配置、建物の配置、建築構成、カメラパースはコピーしないでください。 空間構成は <Picture 1> に従い、都市環境のデザインについては文章による説明を優先してください。

ショットは <Picture 1> によって示されたフレーミングから正確に始まります。若い女性が屋外カフェテラスの前景に大きく映り、カフェテーブル越しに見た構図で、テーブルの縁が画面下の前景にはっきりと見えています。 彼女は明確な視覚的主役であり、上半身から胴の中ほどあたりまでのフレーミングで捉えられています。その一方で、背後にはカフェテラスと都市の街路も見えています。

舞台は、洗練されたヨーロッパ風の都市大通りです。 ここは広々とした都心環境であり、細い路地、小さな裏通り、あるいは村の通りではありません。 カフェテラスの脇には広い都市の車道が走っており、開放感のある都会的な印象を作り出しています。

屋外カフェテラスは店舗沿いの歩道部分に設けられており、車道に面しています。 テラス席の上には、建物の軒先から布製のシェード(日よけ)が外側へ張り出し、テーブルと椅子に影を落としています。 また、はっきりと見える金属製の安全柵が、カフェテラスと車道を隔てています。

周囲の建築は、整ったファサードを持つ複数階建てのヨーロッパ風都市建築、大きな店舗ウィンドウ、カフェやショップ、控えめな装飾ディテール、そしてところどころにある街路樹で構成されています。 <Picture 3> は、洗練されたアニメ背景の質感、心地よいヨーロッパ的雰囲気、鮮やかな昼間の色彩、自然な日差しの参考としてのみ用いてください。 <Picture 3> に描かれている特定の街並みや道路構成を再現してはいけません。

天気は晴天で、鮮やかな青空、やわらかな白い雲、そして明るく自然な昼間の光に包まれています。 日差しは、建物、シェード、木々、柵、カフェ家具からやさしい影を作っています。

<Picture 2> の若い女性は、すでに屋外カフェテーブルのカフェチェアに座っています。 彼女ははっきりと着席しており、立ってはいません。 彼女はテーブルの向こう側に、自然でリラックスした姿勢で座っており、座った状態でおおむねカメラの方向を向いています。

<Picture 2> に基づき、彼女の人物性、顔立ち、ゆるく高い位置でまとめた茶色の髪、ダークグリーンのオーバーサイズTシャツ、ベージュのワイドパンツ、現代的なカジュアル服、体型、そしてアニメ調のキャラクターデザインを維持してください。 彼女の着席姿勢は、視覚的に明確でなければなりません。 カフェテーブルは彼女のすぐ前にあり、椅子は一部見えているか、あるいは姿勢から明確に着席がわかるようにしてください。 片腕または両腕は、自然にテーブルトップの上、あるいはその近くに置かれています。 テーブルの上には、小さなコーヒーカップまたは飲み物が置かれています。

ショット全体を通して、彼女がカフェテーブルに座ったままであることを必ず守ってください。 テーブルの横に立っている姿、歩いている姿、椅子から立ち上がる姿、あるいはテラスの柵にもたれかかる姿は描かないでください。

カメラはシーン全体を通して完全な固定ショットを保ちます。 カットはなく、カメラの動きもありません。 動きは極めて小さく繊細です。女性は穏やかに呼吸し、ときどきまばたきをし、数本の後れ毛がそよ風でわずかに揺れます。 服の動きもごく控えめです。 布製シェードがかすかに揺れ、近くの葉もやさしくそよぎ、遠くの車や歩行者が背景でゆっくり動くことはあっても、彼女から注意を逸らすほどではありません。

雰囲気は、シネマティックなアニメ映画の中の穏やかな日常のひとときのように、静かで落ち着きがあり、観察的であるべきです。

動画全体を通して、強い視覚的一貫性を維持してください。 女性の顔、髪型、服装、体型、着席位置、カフェ家具、柵の配置、道路幅、街路のパース、建築レイアウトを変更しないでください。

overall_soundscape: ショット全体を通して、やわらかな都市の環境音が続きます。広い車道から聞こえるかすかな遠方の交通音、ときおり聞こえる控えめな歩行者の足音、木々を抜ける軽い風、そしてごく静かなカフェの物音があります。前景で目立つ音はありません。

non_diegetic_music: なし(N/A)

画像生成結果

画像生成結果は下図です。レイアウトの画像の画角に沿った画像が生成できています。 レイアウトの画像は細い線で描いたほうが反映されやすい印象です。
細部の描写は参照画像やレイアウト画像よりプロンプトのテキストの表現によるところが大きい印象です。

layout1
layout1 - MiniMax H3 の参照機能を利用して画像を生成する:画像9
layout2
layout2 - MiniMax H3 の参照機能を利用して画像を生成する:画像10
layout3
layout3 - MiniMax H3 の参照機能を利用して画像を生成する:画像11
layout4
layout4 - MiniMax H3 の参照機能を利用して画像を生成する:画像12

参考:GPT-Image 2

同様の処理はGPT-Image 2でも可能です。こちらも細部の表現は参照画像より、プロンプトのテキストの描写によって表現されている印象です。

プロンプト
layout4.png のレイアウトで画像を生成してください。背景は image-board.png のイメージを利用してください。キャラクターは girl.png を利用してください。 屋外カフェのテラスにて、テーブル越しに若い女性が手前に大きく映し出され、手前の下部にはテーブルの縁がはっきりと見えています。彼女が視覚的な焦点であり、上半身から胴体中央あたりまでがフレームに収められています。彼女の背後には、カフェのテラスや都市の通りが見えています。 舞台は、洗練されたヨーロッパ風の大通りです。狭い路地や小さな裏通り、あるいは村の通りではなく、広々とした都心部の環境です。カフェテラスの脇には広い都市の車道が走り、開放的な都会の雰囲気を醸し出しています。 屋外カフェのテラスは、店舗前の歩道に設けられ、車道に面しています。テラス席エリアの上部にある建物の軒先からは布製のシェード(日よけ)が張り出し、テーブルや椅子に日陰を作っています。金属製の安全柵がはっきりと見え、カフェテラスと車道を隔てています。 周囲の建築物は、すっきりとしたファサード、大きな店舗用窓、カフェや商店、控えめな装飾、そして所々に植えられた街路樹を備えた、優雅なヨーロッパ風の多層階の都市建築で構成されています。image-board.pngは、洗練されたアニメ背景のクオリティ、心地よいヨーロッパの雰囲気、鮮やかな昼間の色彩、自然な日光の表現の参考としてのみ使用してください。 天気は晴天で、鮮やかな青空、柔らかな白い雲、そして明るい昼間の自然光に満ちています。太陽の光が、建物、日よけ、木々、フェンス、カフェの家具から柔らかな影を落としています。<画像2>の若い女性は、すでに屋外カフェのテーブルにある椅子に座っています。彼女は立っているのではなく、明らかに座っています。テーブルの向こう側に自然かつ快適な様子で座り、全体としてカメラの方を向いています。 彼女のアイデンティティ、顔立ち、緩く高い位置でまとめたお団子ヘアの茶髪、ダークグリーンのオーバーサイズTシャツ、ベージュのワイドパンツ、カジュアルで現代的な服装、体型、そしてアニメキャラクターとしてのデザインを維持してください。座っている姿勢は、視覚的に明確でなければなりません。カフェのテーブルが彼女のすぐ前にあり、椅子は一部が見えているか、あるいは彼女の姿勢から明らかにそこに椅子があることが分かるようにします。片腕または両腕を、テーブルの上またはその近くに自然に置いておきます。彼女の前のテーブルには、小さなコーヒーカップか飲み物が置かれています。 n=4


girl.png, image-board.png, layout4.pngを入力した場合、以下の結果となります。MiniMax H3ほどlayout4.png を参照していない印象もあります。

MiniMax H3 の参照機能を利用して画像を生成する:画像13
MiniMax H3 の参照機能を利用して画像を生成する:画像14
MiniMax H3 の参照機能を利用して画像を生成する:画像15
MiniMax H3 の参照機能を利用して画像を生成する:画像16

まとめ

GPT Image 2でも同様の処理はできるため、GPT Image 2で処理できない画像や、動画を参照する場合などで利用価値がありそうです。

AuthorPortraitAlt
著者
iPentecのメインデザイナー
イタリア好き。Webページ、Webクリエイティブのデザインを担当。PhotoshopやIllustratorの作業もする。 最近は生成AIの画像生成の沼に沈んでいる。
作成日: 2026-08-12