Stable Diffusion系の画像生成AIで使用する、普通に歩くの他に大股で歩く、横向きに歩く、階段の上り下りなど歩く動作のプロンプトについてご紹介します。

歩く動作のプロンプトは、「walking」になります。今までの記事でも歩きながら何かをしている動作はご紹介しました。歩く動作は色々なシーンで使用できます。

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

歩く

一般的な歩くプロンプトでの画像を生成します。もっとも基本的な歩行を表すプロンプトになります。

キーとなるプロンプト

walking 歩いている

以下のプロンプトでも歩いている画像が生成できます。
taking a step 一歩踏み出す
mid-step 足を踏み出している途中

プロンプト
master piece, photo-realistic, detailed skin, perfect anatomy, full body, super cute japanese 20yo woman, bob hair, white t-shirt, blue jeans, white shoes, walking, clear blue sky, natural lighting, in park path

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

モデルによっては立っているような画像になることもあります。その時は walking のプロンプトの代わりに、 dynamic walking pose(躍動感のある歩くポーズ)にすることで歩く動作の見た目が変わります。

下の画像は、dynamic walking poseで作成した画像になります。

プロンプト
master piece, photo-realistic, detailed skin, perfect anatomy, full body, super cute japanese 20yo woman, bob hair, white t-shirt, blue jeans, white shoes, dynamic walking pose, clear blue sky, natural lighting, in park lawn

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

こちらに向かって歩く

こちらに向かって歩いてくる画像を生成します。人物の正面を見せながら歩行動作を表現できます。だいたいwalkingのプロンプトと同じ様な画像になります。

キーとなるプロンプト

walking toward the viewer こちらに向かって歩いている

プロンプト
master piece, photo-realistic, detailed skin, perfect anatomy, full body, super cute japanese 20yo woman, bob hair, white t-shirt, blue jeans, white shoes, walking toward the viewer, clear blue sky, natural lighting, in park path

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

あちらに向かって歩く

こちらから遠ざかる様に歩いている画像を生成します。人物の後ろ姿を見せながらの歩行動作を表現できます。

キーとなるプロンプト

walking away from the viewer こちらから遠ざかるように歩いている

たまに正面を向いて歩いている画像になるときがあります。完全に後ろ姿の画像にするにはプロンプト from behind(後ろから)や back view(背面の構図)を追加して、後ろから見た画像にします。

プロンプト
master piece, photo-realistic, detailed skin, perfect anatomy, full body, super cute japanese 20yo woman, bob hair, white t-shirt, blue jeans, white shoes, walking away from the viewer, clear blue sky, natural lighting, in park

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

横向きに歩く

横向きに歩いている画像を生成します。横からの構図になり、股を開いている脚の動きが見えやすいため、歩行動作をしている事がわかりやすいです。人物がこちらを見ながら歩いている画像になります。

キーとなるプロンプト

walking sideways 横向きに歩いている

プロンプト
master piece, photo-realistic, detailed skin, perfect anatomy, full body, super cute japanese 20yo woman, bob hair, white t-shirt, blue jeans, white shoes, walking sideways, clear blue sky, natural lighting, in park path

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

腕を振りながら歩く

腕を振って歩いている画像を生成します。脚だけでなく腕にも動きが加わるため、より歩いている感じがでます。

キーとなるプロンプト

walking with arms swinging 腕を振って歩いている

プロンプト
master piece, photo-realistic, detailed skin, perfect anatomy, side view, full body, super cute japanese 20yo woman, bob hair, white t-shirt, blue jeans, white shoes, walking with arms swinging, clear blue sky, natural lighting, in park lawn

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

ポケットに手を入れて歩く

ポケットに手を入れたまま歩いている画像を生成します。通常の歩行とは違い、腕の振りがなくなるため、リラックスした雰囲気や少しラフな印象になります。

キーとなるプロンプト

walking with hands in pockets ポケットに手を入れて歩いている

プロンプト
master piece, photo-realistic, detailed skin, perfect anatomy, full body, super cute japanese 20yo woman, bob hair, white t-shirt, blue jeans, white shoes, walking with hands in pockets, clear blue sky, natural lighting, in park lawn

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

つま先立ちで歩く

つま先立ちで歩いている画像を生成します。通常の歩行とは異なる特徴的な歩く動作を表現できます。

キーとなるプロンプト

tiptoeing, walking on tiptoes, raised feet, toes touching the ground
つま先立ちで歩いている、つま先立ちで歩いている、かかとを上げ、つま先を地面につけている

tiptoeing と walking on tiptoes は、同じ意味ですが、強調することで成功率が上がります。

モデルによっては、heels completely lifted(かかとが完全に浮いている)のプロントですと、heelに引っ張られてハイヒールを履いた画像になったりします。

プロンプト
master piece, photo-realistic, detailed skin, perfect anatomy, side view, full body, super cute japanese 20yo woman, bob hair, white t-shirt, blue jeans, tiptoeing, walking on tiptoes, raised feet, toes touching the ground, clear blue sky, natural lighting, in park lawn

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

大股で歩く

歩幅を大きくとって歩く画像を生成します。通常の walking よりも脚の開きが大きくなりますが、それほど大股ではないと思います。

キーとなるプロンプト

striding 大股で歩く

以下のプロンプトでも大股で歩く画像が生成されます。
taking long strides 歩幅を広く取って歩く
walking with wide strides ワイドな歩幅で歩く

プロンプト
master piece, photo-realistic, detailed skin, perfect anatomy, side view, full body, super cute japanese 20yo woman, bob hair, white t-shirt, blue jeans, white shoes, striding, clear blue sky, natural lighting, in park lawn

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

階段を上る(後ろからの画像)

階段を上っている後ろ姿の画像を生成します。階段を上っている動作を表現する基本的なプロンプトになります。
後ろ姿にする from behind や back view を追加しないと、階段を下りている画像になってしまいます。

キーとなるプロンプト

walking up stairs 階段を上がっている

プロンプト
master piece, photo-realistic, detailed skin, perfect anatomy, from behind, full body, japanese 20yo woman, bob hair, white shirt, navy blue business suit, pumps, holding bag, walking up stairs, soft lighting, in long subway station staircase

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

階段を上る(正面からの画像)

こちらに向かって階段を上っている画像を生成します。階段は奥に向かって下がっていることを指示する必要があります。ただ単に階段を上るプロンプト walking up stairs だと、階段を下りている画像になってしまいます。あと構図を ハイアングルにして見下ろす様にしています。

キーとなるプロンプト

high angle, walking up stairs toward the viewer, staircase descending behind the person into the distance
ハイアングル、こちらに向かって階段を上ってくる、人物の背後で奥へと下っていく階段

プロンプト
master piece, photo-realistic, detailed skin, perfect anatomy, high angle, full body, super cute japanese 20yo woman, bob hair, smile, white shirt, navy blue business suit, pumps, holding bag, walking up stairs toward the viewer, staircase descending behind the person into the distance, soft lighting, in long subway station staircase

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

階段を下りる(後ろからの画像)

階段を下りている後ろ姿の画像を生成します。階段は奥に向かって下がっていることを指示する必要があります。

キーとなるプロンプト

walking down stairs away from the viewer, staircase descending from in front of the person into the distance
こちらから遠ざかるように階段を下りている、その人の足元から奥へと下っていく階段

プロンプト
master piece, photo-realistic, detailed skin, perfect anatomy, high angle, back view, full body, japanese 20yo woman, bob hair, navy blue business suit, pumps, holding bag, walking down stairs away from the viewer, staircase descending front the person into the distance, soft lighting, in long subway station staircase

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

階段を下りる(正面からの画像)

こちらに向かって階段を下りている画像を生成します。階段を上り下りする画像の中で一番生成しやすいです。

キーとなるプロンプト

walking down stairs 階段を下りている

プロンプト
master piece, photo-realistic, detailed skin, perfect anatomy, full body, super cute japanese 20yo woman, bob hair, smile, white shirt, navy blue business suit, pumps, holding bag, walking down stairs, soft lighting, in long subway station staircase

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

傘を差して歩く

雨の日に傘を持って歩いている画像を生成します。

キーとなるプロンプト

walking with clear plastic umbrella
透明なビニール傘を差して歩いている

歩いていると傘を持つを分けると以下のプロンプトになります。
walking, holding an umbrella

プロンプト
master piece, photo-realistic, detailed skin, perfect anatomy, full body, super cute japanese 20yo woman, bob hair,, navy blue business suit, pumps, holding bag, walking with clear plastic umbrella, natural lighting, rain, on city streets

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

風に向かって歩く

高原で風に向かって歩いている画像を生成します。服や髪がなびいているのを分かりやすくするため横からの構図にしています。

キーとなるプロンプト

walking forward against wind, leaning forward, looking down, clothes fluttering violently, hair messy
風に向かって歩いている、前傾姿勢、うつむいている。衣服は激しくなびいている、髪は乱れている

プロンプト
master piece, photo-realistic, detailed skin, perfect anatomy, side view, full body, super cute japanese 20yo woman, long hair, white casual dress, sandals, walking forward against wind, leaning forward, looking down, clothes fluttering violently, hair messy, dynamic action pose, blue sky, natural lighting, in highland walking path, grass swaying in the wind

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

手を振りながら歩く

高原の遊歩道で手を振りながらこちらに歩いてくる画像を生成します。歩くと手を振るという2つの動作を行なっています。

キーとなるプロンプト

walking and waving 歩きながら手を振っている

プロンプト
master piece, photo-realistic, detailed skin, perfect anatomy, full body, super cute japanese 20yo woman, long hair, white casual dress, sandals, smile, looking at viewer, walking and waving, dynamic action pose, clear blue sky, natural lighting, in highland walking path

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

振り返りながら歩く

高原の遊歩道で振り返りながら歩いている画像を生成します。振り返るので後ろからの構図になります。

キーとなるプロンプト

walking while looking back 振り返りながら歩いている

プロンプト
master piece, photo-realistic, detailed skin, perfect anatomy, back view, full body, super cute japanese 20yo woman, long hair, white casual dress, sandals, walking while looking back, dynamic action pose, blue sky, natural lighting, in highland walking path

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

並んで歩く

高原の遊歩道で2人の女性が横に並んで歩いている画像を生成します。ラベルを使って女性の特徴を個別に指示しています。

キーとなるプロンプト

walking side by side 並んで歩いている

side by sideは、色々なシーンで使えます。立っている時は standing side by side、座っている時は sitting side by sideなど。

プロンプト
master piece, photo-realistic, front view, 2 woman, full body, casual dress, sandals, walking side by side,
woman_1: right position, cute japanese woman, bob hair, smile
woman_2: left position, beautiful american woman, blonde hair, ponytail, crossed arms
break
blue sky, natural lighting, in highland walking path

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

手をつないで歩く

高原の遊歩道で2人の女性が手をつないで歩いている画像を生成します。並んで歩く同様ラベルを使って女性の特徴を個別に指示しています。

キーとなるプロンプト

walking hand in hand 手をつないで歩いている

プロンプト
master piece, photo-realistic, front view, 2 woman, full body, casual dress, sandals, walking hand in hand, smile
woman_1: right position, cute japanese woman, bob hair,
woman_2: left position, beautiful american woman, blonde hair, ponytail,
break
blue sky, natural lighting, in highland walking path

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

まとめ

歩いている動作のプロンプトをご紹介しました。

単に歩いている動作の画像は成功率が高いです。特殊な動作のつま先で歩くは、heel(かかと)を使わないで tiptoe(つま先)を使って画像を生成したりして、工夫が必要になりました。

階段の上り下りはとても大変でした。階段が後ろに伸びているのをモデルに上手く指示ができなくて苦労しましたが、何とかそれなりの画像が生成できてよかったです。

歩く動作については、まだまだご紹介しきれなかったシーンがあります。いつか追加していきたいと思います。

プロンプト一覧

walking歩いている
taking a step一歩踏み出す
mid-step足を踏み出している途中
walking toward the viewerこちらに向かって歩いている
walking away from the viewerこちらから遠ざかるように歩いている
walking sideways横向きに歩いている
slow walkingゆっくり歩く
brisk walking早足で歩く
walking in a hurry早足で歩く
walking with arms swinging腕を振って歩いている
walking with hands in pocketsポケットに手を入れて歩いている
tiptoeingつま先立ちで歩いている
walking on tiptoesつま先立ちで歩いている
raised feetかかとを上げた
toes touching the groundつま先を地面につけている
striding大股で歩く
taking long strides歩幅を広く取って歩く
walking with wide stridesワイドな歩幅で歩く
walking up stairs階段を上がっている
walking up stairs toward the viewerこちらに向かって階段を上ってくる
staircase descending behind the person into the distance人物の背後で奥へと下っていく階段
walking down stairs階段を下りている
walking down stairs away from the viewerこちらから遠ざかるように階段を下りている
staircase descending from in front of the person into the distanceその人の足元から奥へと下っていく階段
walking with clear plastic umbrella透明なビニール傘を差して歩いている
walking forward against wind風に向かって前へ歩いている
walking against wind向かい風の中を歩いている
walking and waving歩きながら手を振っている
walking while looking back振り返りながら歩いている
walking side by side並んで歩いている
walking hand in hand手をつないで歩いている