電通総研 テックブログ

電通総研が運営する技術ブログ

Stable Diffusion入門-女性イラスト

電通国際情報サービス、オープンイノベーションラボの比嘉康雄です。 Stable Diffusionシリーズ、今回は、女性のイラストの呪文です。

Stable Diffusionのおすすめコンテンツはこちら。

illustration of a gorgeous woman

イラストを描画するには、illustration ofをつかいます。

海外の事例を見ていると女性に使う形容詞は、beautifulよりgorgeousが多いようです。

今回のPrompt(呪文)はこちら。

illustration of a gorgeous woman

出力結果はこちら。

味はありますが、もっと呪文を足す必要がありそうですね。

beautiful face, long waved hair, cute eyes

人物を描画するときに、顔(face)と目(eyes)は指定したほうが出力が安定します。

今回のPrompt(呪文)はこちら。

illustration of a gorgeous woman,
beautiful face,
long waved hair,
cute eyes

出力結果はこちら。

artstation, deviantart, concept art, digital painting

作風を指定しましょう。

artstationは、アーティストが自分の作品を公開する場です。

deviantartは、アーティストのコミュニティで、自分の作品を投稿できます。

海外の人物の場合、artstation, deviantartを指定すると良いでしょう。

concept art, digital paintingは指定したほうが、出力が安定します。アニメの場合、concept artとは、相性が悪いのですが、アニメ以外の場合は、concept artはつけておいたほうがいいです。

今回のPrompt(呪文)はこちら。

illustration of a gorgeous woman,
beautiful face,
long waved hair,
cute eyes,
artstation,
deviantart,
concept art,
digital painting

出力結果はこちら。

beautiful woman, pixiv, light novel, concept art, digital painting

描画対象が日本人の場合、作風はどのように指定すればいいのでしょうか。

artstation, deviantartのかわりに、pixiv, light novelを指定するといいでしょう。

日本人の場合、womanの形容詞は、gorgeousよりもbeautifulのほうが安定します。

今回のPrompt(呪文)はこちら。

illustration of a beautiful woman,
beautiful face,
long waved hair,
cute eyes,
pixiv,
light novel,
concept art,
digital painting

出力結果はこちら。

upper shot, beautiful costume, fantasy background, beautiful composition, cinematic lighting

いい感じの人物像を出力するためには、服装(costume)、背景(background)、構図(composition)、ライティング(lighting)をきちんと指定することが重要です。

upper shotで、上半身を描画します。これがないと顔が大きく描画されて、服装や背景が描画されなくなることが多いです。

今回のPrompt(呪文)はこちら。

illustration of a gorgeous woman,
upper shot,
beautiful face,
long waved hair,
cute eyes,
beautiful costume,
fantasy background,
beautiful composition,
cinematic lighting,
artstation,
deviantart,
concept art,
digital painting

出力結果はこちら。

人物だけの画像より、アートっぽさが増してますね。

extremely detailed, sharp focus, ray tracing, 8k, cinematic postprocessing, shot from below, overhead sunlight

ここから仕上げです。

extremely detailed, sharp focusで、サブジェクト(描画対象)を詳細に描画し、ピントを当てます。

ray tracing, 8kで、現実に近い映像を作り出します。

cinematic postprocessingで、映画レベルまでクオリティをあげます。

shot from belowで、ちょい下から撮影し、overhead sunlightで頭の上から日光が当たるような効果を加えます。

今回のPrompt(呪文)はこちら。

illustration of a gorgeous woman,
upper shot,
shot from below,
beautiful face,
long waved hair,
cute eyes,
beautiful costume,
fantasy background,
beautiful composition,
overhead sunlight,
cinematic lighting,
artstation,
deviantart,
concept art,
digital painting,
extremely detailed,
sharp focus,
ray tracing,
8k,
cinematic postprocessing

出力結果はこちら。

golden hour, overhead sunlight, soft lighting

先程のoverhead sunlight, cinematic lightingの画像は、ライティングがきついと感じた方もいるかも知れません。そういう場合は、soft lightingを指定します。

先程の画像は、偶然、夕暮れ時の画像でしたが、再現性を上げるために、golden hourを指定します。

今回のPrompt(呪文)はこちら。

illustration of a gorgeous woman,
upper shot,
shot from below,
beautiful face,
long waved hair,
cute eyes,
beautiful costume,
fantasy background,
beautiful composition,
golden hour,
overhead sunlight,
soft lighting,
artstation,
deviantart,
concept art,
digital painting,
extremely detailed,
sharp focus,
ray tracing,
8k,
cinematic postprocessing

出力結果はこちら。

lit from below, blue hour, beautiful stars, soft lighting

blue hourというのは、日の出前の一時間、日の入り後の一時間の時間帯です。

lit from belowで下から光を当てます。

beautiful starsで、美しい星を出します。

今回のPromptはこちら。

illustration of a gorgeous woman lit from below,
upper shot,
shot from below,
beautiful face,
long waved hair,
cute eyes,
beautiful costume,
beautiful background,
blue hour,
beautiful stars,
beautiful composition,
soft lighting,
artstation,
deviantart,
concept art,
digital painting,
extremely detailed,
sharp focus,
ray tracing,
8k,
cinematic postprocessing

出力結果はこちら。

まとめ

今回は、女性のイラストのPrompt(呪文)を学びました。 服装、背景、構図、ライティングは、人物画には、必須だということがわかっていただけたと思います。

次回は、美しい夜空を見渡す男編です。

仲間募集

私たちは同じグループで共に働いていただける仲間を募集しています。
現在、以下のような職種を募集しています。

Stable Diffusionの過去コンテンツ

執筆:@higaShodoで執筆されました