クリエイターの教科書

ChatGPT, Stable Diffusion, Visual Studio, Excelなど教科書

【Stable Diffusion web UI】知っておくと便利なプロンプト集[四分割・アイコン・ロゴ・ハロウィンなど]

生成プロンプトで知っておくと便利だったプロンプトをどんどん記録しておきます。

知っておくと便利なプロンプト集

画質の指定

生成画質をアップするには

・masterpiece(傑作)

・best quality(高品質)

・detailed(ディテールをしっかり)

・4k post processing is very detailed(4Kでディテールもしっかり)

・ultra-realistic,8k(8Kで超リアル)

などのキーワードが使われます。

 

negativeのほうに

・low quality(低品質)

・blurry(ぴんぼけ)

などを入れるのも有効です。

 

「masterpiece」をいれたのといれないやつ。

利用モデルはBRA。

 

プロンプト:a girl, head shot

 

プロンプト: *1, a girl, head shot

 

 

複数人の場合で試してみます。

プロンプト:girls,group shot

 

プロンプト:*2,girls,group shot

 

...512x512ぐらいだとそんなに気にならないかな。

 

 

HDRはハイダイナミックレンジで、より高い表現力が期待されます。

 

HiRes upscale2.5で生成

プロンプト:  a girl, full body, outdoor

 

プロンプト:  a girl, full body, outdoor,HDR

 

 

ライティングの指定

高品質なライティングにするには

・professional lighting(プロのライティング)

・studio lighting(スタジオ撮影のようなライティング)

・high-contrast(コントラストを強く)

などのワードが使われます。

 

プロンプト:a girl, professional lighting,

 

professional lightingを入れると、スタジオで強いライトを当てている感の画像が出やすい気もしないでもないです。

 

 

カメラの指定

レンズでは

・wide angle lens(広角レンズ)

・ultra wide angle lens (超広角レンズ)

・DSLR  (デジタル一眼レフ)

 

カメラの焦点距離を入れることも可能。

・35mm

・50mm

・75mm

 

特定のカメラを入れることも可能。

・Nikon Z9

・Canon 5d

・Canon EOS 5D Mark IV DSLR

 

そのまま使うとカメラを持った人物が生成されるので、

「The composition should be shot with (カメラ)using (レンズ)」

などのように表現したほうがよいでしょう。

 

 

 

汎用

四分割

3 x 3 grid view, photo realistic blond girl, same person's face

 

いろんなポーズ

a young boy, multiple poses and esporessions, no outline

 

 

雰囲気

「in style of」と映画名などを組み合わせ。

 

a girl in style of STAR WARS

 

a girl in style of Walking Dead

 

 

ハロウィン用プロンプト

「halloween pumpkin」

 

ジャック・オー・ランタンというワードを使ってもいいです。

「halloween jack-o-lantern」

 

取り込んでデザインしたい場合は背景を白にしてみましょう。

「halloween pumpkin, white background」

 

ハロウィンでよく連想するようなお化けですがSDだとすぐでてきません。

Dalle3だと「ハロウィンの白い幽霊」でこういうのがすぐでます。

 

SDのプロンプトをいろいろためして、何度か作ってできてこのレベルです。

[a spooky white ghost levitating, half-trasnparent, no legs, no hands]

 

 

 

人物

正面

背景を切り抜きやすいように何も描かず、人物の顔を正対で写真内におさまるようにする場合

photography of  a girl, white background, in front view, head shot

 

韓流アイドル

・Korean idol(韓国のアイドル)

・Korean singer(韓国のシンガー)

・look like BTS(BTSのようにみえる)

 

1 man, Korean idol, singer

 

 

{masterpiece},{best qualitty},ultra high res, 1 man, Korean idol

 

guys, look like BTS

 

 

A charismatic Korean male idol stands center stage, bathed in the soft glow of a spotlight. He is dressed in a stylish, modern outfit, reflecting the latest trends in Korean fashion. His hair is perfectly styled, and his makeup is subtle but enhances his striking features. The background is a blur of vibrant stage lights and the faint outline of a cheering crowd. The image should be shot with a Canon EOS 5D Mark IV DSLR camera, using an EF 85mm f/1.2L II USM lens for a shallow depth of field. The resolution should be 30.4 megapixels, with an ISO sensitivity of 100 to capture the stage lighting without noise. The shutter speed should be 1/125 to freeze the action, and the aperture should be set to f/1.2 to focus on the idol and blur the background. The image should be in a 16:9 aspect ratio, with a version of 5.1, in a raw style, and a quality of 2. The size should be 750."

 

 

韓流俳優

・Korean actor(韓国の俳優)

・like YongJoon Bae(ベヨンジュンのような)

・like songkang(ソンガンのような)

 

1 man, Korean actor

 

1 man, like YongJoon Bae

 

1 man, like songkang

 

A renowned Korean actor is on set, in the midst of a dramatic scene. His expression is intense, eyes filled with emotion, reflecting the depth of his character. He is dressed in a tailored suit, the setting around him is a luxurious penthouse, with panoramic views of Seoul's skyline in the background. The image should be shot with a Canon EOS 5D Mark IV DSLR camera, using an EF 85mm f/1.2L II USM lens for a shallow depth of field. The resolution should be 30.4 megapixels, with an ISO sensitivity of 100 to capture the indoor lighting without noise. The shutter speed should be 1/125 to freeze the action, and the aperture should be set to f/1.2 to focus on the actor and blur the background. The image should be in a 16:9 aspect ratio, with a version of 5.1, in a raw style, and a quality of 2. The size should be 750

 

 

背景のプロンプト・見本一覧

特定の場所

・in Tokyo(東京で)

 

・ in Kyoto(京都で)



・in New York in front of the statue of Liberty (ニューヨーク、自由の女神前で)

 

・ in front of the Sphinx, Egypt(エジプト、スフィンクス前で)

 

 

・ in the middle of forest in Amazon(アマゾンの森林)

 

 

映画風

・in front of Death Star, Star Wars (スターウォーズ、デススター前)

 

・in front of hogwarts school, Harry Potter(ハリーポッター、ホグワーツ校前)

 

 

天気、自然現象

・sun(太陽)

・bue sky(青空)

 

・cloudy(雲)

 

・sunset(日暮れ)

 

・ rain falling(雨が降っている)

・heavy rain(豪雨)

 

・cherry blossom petals are falling(桜が散っている)

 

・snow falling(雪が降っている)

 

・thunder ligthening(雷が鳴っている)

 

 

背景無し

再現度はまちまちなのでくどく書くのがコツ。

・with no background, with white background

 

デザイン

アイコン集

フリーアイコンもありますが、よくよく読むとリンクを入れろとか指示があったりするので、それなら画像生成で作った方がいいかな、などと思って試してみました。

 

基本的には

「24 x 24 pixel icons about {説明・対象}, 4 x 4 grid view,  white background」

といった感じでそこそこつくれます。

 

 

「24 x 24 pixel icons about computer, 4 x 4 grid view,  white background」

 

24 x 24 pixel icons about smartphone, 4 x 4 grid view,  white background

枠線をもうちょっと指示できるといんだけどな~。

 

24 x 24 pixel icons about home DIY, 4 x 4 grid view,  white background

 

 

 

ロゴマーク

Stable Diffusion web UIでロゴが作れると非常に楽です。

 

ただし現在のText2Img系画像生成は文字はまだうまくありません。

 

マークの絵柄だけを作り、あとはフォトショなどで文字を載せて完成させる方が確実です。

 

 

 

マークを作るプロンプトで分かりやすいのは、「symbolic icon of ~ = ~の象徴的なアイコン」のような指定方法です。

 

例えばコーヒーショップのロゴになるようなアイコンは、

「symbolic icon of coffee store "{店名}", image of {ロゴイメージ}, white background」

のようにプロンプトを指定します。

 

 

サンプルとして、ヨットのイメージの「ブルーオーシャンコーヒー」というお店のロゴをつくってもらいます。

 

プロンプトは

symbolic icon of coffee store "blue ocean coffee", image of yacht on sea, white background

です。

 

生成例はこんな感じ。

 

 

こちらはサイズを小さくしてアイコン集として作る場合のサンプルプロンプトです。

 

 

24 x 24 pixel icons, 2 x 2 grid view, many symbolic icons of coffee store "blue ocean coffee", image of yacht on sea, white background

 

 

RPGゲーム用ドットデータ

ドラクエのようなゲームのモンスターのようなアイコン集、というイメージのプロンプトです。

24 x 24 pixel icons for enemy monsters of RPG game like Dragon Quest, 4 x 4 grid view,  white background、no background

 

モンスターハンターといれてみたら、こんな感じ。

24 x 24 pixel icons for enemy monsters of RPG game like Monster Hunter, 4 x 4 grid view,  white background、no background

 

いろんなRPG用勇者データ

multiple poses of heros like RPG hero, no background

 

multiple poses of heros like RPG hero, same size, white background, no drop shadow

 

*1:masterpiece, best quality

*2:masterpiece, best quality

このブログは、ネットや書籍上の情報、個人の体験や感想を中心にまとめたものです。 正確性を期していはいますが、間違い・誤訳等あるかもしれません。 当サイトの情報によって生じたいかなる損失について一切の責任を負わないものとします. あらかじめご了承ください。

プライバシーポリシー |〇利用規約 |〇問い合わせ