Prompt Baseで販売されている画像を真似してプロンプトを作ってみた!コマ割り漫画編
wasawo_chat_fun
こんにちは、Wasawoです。
このTipsではプロンプトベースの画像を真似たプロンプトを作成して実際に画像生成してみる事をやっていきます。基本的な流れは③の基本事項まとめのページにて公開していますので、初めての方はまず基本事項まとめページを見てくださいね。
- 参考文献
- 実際のプロンプト
- 基本事項まとめ
参考文献
実際のプロンプト
早速、今回真似た参考元。
そして私が参考にして生成した画像がこちら
今回、要素を抽出したプロンプトです。
1,迷子の冒険
The cartoon-like illustration is divided into three panels, depicting scenes from everyday kitchen life. Each panel is unequally sized. Please also add dialogue with speech bubbles. Below is a three-panel comic strip on the theme of "Adventures of a Lost Child. Panel 1: [In the center of the screen, the main character is wandering in the forest with an anxious expression on his face. All around him are tall trees and bushes, and he cannot see any path]. Protagonist: "Where should I go...?" Panel 2: [The hero has found a path and is going in that direction. However, the path leads to a fork in the road and he is not sure which way he should go]. Protagonist (thoughtfully): "Which way should I go..." Panel 3: [The protagonist makes a decision and chooses one path to go on. There is a bright light ahead, and his expression is hopeful]. Protagonist (smiling): "I'm sure we can find a way out of this!" --niji 6
2,星の祝福
The cartoon-like illustration is divided into three panels, depicting scenes from everyday kitchen life. Each panel is unequally sized. Please also add dialogue with speech bubbles. Panel 1:. [In the center of the screen, the main character stands gazing at the brightness of the stars. The background is a star-filled sky, with some stars orbiting as shooting stars. The protagonist has a quiet smile on his face]. Protagonist: "I have a feeling something special is going to happen on this starry night." Frame 2:. [The protagonist takes a step forward and points his hand toward the sky. His palm holds a mysterious radiance, and the stars around him glow in response to its light]. Protagonist: "With these hands, I catch the stars' wishes." Frame 3:. [The light emitted from the hero's hand envelops the starry sky. Then, all the surrounding stars shine brightly at once, creating a beautiful scene. The protagonist gazes at the scene with a look of satisfaction on his face]. Protagonist: "It seems the stars have blessed us. This is a very special night." --niji 6
3,居酒屋
The comic book-like illustration, divided into four panels, depicts an izakaya scene. In the first panel, a foreign tourist enters a Japanese izakaya. The waiter tries to greet him, but the foreign tourist does not understand what he means and looks embarrassed. In the second frame, the foreign tourist is looking at the menu, but does not understand the kanji or Japanese characters and looks puzzled. The waiter tries to help him, but he does not communicate well. In the third frame, the foreign tourist's ordered food is being delivered, but he is unfamiliar with Japanese food culture and is confused about how to use chopsticks and how to eat. The surrounding customers look on smilingly. --niji 6
今回の変更を加える部分は3箇所です。
今回はどこが引数なのかをわかりやすくするために引数のコードに「[]」を付けました。
「[]」は引数としてわかりやすくしているので、実際にコードを入力するときは「[]」を外して下さい。
迷子の冒険を参考例に紐解いていきましょう。
- The cartoon-like illustration is divided into three panels, depicting scenes from everyday kitchen life. ←固定要素「漫画のようなイラストは3つのコマに分かれており、日常的な台所生活の場面が描かれている。」
- Each panel is unequally sized. ←固定要素「各コマの大きさは不揃いです。」
- Please also add dialogue with speech bubbles. ←固定要素「吹き出しでセリフも入れてください。」
- Below is a three-panel comic strip on the theme of "Adventures of a Lost Child." ←固定要素「以下は「迷子の冒険」をテーマにした3コマ漫画です。」
- ★Panel 1: [In the center of the screen, the main character is wandering in the forest with an anxious expression on his face. All around him are tall trees and bushes, and he cannot see any path. Protagonist: "Where should I go...?"] ←可変要素「1コマ目:[画面中央で、主人公が不安そうな表情で森の中をさまよっている。周りは高い木や茂みばかりで、道は見えない]。主人公:「どこに行けばいいんだろう...?」 」
- ★Panel 2: [The hero has found a path and is going in that direction. However, the path leads to a fork in the road and he is not sure which way he should go. Protagonist (thoughtfully): "Which way should I go..."] ←可変要素「パネル2:[主人公は道を見つけ、その方向に向かっている。しかし、その道は分かれ道につながっており、彼はどちらに行くべきかわからない]。主人公(考え込む): 「どっちに行けばいいんだろう...」。」
- ★Panel 3: [The protagonist makes a decision and chooses one path to go on. There is a bright light ahead, and his expression is hopeful]. Protagonist (smiling): "I'm sure we can find a way out of this!"] ←可変要素「パネル3:[主人公は決断し、進むべき道を一つ選ぶ。前方に明るい光があり、彼の表情は希望に満ちている]。主人公(微笑む): 「きっと道は開けるはずだ!」 」
- --niji 6 ←固定要素「にじジャーニーのバージョン6」
今回の要素は3箇所。
物語は全てChatGPTにお願いして生成してもらいました。
そして下記はMicrosoftのEdgeで利用できるCopilot(DALL·E 3)で試してみたものです。
Copilotでコピペで試してみてください。
Generate image
The cartoon-like illustration is divided into three panels, depicting scenes from everyday kitchen life. Each panel is unequally sized. Please also add dialogue with speech bubbles. Below is a three-panel comic strip on the theme of "Adventures of a Lost Child. Panel 1: [In the center of the screen, the main character is wandering in the forest with an anxious expression on his face. All around him are tall trees and bushes, and he cannot see any path]. Protagonist: "Where should I go...?" Panel 2: [The hero has found a path and is going in that direction. However, the path leads to a fork in the road and he is not sure which way he should go]. Protagonist (thoughtfully): "Which way should I go..." Panel 3: [The protagonist makes a decision and chooses one path to go on. There is a bright light ahead, and his expression is hopeful]. Protagonist (smiling): "I'm sure we can find a way out of this!"
MidjourneyとDALL·E 3ではある程度の差がありますが、無料で試すならEdgeのCopilotでお試しをするのが良いと思います。(注意点としてはCopilotで生成した画像は著作権的に商用利用が不可なところなので、個人的に使用する範囲内でお試し下さい。)
Copilotで画像生成する場合は例えば冒頭に「Please generate an image.」を冒頭に入れてその後にプロンプトを入力すれば画像生成してくれます。無料なので是非試してみてください。
引数(対象物)を別の引数に差し替えると簡単に画像が生成されます。この引数部分に詳細を書くと思い描く画像が生成できると思います。
今回のキーワードはプロンプトのボリューム的には普通くらいだったかなと思います。
変えるべき箇所は3つ。何も難しい事はありません。(ChatGPTの得意分野である物語の生成を行えば無限にストーリーが作れます。)
重要なのは必要な要素が何なのか、見たものをそのまま画像生成AIに伝える力が重要であると言えます。
ポイントは対象物がなんなのか、どんな外見をしているのかをプロンプトで詳細に伝える事だと思います。
見たものをそのまま真似るを基礎ベースとして、生成していく内に真似るよりも良いものが偶然出来上がったりするのも楽しみの一つですね。
今後も真似っこシリーズを進めていきますので、気になる方はどうぞ他の記事も是非ご覧下さいませ!
今回は参考元から似たような画像が生成できました!
Wasaoでした。