
【はじめてのAnima】時間の流れるイラストを作ってみた
こんにちは。
今回は、時間や視点を少しずつずらして撮った写真を、何枚も貼り合わせて 1 枚にする「ジョイナー」というコラージュの手法を試してみたいと思います。
夜の道に立つ白衣ちゃんのまわりだけ、昼や夕方の空が差し込んでいる 1 枚です。

思っていたよりずっと手こずりましたが、そのぶん形になったときはうれしかったです😸
ここからは、この結果に至るまでの過程です。
場面を考える
最初は、ガードレールにもたれる白衣ちゃんを頼みました。
黒い大きめのスウェットの萌え袖に、ばんそうこうと厚底ブーツ。
モデルは、前回も使った Base・botan_anima・GleamPalette に、AnimaIka(v5.1)を足した 4 つです。

masterpiece, best quality, score_7, safe, 1girl, solo, hakuinoko, jitome, blush, low twin braids, black hair ribbon, yami kawaii, jirai kei, oversized black sweatshirt with a pastel lavender bunny print, sleeves past her wrists covering her hands, gray and pink plaid pleated mini skirt, a bandage on one knee, a black thigh garter, black lace-up platform boots with fluffy fur trim, small pink syringe hair clip, a pink heart lollipop in her mouth. She leans back against the guardrail on a quiet roadside sidewalk at night along a metal guardrail, a glowing vending machine, a small pharmacy with a glowing pastel pink neon cross sign, street lamps, a pedestrian bridge in the distance and blurry city lights and car lights behind her. Seen from slightly above, from the knees up, a little right of center, so the night street stays visible on the left. She stands knock-kneed with her toes pointing in, hands hidden in her long sleeves held together in front of her chest, head tilted, and looks up at the viewer with a sleepy, shy look. Muted purple and pink night colors, soft glow from the vending machine and the neon on her face, blurry bokeh lights.worst quality, low quality, score_1, score_2, score_3, artist name, blurry, jpeg artifacts, chromatic aberration, bad anatomy, bad hands, watermark, signature, text, nsfw, explicit設定は er_sde・30 ステップ・CFG 4、1216×832 です(このあとも同じです)。
ガードレールではなく、自販機にもたれていました。
画面の右 3 分の 1 が自販機で、主役が交代していました。
そこで自販機を外し、「すぐ隣にはガードレールだけ」と書き足したのですが、
今度は道路とガードレールの並びがおかしくなりました。

masterpiece, best quality, score_7, safe, 1girl, solo, hakuinoko, jitome, blush, low twin braids, black hair ribbon, yami kawaii, jirai kei, oversized black sweatshirt with a pastel lavender bunny print, sleeves past her wrists covering her hands, gray and pink plaid pleated mini skirt, a bandage on one knee, a black thigh garter, black lace-up platform boots with fluffy fur trim, small pink syringe hair clip, a pink heart lollipop in her mouth. She leans back against the metal guardrail on a quiet roadside sidewalk at night along a metal guardrail, street lamps, a small pharmacy with a glowing pastel pink neon cross sign far away, a pedestrian bridge in the distance and blurry city lights and car lights. Nothing stands right next to her, only the guardrail behind her. Seen from slightly above, from the knees up, a little right of center, so the night street stays visible on the left. She stands knock-kneed with her toes pointing in, hands hidden in her long sleeves held together in front of her chest, head tilted, and looks up at the viewer with a sleepy, shy look. Muted purple and pink night colors, soft pink neon glow from far away, blurry bokeh lights.worst quality, low quality, score_1, score_2, score_3, artist name, blurry, jpeg artifacts, chromatic aberration, bad anatomy, bad hands, watermark, signature, text, nsfw, explicit車道の真ん中に立っていたり、ガードレールが体の前を横切っていたりします。
プロンプトを見返すと、見ている位置も、車道・ガードレール・歩道の並ぶ順番も書いていませんでした。
まず、「道路のほうを向いて立ち、後ろをガードレールが左右に横切る」と、正面から見た並びを書きました。

masterpiece, best quality, score_7, safe, 1girl, solo, hakuinoko, jitome, blush, low twin braids, black hair ribbon, yami kawaii, jirai kei, oversized black sweatshirt with a pastel lavender bunny print, sleeves past her wrists covering her hands, gray and pink plaid pleated mini skirt, a bandage on one knee, a black thigh garter, black lace-up platform boots with fluffy fur trim, small pink syringe hair clip, a pink heart lollipop in her mouth. full body, from slightly above, night, scenery, street, sidewalk, guard rail, road, street lamp, bokeh. The viewer stands on a sidewalk at night and faces the road. She stands on this near sidewalk, a little right of center, and leans her lower back against a waist-high metal guardrail right behind her. The guardrail runs straight from the left edge to the right edge of the picture and marks the edge of the sidewalk. Behind the guardrail, a two-lane road runs from left to right with white lane lines and blurry streaks of car lights. On the far side of the road there is another sidewalk with street lamps and a row of small shops, including a small pharmacy with a glowing pastel pink neon cross sign. Far away on the left, a pedestrian bridge crosses over the road. She stands knock-kneed with her toes pointing in, hands hidden in her long sleeves held together in front of her chest, head tilted, and looks up at the viewer with a sleepy, shy look. Muted purple and pink night colors, soft pink neon glow from across the road, blurry bokeh lights.worst quality, low quality, score_1, score_2, score_3, artist name, blurry, jpeg artifacts, chromatic aberration, bad anatomy, bad hands, watermark, signature, text, nsfw, explicit12 枚とも道路は奥へ伸びる形になり、白衣ちゃんは車道や分離帯のような所に立ちました。
正面から見た並びは、文章で書いても伝わりませんでした。
次に、道に沿って奥を見る斜めの構図にして、
手前から「歩道は右下から奥へ。その左にガードレール、さらに左に車道。右に店の並び」と、帯の順番で書きました。

masterpiece, best quality, score_7, safe, 1girl, solo, hakuinoko, jitome, blush, low twin braids, black hair ribbon, yami kawaii, jirai kei, oversized black sweatshirt with a pastel lavender bunny print, sleeves past her wrists covering her hands, gray and pink plaid pleated mini skirt, a bandage on one knee, a black thigh garter, black lace-up platform boots with fluffy fur trim, small pink syringe hair clip, a pink heart lollipop in her mouth. full body, from slightly above, night, scenery, street, sidewalk, guard rail, road, street lamp, bokeh. The viewer stands on a sidewalk at night and looks along the street. The sidewalk runs from the lower right corner into the distance toward the center of the picture. On its left side, a waist-high metal guardrail runs beside the sidewalk from the lower left foreground into the distance, and beyond the guardrail, on the left half of the picture, a two-lane road with white lane lines and blurry car lights runs into the distance. Street lamps stand along the sidewalk and get smaller toward the distance, and a small pharmacy with a glowing pastel pink neon cross sign stands far down the sidewalk on the right. A pedestrian bridge crosses over the road far away. She stands on the sidewalk in the right half of the foreground, leaning sideways with one hip against the guardrail, knock-kneed with her toes pointing in, hands hidden in her long sleeves held together in front of her chest, head tilted, and looks up at the viewer with a sleepy, shy look. Muted purple and pink night colors, soft pink neon glow, blurry bokeh lights.worst quality, low quality, score_1, score_2, score_3, artist name, blurry, jpeg artifacts, chromatic aberration, bad anatomy, bad hands, watermark, signature, text, nsfw, explicit4 つのモデルの 12 枚とも、指示通りの並びになりました。
ガードレールに腰を当てる指定は効かず、歩道に立つ形になっています。
背景の時間がいちばんわかるのは空なので、白衣ちゃんをガードレール側に立たせて、
頭と肩の後ろに広い空が入る構図にしました。店は右端に小さく並びます。
キャンディも「くわえる」から「くちびるに当てる」に変えています。

masterpiece, best quality, score_7, safe, 1girl, solo, hakuinoko, jitome, blush, low twin braids, black hair ribbon, yami kawaii, jirai kei, oversized black sweatshirt with a pastel lavender bunny print, sleeves past her wrists covering her hands, gray and pink plaid pleated mini skirt, a bandage on one knee, a black thigh garter, black lace-up platform boots with fluffy fur trim, small pink syringe hair clip, closed mouth, holding a pink heart lollipop. full body, eye level, night, scenery, street, sidewalk, guard rail, road, street lamp, night sky, bokeh. The viewer stands on a sidewalk at night and looks along the street. The sidewalk runs from the lower center of the picture into the distance. On its left side, a waist-high metal guardrail runs beside the sidewalk from the lower left foreground into the distance, and beyond the guardrail a two-lane road with white lane lines and blurry car lights runs into the distance on the left. On the right side of the sidewalk, a row of small shops with glowing windows runs into the distance and stays small on the right edge, including a small pharmacy with a glowing pastel pink neon cross sign. A pedestrian bridge crosses over the road far away. A wide night sky with a few soft clouds fills the upper half of the picture above the road and the street. She stands on the sidewalk next to the guardrail, a little left of center, with the wide sky behind her head and shoulders, and rests her lower back against the guardrail. She stands knock-kneed with her toes pointing in, hands hidden in her long sleeves, holding the stick of the lollipop so the candy touches her closed lips, head tilted, and looks at the viewer with a sleepy, shy look. Muted purple and pink night colors, soft pink light on her cheek, blurry bokeh lights.worst quality, low quality, score_1, score_2, score_3, artist name, blurry, jpeg artifacts, chromatic aberration, bad anatomy, bad hands, watermark, signature, text, nsfw, explicit12 枚とも頭の後ろに夜空が入り、道の並びもそのままです。
今度はガードレールにもたれてくれました。
空に色を重ねてから描き直す
ここから背景の時間をずらします。
白衣ちゃんを切り抜いて、白衣ちゃんのいない背景を作り、その背景を別の時間に描き直します(LoRA を外して no humans を入れています)。
最後に背景を四角い片に切って少し傾けて貼り、白衣ちゃんを上に戻します。
元のイラストが夜なので、白衣ちゃんの近くの片だけを昼・夕方・明け方にして、外側は夜のまま残します。
ただ、夜の背景をそのまま描き直すと、昼や明け方の空が紺色のまま残りました。
そこで、描き直す前に、空の部分へ時間ごとの空の色を重ねておくことにしました。
上から下へのグラデーションで、昼は青、夕方は紫からオレンジ、明け方はピンク寄りです。

masterpiece, best quality, score_7, safe, no humans, scenery, street, sidewalk, guard rail, road, street lamp, sky. A sidewalk, seen along the street. The sidewalk runs from the lower center of the picture into the distance. On its left side, a waist-high metal guardrail runs beside the sidewalk from the lower left foreground into the distance, and beyond the guardrail a two-lane road with white lane lines runs into the distance on the left. On the right side of the sidewalk, a row of small shops with glowing windows runs into the distance and stays small on the right edge, including a small pharmacy with a glowing pastel pink neon cross sign. A pedestrian bridge crosses over the road far away. A wide sky with a few soft clouds fills the upper half of the picture above the road and the street. Bright daytime with a clear blue sky and soft white clouds. The street lamps and signs are off.worst quality, low quality, score_1, score_2, score_3, artist name, blurry, jpeg artifacts, chromatic aberration, bad anatomy, bad hands, watermark, signature, text, nsfw, explicit昼のプロンプトです。夕方は最後の 2 文を「It is evening, and warm orange sunset light fills the sky and the street.」、
明け方は「It is dawn. The sky turns pale pink and lavender, and a few street lamps are still on.」に替えています。
昼に青空が出て、3 つの時間が見分けられるようになりました。
貼り合わせると、こうなります。

パステルでまとまって、白衣ちゃんの色ともよく合っています。
ただ、別々の時間を貼ったというより、1 枚のイラストを塗り分けたように見えます。
気になって、白衣ちゃんのいない背景の線を、昼の片に重ねてみました。

右は、看板や店の輪郭が元の線から少しずれていて、線が二重に見えます。
強さ 0.6 でも、描き直すうちに形が少し動いていました。
線画で形を固定する
そこで、色は残さず、形だけを残す方法を試しました。
白衣ちゃんのいない背景から線画を取り出し、ControlNet で線画の形に沿わせて、昼・夕方・明け方を一から描きます。
ControlNet は、以前ポーズを比べたときにも使った Anytest(anima-lllite-any-test-like-v2、強さ 1.0)です。
そのときは元の絵の形に寄りすぎるのが気になったのですが、
今回は形を変えたくないので、むしろちょうどいい性質です。
ところが、GleamPalette で出した昼の空が、細かいうろこ雲のような模様で埋まりました。

空一面が模様です。
線画を見ると、夜空のもやが細かい点として残っていました。
そこで、線画から空の部分を消して、空は自由に描かせることにしました。
このとき一緒に、プロンプトの最後へ「Soft pastel colors with gentle light.」も足しています。

masterpiece, best quality, score_7, safe, no humans, scenery, street, sidewalk, guard rail, road, street lamp, sky. A sidewalk, seen along the street. The sidewalk runs from the lower center of the picture into the distance. On its left side, a waist-high metal guardrail runs beside the sidewalk from the lower left foreground into the distance, and beyond the guardrail a two-lane road with white lane lines runs into the distance on the left. On the right side of the sidewalk, a row of small shops with glowing windows runs into the distance and stays small on the right edge, including a small pharmacy with a glowing pastel pink neon cross sign. A pedestrian bridge crosses over the road far away. A wide sky with a few soft clouds fills the upper half of the picture above the road and the street. Bright daytime with a clear blue sky and soft white clouds. The street lamps and signs are off. Soft pastel colors with gentle light.worst quality, low quality, score_1, score_2, score_3, artist name, blurry, jpeg artifacts, chromatic aberration, bad anatomy, bad hands, watermark, signature, text, nsfw, explicit道・ガードレール・店の並びはそのままで、昼はもくもくの雲、夕方は夕焼け、明け方はピンクの雲になりました。
看板や窓の中など細かいところは、時間ごとに少し変わっています。
夜の色を引きずらないので、空に色を重ねる下ごしらえも要りません。
1 枚あたりは約 26〜30 秒で、ふつうに出すのと同じくらいでした。
botan_anima の 3 枚で、前の節の方法と並べてみます。

右は、片ごとに車が走っていたり、夕方の光が歩道に伸びていたりして、
別々の時間に撮った写真を貼り合わせたように見えます。
色は左のほうがパステルにまとまっていて、これはこれで好きです。
4 つのモデルで比べる
最後に、同じ手順を 4 つのモデルで並べました。


どのモデルでも、白衣ちゃんのまわりの片に昼や夕方の空が入り、四隅は夜のままです。
空に色を重ねる方法では平たく紫寄りだった Base が、線画で固定する方法ではきれいな夕焼けになりました。
GleamPalette は片ごとの車や街の描き込みが多く、写真を貼り合わせた感じがいちばん出ています。
AnimaIka は顔がすっきりしていて、ネオンのピンクと夕焼けがよく合っていました。
4 つの中から、白衣ちゃんと空の釣り合いがいちばん好みだった botan_anima の 1 枚です。

使ったワークフロー
今回使ったワークフローです。
線画の画像を読み込ませて使います。モデル・ControlNet の重みは含まれていません。
切り抜きや、貼り合わせは含まれていません。
【次の記事】
【おすすめ記事】