視覚ログ
雨がフロントガラスを叩く音だけが車内に響く。 ワイパーがリズミカルに動き、街灯の光が水滴に乱反射する。黒と白のコントラストが極限まで強調されたこの景色は、現実でありながらどこか映画的な幻影を帯びている。
安部公房の小説に登場するような、匿名性の漂う都会の夜。タル・ベーラの長回しが捉えるような、時間そのものが淀むような重厚さ。けれどここには、微かなスピード感も潜んでいる。信号が変わる瞬間の緊張、濡れたアスファルトに映るテールランプの尾を引きながら、どこかへ向かおうとする静かな衝動。
この画像はAIによって生成されたものだ。プロンプトに込めたのは「モノクロームの美しさ」「強いコントラスト」「黒の深み」「雨の夜の都会を車内から見た孤独と疾走感」。水滴一つひとつ、ワイパーの軌跡、遠くのネオンが滲む様子まで、意図的に強調した。
重いテーマの記事の合間に、こうした「視覚の息抜き」を挟むのも一興だ。言葉では伝えきれない湿った空気感、ガラス越しの隔たり、夜の街が持つ無言の圧力を、ただ眺めてほしい。あなたが今いる場所の雨音を想像しながら。
Google Nano Banana Proによる画像生成 – パラメータの変更による生成結果の違い
今回はJSONのcfg_scale、Stepsのパラメータを変化させ、意図的に“seed”: -1(意味は後述します)に設定して、結果を比較してみました。
cfg_scale(Classifier Free Guidance Scale=プロンプトへの従順度):
AIが入力したプロンプト(指示文)に従う度合いを、数値でコントロールします。
目安の数値は、
設定例: cfg_scale 7.5
標準値: 7〜8
程度に設定されます。
Steps(生成ステップ・サンプリング回数):
画像生成AIモデルが、ノイズ(砂嵐のような画像)から、形状を認識できる画像へ処理していく過程の計算回数(試行回数)を意味します。
目安の数値: 通常は20〜50程度に設定されます。
数値が低い場合 10〜20:計算時間は早いですが、細部が荒くなったり、破綻したりしやすくなります。
数値が高い場合 50以上:より細部が描写され、品質が向上する傾向がありますが、生成時間がかかります。上げすぎるとAIモデルによっては、画像が崩れることもあります。
15以下だとボヤけ、35以上は生成速度が落ちるだけで画質はほぼ変わらないとされていますが、今回の検証では、Google Nano Banana Proを使用、敢えて極端なパラメータで、実験をしています。
“seed”: -1(プレースホルダー):
AI画像生成において、設定値にseed -1 を指定することは「シード値を完全にランダムにする」という意味になります。
1. seed -1の意味
ランダム生成の指示: システムに対して「特定のシード値を指定しないので、生成のたびにランダムな数字を自動で割り当ててください」と命令する特別なコード(プレースホルダー)です。デフォルト状態: 多くの画像生成AIツールやAPIで、初期状態(デフォルト)として採用されています。
2. 生成結果への反映
毎回違う画像になる: プロンプト(呪文)やその他の設定が全く同じであっても、ボタンを押すたびに構図、ポーズ、色彩、顔立ちなどがガラリと変わります。
実際のシード値は裏で割り振られる: 生成が実行された瞬間、AIシステム内部で -1 が 4294967295 などの具体的な数値に置き換わります。
3. いつ使うべきか
偶然の傑作を狙う時: 構図を固定せず、AIの予期せぬ表現力を引き出したい時。
アイデア出し(ガチャ): どんな画像ができるか、さまざまなバリエーションを次々に試したい時。
“sampler”: “DPM++ 2M Karras”
AI画像生成の設定JSONにおける "sampler": "DPM++ 2M Karras" は、ノイズを取り除いて画像を完成させるアルゴリズム(サンプラー)の指定です。
このサンプラーは、現在の画像生成において最も人気のある「定番・最高峰」の選択肢の一つです。
構成要素の分解と意味
この名前は、3つの要素(技術・計算方法・ノイズの配分)に分解して理解できます。
効果:生成の「序盤(大枠を作るとき)」に一気にノイズを削り、「終盤(微調整)」にじっくり時間をかけます。これにより、少ないステップ数でもクオリティが大幅に向上します。
DPM++ (Diffusion Probabilistic Model ++)
意味:AIモデルの構造に最適化された、高精度な第2世代の計算アルゴリズムです。
効果:従来のサンプラー(Eulerなど)に比べて、少ない回数の計算でより正確に破綻のない高品質な描き込みを行うことができます。
2M (Multi-step)
意味:1ステップ前の計算結果だけでなく、2ステップ以上前のデータも参照しながら滑らかにノイズを削る方式(多歩長法)です。
効果:1M(Single-step)方式よりも劇的に画像のバリエーションが安定し、ディテールがブレにくくなります。
Karras (カラス・スケール)
意味:AI研究者のTero Karras氏が提唱した「ノイズの減らし方のスケジュール(時間配分)」です。
生成結果への具体的な反映・特徴
このサンプラーを指定すると、生成される画像や作業効率に以下のようなメリットが反映されます。
圧倒的な「生成速度」と「高画質」の両立
通常、綺麗な絵を出すには多くの計算(Sampling Steps)が必要ですが、このサンプラーは 15〜25ステップ前後 で完全にクオリティが頭打ち(完成)になります。
短時間でハイクオリティな画像が出せるため、ガチャ(大量生成)の効率が劇的に上がります。
構図の安定性とブレのなさ
末尾に「a(ancestral: Euler a など)」がつくサンプラーは、ステップ数を増やすと服装や構図がガラリと変わってしまいます。
しかし、DPM++ 2M Karrasはステップ数を20から30、40へと増やしても構図が崩れにくく、ディテール(細部)だけが緻密に強化されていきます。
癖のないクッキリとした質感
イラスト(アニメ調)からリアルな写真風(実写)まで、あらゆる学習モデルで万能に使えます。
ぼやけた印象にならず、線の輪郭や質感がパキッと綺麗に表現される傾向があります。
Image Gallery– Parameter Variation
Rainy Night Windshield Monochrome – 1

[Model](各画像共通)
Google NanoBanana Pro
[Caption](各画像共通)
AI生成|モノクローム・高コントラスト|雨の夜の都市を車内から。
[Description](各画像共通)
プロンプトに基づき生成した画像シリーズ。安部公房やタル・ベーラを思わせる重厚な雰囲気の中で、雨に濡れたフロントガラス越しに広がる夜の街並みを捉えた。黒の深みと光の反射、ワイパーの軌跡が織りなす孤独とスピード感を表現。ブログ記事内の「画像コラム」として使用。
[Alternative text](各画像共通)
豪雨の夜、車のフロントガラス越しに映るモノクロームの都会。強いコントラストと水滴の質感が印象的なAI生成画像。
[JSON Parameters]
[Rainy Night Windshield Monochrome – 1]のparametersを以下のように変更。
“steps”: 70, →”steps”: 10,
“cfg_scale”: 8.5 → “cfg_scale”: 5.5,
“seed”: -1,
“sampler”: “DPM++ 2M Karras”
Rainy Night Windshield Monochrome – JSON code
{
"prompt": "A moody, high-contrast black and white photograph taken from inside a car at night during heavy rain. Raindrops and streaks cover the foreground car window, creating intricate patterns and texture with glistening water droplets. Dramatic reflections and shadows of streetlights, passing vehicles, and urban silhouettes are cast across the wet glass. The background is dark and blurred, showing faint city lights, wet road reflections, and indistinct buildings through the rain. Cinematic lighting with strong highlights on the water and deep blacks in the shadows. Atmospheric, melancholic, film noir style. Highly detailed water textures, realistic condensation and rivulets on glass, shallow depth of field, 8k resolution, photorealistic.",
"negative_prompt": "color, bright daylight, sunny, clear window, no rain, people inside car, text, watermark, blurry, low quality, cartoon, painting, overexposed, underexposed",
"style": "photorealistic, cinematic, film noir",
"aspect_ratio": "4:3",
"lighting": "dramatic low-key, high contrast, volumetric light rays through rain",
"mood": "melancholic, rainy night, introspective",
"camera": "shot from inside car, through wet windshield, slight tilt",
"parameters": {
"steps": 70,
"cfg_scale": 8.5,
"seed": -1,
"sampler": "DPM++ 2M Karras"
}
}
Rainy Night Windshield Monochrome – 2

[JSON Parameters]
[Rainy Night Windshield Monochrome – 1]のparametersを以下のように変更。
“steps”: 70, →”steps”: 10,
“cfg_scale”: 8.5 → “cfg_scale”: 5.5,
“seed”: -1,
“sampler”: “DPM++ 2M Karras”
Rainy Night Windshield Monochrome – 2 – JSON Code
{
"prompt": "A moody, high-contrast black and white photograph taken from inside a car at night during heavy rain. Raindrops and streaks cover the foreground car window, creating intricate patterns and texture with glistening water droplets. Dramatic reflections and shadows of streetlights, passing vehicles, and urban silhouettes are cast across the wet glass. The background is dark and blurred, showing faint city lights, wet road reflections, and indistinct buildings through the rain. Cinematic lighting with strong highlights on the water and deep blacks in the shadows. Atmospheric, melancholic, film noir style. Highly detailed water textures, realistic condensation and rivulets on glass, shallow depth of field, 8k resolution, photorealistic.",
"negative_prompt": "color, bright daylight, sunny, clear window, no rain, people inside car, text, watermark, blurry, low quality, cartoon, painting, overexposed, underexposed",
"style": "photorealistic, cinematic, film noir",
"aspect_ratio": "4:3",
"lighting": "dramatic low-key, high contrast, volumetric light rays through rain",
"mood": "melancholic, rainy night, introspective",
"camera": "shot from inside car, through wet windshield, slight tilt",
"parameters": {
"steps": 10,
"cfg_scale": 5.5,
"seed": -1,
"sampler": "DPM++ 2M Karras"
}
}
Rainy Night Windshield Monochrome – 3

[JSON Parameters]
[Rainy Night Windshield Monochrome – 1]のparametersを以下のように変更。
“steps”: 70, →”steps”: 50,
“cfg_scale”: 8.5 → “cfg_scale”: 6.5,
“seed”: -1,
“sampler”: “DPM++ 2M Karras”
Rainy Night Windshield Monochrome – 3 – JSON Code
{
"prompt": "A moody, high-contrast black and white photograph taken from inside a car at night during heavy rain. Raindrops and streaks cover the foreground car window, creating intricate patterns and texture with glistening water droplets. Dramatic reflections and shadows of streetlights, passing vehicles, and urban silhouettes are cast across the wet glass. The background is dark and blurred, showing faint city lights, wet road reflections, and indistinct buildings through the rain. Cinematic lighting with strong highlights on the water and deep blacks in the shadows. Atmospheric, melancholic, film noir style. Highly detailed water textures, realistic condensation and rivulets on glass, shallow depth of field, 8k resolution, photorealistic.",
"negative_prompt": "color, bright daylight, sunny, clear window, no rain, people inside car, text, watermark, blurry, low quality, cartoon, painting, overexposed, underexposed",
"style": "photorealistic, cinematic, film noir",
"aspect_ratio": "4:3",
"lighting": "dramatic low-key, high contrast, volumetric light rays through rain",
"mood": "melancholic, rainy night, introspective",
"camera": "shot from inside car, through wet windshield, slight tilt",
"parameters": {
"steps": 50,
"cfg_scale": 6.5,
"seed": -1,
"sampler": "DPM++ 2M Karras"
}
}
Rainy Night Windshield Monochrome – 4

[JSON Parameters]
[Rainy Night Windshield Monochrome – 1]のparametersを以下のように変更。
“steps”: 70, →”steps”: 50,
“cfg_scale”: 8.5 → “cfg_scale”: 3.0,
“seed”: -1,
“sampler”: “DPM++ 2M Karras”
Rainy Night Windshield Monochrome – 4 – JSON Code
{
"prompt": "A moody, high-contrast black and white photograph taken from inside a car at night during heavy rain. Raindrops and streaks cover the foreground car window, creating intricate patterns and texture with glistening water droplets. Dramatic reflections and shadows of streetlights, passing vehicles, and urban silhouettes are cast across the wet glass. The background is dark and blurred, showing faint city lights, wet road reflections, and indistinct buildings through the rain. Cinematic lighting with strong highlights on the water and deep blacks in the shadows. Atmospheric, melancholic, film noir style. Highly detailed water textures, realistic condensation and rivulets on glass, shallow depth of field, 8k resolution, photorealistic.",
"negative_prompt": "color, bright daylight, sunny, clear window, no rain, people inside car, text, watermark, blurry, low quality, cartoon, painting, overexposed, underexposed",
"style": "photorealistic, cinematic, film noir",
"aspect_ratio": "4:3",
"lighting": "dramatic low-key, high contrast, volumetric light rays through rain",
"mood": "melancholic, rainy night, introspective",
"camera": "shot from inside car, through wet windshield, slight tilt",
"parameters": {
"steps": 50,
"cfg_scale": 3.0,
"seed": -1,
"sampler": "DPM++ 2M Karras"
}
}
Rainy Night Windshield Monochrome – 5

[JSON Parameters]
[Rainy Night Windshield Monochrome – 1]のparametersを以下のように変更。
“steps”: 70, →”steps”: 10,
“cfg_scale”: 8.5 → “cfg_scale”: 5.5,
“seed”: -1,
“sampler”: “DPM++ 2M Karras”
Rainy Night Windshield Monochrome – 5 – JSON Code
{
"prompt": "A moody, high-contrast black and white photograph taken from inside a car at night during the intensity of the heavy rain. Raindrops and streaks cover the foreground car window, creating intricate patterns and texture with glistening water droplets. Dramatic reflections and shadows of streetlights, passing vehicles, and urban silhouettes are cast across the wet glass. The background is dark and blurred, showing faint city lights, wet road reflections, and indistinct buildings through the rain. Cinematic lighting with strong highlights on the water and deep blacks in the shadows. Atmospheric, melancholic, film noir style. Highly detailed water textures, realistic condensation and rivulets on glass, shallow depth of field, 8k resolution, photorealistic.",
"negative_prompt": "color, bright daylight, sunny, clear window, no rain, people inside car, text, watermark, blurry, low quality, cartoon, painting, overexposed, underexposed",
"style": "photorealistic, cinematic, film noir",
"aspect_ratio": "4:3",
"lighting": "dramatic low-key, high contrast, volumetric light rays through rain",
"mood": "melancholic, rainy night, introspective",
"camera": "shot from inside car, through wet windshield, slight tilt",
"parameters": {
"steps": 10,
"cfg_scale": 5.5,
"seed": -1,
"sampler": "DPM++ 2M Karras"
}
}
雨はすべての輪郭を溶かし、同時に新たなコントラストを生み出す。 ガラス一枚隔てた向こうに広がる夜の街は、今日も私たちに無言の問いを投げかけている。 あなたが今いる場所で、もし雨が降っていたら—— その音を聞きながら、ただ前を見つめてみてほしい。
投稿者プロフィール

-
こんにちは、AKIRA Obataです。私はAI技術を活用して、独自のデジタルアートを創作するアーティストです。テクノロジーとクリエイティビティの交差点で、新しい表現の可能性を探求しています。『aigenart』は、私の作品やアイデアを世界に発信する場であり、AIがもたらす美しさや楽しさを皆さんと共有したいと考えています。
1948年11月、東京都中野区生まれ、血液型B型。
20代の頃から憲法第9条改憲には強い反対の意思を堅持している。
最新の投稿
JSON2026-05-18雨の夜、フロントガラス越しのモノクローム
JSON2026-05-13他者(外界)への通路
JSON2026-05-10見えない視線の恐怖
JSON2026-03-17Nano Banana Proで使うJSON + PBR – 徹底解説