この記事では、WAN2.1におけるI2Vプロンプトの役割の考察をしていきます。
※I2VはImage-To-Videoの略語で、画像 + プロンプトから映像を生成することを指します。
プロンプト上では、LoRAモデルの効果を適用する為にトリガーワードを設定しますが、それ以外にも自然言語での文章も設定できます。
この文章にどのような内容を書けば良いかが分からなかったので、まずはI2Vにおいてのプロンプトの役割を考察していきます。
※自然言語とは、私たちが普段会話などで使っている日本語や英語のことですが、画像生成AIの文脈だと基本は英語です。これに加えて、動画生成AIの場合は中国語も加わります。(WAN2.1は中国に本社を置くアリババグループから公開されたものです)
なお、この記事は下記の記事を読んでいる前提で書いている為、下記の記事を一読いただくのが望ましいです。
■記事1:【考察】NSFWアニメ系男の娘動画生成(WAN2.1)
https://rarabeat.fanbox.cc/posts/9527730

# 1.はじめに この記事は、オープンソースの動画生成AI「WAN2.1」でNSFWアニメ系男の娘動画生成をする方法の考察になります。 現時点でそれを実現する方法としては、EasyWanVideo(内部的にはComfyUI)の使用が挙げられます。 開発者様自身による作例も用意されていますし、Twitter(現X)上で他の方による作例も公開さ...
```
The view is POV.
she bounces up and down on the penis as it slides all the way in and out of her asshole.
she is having anal sex riding on top. She is squatting with her knees raised.
```
○和訳
視点はPOV。
彼女はペニスの上で上下に跳ね、ペニスは彼女のお尻の穴に出入りする。
彼女は上に乗ってアナルセックスをしている。彼女は膝を上げてしゃがんでいる。
また、下記の記事の最後に載せた生成動画にも触れていきます。
■記事2:【検証】NSFW百合画像簡易生成法
https://rarabeat.fanbox.cc/posts/9550408
```
l1v3w4llp4p3r Naked lesbian couple embracing on bed. The woman below has twin-tail black hair and a hand on her breast. The woman on top wears headgear over long silver hair and has her face nuzzled against the other woman's chest. Two haloes hover above their heads. live wallpaper motion effects.
```
○和訳
l1v3w4llp4p3r ベッドの上で抱き合う裸のレズビアンカップル。下の女性はツインテールの黒髪で、胸に手を当てている。上の女性は長い銀髪にヘッドギアをつけ、もう一人の女性の胸に顔をうずめている。二人の頭上には二つのヘイローが浮かんでいる。ライブ壁紙のモーションエフェクト。
## 動画生成用LoRAモデル
■Wan - Trans & Futanari Cowgirl - i2v - t2v [by pikenrover]
https://civitai.com/models/1375170/wan-trans-and-futanari-cowgirl-i2v-t2v
トリガーワード:
she bounces up and down on the penis as it slides all the way in and out of her asshole. she is having anal sex riding on top.
■Wan - Trans & Futanari Self Facial - i2v - t2v [by pikenrover]
https://civitai.com/models/1390932/wan-trans-and-futanari-self-facial-i2v-t2v
トリガーワード:
She moves her hand on her erect penis from base to tip. Sticky liquid is shooting from her penis onto her face.
## 素材画像生成用モデル
■RealCartoon-Pony - V3 [by 7whitefire7]
https://civitai.com/models/618329?modelVersionId=1367762
## 動画
■Cowgirl → Cowgirl + Facial
0329_202854_Interpolate4_00001
```
The view is POV.
She bounces up and down on the penis as it slides all the way in and out of her asshole. she is having anal sex riding on top.
```
○和訳
視点はPOV。
彼女はペニスの上で上下に跳ね、ペニスは彼女のお尻の穴に出入りする。
彼女は上に乗ってアナルセックスをしている。
↓
```
The view is POV.
She bounces up and down on the penis as it slides all the way in and out of her asshole. she is having anal sex riding on top.
She moves her hand on her erect penis from base to tip. Sticky liquid is shooting from her penis onto her face.
She is ejaculating while penetrated.
```
○和訳
視点はPOV。
彼女はペニスの上で上下に跳ねながら、ペニスをお尻の穴に出し入れする。
彼女は勃起したペニスを根元から先端まで手で動かす。ねっとりとした液体がペニスから彼女の顔に発射される。
彼女は挿入されながら射精している。
## 素材画像
①Cowgirl
```
score_9, score_8_up, score_7_up, score_6_up, source_anime,
girly, femboy, otoko no ko, male/male, yaoi, shiny skin,
duo, 2boys, couple,
from below, low-angle view, pov crotch,
anal penetration, cowgirl position, struggling, hand up, open hands,
pink nails,
looking at viewer, blush,
<年齢タグL>, petite,
purple hair, braided hair rings, double bun, eyelashes, pink eyes, big eyes, black tube top, bottomless,
multi penis, penis size difference,
small penis, big penis,
balls, testicles,
Negative prompt: score_6,score_5,score_4,(worst quality:1.2),(low quality:1.2),(normal quality:1.2),lowres,bad anatomy,bad hands,signature,watermarks,ugly,imperfect eyes,skewed eyes,unnatural face,unnatural body,error,extra limb,missing limbs,extra fingers,extra foot,extra soles,extra hands
```
②Cowgirl + Facial
```
score_9, score_8_up, score_7_up, score_6_up, source_anime,
girly, femboy, otoko no ko, male/male, yaoi, shiny skin,
duo, 2boys, couple,
from below, low-angle view, pov crotch,
anal penetration, cowgirl position, struggling, male masturbation, penis grab,
pink nails,
looking at viewer, blush,
<年齢タグL>, petite,
purple hair, braided hair rings, double bun, eyelashes, pink eyes, big eyes, black tube top, bottomless,
multi penis, penis size difference,
small penis, big penis,
balls, testicles,
Negative prompt: score_6,score_5,score_4,(worst quality:1.2),(low quality:1.2),(normal quality:1.2),lowres,bad anatomy,bad hands,signature,watermarks,ugly,imperfect eyes,skewed eyes,unnatural face,unnatural body,error,extra limb,missing limbs,extra fingers,extra foot,extra soles,extra hands
```
動画の結合に関しては、次の記事をご参照ください。
■I2V 連結で状況変化する動画を生成 · Zuntan03/EasyWanVideo Wiki
https://github.com/Zuntan03/EasyWanVideo/wiki/I2V-%E9%80%A3%E7%B5%90%E3%81%A7%E7%8A%B6%E6%B3%81%E5%A4%89%E5%8C%96%E3%81%99%E3%82%8B%E5%8B%95%E7%94%BB%E3%82%92%E7%94%9F%E6%88%90
### 素材画像生成時の注意点
・素材画像はなるべくLoRAモデルが意図しているモーションの開始画像に近いものを用意した方が良さそうです。そうでない場合は、突拍子もないモーションになることが多かったです。また、ポージングは一般的なもの(画像生成AIで生成率が高い構図)にした方が良さそうです。1枚目の素材画像は次のFacialに繋げる意図で片手を上げていますが、一般的には体を支える為に両手を下げる必要があります。この為と思いますが、体を支える為の第三の腕が発生する事もありました。また、片手だけで体を支える不自然なものにもなりやすかったです。
・大きな胸がある描写を避けたい場合は、その部位の肌色率は下げた方が良さそうです。
I2Vプロンプトですが、体感では次の2つの役割があるようでした。
※あくまでも個人の感想です。
## ①オブジェクト認識
動画生成AIに画像で描かれているものが何かを認識してもらう。
基本的には、人型のオブジェクトは特に言及しなくても人と認識してもらえるようなのですが、それ以外のオブジェクトはプロンプト抜きでは認識してもらえないことがある印象です。
例えば、プロンプト上で「headgear」(ヘッドギア)に言及しないと、ヘッドギアがその下にある髪と一緒にふわふわと動きだしたりすることもありました。
ただし、NSFW領域のオブジェクト(例:penis)は、言及してもLoRA抜きでは認識されない印象です。
## ②モーション指定
動画生成AIが認識したオブジェクトに対して、どのようなモーションを適用するか伝える。
例えば、「Zuntan03/EasyWanVideo」のワークフローに書かれていたプリセットのプロンプトが分かりやすい例になっています。
```
Penis goes in and out of vagina.
Ejaculate and cum drips down.
Female ejaculation and pussy juices drip down.
```
○和訳
ペニスが膣に出入りする。
射精し、精液が滴り落ちる。
女性は絶頂し、マン汁が滴り落ちる。
感覚的には、I2I(Image-To-Image)でのプロンプトの役割に似ています。
例えば、次の画像をI2Iするケースを考えます。
■1girl yellow eyes chibi #2
https://www.pixiv.net/artworks/102427559
↓ Denoising strength: 0.65
```
score_9, score_8_up, score_7_up, score_6_up, source_anime,
girly, femboy, otoko no ko, crossdressing, chibi only, full body, thick outlines,
solo, 1boy,
walking,
expressionless, parted lips, looking away,
hair ribbon, grey ribbon, black dress, frilled dress, puffy short sleeves,
blonde hair, very long hair, eyelashes, yellow eyes, big eyes, star-shaped pupils
Negative prompt:
score_6,score_5,score_4,(worst quality:1.2),(low quality:1.2),(normal quality:1.2),lowres,bad anatomy,bad hands,signature,watermarks,ugly,imperfect eyes,skewed eyes,unnatural face,unnatural body,error,extra limb,missing limbs,extra fingers,extra foot,extra soles,extra hands,
```
まるでですが、元画像での各オブジェクト(髪やヘアリボンやドレスなど)を認識して、プロンプト上での指定通りの再構成をしているように見えます。
ちなみに、「star-shaped pupils」(星形の瞳)の中に「star」(星)の単語が入っているからだと思いますが、周囲の風景にも派生して星のようなエフェクトが散っています。
このような派生事象はWAN2.1でも確認できています。
「mechanical halo」(機械的なヘイロー)をプロンプトで指定した所、溶接時に発生する火花のようなエフェクトが、ヘイローではなく指先に発生するようなこともありました。
また、元画像の方向性がプロンプトやLoRAの方向性と異なると、意図通りの結果にならないのも似ている気がします。
今回の記事を書くまで忘れていたのですが、Pony系の画像生成モデルのベースとなっている「Pony Diffusion V6 XL」は自然言語プロンプトでの学習もされているとの事だったので、画像生成AIと動画生成AIである程度プロンプトを共有できるかもしれません。
■Pony Diffusion V6 XL - V6 (start with this one) | Stable Diffusion Checkpoint | Civitai
https://civitai.com/models/257749/pony-diffusion-v6-xl
```
This model is trained on combination of natural language prompts and tags and is capable of understanding both, so describing intended result using normal language works in most cases, although you can add some tags after the main prompt to boost them.
```
○和訳
このモデルは、自然言語のプロンプトとタグの組み合わせで学習され、その両方を理解することができる。そのため、意図した結果を通常の言語で記述することはほとんどの場合うまくいくが、メインのプロンプトの後にいくつかのタグを追加することで、それを後押しすることができる。
動画生成AIはまだまだ知見が積み重なっていない領域なので、あなたが感じていることがあれば、ぜひコメントをお願いいたします。
0329_213215_Interpolate4P_00001
(おわり)