Stable Diffusion系の画像生成AIで使用する、カップで飲む、ストローで飲むなど、飲んでいる動作のプロンプトについてご紹介します。

飲む動作のプロンプトは、「drinking from 容器」になります。容器は、コップ、カップ、ボトルなどです。
また、飲むものがある場合は、「drinking 飲み物 from 容器」になります。飲み物は、水、コーヒー、紅茶などです。

モデルは、Z-Image Turbo を使って生成しました。

コップで水を飲む

ガラスのコップで水を飲んでいる画像を生成します。何かを飲む基本的な画像です。

キーとなるプロンプト

drinking water from a glass cup
ガラスのコップで水を飲んでいる

プロンプト
master piece, photo-realistic, detailed skin, perfect anatomy, super cute japanese 20yo woman, bob hair, white t-shirt, drinking water from a glass cup, soft lighting, in popular diner

設定値
Steps: 8, Sampler: UniPC Trailing, CFG Scale: 1.0, Seed: 62975936, Size: 768x1024, Model: z_image_turbo_1.0_q8p

片手でコーヒーを飲む

喫茶店でカップを片手で持って、コーヒーを飲んでいる画像を生成します。

キーとなるプロンプト

drinking coffee from a cup, holding a coffee cup in one hand, a coffee cup saucer on the table
カップでコーヒーを飲んでいる、片手でコーヒーカップを持っている、テーブルに置かれたコーヒーカップのお皿

drinking coffee from a cup だけのプロンプトだとカップを片手で持ったり、両手で持ったりしますので、あえて片手でのプロンプトを追加しました。

プロンプト
master piece, photo-realistic, detailed skin, perfect anatomy, super cute japanese 20yo woman, bob hair, white t-shirt, drinking coffee from a cup, holding a coffee cup in one hand, a coffee cup saucer on the table, soft natural light from a window, in stylish modern cafe

設定値
Steps: 8, Sampler: UniPC Trailing, CFG Scale: 1.0, Seed: 2458273765, Size: 768x1024, Model: z_image_turbo_1.0_q8p

両手でコーヒーを飲む

喫茶店でカップを両手で持って、コーヒーを飲んでいる画像を生成します。

キーとなるプロンプト

drinking coffee from a cup, holding a coffee cup in both hands
カップでコーヒーを飲んでいる、両手でコーヒーカップを持っている

プロンプト
master piece, photo-realistic, detailed skin, perfect anatomy, super cute japanese 20yo woman, bob hair, white t-shirt, drinking coffee from a cup, holding a coffee cup in both hands, gentle smile, happy eyes, relaxed expression, a coffee cup saucer on the table, soft natural light from a window, in stylish modern cafe

設定値
Steps: 8, Sampler: UniPC Trailing, CFG Scale: 1.0, Seed: 2959014453, Size: 768x1024, Model: z_image_turbo_1.0_q8p

紅茶を飲む

上品にアフタヌーンティーを飲んでいる画像を生成します。テーブルが低いので片手でカップを持ち、もう片手でお皿を持っている様にします。テーブルが寂しいのでアフタヌーンティー・スタンドを追加します。

キーとなるプロンプト

drinking black tea from a delicate porcelain cup, holding a tea cup saucer
繊細な磁器のカップで紅茶を飲んでいる、お皿を手に持っている

luxurious three-tiered afternoon tea stand filled with beautiful pastries
美しい焼き菓子が並ぶ豪華な3段のアフタヌーンティー・スタンド

プロンプト
master piece, photo-realistic, detailed skin, perfect anatomy, super cute japanese 20yo woman, bob hair, peaceful and relaxed expression, sophisticated satin emerald green long dress, sitting on a luxury sofa, drinking black tea from a delicate porcelain cup, holding a tea cup saucer, luxurious three-tiered afternoon tea stand filled with beautiful pastries, soft natural light from a window, in a high-rise lounge, big glass windows with a breathtaking panoramic city view

設定値
Steps: 8, Sampler: UniPC Trailing, CFG Scale: 1.0, Seed: 3234158981, Size: 768x1024, Model: z_image_turbo_1.0_q8p

抹茶を飲む

和服を着て茶室で抹茶を飲んでいる画像を生成します。

キーとなるプロンプト

sitting on tatami mats, elegant light cherry blossom pink kimono
畳に座っている、上品で淡い桜色の着物姿

drinking matcha tea from a big ceramic matcha bowl, firmly support the bottom of the matcha bowl with left palm and place right hand against the side
陶製の抹茶碗で抹茶を飲んでいる、左の手のひらで碗の底をしっかり支え、右手は側面に添える

お茶碗の持ち方を指定しましたが、うまく生成できません。仕方ないのでしょうか?
左と右が逆になっていますが、画像生成AIでは左右が曖昧なのです。
正座を指定しなくても自動的に正座しています。畳の上に座ることは、正座と学習されているのですね。

プロンプト
master piece, photo-realistic, detailed skin, perfect anatomy, super cute japanese 20yo woman, bob hair, sitting on tatami mats, elegant light cherry blossom pink kimono, drinking matcha tea from a big ceramic matcha bowl, firmly support the bottom of the matcha bowl with left palm and place right hand against the side, soft natural light, shoji screen windows, in traditional Japanese tea room

設定値
Steps: 8, Sampler: UniPC Trailing, CFG Scale: 1.0, Seed: 4101098272, Size: 768x1024, Model: z_image_turbo_1.0_q8p

ペットボトルからお茶を飲む

走りながらペットボトルでお茶を飲んでいる画像を生成します。飲んでいる感じを出すためボトルを上向に傾けています。

キーとなるプロンプト

drinking green tea from a plastic bottle, tilting the bottle upward with one hand
ペットボトルから緑茶を飲んでいる、片手でボトルを上向きに傾ける

プロンプト
master piece, photo-realistic, detailed skin, perfect anatomy, full body, super cute japanese 20yo woman, bob hair, running wear, running, drinking green tea from a plastic bottle, tilting the bottle upward with one hand, natural lighting, in park

設定値
Steps: 8, Sampler: UniPC Trailing, CFG Scale: 1.0, Seed: 2504082255, Size: 768x1024, Model: z_image_turbo_1.0_q8p

ストローで飲む

ストローでアイスコーヒーを飲んでいる画像を生成します。

キーとなるプロンプト

drinking iced coffee through a straw from a plastic cup filled with ice cubes
氷がたっぷり入ったプラスチックのカップからストローでアイスコーヒーを飲んでいる

holding the cup with one hand and place the other hand on the straw
片手でカップを持ち、もう一方の手をストローに添える

片方の手の位置を指定しないでモデル任せにすると、色々な持ち方になります。上のプロンプトを外して試してみるのも面白いです。

プロンプト
master piece, photo-realistic, detailed skin, perfect anatomy, super cute japanese 20yo woman, bob hair, white shirt, navy blue jacket, smile, standing, drinking iced coffee through a straw from a plastic cup filled with ice cubes, holding the cup with one hand and place the other hand on the straw, soft natural lighting, in front of the takeaway coffee shop

設定値
Steps: 8, Sampler: UniPC Trailing, CFG Scale: 1.0, Seed: 4279372534, Size: 768x1024, Model: z_image_turbo_1.0_q8p

乾杯する

居酒屋で2人の女性が向き合って乾杯している画像を生成します。

キーとなるプロンプト

sitting opposite each other at a wooden table, clinking foaming beer mugs together in a toast
木製のテーブルを挟んで向かい合って座っている、泡立つビールジョッキをくっ付けて乾杯している

画像の横幅が狭いと向かい合ってくれないので、wide shot のプロンプトを追加しています。

プロンプト
master piece, photo-realistic, detailed skin, perfect anatomy, wide shot, 2 japanese 20yo women, laughing happily, eye contact, business casual attire, sitting opposite each other at a wooden table, clinking foaming beer mugs together in a toast, yakitori and french fries on the table, warm dim lighting, in japanese izakaya

設定値
Steps: 8, Sampler: UniPC Trailing, CFG Scale: 1.0, Seed: 4273499529, Size: 1024x768, Model: z_image_turbo_1.0_q8p

ジョッキで飲む

ジョッキでウーロン茶を飲んでいる画像を生成します。

キーとなるプロンプト

drinking oolong tea from a beer mug, tilting a beer mug upwards
ビールジョッキでウーロン茶を飲んでいる、ビールジョッキを上に傾ける

ウーロン茶の指示を出しているのですが、ビールになっています。ビールジョッキに引っ張られたのでしょうか。

プロンプト
master piece, photo-realistic, detailed skin, perfect anatomy, super cute japanese 20yo woman, bob hair, white shirt, navy blue jacket, smile, drinking oolong tea from a beer mug, tilting a beer mug upwards, soft lighting, in popular diner

設定値
Steps: 8, Sampler: UniPC Trailing, CFG Scale: 1.0, Seed: 393100135, Size: 768x1024, Model: z_image_turbo_1.0_q8p

飲み物を差し出す

運動場でペットボトルを差し出している画像を生成します。

キーとなるプロンプト

reaching toward viewer, looking at viewer, holding a plastic bottle with both hands, offering water to the viewer
こちらへ手を伸ばしている、こちらを見ている、両手でペットボトルを持っている、こちらに水を差し出している

プロンプト
master piece, photo-realistic, detailed skin, perfect anatomy, super cute japanese 20yo woman, bob hair, jersey, smile, reaching toward viewer, looking at viewer, holding a plastic bottle with both hands, offering water to the viewer, natural lighting, in athletics stadium

設定値
Steps: 8, Sampler: UniPC Trailing, CFG Scale: 1.0, Seed: 2957678143, Size: 768x1024, Model: z_image_turbo_1.0_q8p

水筒を口元へ運ぶ

水筒を口元に近づけている画像を生成します。横からの構図にしています。

キーとなるプロンプト

raising insulated stainless steel water bottle in solid pastel pink toward mouth, about to drink
パステルピンクの断熱ステンレスの水筒を口元に持ち上げ、まさに飲もうとしている

プロンプト
master piece, photo-realistic, detailed skin, perfect anatomy, side view, close-up, super cute japanese 20yo woman, bob hair, white t-shirt, raising insulated stainless steel water bottle in solid pastel pink toward mouth, about to drink, natural lighting, in park

設定値
Steps: 8, Sampler: UniPC Trailing, CFG Scale: 1.0, Seed: 2034363092, Size: 1024x768, Model: z_image_turbo_1.0_q8p

風呂上がりにコーヒー牛乳を飲む

風呂あがりに腰に手を当てて、コーヒー牛乳を飲んでいる、日本の伝統文化の画像を生成します。

キーとなるプロンプト

wrapping her body in a white bath towel, one hand on hips
白いバスタオルを体に巻きつけている、片手を腰に当てる

drinking coffee milk of creamy brown color from a retro glass milk bottle, raising a bottle toward mouth
レトロなガラス製の牛乳瓶に入った、クリーミーな茶色のコーヒー牛乳を飲んでいる、瓶を口元に持ち上げている

コーヒー牛乳に色を追加しないと、普通の牛乳の色になりました。
全身の画像にするには、足に何かを履いているプロンプトがあると生成率が上がります。今回は裸足(barefoot)のプロンプトを追加しています。

プロンプト
master piece, photo-realistic, detailed skin, perfect anatomy, wide-angle shot, low angle, super cute japanese 20yo woman, relaxed standing on the ground, bob hair, wrapping her body in a white bath towel, one hand on hips, barefoot, drinking coffee milk of brown color from a retro glass milk bottle, raising a bottle toward mouth, damp hair with water droplets, sun lighting, blue sky, background outdoor hot spring, steaming hot water, overlooking a beautiful mountain range in the far distance, shallow depth of field

設定値
Steps: 8, Sampler: UniPC Trailing, CFG Scale: 1.0, Seed: 1572620379, Size: 768x1024, Model: z_image_turbo_1.0_q8p

ラッパ飲み

ジュースをラッパ飲みしている画像を生成します。

キーとなるプロンプト

drinking juice straight from a glass bottle, bottle touching lips, head tilted far back, bottle tilted high up
ガラス瓶から直接ジュースを飲んでいる、瓶が唇に触れる、頭を大きく後ろに反らす、瓶を高く傾けている

head tilted far back と bottle tilted high up で、ラッパのみを表現しています。2つのプロンプトで画像の生成率が上がります。

プロンプト
master piece, photo-realistic, detailed skin, perfect anatomy, super cute japanese 20yo woman, relaxed standing, bob hair, white t-shirt, drinking juice straight from a glass bottle, bottle touching lips, head tilted far back, bottle tilted high up, sun lighting, blue sky, beach

設定値
Steps: 8, Sampler: UniPC Trailing, CFG Scale: 1.0, Seed: 1119090161, Size: 768x1024, Model: z_image_turbo_1.0_q8p

まとめ

何かを飲んでいる画像を生成しました。前回の食事をしているのと同じく画像生成の成功率も高めでした。

画像生成していると飲み物の容器から口が離れている時があり、容器と口をくっつけるには以下のプロンプトのどれかを追加すると良いです。例ではカップにしています。使用している容器に変えてください。
cup touching lips(カップが唇に触れている)
putting cup to mouth (カップを口に当てている)
mouth on cup(口がカップについている)

ボトルを上に傾けることは簡単でしたが、ジョッキやコップなど口に広いものは上に傾けるのは難しいです。何らかの制限があるのでしょうか。全てのモデルで試していないので、そこのところは分かりませんが。

プロンプト一覧

drinking water from a glass cupガラスのコップで水を飲んでいる
drinking coffee from a cupカップでコーヒーを飲んでいる
drinking black tea from a cupカップで紅茶を飲んでいる
drinking matcha tea from a big ceramic matcha bowl陶製の抹茶碗で抹茶を飲んでいる
drinking green tea from a plastic bottleペットボトルから緑茶を飲んでいる
drinking iced coffee through a straw from a plastic cupラスチックのカップからストローでアイスコーヒーを飲んでいる
drinking oolong tea from a beer mugビールジョッキでウーロン茶を飲んでいる
drinking coffee milk of creamy brown color from a retro glass milk bottleレトロなガラス製の牛乳瓶に入った、クリーミーな茶色のコーヒー牛乳を飲んでいる
holding a coffee cup in one hand片手でコーヒーカップを持っている
holding a coffee cup in both hands両手でコーヒーカップを持っている
holding a tea cup saucerお皿を手に持っている
holding a plastic bottle with both hands両手でペットボトルを持っている
holding the cup with one hand and place the other hand on the straw片手でカップを持ち、もう一方の手をストローに添える
clinking foaming beer mugs together in a toast泡立つビールジョッキをくっ付けて乾杯している
reaching toward viewerこちらへ手を伸ばしている
offering water to the viewerこちらに水を差し出している
tilting the bottle upward with one hand片手でボトルを上向きに傾ける
tilting a beer mug upwardsビールジョッキを上に傾ける
raising a bottle toward mouth瓶を口元に持ち上げている
cup touching lipsカップが唇に触れている
putting cup to mouthカップを口に当てている
mouth on cup口がカップについている