Prompt Baseで販売されている画像を真似してプロンプトを作ってみた!白紙のプラカード編
wasawo_chat_fun
こんにちは、Wasawoです。
このTipsではプロンプトベースの画像を真似たプロンプトを作成して実際に画像生成してみる事をやっていきます。基本的な流れは③の基本事項まとめのページにて公開していますので、初めての方はまず基本事項まとめページを見てくださいね。
- 参考文献
- 実際のプロンプト(ミッドジャーニーとCopilotで試しています)
- 基本事項まとめ
参考文献
実際のプロンプト
そして私が参考にして生成した画像がこちら
今回、要素を抽出したプロンプトです。
1,Brazil
Cinematic shot of 【Brazil】 holding up a blank placard and smiling. The person is standing on the street in front of some buildings, with cars parked around him. There are no clouds in the sky; it is daylight. --ar 3:4 --v 6.1 --s 150
2,China
Cinematic shot of 【China】 holding up a blank placard and smiling. The person is standing on the street in front of some buildings, with cars parked around him. There are no clouds in the sky; it is daylight. --ar 3:4 --v 6.1 --s 150
3,United States
Cinematic shot of 【United States】 holding up a blank placard and smiling. The person is standing on the street in front of some buildings, with cars parked around him. There are no clouds in the sky; it is daylight. --ar 3:4 --v 6.1 --s 150
今回の変更を加える部分は1箇所です。国名を入れるだけです。
簡単なタイトルと物語であればChatGPTで生成できます。
どこが引数なのかをわかりやすくするために引数のコードに「【】」を付けました。
「【】」は引数としてわかりやすくしているので、実際にコードを入力するときは「[]」を外して下さい。
「1,Brazil」を参考例に紐解いていきましょう。イラスト感を増したい場合は「--niji 6」を追加してみるのも良いでしょう。
- ★Cinematic shot of 【Brazil】 holding up a blank placard and smiling. ←可変要素「白紙のプラカードを掲げて微笑む【ブラジル】のシネマティックショット。」
- The person is standing on the street in front of some buildings, with cars parked around him. ←固定要素「その人物はいくつかの建物の前の路上に立っており、周囲には車が駐車している。」
- There are no clouds in the sky; it is daylight. ←固定要素「空に雲はなく、昼間だ。」
- --ar 3:4 ←可変要素「縦横比率の調整」
- --v 6.1 ←可変要素「バージョン6.1」
- --s 150 ←可変要素「0〜1000の間で画像の変化が変わります。」
- --ar 13:18 ←可変要素「縦横比率の調整」
- --v 6.1 ←可変要素「バージョン6.1」
★おまけの付録
今回、文字抜き版を取り上げたので、キーワードを入れた画像を生成したいという方向けにおまけを用意しました。
Cinematic shot of 【Brazil】 holding up a 【"Happy"】 placard and smiling. The person is standing on the street in front of some buildings, with cars parked around him. There are no clouds in the sky; it is daylight. --ar 3:4 --v 6.1 --s 150
★Cinematic shot of Brazil holding up a 【blank】 placard and smiling.
このようにblankに当たる箇所に【"text"】を入れるだけで簡単に文字を入れた画像も生成できます。
ーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーー
そしてCopilotで生成した画像
ニュアンスが近い画像が生成されました。
Cinematic shot of 【Brazil】 holding up a 【"Happy"】 placard and smiling. The person is standing on the street in front of some buildings, with cars parked around him. There are no clouds in the sky; it is daylight.
上記のプロンプトをコピーして下記のCopilotで画像生成をしてみて下さい。
(Copilotで使用するブラウザはMicrosoftのEdgeブラウザ推奨です。)
今回のキーワードはプロンプトのボリュームがあるように見えますが、変えるべき箇所は1つ。何も難しい事はありません。(ChatGPTの得意分野である物語の生成を行えば無限にストーリーが作れます。)
重要なのは必要な要素が何なのか、見たものをそのまま画像生成AIに伝える力が重要であると言えます。(使用するツールによって出力は異なるので、色々と試してみるのも新たな発見があって良いですね。)
ポイントは対象物がなんなのか、どんな外見をしているのかをプロンプトで詳細に伝える事だと思います。見たものをそのまま真似るを基礎ベースとして、生成していく内に真似るよりも良いものが偶然出来上がったりするのも楽しみの一つですね。
今後も真似っこシリーズを進めていきますので、気になる方はどうぞ他の記事も是非ご覧下さいませ!今回は参考元から似たような画像が生成できました!Wasaoでした。