Stable Diffusionで画像を生成するときに、照明に関する呪文(プロンプト)を含めると画像の見栄えが非常によくなるためおすすめです。
照明は、Stable Diffusionで生成する画像の画質やタッチだけでなく、全体の印象を決定づける大きな効果があります。
この記事では、Stable Diffusionで画像生成する際の照明(ライティング)に関するプロンプトを解説していきます。
Stable Diffusionで照明の方向を決めるプロンプト

Stable Diffusionで照明の方向は、日光/街灯/ステージ照明などの光源の種類で特性を決めると反映されやすくなります。
オーソドックスな光源の方向・向きに関するStable Diffusionのプロンプトは以下の通りです。
効果 | プロンプト | 効果の内容 |
正面 | Front Light | 正面から光を当てる |
バックライト | Back Light | 逆光 |
サイドライト | Side Light | 被写体の横からの光 |
上からの光 | Top Light | 被写体の上から光を当てる |
下からの光 | Bottom Light | 足元から光を当てる |
光源の方向・向きを比較した画像!
正面
Front Light

バックライト
Back Light

サイドライト
Side Light

上からの光
Top Light

下からの光
Bottom Light

Stable Diffusionの使い方は、機能別に下記の記事にまとめているのでぜひご覧ください

Stable Diffusionで照明により雰囲気を出すプロンプト

Stable Diffusionでは、照明の種類によって雰囲気や色味が変化します。
発光するアイテムやオブジェクトから連想されるStable Diffusionのプロンプトを紹介します。
効果 | プロンプト | 効果の内容 |
スポットライト | spotlight | 特定の場所に光を当てる |
ステージ | stage light | ステージからの光 |
自然光 | natural light | 屋外での自然な光源 |
夕日の光 | sunset light | 夕陽の光源 |
月明かり | moonlight | 月明かりの光源 |
街明かり | streetlight | 街の光源 |
ランプ | lamplight | ランプの光源 |
発光 | glowing | 人工的に光を当てる |
さまざまな照明の種類を比較した画像!
スポットライト
spotlight

ステージ
stage lights

自然光
natural light

夕日の光
sunset light

月明かり
moonlight

街明かり
streetlight

ランプ
lamplight

発光
glowing


Stable Diffusionでコントラストを出す照明のプロンプト

Stable Diffusionでコントラスト関連のプロンプトを追加するとコントラストが目立つように補正されます。
彩度の高い画像でコントラストの高い画像を生成する場合は、Stable Diffusionのネガティブプロンプトに「grayscale」を入力すると効果があります。
Stable Diffusionでコントラストをコントロールするプロンプト
Stable Diffusionでコントラストをコントロールするプロンプトを紹介します。
効果 | プロンプト | 効果の内容 |
高いコントラスト | spotlight | 明るいポイント>暗いポイント |
低いコントラスト | low contrast | 暗いポイント>明るいポイント |
ソフトなコントラスト | soft contrast | 優しい雰囲気やリラックス感を表現 |
コントラストを比較した画像!
通常
normal

高いコントラスト
high contrast

低いコントラスト
low contrast

ソフトコントラスト
soft contrast

Stable DiffusionでコントラストをコントロールするLoRA
Stable DiffusionにはコントラストをコントロールするLoRAが配布されており、中でも「Contrast control」は、強度の調整でコントラストの強弱を設定できます。
プロンプトを固定でき、コントラストの差分を作り出せるのが特徴です。
強度0.8

強度1.0

強度1.3

「Contrast control」は、CivitaiでLoRAモデルのデータが配布されています。

Stable Diffusionで光の質を変える照明のプロンプト

Stable Diffusionの照明には、質感を与えるプロンプトやLoRAがあり、画像の雰囲気や印象を光の質感の表現で調整することもできます。
光の質を変える照明のプロンプト
光の質には、明るさの強弱から色までが含まれます。
ここからは光の質を変えるStable Diffusionの照明プロンプトを効果の内容とあわせて紹介していきます。
効果 | プロンプト | 効果の内容 |
拡散光 | diffused light | 光源から光が広がる |
直射光 | direct light | 光源の光を均等に浴びる |
反射光 | reflected light | 被写体に反射した光 |
フィルターされた光 | filtered light | 物にさえぎられた光 |
暖かい光 | warm light | 暖色系の光 |
冷たい光 | cool light | 青みがかかった白い光 |
薄暗い光 | dimly light | 明るさを抑えた光 |
シネマ風の光 | cinematic lighting | 顔が際立つ光 |
さまざまな光の質を比較した画像!
拡散光
diffused light

直射光
direct light

反射光
reflected light

フィルターされた光
filtered light

暖かい光
warm light

冷たい光
cool light

薄暗い光
dimly light

シネマ風の光
cinematic lighting

光の質を変える照明のLoRA
Stable Diffusionには、光の質を変更できるLoRAも配布されており、中でも「Light Control – Back Front – Backlight Slider」は、ポジティブプロンプトで前面、ネガティブプロンプトで背面からの光源が調整できます。
なお、光源 (窓、ランプ、太陽など) を消すように指示することが推奨されています。
光源が前面に
Positive

光源が背面に
Negative

「Light Control – Back Front – Backlight Slider」は、CivitaiでLoRAモデルのデータが配布されています。

Stable Diffusionで照明のプロンプトを使いこなすならピクソロがおすすめ

Stable Diffusionの照明のパターンは無数にあるので、プロンプトから画像を思い通りに出すには、多くのステップ数と試行回数が必要です。
Stable Diffusionで快適に使うには16GB以上のVRAMが搭載されたパソコンが必要です。
しかし、これらのパソコンは30万円以上と高額で、手軽に導入するのは難しい場合があります。
そこでおすすめなのが、ブラウザ上で利用できるStable Diffusionのアプリ「PICSOROBAN」です。
【おすすめ!】ブラウザで使えるStable Diffusion「PICSOROBAN」
「コストを抑えて、手軽に高品質な画像生成を楽しみたい!」と考えている方におすすめは、Webブラウザ上でサクッと利用できる「PICSOROBAN」です。
PICSOROBANなら、VRAMやスペックの心配は不要! インターネットさえあれば、高度なAI画像生成を体験できます。

PICSOROBANは、インストールの必要なくブラウザで簡単にStable Diffusionを利用できます。
さらに、今ならリリースキャンペーンとして無料会員登録するだけで、2,000ポイント貰えます!
詳しい使い方は下記の記事で紹介しています。
\約2時間無料で使える!/
Stable Diffusionが快適に使えるおすすめのパソコンやグラボに関しては下記の記事で紹介しています。