![見出し画像](https://assets.st-note.com/production/uploads/images/101413070/rectangle_large_type_2_f7a42ec9bc91b086f2dbb07cfa24da5a.png?width=1200)
画像生成AIのプロンプトはChatGPTに考えてもらうのがよさそう【DALL·E 2/Midjourney】
ChatGPT(GPT-4)に「おいしい食べ物を画像生成AIで出力するためのプロンプトを教えて」とお願いして出てきたプロンプトが以下です。
"Generate a high-resolution, mouth-watering image of a gourmet dish featuring seared salmon fillet topped with a zesty lemon herb sauce, accompanied by a colorful medley of grilled vegetables, including asparagus, bell peppers, and cherry tomatoes, artistically plated on a white, round ceramic plate with a sprig of fresh rosemary as garnish."
すごくふんわりした依頼から、とても詳細なプロンプトを出力してくれました。
これをDALL·E 2に食べさせた結果がこちら。
![](https://assets.st-note.com/img/1680016023587-IwaJQw4aeA.png?width=1200)
めちゃくちゃおいしそう。
このプロンプトを出力する前に、ChatGPTはこんなことを言っていました。
「OpenAIのDALL-Eやその後継機のような画像生成AIを使って美味しい料理の画像を生成するには、AIが望ましいアウトプットを出すように導く、詳細でクリエイティブなテキストプロンプトを提供する必要があります。」
なるほど。AIのことはAIがよく知っていると。
詳細でクリエイティブなプロンプトというのが前述のようなプロンプトを指すのだとすれば、これを人間がぱっと思いつくのは難しいはずです。
なので、プロンプトを入力する前に一度ChatGPTをかませて、より詳細なプロンプトを出力してもらうとよさそうですね、というお話でした。
もちろん具体的なシチュエーションが頭にある場合は話が異なりますが、そうではなくふんわりしたイメージから近しいものをたくさん出力してその中から選びたい、というケースではかなりの威力を発揮するのではないでしょうか。
さらにAPIを駆使して自動化して大量生産できたら、好みの画像を選び放題ですね。夢が広がります。
最後に、他の例も載せておきます。
"Create a tantalizing image of a classic Italian pizza with a thin, crispy crust, topped with rich tomato sauce, melted mozzarella cheese, fresh basil leaves, and juicy slices of pepperoni, served on a rustic wooden pizza peel, surrounded by a picturesque Italian countryside setting."
![](https://assets.st-note.com/img/1680016653367-bVO6ayn9Pq.png?width=1200)
"Design a mouth-watering image of a gourmet dessert plate featuring a slice of decadent chocolate lava cake with a molten center, garnished with a dusting of powdered sugar and fresh raspberries, served alongside a scoop of creamy vanilla ice cream on a stylish square white plate."
![](https://assets.st-note.com/img/1680016674288-ZmgdVmKYPS.png?width=1200)
この記事が気に入ったらサポートをしてみませんか?