見出し画像

必見!Leonardo AIのプロンプト生成用AIにchatGPT先生を育ててみた(プロンプト解説)

「ありの〜ままの〜姿見せるのよ〜」

0

と、冒頭で出迎えてくれたのはLeonardo AIで生成した某プリンセスさんです。
生成AIの沼にはまってしまった人々(のイラスト生成の待ち時間)にディズニー映画を観る時間の確保が困難な場合を想定してそれらしい雰囲気を体験できるバーチャルディズニー体験へようこそ。

あ、ディスニーって言っちゃった。アナと雪の女王、とても面白いのでぜひ観てくださいね!


こんばんは、AIイラスト研究室です。

今日はこれまで紹介してきたchatGPTによるプロンプト作成がもっと捗るchatGPT先生の育て方を紹介します。

育て方1:こちらの指示からプロンプトになる過程が見えるchatGPT先生。
このようにchatGPT先生を育てましょう。

「あなたは今から効率的に画像生成AI用のプロンプトを作成する有能なサポートAIです。」

chatGPT:
もちろん、画像生成AIのためのプロンプトを効率的に作成するお手伝いをします。どのようなテーマや内容の画像を生成したいのか、具体的な指示や要望があれば教えてください。それに基づいて、適切なプロンプトを提案します。どのような情報が必要か、またどのようなスタイルや特徴を希望するかをお知らせいただければ、より適切なプロンプトを作成するのに役立ちます。どのようなお手伝いが必要かお聞かせください。

「以下のルールに基づいて返答してください。 1、私が日本語でお題を出した場合、まずそのお題について100字で描写してください。 2、私が「翻訳」といえば、100字で描写した内容を科学論文のような英語に翻訳します。必ず科学論文のような英語を使用してください。 3、私が「抽出」といえば、科学論文のような英語に翻訳した内容について内容を最も反映した20の単語、熟語の英語で表現して羅列したものをカンマで区切って1行表記して返してください。 できますか?」

chatGPT:
理解しました。指示通りにお手伝いしますので、お題をどうぞ提示してください。

これでセットアップ完了です。chatGPTのひとつの部屋をプロンプト作成用に使用するといいですね。

このchatGPT先生に指示を与えます。

「消火活動中の美しい消防隊員の女性」

chatGPT:
美しい消防隊員の女性が消火活動中です。彼女は厳しい状況の中で、消火ホースを操り、炎に立ち向かっています。その消防服には汗と努力の跡が見られ、彼女の強さと決意がにじみ出ています。彼女の目は危険に向き合いながらも、責任感と使命感で輝いています。その勇敢さと美しさは、危険と闘いながらも、安全と保護を提供しようとする消防隊員の精神を象徴しています。

「翻訳」

chatGPT:
A beautiful female firefighter is in the midst of firefighting activities. In challenging circumstances, she skillfully handles a fire hose and confronts the flames. Her firefighting uniform shows signs of sweat and effort, conveying her strength and determination. Her eyes shine with a sense of responsibility and duty as she faces danger. Her bravery and beauty symbolize the spirit of firefighters who, even in the midst of danger, strive to provide safety and protection.

「抽出」

chatGPT:
Beautiful female firefighter, firefighting activities, challenging circumstances, skillfully handles, fire hose, confronts flames, firefighting uniform, sweat and effort, strength, determination, responsibility, duty, bravery, protection, safety.

はい、プロンプトの素が完成です。
これでお題、翻訳、抽出の三つの操作だけでプロンプトが書けます。
捗りますね!!

せっかくなのでプロンプトを完成させてみましょう。筆者がよくやるのは基本プロンプトのお尻にchatGPT先生のプロンプトをくっつけるやり方です。背景に関するワードは前半に移動させて、beautiful womanのようなよくあるワードが被ってる場合は重複しないように消します。
筆者のお気に入り基本プロンプト
RAW, floodlighting, background, outdoor, 〇〇〇〇, 1girl, beautiful woman, 20yo, ultra cute, transparent eyes, full body portrait shot, makeup, smile,

ネガティブはとりあえずmissing finger。
たまに書いて欲しくないhelmetやumbrellaなども追加したり。


完成した女性消防隊員のプロンプト
RAW, floodlighting, background, outdoor, building, Shibuya city, 1girl, beautiful woman, 20yo, ultra cute, transparent eyes, full body portrait shot, makeup, smile, Beautiful female firefighter, firefighting activities, challenging circumstances, skillfully handles, fire hose, confronts flames, firefighting uniform, sweat and effort, strength, determination, responsibility, duty, bravery, protection, safety.

NEGATIVE: missing finger

640 x 832
absolute reality, leonardo style, guidance scale = 6, prompt magic V2(0.45), high contrast off
element: ebony gold = 0.8, lunar punk = 0.2

1

いい感じですね!


chatGPT先生、たまにサボったりしますがご愛嬌。
「最高のラーメンを堪能している美しい女性」

chatGPT:
A beautiful woman is savoring the finest ramen. She sits at the cozy corner of the ramen shop, the steam from the bowl enveloping her face. Her eyes sparkle with delight as she enjoys the rich broth, tender noodles, and perfectly seasoned toppings. With every bite, she experiences a symphony of flavors that transports her to a world of culinary bliss. Her appreciation for this exquisite ramen is evident in her serene expression, and she epitomizes the art of relishing a truly delightful meal.

え!英語で返答してきたんだけど!!
読めばわかりますが、お題を与えて2の内容が返ってきてます。
chatGPT先生もズルするときはズルしますね。
そういう時は先生に付き合って、「抽出」をお願いしましょ。
(またラーメンかよ!)

「抽出」

chatGPT:
Beautiful woman, savoring, finest ramen, cozy corner, steam, delight, rich broth, tender noodles, perfectly seasoned toppings, symphony of flavors, culinary bliss, appreciation, exquisite ramen, serene expression, relishing, delightful meal.


完成したプロンプト
RAW, natural lighting, background, indoor, ramen restaurant, 1girl, beautiful Seoul woman, 20yo, ultra cute, transparent eyes, full body portrait shot, makeup, smile, savoring, finest ramen, cozy corner, steam, delight, rich broth, tender noodles, perfectly seasoned toppings, symphony of flavors, culinary bliss, appreciation, exquisite ramen, serene expression, relishing, delightful meal.

ネガティブとかその他設定は大体同じです。

「今日もラーメン食べよ!」

2

抜群の安定感ですね。


ハンバーガーだってこんなに素敵に。

3
RAW, natural lighting, background, indoor, classical restaurant, 1girl, beautiful Shibuya woman, 20yo, ultra cute, transparent eyes, full body portrait shot, makeup, smile, Charming woman, indulging, hamburger, bustling city café, delicious-looking, contentment, savoring, taste, ingredients, joy of the meal, urban bustle, delightful food, happy moment.

女性警官

4
RAW, floodlighting, background, outdoor, Shibuya city, 1girl, beautiful woman, 20yo, ultra cute, transparent eyes, full body portrait shot, makeup, proud, Beautiful female police officer, hot pursuit, fleeing suspect, diligently follows, police uniform, determined expression, focus, courage, duty, safety, order, city, beauty, strength, law, justice, unwavering spirit.

まじカッコいいっす。


雪の女王だってもちろん書けますね。

5
RAW, natural lighting, background, outdoor, ice castle, snowy mountain, 1girl, beautiful Russian woman, 20yo, ultra cute, transparent eyes, full body portrait shot, Korean makeup, smile, wearing bikini, Ice Queen, ethereal presence, snow and ice, regal pride, ice-crowned, blonde hair, alabaster skin, precious gems, ice's luminance, resolute strength, gracefully poised, snowscape, stark contrast, icy chill, magical sensation, reigns, kingdom of ice, enchanting beauty, ice and snow.



翻訳とか抽出とか面倒だねぇ。
そう思った方、必見です。お題を与えたらプロンプトの素が返ってくるchatGPT先生の育て方も紹介しますね!

先生が混乱しないように育て方1とは別のルームにしましょう。

育て方2:お題を与えたらプロンプトの素が返ってくるchatGPT先生。
このようにchatGPT先生を教育しましょう。
(ただし先生がどのような内容を考えて返答しているのかはブラックボックスw)

「今日からここを簡易改良抽出プロンプト作成用ルームにします。これからあなたは画像生成AIのプロンプト作成のための有能なサポートAIになります。」

chatGPT:
了解しました!プロンプト作成のためのサポートを提供するのにお手伝いできれば嬉しいです。どのようなプロンプトを作成したいか、具体的な指示やアイデアを共有していただければ、効果的なプロンプトを一緒に作成できるかと思います。どのようにお手伝いできるか、お知らせください。


「以下のルールに基づいて返答してください。 私が日本語でお題を出した場合、まずそのお題について日本語100字程度で内容を考える。考えた内容を科学論文のような英語に翻訳。必ず科学論文のような英語を使用してください。翻訳した内容は言わなくて結構です。科学論文のような英語に翻訳した内容について内容を最も反映した20の単語、熟語の英語で表現して羅列したものをカンマで区切って1行表記して返してください。 私がお題を与え、あなたが答えるのは内容を最も反映した20の単語、熟語の英語で表現して羅列したものをカンマで区切って1行表記のみです。お題や翻訳した内容など余計なものはあなたの中にそっとしまっておいてね。 できますか?」

chatGPT:
理解しました。お題に対する内容を最も反映した20の単語、熟語の英語で表現し、カンマで区切って1行でお答えいたします。お題に進みましょう。

ここで育て方を間違うと内容を全く理解してないGPT先生の場合、いきなりお題を読み上げて英語の翻訳して抽出を始めたりするので、理解しました、と返してくる先生が正解です。

というか、ちゃんと正しく育つように指示をあれこれ捻った結果が上なので安心してください。

おめでとうございます。
これでお題を与えたらプロンプトが返ってくるスーパーchatGPT先生の誕生です。

何かお題を与えてみましょう。

「グランドキャニオンに桜がさいてそれを眺めている美しい女性」

chatGPT:
Cherry blossoms at the Grand Canyon, stunning woman, admires, breathtaking view, picturesque, natural wonder, blooming sakura, serene moment, awe-inspiring, landscape beauty, contemplative, scenic marvel, tranquil, nature's elegance, harmonious, mesmerizing vista, serene contemplation, graceful, captivating surroundings.


ナイス!お題を教えるとプロンプトが返ってきたぞ!
プロンプトを仕上げましょう。

RAW, natural lighting, background, outdoor, cherry blossoms at the Grand Canyon, , 1girl, beautiful Shibuya woman, 20yo, ultra cute, transparent eyes, full body portrait shot, short hair, makeup, smile, t-shirt, stunning woman, admires, breathtaking view, picturesque, natural wonder, blooming sakura, serene moment, awe-inspiring, landscape beauty, contemplative, scenic marvel, tranquil, nature's elegance, harmonious, mesmerizing vista, serene contemplation, graceful, captivating surroundings.

6

いいじゃん!


せっかくなので育て方1と2の先生のプロンプトを比較してみる。
育て方1
Beautiful woman, gazing, cherry blossoms, full bloom, Grand Canyon, vibrant colors, stunning beauty, wind rustles, hair, astonishment, admiration, beauty of nature, grandeur, grace, unforgettable moment.


美しい女性, 見つめる, 桜, 満開, グランドキャニオン, 鮮やかな色, 見事な美しさ, 風がそよぐ, 髪, 驚き, 感嘆, 自然の美しさ, 壮大さ, 優雅さ, 忘れられない瞬間
※deepL先生に聞いてみたw

育て方2
Cherry blossoms at the Grand Canyon, stunning woman, admires, breathtaking view, picturesque, natural wonder, blooming sakura, serene moment, awe-inspiring, landscape beauty, contemplative, scenic marvel, tranquil, nature's elegance, harmonious, mesmerizing vista, serene contemplation, graceful, captivating surroundings.


グランドキャニオンの桜, 見事な女性, 感嘆, 息をのむような眺め, 絵のように美しい, 自然の驚異, 咲き誇る桜, 静かな瞬間, 畏敬の念を抱かせる, 景色の美しさ, 瞑想, 風光明媚な驚異, 静か, 自然の優雅さ, 調和, 魅惑的な眺め, 静かな瞑想, 優雅, 魅惑的な環境.


おうおう。育て方2の方が書いてることが難しい。
ラーメン女子で比較。

育て方1

7
RAW, natural lighting, background, indoor, ramen restaurant, 1girl, beautiful Seoul woman, 20yo, ultra cute, transparent eyes, full body portrait shot, makeup, smile, savoring, finest ramen, cozy corner, steam, delight, rich broth, tender noodles, perfectly seasoned toppings, symphony of flavors, culinary bliss, appreciation, exquisite ramen, serene expression, relishing, delightful meal.

育て方2

8
RAW, natural lighting, background, indoor, ramen restaurant, 1girl, beautiful Seoul woman, 20yo, ultra cute, transparent eyes, full body portrait shot, makeup, smile, enjoying, finest ramen, beauty, exquisite flavor, gastronomic delight, savory broth, culinary bliss, aromatic noodles, culinary masterpiece, delectable ingredients, savoring every bite, culinary perfection, sensory delight, flavorful broth, culinary experience, mouthwatering delight, umami-rich, culinary satisfaction, culinary indulgence, palate pleasure


特にシード値とかは合わせてないですが、どっちもいい感じだと思いますね!両方試してみると良さそう。

だけどやっぱりお題を与えてプロンプトが返ってくる育て方2の便利さはクセになる。

みなさんも素敵なイラストを生成してくださいね!

最後に素敵なイラストが育て方2で描けたので紹介します。

9
RAW, natural lighting, background, outdoor, hill, 1girl, beautiful Shibuya woman, 20yo, ultra cute, face focus, transparent eyes, full body shot, makeup, smile, Cute woman, overlooking town, picturesque hill, vibrant autumn leaves, scenic vista, charming landscape, panoramic city view, stunning foliage, serene hilltop, captivating scenery, idyllic hillside, autumnal beauty, cityscape vista, enchanting hill, adorable lady, hillcrest view, colorful foliage, charming cityscape, breathtaking panorama, lovely woman


今日の無料トークンが余ってたので追加。いや、育て方2のchatGPT先生、まじ使えますです。

10
RAW, natural lighting, background, indoor, 1girl, beautiful Shibuya woman, 20yo, ultra cute, face focus, transparent eyes, full body shot, makeup, smile,  competing in world chess championship, strategic prowess, intense concentration, chess grandmaster, formidable opponent, elegant demeanor, tactical brilliance, global chess stage, competitive spirit, calculating moves, intellectual prowess, strategic genius, chessboard mastery, poised grandmaster, competition, precision play, global chess elite, strategic elegance, chessboard strategy, intellectual game, chess world stage.
11
RAW, floodlighting, background, indoor, 1girl, beautiful Shibuya woman, 20yo, ultra cute, face focus, transparent eyes, full body shot, makeup, smile,  competing in world chess championship, strategic prowess, intense concentration, chess grandmaster, formidable opponent, elegant demeanor, tactical brilliance, global chess stage, competitive spirit, calculating moves, intellectual prowess, strategic genius, chessboard mastery, poised grandmaster, competition, precision play, global chess elite, strategic elegance, chessboard strategy, intellectual game, chess world stage.


また会おう!



そういえばstable diffusionも色々迷走してたけど、結局BRAV6+majicmixRealityの0.5マージモデルとhires. fixで落ち着いてきました。時間がある時に記事にしたいですね。

10
11
12
13
14
15


table diffusionも上手くなってますか…?







この記事が参加している募集

AIとやってみた

この記事が気に入ったらサポートをしてみませんか?