majicMixで背景→人物とプロンプトを描いて融合してみる話(プロンプト解説)
「社長、majicMIXの記事が人気のようです」
「えー!そうなの!?」
と、冒頭で出迎えてくれたのはLeonardo AIで生成した敏腕秘書さん(と社長のいけおじさん)です。
生成AIの沼にはまってしまった人々(のイラスト生成の待ち時間)に「いやイラスト使い回しかよw」と冒頭からツッコミを入れさせようと画策しただけのバーチャル秘書と社長のやりとり体験へようこそ。
「よーし、じゃあ今日はLeonardo AIで発見した抽出プロンプトをstable diffusion の majicmix_Fantasyになんか応用してみるか!」
chatGPTを使った抽出プロンプトの記事
どうも、AIイラスト研究室です。
イラスト使い回してすんませんw
臨場感とオリジナリティ的なものとしてあってもいいのかなと思いまして。前回の記事でイケオジをたくさん描いたからAIイラストでやりとりができるようになったのは大きいかもしれませんね。毎回違う人とやりとりさせてみるとかもあり?
筆者はスマホアプリで簡単に使えるんでLeonardo AIの記事をよく書いてるんですが、stable diffusionのmajicMixの記事やDreamShaperの記事なんかが結構読まれてたりする。
Leonardo AIとかを触ってる人はそもそもstable diffusionもやってたりするのかな、むしろそっちがメイン?とも思いますね。
そういうわけで今日はmajicmix_fantasyの記事を書いてみましょう。
執筆時点で記事にしたい内容は全く確信のないことでやっていきます笑。
本日やること
「背景のプロンプトを最初にchatGPTで作成し、後から女子高生のchatGPTプロンプトを追加して、描きたい背景+女子高生のイラストはできるの回?」です。
要するに背景chatGPT x 人物chatGPTのプロンプト融合を試してみる回です。(素敵イラストが描けるかどうかが重要なんですよ)
うまくいかんかったらごめんなさい笑。
では早速chatGPTに背景のプロンプトを作ってもらいましょう。
ノスタルジックで高層の建物が並ぶ幻想的な風景を100字で描写
chatGPT:
ノスタルジックな雰囲気が漂う中、高層の建物が列を成し、空へとそびえ立つ。夜空には無数の光が点り、まるで星座のような美しい景観が広がっている。この幻想的な風景は、過去と現在の調和を感じさせ、都会の息づかいと夢のような融合を生み出している。
科学論文のような英語に翻訳
chatGPT:
In a nostalgic ambiance, towering buildings stand in rows, reaching skyward. The night sky is adorned with innumerable lights, resembling a constellation-like exquisite panorama. This fantastical landscape evokes a sense of harmony between the past and the present, giving rise to a fusion of urban vitality and dreamlike allure.
名詞、形容詞、動詞を全て抽出して一行で文章化
chatGPT:
Nouns: ambiance, buildings, rows, night sky, lights, panorama, landscape, harmony, past, present, fusion, vitality, allure.
Adjectives: nostalgic, towering, innumerable, constellation-like, exquisite, fantastical, urban, dreamlike.
Verbs: stand, reach, adorned, resembling, evokes, giving rise.
ホイホイ、背景のプロンプトが出来ました。
このプロンプトで背景のイメージを確認してみましょう。
作成したプロンプトがこちら。
ambiance, buildings, rows, night sky, lights, panorama, landscape, harmony, past, present, fusion, vitality, allure.
In a nostalgic ambiance, towering buildings stand in rows, reaching skyward. The night sky is adorned with innumerable lights, resembling a constellation-like exquisite panorama. This fantastical landscape evokes a sense of harmony between the past and the present, giving rise to a fusion of urban vitality and dreamlike allure.
negative:
(worst quality, low quality:2),(monochrome)
はい、名詞形容詞動詞の抽出プロンプトに文章プロンプトくっつけただけです笑。まずはランダムシードで4枚ほど作成。
はい、特に1girlとか指定しなくても勝手に女性を描いてくたりします。
no human, とかネガティブに(human:2)とか入れても少女が描かれます。思春期の中学生みたいな思考パターンですかと言わんばかりに
ちなみにDreamShaperではちゃんと背景だけ描いてくれました。
DreamShaperも相当クール。
やはりmajicmixは素晴らしい(思春期の中学生)モデル。
とりあえず素敵なイラストが出来ました。
どうせ女性が描かれるなら、1girl系のいつものやつを追加してみます。
(best quality, masterpiece, ultra high res:1.3),(photo realistic:1.4), 8k,
1girl, (beautiful woman), 16yo, detailed skin, makeup, beautiful eyes, (smile),
(natural lighting), (soft saturation:1.3), (fair skin:1.2),
いつもはここに服装を入れたりしてる。
(small breasts:1.3),
いつもはここに背景を入れたりしてる。
cinematic visuals, film art,
cowboy shot, (zettai ryouiki:1.2), dynamic angle,
BREAK
(detailed background:1.3), ambiance, buildings, rows, night sky, lights, panorama, landscape, harmony, past, present, fusion, vitality, allure.
In a nostalgic ambiance, towering buildings stand in rows, reaching skyward. The night sky is adorned with innumerable lights, resembling a constellation-like exquisite panorama. This fantastical landscape evokes a sense of harmony between the past and the present, giving rise to a fusion of urban vitality and dreamlike allure.
lora:flat2:0.8 lora:LowRA:0.1 lora:epi_noiseoffset2:0.6
ネガティブ:
ng_deepnegative_v1_75t, badhandv4, (worst quality, low quality:1.2),bad_prompt_version2,EasyNegativeV2,negative_hand-neg,(worst quality, low quality:2),(monochrome),zombie,overexposure,watermark,text,bad anatomy,bad hand,extra hands,(extra fingers:1.2),too many fingers,fused fingers,bad arm,distorted arm,extra arms,fused arms,extra legs,missing leg,disembodied leg,extra nipples,detached arm,liquid hand,inverted hand,disembodied limb,oversized head,extra body,extra navel,easynegative,(hair between eyes),sketch,duplicate,ugly,huge eyes,text,logo,worst face,(bad and mutated hands:1.3),(blurry:2),horror,geometry,bad_prompt,(bad hands),(missing fingers),multiple limbs,bad anatomy,(interlocked fingers:1.2),Ugly Fingers,(extra digit and hands and fingers and legs and arms:1.4),(deformed fingers:1.2),(long fingers:1.2),(bad-artist-anime),bad-artist,bad hand,extra legs,
さてどうなるかな。
(記事を書きながら生成してるので筆者も同様にワクワク)
え?半端なくねぇ?
「もう合格でいいよ」
chatGPTで背景描いて1girl入れたら素敵イラスト描けました!以上(笑
「社長、それで読者が納得しますか?」
と、常に屈託ない鋭いコメントを嫌味なく返してくれる有能なOLさんに嗜められたので続きを生きましょう。
ここからは人物に関するプロンプトをchatGPTで仕立ててもらいます。
刀を握って怪物と戦う可憐な女子高生について100字で描写
chatGPT:
刀を握りしめ、勇敢に怪物と対峙する可憐な女子高生。彼女の瞳には決意と勇気が宿り、風に舞う髪が戦いの熱気を告げている。身のこなしは優雅でありながら、刀の刃を振るう瞬間には鋭さを秘めている。怪物の脅威にも臆せず、友情や正義のために戦う姿勢は感銘を与え、彼女は勇者としての道を歩む。
科学論文のような英語に翻訳
chatGPT:
A dainty high school girl grips a katana firmly, bravely confronting a monstrous adversary. Her eyes reflect determination and courage, while her flowing hair dances in the wind, signaling the intensity of the battle. Her movements exude elegance, yet when she wields the blade, it carries a sharpness. Unfazed by the menace of the monster, she stands resolute, fighting for friendship and justice, leaving an indelible impression as she treads the path of a hero.
名詞、形容詞、動詞を抽出して一行で羅列
chatGPT:
Nouns: girl, katana, adversary, determination, courage, hair, wind, battle, movements, elegance, blade, menace, hero.
Adjectives: dainty, monstrous, flowing, sharpness, resolute.
Verbs: grips, confronting, reflect, dances, signaling, exude, wields, carries, stands, fighting, treads.
はい、人物プロンプトが完成しました。これを上のプロンプトにBREAKで追加してみましょう。
(best quality, masterpiece, ultra high res:1.3),(photo realistic:1.4), 8k,
1girl, (beautiful woman), 16yo, detailed skin, makeup, beautiful eyes, (smile),
(natural lighting), (soft saturation:1.3), (fair skin:1.2),
(small breasts:1.3),
cinematic visuals, film art,
cowboy shot, (zettai ryouiki:1.2), dynamic angle,
BREAK
girl, katana, adversary, eyes, determination, courage, hair, wind, battle, movements, elegance, blade, menace, impression, path, hero, dainty, monstrous, resolute, indelible, grips, confronting, reflect, dances, signaling, exude, wields, carries, stands, fighting, leaving, treads,
A dainty high school girl grips a katana firmly, bravely confronting a monstrous adversary. Her eyes reflect determination and courage, while her flowing hair dances in the wind, signaling the intensity of the battle. Her movements exude elegance, yet when she wields the blade, it carries a sharpness. Unfazed by the menace of the monster, she stands resolute, fighting for friendship and justice, leaving an indelible impression as she treads the path of a hero
BREAK
(detailed background:1.3), ambiance, buildings, rows, night sky, lights, panorama, landscape, harmony, past, present, fusion, vitality, allure.
In a nostalgic ambiance, towering buildings stand in rows, reaching skyward. The night sky is adorned with innumerable lights, resembling a constellation-like exquisite panorama. This fantastical landscape evokes a sense of harmony between the past and the present, giving rise to a fusion of urban vitality and dreamlike allure.
lora:flat2:0.8 lora:LowRA:0.1 lora:epi_noiseoffset2:0.6
どうなるかな!?
半端ねぇな!
しかし本記事はプロンプトの調査を重視している。
せっかくなので人物文章プロンプトの位置を変えてみる。
(best quality, masterpiece, ultra high res:1.3),(photo realistic:1.4), 8k,
1girl, (beautiful woman), 16yo, detailed skin, makeup, beautiful eyes, (smile),
(natural lighting), (soft saturation:1.3), (fair skin:1.2),
(small breasts:1.3),
cinematic visuals, film art,
cowboy shot, (zettai ryouiki:1.2), dynamic angle,
A dainty high school girl grips a katana firmly, bravely confronting a monstrous adversary. Her eyes reflect determination and courage, while her flowing hair dances in the wind, signaling the intensity of the battle. Her movements exude elegance, yet when she wields the blade, it carries a sharpness. Unfazed by the menace of the monster, she stands resolute, fighting for friendship and justice, leaving an indelible impression as she treads the path of a hero
BREAK
girl, katana, adversary, eyes, determination, courage, hair, wind, battle, movements, elegance, blade, menace, impression, path, hero, dainty, monstrous, resolute, indelible, grips, confronting, reflect, dances, signaling, exude, wields, carries, stands, fighting, leaving, treads,
BREAK
(detailed background:1.3), ambiance, buildings, rows, night sky, lights, panorama, landscape, harmony, past, present, fusion, vitality, allure.
In a nostalgic ambiance, towering buildings stand in rows, reaching skyward. The night sky is adorned with innumerable lights, resembling a constellation-like exquisite panorama. This fantastical landscape evokes a sense of harmony between the past and the present, giving rise to a fusion of urban vitality and dreamlike allure.
lora:flat2:0.8 lora:LowRA:0.1 lora:epi_noiseoffset2:0.6
うーん、右上の一枚はちょっと女子高生みが薄れた程度でおおむね変わらず。人物プロンプトの位置はとりあえず好きな場所で大丈夫そう。
そしたらもうちょっと女子高生みを出してもらうために1girl系のとこに衣装を指定してみましょう。
(best quality, masterpiece, ultra high res:1.3),(photo realistic:1.4), 8k,
1girl, (beautiful woman), 16yo, detailed skin, makeup, beautiful eyes, (smile),
(natural lighting), (soft saturation:1.3), (fair skin:1.2),
(high school uniform:1.3), (blue very shot skirt:1.2),
(small breasts:1.3),
cinematic visuals, film art,
cowboy shot, (zettai ryouiki:1.2), dynamic angle,
BREAK
girl, katana, adversary, eyes, determination, courage, hair, wind, battle, movements, elegance, blade, menace, impression, path, hero, dainty, monstrous, resolute, indelible, grips, confronting, reflect, dances, signaling, exude, wields, carries, stands, fighting, leaving, treads,
A dainty high school girl grips a katana firmly, bravely confronting a monstrous adversary. Her eyes reflect determination and courage, while her flowing hair dances in the wind, signaling the intensity of the battle. Her movements exude elegance, yet when she wields the blade, it carries a sharpness. Unfazed by the menace of the monster, she stands resolute, fighting for friendship and justice, leaving an indelible impression as she treads the path of a hero
BREAK
(detailed background:1.3), ambiance, buildings, rows, night sky, lights, panorama, landscape, harmony, past, present, fusion, vitality, allure.
In a nostalgic ambiance, towering buildings stand in rows, reaching skyward. The night sky is adorned with innumerable lights, resembling a constellation-like exquisite panorama. This fantastical landscape evokes a sense of harmony between the past and the present, giving rise to a fusion of urban vitality and dreamlike allure.
lora:flat2:0.8 lora:LowRA:0.1 lora:epi_noiseoffset2:0.6
いやーかっこ良いイラスト出来ました!
背景プロンプト+人物プロンプトにチョッと服装を追加して、
このお姉さんが、
真面目に怪物と戦う決意をするアニメで言うとこの第3話くらいの内容になりました。
と同時に最初は敵か味方かわからないけど途中から協力して戦ってくれそうな娘も誕生しました。
あ、そうそう、majicMix Fantasyといえばこのプロンプトだよ。
(zentangle, mandala, tangle, entangle), (fractal art:1.3), the most beautiful form of chaos, elegant, a brutalist designed, vivid colours,
とりあえず入れとけばいいやつね。
早速入れてみよう!
(best quality, masterpiece, ultra high res:1.3),(photo realistic:1.4), 8k, (zentangle, mandala, tangle, entangle), (fractal art:1.3), the most beautiful form of chaos, elegant, a brutalist designed, vivid colours,
1girl, (beautiful woman), 16yo, detailed skin, makeup, beautiful eyes, (smile),
(natural lighting), (soft saturation:1.3), (fair skin:1.2),
(high school uniform:1.3), (blue very short skirt:1.2),
(small breasts:1.3),
cinematic visuals, film art,
cowboy shot, (zettai ryouiki:1.2), dynamic angle,
BREAK
girl, katana, adversary, eyes, determination, courage, hair, wind, battle, movements, elegance, blade, menace, impression, path, hero, dainty, monstrous, resolute, indelible, grips, confronting, reflect, dances, signaling, exude, wields, carries, stands, fighting, leaving, treads,
A dainty high school girl grips a katana firmly, bravely confronting a monstrous adversary. Her eyes reflect determination and courage, while her flowing hair dances in the wind, signaling the intensity of the battle. Her movements exude elegance, yet when she wields the blade, it carries a sharpness. Unfazed by the menace of the monster, she stands resolute, fighting for friendship and justice, leaving an indelible impression as she treads the path of a hero
BREAK
(detailed background:1.3), ambiance, buildings, rows, night sky, lights, panorama, landscape, harmony, past, present, fusion, vitality, allure.
In a nostalgic ambiance, towering buildings stand in rows, reaching skyward. The night sky is adorned with innumerable lights, resembling a constellation-like exquisite panorama. This fantastical landscape evokes a sense of harmony between the past and the present, giving rise to a fusion of urban vitality and dreamlike allure.
lora:flat2:0.8 lora:LowRA:0.1 lora:epi_noiseoffset2:0.6
悪くないぞ!
そしたらアレだよアレ!阪神タイガース優勝
ではなくてアレだよアレ。
romanticism, by james jean, roby dwi antono, ross tran, francis bacon, michal mraz, adrian ghenie, petra cortright, gerhard richter, takato yamamoto, ashley wood, atmospheric, ecstasy of musical notes, streaming musical notes visible
アレも入れてみた。
(best quality, masterpiece, ultra high res:1.3),(photo realistic:1.4), 8k, (zentangle, mandala, tangle, entangle), (fractal art:1.3), the most beautiful form of chaos, elegant, a brutalist designed, vivid colours, romanticism, by james jean, roby dwi antono, ross tran, francis bacon, michal mraz, adrian ghenie, petra cortright, gerhard richter, takato yamamoto, ashley wood, atmospheric, ecstasy of musical notes, streaming musical notes visible,
1girl, (beautiful woman), 16yo, detailed skin, makeup, beautiful eyes, (smile),
(natural lighting), (soft saturation:1.3), (fair skin:1.2),
(high school uniform:1.3), (blue very short skirt:1.2),
(small breasts:1.3),
cinematic visuals, film art,
cowboy shot, (zettai ryouiki:1.2), dynamic angle,
BREAK
girl, katana, adversary, eyes, determination, courage, hair, wind, battle, movements, elegance, blade, menace, impression, path, hero, dainty, monstrous, resolute, indelible, grips, confronting, reflect, dances, signaling, exude, wields, carries, stands, fighting, leaving, treads,
A dainty high school girl grips a katana firmly, bravely confronting a monstrous adversary. Her eyes reflect determination and courage, while her flowing hair dances in the wind, signaling the intensity of the battle. Her movements exude elegance, yet when she wields the blade, it carries a sharpness. Unfazed by the menace of the monster, she stands resolute, fighting for friendship and justice, leaving an indelible impression as she treads the path of a hero
BREAK
(detailed background:1.3), ambiance, buildings, rows, night sky, lights, panorama, landscape, harmony, past, present, fusion, vitality, allure.
In a nostalgic ambiance, towering buildings stand in rows, reaching skyward. The night sky is adorned with innumerable lights, resembling a constellation-like exquisite panorama. This fantastical landscape evokes a sense of harmony between the past and the present, giving rise to a fusion of urban vitality and dreamlike allure.
lora:flat2:0.8 lora:LowRA:0.1 lora:epi_noiseoffset2:0.6
すごいぃ!
ナナナなんですかこのかっこよさは。
そしたらヨォ、BREAKしちゃえよって悪魔が囁くのよ。天使はもう今日の記事は終わりでいいよって言うんだけどな、悪魔がもっとやれ、やっちゃえNISSANとか言うんだわ。
(best quality, masterpiece, ultra high res:1.3),(photo realistic:1.4), 8k,
1girl, (beautiful woman), 16yo, detailed skin, makeup, beautiful eyes, (smile),
(natural lighting), (soft saturation:1.3), (fair skin:1.2),
(high school uniform:1.3), (blue very short skirt:1.2),
(small breasts:1.3),
cinematic visuals, film art,
cowboy shot, (zettai ryouiki:1.2), dynamic angle,
BREAK
(zentangle, mandala, tangle, entangle), (fractal art:1.3), the most beautiful form of chaos, elegant, a brutalist designed, vivid colours, romanticism, by james jean, roby dwi antono, ross tran, francis bacon, michal mraz, adrian ghenie, petra cortright, gerhard richter, takato yamamoto, ashley wood, atmospheric, ecstasy of musical notes, streaming musical notes visible,
BREAK
girl, katana, adversary, eyes, determination, courage, hair, wind, battle, movements, elegance, blade, menace, impression, path, hero, dainty, monstrous, resolute, indelible, grips, confronting, reflect, dances, signaling, exude, wields, carries, stands, fighting, leaving, treads,
A dainty high school girl grips a katana firmly, bravely confronting a monstrous adversary. Her eyes reflect determination and courage, while her flowing hair dances in the wind, signaling the intensity of the battle. Her movements exude elegance, yet when she wields the blade, it carries a sharpness. Unfazed by the menace of the monster, she stands resolute, fighting for friendship and justice, leaving an indelible impression as she treads the path of a hero
BREAK
(detailed background:1.3), ambiance, buildings, rows, night sky, lights, panorama, landscape, harmony, past, present, fusion, vitality, allure.
In a nostalgic ambiance, towering buildings stand in rows, reaching skyward. The night sky is adorned with innumerable lights, resembling a constellation-like exquisite panorama. This fantastical landscape evokes a sense of harmony between the past and the present, giving rise to a fusion of urban vitality and dreamlike allure.
lora:flat2:0.8 lora:LowRA:0.1 lora:epi_noiseoffset2:0.6
そしたら主人公覚醒した笑。アニメ後半でパワーアップするやつ。
いやぁ、ランダムシード一つで4枚生成した背景プロンプトのイラストからここまで遊べちゃうんですね!
stable diffusionのプロンプトの調査はいつも楽しくてずっとやってしまう。
だからLeonardo AIの記事に逃げがち笑。
みなさんもぜひ背景→人物と分けてchatGPTで抽出プロンプトを書いて後で融合してみてくださいませ!
また会おう!
おまけ:
アニメの必殺技を撃てそうなプロンプトを置いておくね。
BREAK
Magical Glows: Ethereal glows emitted from characters' hands or wands when using magic.
Flight and Levitation: Characters soaring through the air or floating, creating mesmerizing visuals.
Transformation: Characters instantaneously changing into different forms.
Magic Circles: The appearance of intricate magic circles or symbols for spellcasting.
Mythical Creatures: Realistic portrayal of mythical creatures such as dragons, unicorns, and phoenixes.
Otherworldly Landscapes: The creation of stunning landscapes and cities from other realms.
Time Travel: Visual effects depicting characters traveling backward or forward in time.
Spiritual Entities: Visual representations of ghosts or other spiritual beings, with varying levels of transparency.
Magical Weapons: The visual enhancement of weapons like swords, staffs, or bows when imbued with magic.
Particle Effects: The use of magical particles and visual effects to accentuate the presence of magic.
この記事が気に入ったらサポートをしてみませんか?